How can I add GetPropertyChangedSignal into this script?

  1. What do you want to achieve? a script that changes the the text(video counter) to whatever the value for Videos is. sorry if that made no sense

  2. What is the issue? I dont know too much about it and the DevHub was of no use

  3. What solutions have you tried so far? nothing except for DevHub which made me more confused

here’s what I have so far

local textLabel = script.Parent
local player = game.Players.LocalPlayer

textLabel.Text = player.leaderstats.Videos.Value

You don’t need :GetPropertyChangedSignal() if it is a value instance. Use .Changed instead.

local textLabel = script.Parent
local player = game.Players.LocalPlayer

player.leaderstats.Videos.Changed:Connect(function(value)
	textLabel.Text = value
end)
1 Like

Oh, that worked well! thank you so much

you forgot to add function, but it’s okay

1 Like