Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I changed my mind?

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

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

4 comments

0

Thank you! the only thing is I need it to do it for everyone's gui in the server.....

0

Sorry I wasn't very specific

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

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

This discussion is preserved as it was. New answers, comments, and votes are closed.