How do I connect the Characteradded:Wait() function?

With manually refreshed he meant, when the Character Dies and is reloaded you need to declare the new Character model to the variable or the script refers to the Old one which isn’t accessible anymore. @vovcher

player.CharacterAdded:Connect(function (newChar)
    character = newChar
end)

the above code does that for you

Is this what you are looking for?

It still doesnt work even after i try everything