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!!!
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
Closed as Not Constructive by Elixcore, MachoPiggies, and theking48989987
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?