Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Player = game.Players:GetPlayerByUserId(receiptInfo.PlayerId)
- Player.Character.Humanoid.Health = Player.Character.Humanoid.MaxHealth
- for i,v in pairs (game.Players:GetChildren()) do
- v.Character.Humanoid.Health -= Player.Character.Humanoid.MaxHealth
- end
- Player.Character.Humanoid.Health = Player.Character.Humanoid.MaxHealth
Advertisement
Add Comment
Please, Sign In to add comment