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

How do i make a version text label?

Asked by 6 years ago

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.

0
could you explain a bit more please? cruizer_snowman 117 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

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)
0
That actually works, thanks. DevelopingUnlimited -6 — 6y
Ad

Answer this question