This script is inside a textlabel inside a ScreenGUI inside starter gui. There is a other script the successfully makes a value called Coins. However, this script is not effecting the Textlabel at all. Any help?
local Player = game.Players.LocalPlayer local Coins = Player.leaderstats:WaitForChild("Coins") script.Parent.Text = "Coins: " ..Coins.Vaule Coins:GetPropertyChangedSignal("Vaule"):Connect(function() script.Parent.Text = "Coins: " ..Coins.Vaule end)
Hello,
You put Vaule
instead of Value
. I have remade your script.
local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local Coins = LocalPlayer:WaitForChild("leaderstats").Coins script.Parent.Text = "Coins: " ..Coins.Value Coins:GetPropertyChangedSignal("Value"):Connect(function() script.Parent.Text = "Coins: " ..Coins.Value end)