I need a script that will kill all the players when someone touches the block. I don't have any script. I tried a few and they didn't do anything. can you please help me? I am making a racing game and I want a winner to get a badge and then the block kills all the players so they can start the game over! please help!!!
COMMUNITY QUESTION
Can someone help me make a script on how to give a badge and kill all the players?
2 answers
i'll try to make a script for you
script.Parent.Touched:Connnect(function(hit)
if hit.Parent:WaitForChild("Humanoid") ~= nil then
for i=1, game:GetPlayers() do
game:GetPlayers()[i].Character.Humanoid:BreakJoints()
end
end
end)
a script in the win button best i could do
About the badge; badges cost 100 robux to make, too.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
no
you really should make an attempt before requesting a script