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

Stringvalue and textlabel problems?

Asked by 6 years ago

So, i made a screengui, then textlabel into it, then i put a stringvalue into replicatedstorage, how do i do so the value of stringvalue is the text thats in the textlabel.

0
Can you explain this in more detail you have not included any background information. User#5423 17 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local string = ReplicatedStorage:WaitForChild("StringValueHere")

local textLabel = script.Parent
textLabel.Text = string.Value -- Use .Value to get the actual value.
Ad

Answer this question