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

How do i make a version text label?

Today, i wanted to make a version text label for all of the players that join to see with a number value in the workspace named Version to make the text label change by that value i would like some help on this not a request but just a question.

Thank you.

1 comment

0

could you explain a bit more please?

1 answer

✓ Accepted answer

Okay, I wrote a localscript and put it in StarterGui. It's pretty bare bones, but it gets the job done and I assume you were going to take the idea and run with it anyways. All you have to do is make a "NumberValue" named "version" and put it in the workspace. You can then change the value to whatever you want. Hope you have fun and good luck on your project :)

--Put in StarterGui
local versionGui = Instance.new("ScreenGui")
local textLabel = Instance.new("TextLabel")
versionGui.Parent = game:GetService("Players").LocalPlayer.PlayerGui
textLabel.Parent = versionGui
textLabel.Position = UDim2.new(1, -75, 1, -75)
textLabel.Text = ("Version: " ..game.Workspace.version.Value)

1 comment

0

That actually works, thanks.

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