That script is standard script and its located in textbutton.

script.Parent.MouseButton1Click:Connect(function()
	script.Parent.Text = "idk"
end)

2 comments

1

Server Scripts do not run in PlayerGui and this source code must therefore be in a local script

0

Thanks for help.