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

How would I disable respawning for a certain team?

1 answer

✓ Accepted answer

This should be working, modify it to disable the respawn feature for that team.

game.Players.PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Connect(function(char)
		local humanoid = char:WaitForChild("Humanoid")
		
		humanoid:GetPropertyChangedSignal("Health"):Connect(function()
			if humanoid.Health <= 0 then
				char.Parent = game:GetService("ServerStorage")
			end
		end)
	end)
end)

1 comment

0

Thanks so much!

This discussion is preserved as it was. New answers, comments, and votes are closed.