I had a huge problem with a coding with this
local player = game.Players.LocalPlayer
player.WaitForChild("Currency").Changed:connect(function(val) script.Parent.Currency.Text = val end)
script.Parent.Currency.Text = "$". .Player:WaitForChild("Currency").Value
In serverscriptservice put this it might help just let me know.
local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" local cash = Instance.new("IntValue") cash.Name = "$" $.Value = 100 $.Parent = leaderstats end)