Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

i want to make a linked life :c help?

I want that if one player dies the other also at the same time , what some one help me

2 comments

0

Died event, when it fires, kill the other player.

0

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.

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.