Linked_S
|
  |
| Joined: 28 Jun 2016 |
| Total Posts: 103 |
|
|
| 17 Nov 2017 03:47 PM |
| Does anyone know of a script where it will give someone money, however they need to be in a certain group and be a certain rank? Is there a script I can add to the regular money scripts that would do it? |
|
|
| Report Abuse |
|
|
| |
|
Linked_S
|
  |
| Joined: 28 Jun 2016 |
| Total Posts: 103 |
|
|
| 17 Nov 2017 04:13 PM |
| No. I am just asking if people know. Not paying a fake scripter. |
|
|
| Report Abuse |
|
|
z_wo
|
  |
| Joined: 27 Sep 2016 |
| Total Posts: 347 |
|
|
| 17 Nov 2017 05:28 PM |
Add me , Ill do it.
-Thanks For Reading, z_wo. |
|
|
| Report Abuse |
|
|
Voxxie
|
  |
| Joined: 27 Aug 2006 |
| Total Posts: 325 |
|
|
| 17 Nov 2017 05:33 PM |
"No. I am just asking if people know. Not paying a fake scripter."
What kind of attitude is that? If your question is 'does this exist', it sure does pal.
Furthermore why do you offer to script for people in your blurb and then come here to ask for basic things?
http://wiki.roblox.com/index.php?title=API:Class/Player/IsInGroup http://wiki.roblox.com/index.php?title=API:Class/Player/GetRankInGroup |
|
|
| Report Abuse |
|
|
M7MD076
|
  |
| Joined: 15 Apr 2016 |
| Total Posts: 40 |
|
|
| 17 Nov 2017 05:36 PM |
Wih to acces those wiki links but IT FORBIDS ME to do so.
Launch me with a rocket to space. |
|
|
| Report Abuse |
|
|
z_wo
|
  |
| Joined: 27 Sep 2016 |
| Total Posts: 347 |
|
|
| 17 Nov 2017 05:36 PM |
game.Players.PlayerAdded:Connect(function(x) local a = Instance.new("IntValue",x) a.Name = "leaderstats" local b = Instance.new("IntValue",a) b.Name = "Cash" b.Value = 0 --code if x:IsInGroup(3015486) then b.Value = b.Value + 10 -- Change the "10" to the Amout of cash you want to give them. print("Player Is in Group, awarded extra cash!") end end)
-Thanks For Reading, z_wo. |
|
|
| Report Abuse |
|
|
M7MD076
|
  |
| Joined: 15 Apr 2016 |
| Total Posts: 40 |
|
|
| 17 Nov 2017 05:38 PM |
Dude instead of using an x you can just define the player name using the "player" or "plr" definition. Why you trying to turn this to an algebraic expression?
Launch me with a rocket to space. |
|
|
| Report Abuse |
|
|
Voxxie
|
  |
| Joined: 27 Aug 2006 |
| Total Posts: 325 |
|
|
| 17 Nov 2017 05:40 PM |
| People are allowed to write code how they want. Fun fact: it's still "an algebraic expression" if you use 'player' instead of 'x'. They're both variables! :^) |
|
|
| Report Abuse |
|
|
z_wo
|
  |
| Joined: 27 Sep 2016 |
| Total Posts: 347 |
|
|
| 17 Nov 2017 05:41 PM |
^^ Thanks. Yes, as she said, you can use anything, If I really wanted I can put 'safsbaf' It doesn't really matter, It's a variable at the end of the day. It all works the same. :)
-Thanks For Reading, z_wo. |
|
|
| Report Abuse |
|
|