Salutations. I am making this script for my Event Center at my establishment.
The user gets points for getting things correct during the training. This is the Points BillboardGUI: https://prnt.sc/r8s10q
I want the BillboardGUI to change when the Leaderstat is changed.
I've tried looking up how to do this for so long and can only find stuff about GUIs but not BillboardGUIs.
Please help if you know! Any answers will help!
Please don't get mad at me for asking for a request.
Make it so
game.Players.LocalPlayer.leaderstats.STATNAME.Changed:Connect(function() game.ReplicatedStorage.ChangeStatBoard:InvokeServer() end)
Is in StarterPlayerScripts
and
game.ReplicatedStorage.ChangeStatBoard.OnServerInvoke = function(Player) Player.Character.Head.StatBillboard.TextLabel.Text = tostring(Player.leaderstats.STATNAME.Value) end
I did write this from memory and not in roblox studio so forgive me if something is wrong