So I have a basic part, I scripted that when you click the part, a GUI pops up (card giver gui) and you fill in the info, etc. When the card has been given to the user, I go and click back the part, the GUI won't open, it's like a one time thing, how can I make it that when I re-click the GUI numerous times, it will open up?
--Variables
MainScreen = script.Parent.GUI.CardGiverGui
MainScreen = script.Parent.GUI.CardGiverGui
XButton = script.Parent.GUI.CardGiverGui.Main.X
function onClicked()
MainScreen:Clone()
MainScreen.Parent = game.Players.LocalPlayer.PlayerGui
end
Includes; Click detector and GUI folder with the card giver GUI
Please help me out!
Sincerely, MPotterhead

1 comment
Do you ever call the function?