#Why this isn't working?
1 messages · Page 1 of 1 (latest)
I think you need to add a PlayerAdded function too because if it runs too early it cant find the character (characteradded*)
try doing for the character variable this
local Character = player.Character or player.CharacterAdded:Wait()
this should fix the problem shadow stated here
Playeradded is called when you want to enforce something when player joins the game, CharacterAdded is called when you want to enforce something on the character when it is added or respawns btw! That’s why ur script isnt working because it doesnt have a character to work with. You could add a wait or just call for Characteradded