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

1 comment
Is the script that has this code a localscript? PlayerAdded doesn't work in localscripts.