Ok soo i have made a part that mwhen you click it clones a gui and moves it to ur playergui

and in the gui is a textbox and a button i have also made a script inside of the gui soo that when u click the textbutton it prints the value of the textbox but it only prints out waht i orgiinally set it to inside of studio some help?

EXAMPLE

script.Parent.MouseButton1Down:Connect(function()
    print(script.Parent.Parent.TextBox.Text)
end

6 comments

0

what type of script is this on? LocalScript or the Normal One,

0

its a normal script

0

use a localscript

0

GuiObject is not Replicated through the server.

0

alright imma try that thx

0

pls upvote my comment if it worked ty !