ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
|
| 22 Jun 2014 07:04 PM |
Can someone please help me fix this, I've tried many things but it's not working;
local p = game:GetService("PlayerPointService") local player = script.Parent.Parent local bankBalance = player.Bank.Value
if bankBalance == 1 then p:AwardPoints(player.userId,45) print("point awarded") while true do wait() bankBalance = 0
if bankBalance == 5 then p:AwardPoints(player.userId,125) print("points awarded") while true do wait() bankBalance = 0
if bankBalance == 10 then p:AwardPoints(player.userId,500) print("points awarded") while true do wait() bankBalance = 0
end end end end end end
|
|
|
| Report Abuse |
|
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
| |
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
| |
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
| |
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
|
| 22 Jun 2014 08:39 PM |
bump4!!!!!!!!!!!!! 1 1
1 11 1
1!!!!!!!!!!!! |
|
|
| Report Abuse |
|
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
| |
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
| |
|
logo3578
|
  |
| Joined: 01 Feb 2011 |
| Total Posts: 18040 |
|
|
| 22 Jun 2014 08:48 PM |
| Well did you try adding numbers into the "Wait()" |
|
|
| Report Abuse |
|
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
|
| 22 Jun 2014 08:50 PM |
| just did, still does not work. |
|
|
| Report Abuse |
|
|
logo3578
|
  |
| Joined: 01 Feb 2011 |
| Total Posts: 18040 |
|
|
| 22 Jun 2014 08:51 PM |
| When you go into game, open your output and bring yourself to the code and tell me where the red lines are |
|
|
| Report Abuse |
|
|
logo3578
|
  |
| Joined: 01 Feb 2011 |
| Total Posts: 18040 |
|
| |
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
|
| 22 Jun 2014 08:57 PM |
| i see the red line, but what do you mean "where the red lines are"? |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2014 09:06 PM |
It's PointsService
GetService'PointsService' |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2014 09:07 PM |
*FacePalm*
Where are the red lines? Not a hard question. Where in the code do the occur?
whitem0use - Expert Hacker... Just kidding. |
|
|
| Report Abuse |
|
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
| |
|
ehern11
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1541 |
|
| |
|
logo3578
|
  |
| Joined: 01 Feb 2011 |
| Total Posts: 18040 |
|
|
| 22 Jun 2014 11:12 PM |
| I can't help you unless you go onto test mode with your output and open the script, if it's not workig red lines will show up and say "an error occured" |
|
|
| Report Abuse |
|
|