Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
|
| 15 Feb 2015 07:29 PM |
So, the money that each player has is stored in ServerStorage>MoneyStorage>Player(which is a numvalue).Value The script is supposed to check if a player has a gamepass and award them 2500 cash if they do
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) local swag = game.ServerStorage.MoneyStorage.Player if game:GetService("GamePassService"):PlayerHasPass(player, id) then swag.Value = swag.Value + 2500 end
end)
end) |
|
|
| Report Abuse |
|
|
Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
| |
|
Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
| |
|
Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
| |
|
Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
|
| 15 Feb 2015 07:37 PM |
| I pmed web but he never answered me |
|
|
| Report Abuse |
|
|
Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
| |
|
Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
|
| 15 Feb 2015 07:39 PM |
| Wow someone good at lua help qq |
|
|
| Report Abuse |
|
|
Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
| |
|
uglypoe
|
  |
| Joined: 26 Mar 2011 |
| Total Posts: 4382 |
|
|
| 15 Feb 2015 07:43 PM |
id = GAMEPASS ID HERE
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function() local swag = game.ServerStorage.MoneyStorage:FindFirstChild("player.Name") if game:GetService("GamePassService"):PlayerHasPass(player.userId, id) then swag.Value = swag.Value + 2500 end end) end)
_// Scientia est Potentia \\_ |
|
|
| Report Abuse |
|
|
Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
| |
|
Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
| |
|
Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
| |
|
Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
| |
|
Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
| |
|
EngiStar
|
  |
| Joined: 15 Feb 2012 |
| Total Posts: 14862 |
|
|
| 15 Feb 2015 08:00 PM |
wrong forum dummy
It's called scripting help |
|
|
| Report Abuse |
|
|
Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
|
| 15 Feb 2015 08:01 PM |
1. theres no forum called scripting helpers anymore 2. lmad has better scripters than them 3. scripters is very inactive |
|
|
| Report Abuse |
|
|
EngiStar
|
  |
| Joined: 15 Feb 2012 |
| Total Posts: 14862 |
|
|
| 15 Feb 2015 08:03 PM |
| Still wrong forum, you're not countering my argument. Anywho |
|
|
| Report Abuse |
|
|
Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
|
| 15 Feb 2015 08:03 PM |
who cares if its the wrong forum if you think lmad is just on topic posts you clearly haven't been here for long |
|
|
| Report Abuse |
|
|
EngiStar
|
  |
| Joined: 15 Feb 2012 |
| Total Posts: 14862 |
|
|
| 15 Feb 2015 08:04 PM |
Well, I have been here for 3 years, just look at my date.
And uhm, you aren't paying anyone to fix the problem so it isn't a deal?
Rekt |
|
|
| Report Abuse |
|
|
Disli
|
  |
| Joined: 28 Jul 2011 |
| Total Posts: 3080 |
|
|
| 15 Feb 2015 08:04 PM |
@engistar
chill fam
you aren't cool for policing someone on a forum on the internet
no one cares. |
|
|
| Report Abuse |
|
|
EngiStar
|
  |
| Joined: 15 Feb 2012 |
| Total Posts: 14862 |
|
|
| 15 Feb 2015 08:05 PM |
@Dis
Fam, I ain't here to police anyone.
I am correcting someone when they are wrong. |
|
|
| Report Abuse |
|
|
Agios
|
  |
| Joined: 11 Feb 2015 |
| Total Posts: 2892 |
|
|
| 15 Feb 2015 08:07 PM |
by here i meant lmad, not roblox
and idc if this is in the wrong spot
im more likely to get help here than in scripting helpers |
|
|
| Report Abuse |
|
|
Disli
|
  |
| Joined: 28 Jul 2011 |
| Total Posts: 3080 |
|
|
| 15 Feb 2015 08:08 PM |
they know they posted it in the wrong section cuz
cuz chill
it's okay, its' not like it is the end of life as we know it b/c someone posted a thread in a different section to get an answer faster |
|
|
| Report Abuse |
|
|
EngiStar
|
  |
| Joined: 15 Feb 2012 |
| Total Posts: 14862 |
|
|
| 15 Feb 2015 08:10 PM |
| It's not the end of life, it's the end of the universe bcuz he posted on the wrong forum. |
|
|
| Report Abuse |
|
|
Disli
|
  |
| Joined: 28 Jul 2011 |
| Total Posts: 3080 |
|
|
| 15 Feb 2015 08:11 PM |
wOAH
ThE rApture is REEL
LOOMINATI CONFRMD
FREEMASON
GOD ISNT REAL
FLYING SPAGHETTI MONSTER WILL SAVE US ALL |
|
|
| Report Abuse |
|
|