Help with something quite simple

Basically i created a function that changes a text label depending in what song is playing currently, but it only changes the text on the server, i can’t see the change on the client

3 Likes

Well, did you put the local script as a player’s descendant? Is the textlabel on a screenGui or SurfaceGui?

1 Like

i guess you changed the text from startergui
try using playergui instead!


example =

local plr = game.Players.LocalPlayer

plr.PlayerGui.YOURGUINAMEHERE.TEXTLABEL

change YOURGUINAMEHERE to your gui name, and TEXTLABEL to you textlabel name

that should solve the problem

and the script need to be localscript not a server

1 Like

will help me so much if you can show me your code, so i can fix for you!
@SoyFabian_YT3
:smile:

1 Like

You need help with your script, right? You need to show it.

2 Likes

Starter GUI only changes in server, so what you want to do is use this or something similar.

	for i, v in pairs(players) do
		v.PlayerGui.guiname.textlabel or frame.textlabel.Text = "Text Here"

that was server wide, for player use a local script, define the player, and use playergui like above.

2 Likes

very efficient, nice. :clap:

i Saw this on a model on marketplace, it get all players and change the timer text like that script you did.

1 Like

Right now I’m my cellphone using, so… I can’t show the script :frowning:

oh, no problem, you can send me another time

2 Likes