-- Hat ---------------------------------------- local NewHat = game.ReplicatedStorage.HeadBands.Headband repeat wait() NewHat.Parent = script.Parent until NewHat.Parent == script.Parent
I've made this simple script, yet when I die the hat doesn't appear on the player?!? (In StarterCharacterScripts)
You have one hat in each players ReplicatedStorage, meaning that it disappears when you put it on the player. Use :Clone()
at the end of your NewHat
variable to make a clone of it, meaning that it does not get rid of the original.