Why wont text change

I made simple script to easily manage a game info screen without having to manually edit the text labels, but its not working.

local event = game.ReplicatedStorage.UpdateInfo

local VN = script.Parent.GameVersion
local FV = script.Parent.FriendFinderVersion
local UN = script.Parent.UpdateName
local BL = script.Parent.BuildLog

event.OnClientEvent:Connect(function(Vers, FrenVers, UpdName, BldLog)
	print(Vers, FrenVers, UpdName, BldLog)
	VN.Text = Vers
	FV.Text = FrenVers
	UN.Text = UpdName
	BL.Text = BldLog
end)

Its printing all the right data, so it is reciving all the data, and uses it, but the text labels wont change.

2 Likes

Do these need a Value at the end?

	VN.Text = Vers.Value
	FV.Text = FrenVers.Value
	UN.Text = UpdName.Value
	BL.Text = BldLog.Value

the sending script already handles that, plus the print DOES print the values, so it cant be that

Check your text settings. Is .MaxVisibleGraphemes set to something like 0? It should usually be -1.

idk what that is, i checked and it is -1

1 Like

.MaxVisibleGraphemes is how many characters are allowed to be rendered onto a TextLabel, or an ImageLabel. Anything of that nature, and it’s usually used for things like typewriter effects, or at least that’s what I’ve only seen it used for.

Honestly, I don’t see anything wrong with this code. Are you sure the event is firing? I know you said you added a print statement but can you double check?

the print statment not only prints, but it prints the proper data. thats what confuses me, why it will recive the data fine, but wont apply it?

Send your explorer, send an image of it.

ok, here is the path to the script, and its refrenced children:
image

And here is the path to the files:
image

1 Like

It looks like you’re only changing some of the TextLabels, is there a reason for that?

2 Likes

Try printing the TextLabels to see if they are nil.

local event = game.ReplicatedStorage.UpdateInfo

local VN = script.Parent.GameVersion
local FV = script.Parent.FriendFinderVersion
local UN = script.Parent.UpdateName
local BL = script.Parent.BuildLog

event.OnClientEvent:Connect(function(Vers, FrenVers, UpdName, BldLog)
	print(VN, FV, UN, BL)
	print(Vers, FrenVers, UpdName, BldLog)
	VN.Text = Vers
	FV.Text = FrenVers
	UN.Text = UpdName
	BL.Text = BldLog
end)
1 Like

t5he other lables are data i dont need to change, like one saying “build log” or one saying “Terminax development team” and i dont need to change those

I’m pretty sure if they were, he would be getting an error. But since they aren’t, nothings happening, that’s the issue.

Holy clutter!!! :slight_smile: :slight_smile: :frowning: :frowning:

i got this from printing the raw text lables:

GameVersion FriendFinderVersion UpdateName BuildLog

But their text doesnt say that?

Is there anything else modifying the text labels?

Also, are you sure you’re looking at the right script? Your script looks totally normal to me. It’s like you’re looking at something else.

For refrence, the info page looks like this before the script is active:


But it looks the same after the script ran.

You printed the TextLabel not the Value so you will see the name.

Looks like they are there.

im confused why this is happening

Bro i hate events

Try adding this with the other print statements:

	print("Vers", typeof(Vers))