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

I changed my mind?

Asked by 3 years ago
Edited 3 years ago

So I have code to display the value but I don't know how to put normal text with it

script.Parent.MouseButton1Click:Connect(function()
    workspace.Value.Value += 1
    script.Parent.Text = Reload map workspace.Value.Value /2
end)

Oh also the /2 isn't math its just how many people need to click it

1 answer

Log in to vote
0
Answered by
Xyternal 247 Moderation Voter
3 years ago
Edited 3 years ago

If I understood your question correctly, then what you want is to put regular text into a text label. If you wanna do that, then here's the code.

local string = "hello"
local textlabel = game.Locationtoyourlabel

textlable.Value = string
0
Thank you! the only thing is I need it to do it for everyone's gui in the server..... User#39520 0 — 3y
0
Sorry I wasn't very specific User#39520 0 — 3y
0
Like I want everyones text button to say "1" when a value in workspace is 1 but also be like Reload Map 1/2 User#39520 0 — 3y
0
this is a server script, and will change the value for all. All you have to do now is make the gui show for all Xyternal 247 — 3y
Ad

Answer this question