So I’m trying to figure out how I’m gonna make my 2x Health gamepass, and I’ve just figured out the player joining part.
So obviously when the player spawns they get double health.
How should I find every time any player respawns? And on the server?
Should I find if the player respawns on the client and then fire an event?
1 Like
The easiest solution to do what you want to do (in my opinion) is to put a server script in starter character scripts that changes script.Parent.Humanoid’s health.
However, to connect to the event of a player’s respawn, you can do:
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
-- do whatever here
end)
end)
2 Likes