Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How would i tell how much Player points a player has as a BillboardGUI?

Im making a game and i need to know how to make a billboardGUI that says how much Player Points the player has.

1 answer

✓ Accepted answer

Put this in the TextLabel/TextBox! Learn more about points here!

local TargetId = "1" -- Change 1 to the player who's points you want to show [[This would show ROBLOX's points]]

local Target = "ROBLOX" -- Also change this to the player's name for display :3

local PointsService = Game:GetService("PointsService") -- Gets the points service!

local PointBalance = PointsService:GetPointBalance(TargetId) -- Creates a variable for the Point Balance

print(PointBalance) -- Prints points in output

script.Parent.Text = "" .. Target .. " has " .. PointBalance .. " player points!"-- Assuming this script is in the textlabel/textbox

2 comments

0

How would i make it show their player points to all players?

0

Simplest way would be to create a hint and display the points on a hint :)

This discussion is preserved as it was. New answers, comments, and votes are closed.