Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local InfiniteLivesGamepass = 1101486905
- game.Players.PlayerAdded:connect(function(plr) --> When player added then function
- plr.CharacterAdded:connect(function(char) --> When character added then function
- repeat wait() until char.Humanoid
- char.Humanoid.Died:connect(function() --> When the user dies.
- if MarketplaceService:UserOwnsGamePassAsync(plr.UserId, InfiniteLivesGamepass) then --> If the user owns the gamepass then
- plr:LoadCharacter() --> Load the character back into the game instantly.
- PurchasedRespawn = true
- end
- end)
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement