Kirti
0
Q:

how to make a kill all script on roblox

for i, v in pairs (game:GetService("Players"):GetPlayers()) do
	v.Character:FindFirstChild("Humanoid").Health = 0
end

-- This works currently of 10/19/2020
0
function onTouched(hit)
	if hit.Parent:findFirstChild("Humanoid") then
		hit.Parent.Humanoid:TakeDamage(100)
	end
end

script.Parent.Touched:connect(onTouched)

while true do
	for i = 1,25 do
		for _,v in pairs(script.Parent:GetChildren()) do
			if v:IsA("Texture") then
				v.Texture = string.format("rbxasset://textures/water/normal_%02d.dds",i)
			end
		end
		wait()
	end
end
--Put This Script Inside The "Part" You Want To Kill The PLayer
--Credits: Made By Rigby#9052 on Discord
-3

New to Communities?

Join the community