This script is suppost to be a part of a screen gui that makes a text label read how many player points it has, but I wanted to add if it got below a certain ammont, the text will change to a warning about how the player points are low. Then when it gets above that certain ammount, the message goes back to normal.
points = Game:GetService("PointsService")
while true do
wait(1)
script.Parent.Text = "Available points: " ..Pointpoints:GetAwardables() .. ""
if Pointpoints:GetAwardables() = <500 then
script.Parent.Text = "Warning! Low on Points! Available points: " ..Pointpoints:GetAwardables() .. ""
if Pointpoints:GetAwardables() = >501 then
script.Parent.Text = "Available points: " ..Pointpoints:GetAwardables() .. ""
if Pointpoints:GetAwardables() = 0 then
script.Parent.Text = "No points! Available points: " ..Pointpoints:GetAwardables() .. ""
end
