7 messages · Page 1 of 1 (latest)
after local if succes put
if not player.Character then player.CharacterAdded:Wait() end
the error is when the player leaves
player.Character.Humanoid:GetAttribute("Kills"); < right here
Yes bc the character is not loaded
but that part of the script
is when the player leaves
not when the player joins