So, main idea is that once player gets salary (being changed at the localplayer value), for some reason doesn’t change it at the UI text.
local player = game:GetService("Players").LocalPlayer
local marks = player.leaderstats.Marks.Value
local mark = script.Parent
while wait(0.1) do
mark.Text = marks
end
The text that your scripting is changing is a one-time value of Marks
Here is the fixed script
local player = game:GetService("Players").LocalPlayer
local marks = player.leaderstats.Marks
local mark = script.Parent
while wait(0.1) do
mark.Text = marks.Value
end