How do you check how many Roblox Points you have and put it into a value? I have attempted this script:
local PointsService = Game:GetService("PointsService") local RP = script.Parent.RP local player = script.Parent.Parent.Parent.Name -- What is the RP Balance? local RPBalance = PointsService:GetPointBalance(player.userId) -- Check if RPBalance is more that 0 if RPBalance > 0 then RP.Value = RPBalance.Value end