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: This MAKES no SENSE!

Previous Thread :: Next Thread 
utabon is not online. utabon
Joined: 12 Aug 2009
Total Posts: 900
21 Jun 2014 07:39 PM
Omg! I'm so frustated!

So I had this script that worked, back in an old version of my game. I transfered it to the new map I made. Then it didnt work...I was like, Huh? It was working before. So I reverted back to the old version to see if it still worked on that version. IT DID. So I saved it to Roblox (My Models) and then I put it in the new map. THEN IT DIDNT WORK. OMG!

Why is this HAPPENING?

Also there is no new scripts interacting with this player point. I DISABLED ALL the scripts expect this one

Please help I'm so frustated with this thing.
Report Abuse
badfitz99 is not online. badfitz99
Joined: 01 May 2010
Total Posts: 5854
21 Jun 2014 07:40 PM
How do you expect us to help you with no script?
Report Abuse
utabon is not online. utabon
Joined: 12 Aug 2009
Total Posts: 900
21 Jun 2014 07:43 PM
Opps sorry I completely forgot about that

script.Parent.Touched:connect(function(hit)
local GamePassIdX2 = 162381640
local GamePassIdX3 = 162382459
Player = game.Players:GetPlayerFromCharacter(hit.Parent)

debounce = false

if Game:GetService("GamePassService"):PlayerHasPass(Player, GamePassIdX3) then
Game:GetService("PointsService"):AwardPoints(Player.userId, 3)
script.Parent:Destroy()
debounce = true
else

if Game:GetService("GamePassService"):PlayerHasPass(Player, GamePassIdX2) then
Game:GetService("PointsService"):AwardPoints(Player.userId, 2)
script.Parent:Destroy()
debounce = true

else
Game:GetService("PointsService"):AwardPoints(Player.userId, 1)
script.Parent:Destroy()
debounce = true

debounce = true

end
end
end)
Report Abuse
utabon is not online. utabon
Joined: 12 Aug 2009
Total Posts: 900
21 Jun 2014 07:45 PM
Btw, by version I mean the version in config, not in Roblox. The scripts were made today.
Report Abuse
Accomplishable is not online. Accomplishable
Joined: 13 Aug 2009
Total Posts: 6207
21 Jun 2014 07:49 PM
I thought player points were only added to the game that users spend money on?
I may be wrong, but I think this is the reason why your script isn't working in one game and not the other
Report Abuse
utabon is not online. utabon
Joined: 12 Aug 2009
Total Posts: 900
21 Jun 2014 07:58 PM
There were player points added to the game by myself buying stuff in the game :)
Report Abuse
utabon is not online. utabon
Joined: 12 Aug 2009
Total Posts: 900
21 Jun 2014 08:14 PM
.
Report Abuse
utabon is not online. utabon
Joined: 12 Aug 2009
Total Posts: 900
21 Jun 2014 08:24 PM
.
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