FauxHawke
|
  |
| Joined: 08 Jun 2012 |
| Total Posts: 2190 |
|
|
| 03 Apr 2014 05:03 PM |
I'm making a script for my group, and it won't work. Inside the script is a Configuration called "Configuration", and a Backpack called "Items". And inside configurations, there is 2 Integer Values, one called "RankValue", and one called "GroupID". Inside Items there is a tool called "M202A1". If anyone could help me, here is the script: local Tools = script.Items.M202A1 local GroupID = script.Configuration.GroupID.Value local RankValue = script.Configuration.RankValue.Value local Player = game.Players.Localplayer function GiveTools(Player) wait(0.5) if Player:IsInGroup(1037263) then if Player:GetRankInGroup(1037263) >= RankValue then for _,Tool in pairs(Tools) do local NewTool1 = Tool:Clone() NewTool1.Parent = Player.Backpack local NewTool2 = Tool:Clone() NewTool2.Parent = Player.StarterGear end end end end
game.Players.PlayerAdded:connect(GiveTools) |
|
|
| Report Abuse |
|
FauxHawke
|
  |
| Joined: 08 Jun 2012 |
| Total Posts: 2190 |
|
| |
| |