Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

why doesn't this script change the text of my billboard GUI?

Asked by 6 years ago
local BillboardGui = game:GetService('ReplicatedStorage'):WaitForChild('BillboardGui')
local text = script.Parent.Parent.TextBox.Text
script.Parent.MouseButton1Click:connect(function()
    BillboardGui.frame.TextBox.Text = text
    print ("text changed")
end)

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

In your variable, you are basically saying that the text of that is the text that's already in the change box, I recommend you use string such as this:

text = "Whatever text you want"

Edit: Invite me to your game, my username is Moyfe.

0
thats i what i want it a r name chnager EpicAshtonTheBoy 33 — 6y
0
RP^^ changer^^^ EpicAshtonTheBoy 33 — 6y
0
Is the text you want to change on a billboard using a textbutton, is that right? StarMarine614Classic 14 — 6y
Ad

Answer this question