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: Group giver script

Previous Thread :: Next Thread 
FauxHawke is not online. 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 is not online. FauxHawke
Joined: 08 Jun 2012
Total Posts: 2190
04 Apr 2014 07:45 PM
bump
Report Abuse
MECHANIZATION is not online. MECHANIZATION
Joined: 03 Jul 2013
Total Posts: 104
04 Apr 2014 07:54 PM
function bunghole()
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