Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you check how many Roblox Points you have and put it into a value?

Asked by 10 years ago

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
0
Where is the script located? Articulating 1335 — 10y
0
In a ScreenGUI xkiller777 5 — 10y
0
Have you tried a LocalScript? If it works, you can change player to player = game.Players.LocalPlayer Dummiez 360 — 10y
0
Cant, GetPointBalance is only ServerScript xkiller777 5 — 10y

Answer this question