OK so I have a GUI called "greenpower" and It's current Parent is ServerStorage.
I also have a tool and when i activate it (clicking) the GUI is supposed to move to the Player's PlayerGui.
This works just fine in test mode, but in actual game it doesn't.
LocalScript:
local player = game.Players.LocalPlayer local power = game.ServerStorage:WaitForChild("greenpower") local plrgui = player:WaitForChild("PlayerGui") script.Parent.Activated:connect(function() power:Clone().Parent = plrgui end)
Help?
I'm not an expert but I'm pretty sure Local scripts doesn't have permissions to access the Replicated Storage, if you go into developer console(F9) in play mode you will definitely see the error there, thus fixing it shouldn't be that hard.