RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a lava that raises every second and kills you instantly as soon as you touch it"
-- server script local lava = game.Workspace.Lava local lavaHeight = 0 while true do lavaHeight = lavaHeight + 1 lava.Size = Vector3.new(lava.Size.X, lavaHeight, lava.Size.Z) lava.Position = Vector3.new(lava.Position.X, lavaHeight/2, lava.Position.Z) wait(1) end game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) character.Humanoid.Died:Connect(function() if character:IsDescendantOf(lava) then player:Kick("You were killed by the lava!") end end) end) end)