function onClicked(playerWhoClicked)
local eat = game.ReplicatedStorage.EatOptions:Clone()
local pg = game.Players.LocalPlayer.PlayerGui
eat.Parent = pg
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
I'm trying to move a local script from Replicated Storage when I click the brick, however I cant use LocalPlayer with it because this is a server script and I'm not sure what to do from this point onwards. Please Help.
