Why wont my script update my GUI?

Hello Devs!

Quick one, my script isn’t throwing any errors, and is printing when complete. It updates the text in the properties, but doesn’t display it?

Any help is appreciated!

local description = game.ReplicatedStorage.Description

description.Changed:Connect(function()
	game.StarterGui.TimerUI.Description.Text = description.Value
	print("robux robux robux")
end)

You need to use playergui not startergui. By doing that you need to get the players.

Okay, i’ll try this now and let you know!

local description = game.ReplicatedStorage.Description

description.Changed:Connect(function()
	game:GetService("Players").LocalPlayer.PlayerGui.TimerUI.Description.Text = description.Value
	print("robux robux robux")
end)
local Replicated = game:GetService("ReplicatedStorage")
local Players = game:GetService("Players")

local LocalPlayer = Players.LocalPlayer
local Description = Replicated:WaitForChild("Description")

Description:GetPropertyChangedSignal("Text"):Connect(function()
   LocalPlayer.PlayerGui.TimerGui.Description.Text = Description.Text
end)

I assume Description is a Text, and not Value.

1 Like

Thanks for this, works perfectly fine now!

I was using a Script instead of a local script too.

I’ma new scripter, thanks for the tips all!

1 Like

Use a local script when calling a local player. Just so you know. And you’re welcome!

1 Like

Just know local script shows only for the player not all of the players.

1 Like