All I want is when you click on a part you see the GUI and you can use it. The first time you click it works but perfectly fine. The second time it reads this:
08:27:11.682 - The Parent property of CardGiverGui is locked, current parent: NULL, new parent PlayerGui 08:27:11.683 - Stack Begin 08:27:11.683 - Script 'Workspace.Part.Script', Line 5 08:27:11.684 - Stack End
My Script:
GUI = script.Parent.CardGiverGui
function onClicked()
GUI:Clone()
GUI.Parent = game.Players.LocalPlayer.PlayerGui
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
