I'm trying to copy a script but it won't work....help?
Code:
local ServerStorage = game:GetService("ServerStorage") local CoinScript = ServerStorage.scripts.CoinScript:Clone() CoinScript.Parent = script.Parent script:Destroy()
If my guess is correct you're using a LocalScript
, if that's the case ServerStorage
can't be accessed through the client due to how FilteringEnabled
works, I suggest you use ReplicatedStorage
or ReplicatedFirst
instead.