How do I make it so when a player has a specific leaderstat value, a GUI appears on their screen?
You can use .Changed
event
so for example it would look like
local leaderstats = --your leaderstats folder local value = --your value from leaderstats local gui = --your gui value.Changed:Connect(function() gui.Enabled = true end)
or else if you want to check if the new number is higher than a certain number
value.Changed:Connect(function(newValue) if newValue > 0 then gui.Enabled = true end end)