That script is standard script and its located in textbutton.
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Text = "idk"
end)
That script is standard script and its located in textbutton.
script.Parent.MouseButton1Click:Connect(function()
script.Parent.Text = "idk"
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Server Scripts do not run in PlayerGui and this source code must therefore be in a local script
Thanks for help.