Script:
local gui = script.Parent.Parent.Parent.night_GUI:Clone()
function click()
gui.Parent = game.Players.LocalPlayer.PlayerGui
end
script.Parent.MouseButton1Down:connect(click)
This script is inside a LocalScript. I know this is similar to my last question, but I really need help on this.

1 comment
I suggest putting some of this into an inline code.