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

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

Asked by 10 years ago

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

Log in to vote
2
Answered by 10 years ago

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

0
How would i make it show their player points to all players? digitalzer3 123 — 10y
0
Simplest way would be to create a hint and display the points on a hint :) joshuatodd21 40 — 10y
Ad

Answer this question