im probs just overlooking something but coin isnt going false and coin1 isnt going true same problem with coin2 going false and coin 3 going true i need the while true do for the "label.text = bronze"
while true do wait() local plr = game:GetService("Players").LocalPlayer local coin = plr.PlayerGui.Value.Frame.TextLabel.Bronze local coin2 = plr.PlayerGui.Value.Frame.TextLabel.Silver local coin3 = plr.PlayerGui.Value.Frame.TextLabel.Gold local label = plr.PlayerGui.Value.Frame.TextLabel local Bronze = plr.leaderstats.Bronze.Value local Silver = plr.leaderstats.Silver.Value local Gold = plr.leaderstats.Gold.Value label.Text = Bronze if Bronze >= 100 then coin.Visible = false coin2.Visible = true if Silver >= 100 then coin2.Visible = false coin3.Visible = true end end end
https://cdn.discordapp.com/attachments/487247357742940163/511624820006584330/unknown.png
You cannot use .Value in variable.
Put a local script in your frame
Try to use it:
repeat wait() until game.Players.LocalPlayer local plr = game:GetService("Players").LocalPlayer while wait() do local coin = script.Parent.TextLabel.Bronze local coin2 = script.Parent.TextLabel.Silver local coin3 = script.Parent.TextLabel.Gold local label = script.Parent.TextLabel local Bronze = plr.leaderstats.Bronze local Silver = plr.leaderstats.Silver local Gold = plr.leaderstats.Gold label.Text = tostring(Bronze.Value) if Bronze.Value >= 100 then coin.Visible = false coin2.Visible = true if Silver.Value >= 100 then coin2.Visible = false coin3.Visible = true end end end