RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"lava rains 50 studs above all players heads and if they players gets hit by it they die"
-- server script local lava = game.Workspace.Lava while true do for _, player in pairs(game.Players:GetPlayers()) do local playerPos = player.Character.HumanoidRootPart.Position local lavaPos = Vector3.new(playerPos.X, playerPos.Y + 50, playerPos.Z) lava.Position = lavaPos wait(1) if lava.Position.Y <= playerPos.Y then player.Character.Humanoid.Health = 0 end end wait(1) end