tag @a[distance=..250] add floor_is_lava
scoreboard players set .lava_time temp 900
particle minecraft:dripping_dripstone_lava ~ ~0.25 ~ 3 3 3 0 100 force @a
execute as @a[distance=..250] at @s run playsound minecraft:block.lava.ambient block @s ~ ~ ~ 3 0.75
effect give @a[distance=..250] minecraft:fire_resistance 3 0 true
tellraw @a[distance=..250] ["",{"text":"WATCH OUT!","bold":true,"color":"yellow"},{"text":"\n"},{"text":"The floor is ","color":"aqua"},{"text":"LAVA","color":"red"},{"text":"!","color":"aqua"}]