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

How can you check [player]'s P-Point count via Script? [ANSWERED]

Asked by 4 years ago
Edited 4 years ago

BEFORE you guys start telling me this...

YES. I do know they are deprecated.

Thing is I want to make it so a player can only join if they have an amount of player points, but I don't know how to retrieve the value. not-so-epic :(

i put some random starter code nobody actually needs or is gonna use

local joe = game:GetService("PointsService")

function plshelp(player)
--pls fill in blank
end

game.Players.PlayerAdded:connect(plshelp)

Thanks!

1
https://developer.roblox.com/en-us/api-reference/class/PointsService click the "show deprecated" toggle to see the GetPoints functions EmilyBendsSpace 1025 — 4y
0
why didnt you post this as an answer lol speedyfox66 237 — 4y
0
I don't usually bother with the full answer unless there is a code sample or something more than one line :-) EmilyBendsSpace 1025 — 4y

Answer this question