For some reason, the code just doesn't do anything after it prints "plr joined", any ideas why? Any other methods of getting this done?
local wings = script.StolidsWings print('In here') game.Players.PlayerAdded:connect(function(plr) wait(1) print('plr joining') if plr.Name == 'StolidDarkness' then wings:Clone().Parent = plr:WaitForChild('StarterGear') wings:Clone().Parent = plr:WaitForChild('Backpack') end end)
P.S. the script it's trying to copy is a LocalScript
Well, there is only one problem.
It is a very silly one at that, you set the thing that is getting cloned, wings, to local and it isn't inside of the game.Players.PlayerAdded. etc script itself, therefore it isn't going into it.
Just set "local wings = script.Stolidswings" to "wings = script.StolidsWings"