Seems to work fine, then sometime doesn't even work at all?
game.Players.PlayerAdded:connect(function(player) local Data = script.Data:Clone() Data.Parent = player local CopyData = script.Data.leaderstats:Clone() CopyData.Parent = player --stat() player.CharacterAdded:connect(function(char) if char:WaitForChild("Humanoid") then update() wait(6) Change_Clothes(char); Insert_FallDmg(char); -- Enables Damage_On_Fall Insert_Ragdoll(char); -- Enables Death_Animation Insert_Blood(char); Insert_Sprint(char); Hat_Despawn(char) if isAuthenticated(player) then print(player.Name .. " has bought the game pass with id " .. passId) game.ReplicatedStorage.Weapons.M1014:Clone().Parent = player.Backpack player.Data.Inventory.M1014.Value = 1 char.Humanoid.MaxHealth = char.Humanoid.MaxHealth + 50 char.Humanoid.Health = char.Humanoid.Health + 50 end end end) --setupPlayerData(player) CheckBadges(player) end)