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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 12 Aug 2009 |
| Total Posts: 900 |
|
| |
|
utabon
|
  |
| Joined: 12 Aug 2009 |
| Total Posts: 900 |
|
| |
|