I made a script that does everything it is supposed to, it even works fine in play mode, but in test or online mode it doesn't work. The output says "PlayerScript is not a valid member of player", but I can't figure out what is wrong. Can someone please help? Here is the part I am having trouble with
local Script = script.LocalScript:clone() script.Parent = player.PlayerScripts
local Script = script.LocalScript:Clone() --Capitalize that C in :Clone() script.Parent = player.PlayerScripts --Make the 's' in script into 'S', it has to follow grammar rules (unless you are talking about the script this code is in)