Ad
Log in to vote
0

Stringvalue and textlabel problems?

Asked by 3 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 -10 — 3y

1 answer

Log in to vote
0
Answered by 3 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