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

4 comments
Where is the script located?
In a ScreenGUI
Have you tried a LocalScript? If it works, you can change player to player = game.Players.LocalPlayer
Cant, GetPointBalance is only ServerScript