I want that if one player dies the other also at the same time , what some one help me
COMMUNITY QUESTION
i want to make a linked life :c help?
1 answer
local player1 = -- insert player1
local player2 = -- insert player2
-- local player3 = player3 optional
player1.Humanoid.Died:Connect(function()
player2.Humanoid.Health = 0
-- player3.Humanoid.Health = 0
end)
player2.Humanoid.Died:Connect(function()
player1.Humanoid.Health = 0
-- player3.Humanoid.Health = 0
end)
--[[ player3.Humanoid.Died:Connect(function()
player1.Humanoid.Health = 0
player2.Humanoid.Health = 0
end) ]]
hope that helps
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Died event, when it fires, kill the other player.
ImDragon, keep in mind this isn't a request site. This is a "help improve or fix my script" site. So you're supposed to at least try and solve the problem yourself.