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

How do I make this script run on Player Respawn instead of just when the first join the game?

As the title states, I want to make this script run on Player Respawn instead of just when they join the game, can't see to work out how.

game.Players.PlayerAdded:Connect(function(plr)
	if 	plr:GetRankInGroup(Army) == 255 then --- Field Marshal
		plr.PlayerGui.SpawnGui.MainFrame.Kit.Ranks.FM.ArmGiverL.Disabled = false
		plr.PlayerGui.SpawnGui.MainFrame.Kit.Ranks.FM.ArmGiverR.Disabled = false
	end
end)

1 comment

0

try plr.CharacterAdded

1 answer

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