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

Player points script, how?

Asked by 10 years ago

I want to make a game where people can earn player points through getting to a new spawn, it's a quiz game and every time a player gets to the new spawn, they get 20 points, but I have no clue on how to even begin a script for it. Help please?

1 answer

Log in to vote
0
Answered by 10 years ago

Well, if you want it so when a player stands on a specific spawn then he get 20 PP, you will need to use function OnTouch(hit) and PointsService. Here's an example code for the beginning of the script: local PointsService = Game:GetService("PointsService").

MORE ABOUT PP HERE: http://wiki.roblox.com/index.php?title=Points_tutorial

NOTE: I can't give you a full script because:-

1.I am new to scripting, I don't know much. 2.This is not a request site, you must give us a script to fix. I suggest you to read the community guidelines.

Ad

Answer this question