generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Scripting Help;

Previous Thread :: Next Thread 
ehern11 is not online. 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 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
22 Jun 2014 07:09 PM
bump
Report Abuse
ehern11 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
22 Jun 2014 07:15 PM
bump2
Report Abuse
ehern11 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
22 Jun 2014 08:37 PM
bump3
Report Abuse
ehern11 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
22 Jun 2014 08:39 PM
bump4!!!!!!!!!!!!!
1
1

1
11
1

1!!!!!!!!!!!!
Report Abuse
ehern11 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
22 Jun 2014 08:42 PM
bump5
Report Abuse
ehern11 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
22 Jun 2014 08:47 PM
bump6...
Report Abuse
logo3578 is not online. 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 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
22 Jun 2014 08:50 PM
just did, still does not work.
Report Abuse
logo3578 is not online. 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 is not online. logo3578
Joined: 01 Feb 2011
Total Posts: 18040
22 Jun 2014 08:52 PM
Be in test mode btw
Report Abuse
ehern11 is not online. 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
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
22 Jun 2014 09:06 PM
It's PointsService

GetService'PointsService'
Report Abuse
whitem0use is not online. whitem0use
Joined: 07 Jun 2014
Total Posts: 87
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 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
22 Jun 2014 09:16 PM
it doesn't say that...?
Report Abuse
ehern11 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
22 Jun 2014 09:41 PM
bump7..
Report Abuse
logo3578 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image