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: Gun Scripting

Previous Thread :: Next Thread 
EarlyRambo is not online. EarlyRambo
Joined: 21 Nov 2011
Total Posts: 2689
21 Feb 2014 11:04 PM
If any of you are familiar with FedoraMasterB98's work and know how to make a certain rank and above in a group get a gun please help me. In his group and at all his games if you are a Sergeant and above you will get a gun. I want to do this in my game. Btw they spawn with the weapon not say give me all. Please help.
Report Abuse
SuperSniper222 is not online. SuperSniper222
Joined: 09 Jul 2010
Total Posts: 426
21 Feb 2014 11:05 PM
Put a backpack into the team and put what weapon you want them to spawn with.
Report Abuse
EarlyRambo is not online. EarlyRambo
Joined: 21 Nov 2011
Total Posts: 2689
21 Feb 2014 11:07 PM
Okay, now how do I make it spaen with a certain rank in that group.
Report Abuse
7y13rb is not online. 7y13rb
Joined: 28 May 2011
Total Posts: 223
21 Feb 2014 11:08 PM
make only that rank be in that team
Report Abuse
EarlyRambo is not online. EarlyRambo
Joined: 21 Nov 2011
Total Posts: 2689
21 Feb 2014 11:10 PM
I dont know how to do that either. I need everyone to be on the team and people in that rank to spawn with a gun.
Report Abuse
SuperSniper222 is not online. SuperSniper222
Joined: 09 Jul 2010
Total Posts: 426
21 Feb 2014 11:10 PM
^^ Or you can use a rank script and have it insert it to them which I ain't explaining.
Report Abuse
EarlyRambo is not online. EarlyRambo
Joined: 21 Nov 2011
Total Posts: 2689
21 Feb 2014 11:12 PM
Could you give me the link to the rank script?
Report Abuse
transIate is not online. transIate
Joined: 20 Jun 2013
Total Posts: 2699
22 Feb 2014 01:27 AM
only if u donate
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
22 Feb 2014 01:33 AM
Ok..
.PlayerAdded event
GetRankInGroup(group id) (or GetRoleInGroup)
.TeamColor
:clone()
.Backpack
:3,ill give u an example-ish too
game.Players.PlayerAdded:connect(function(plr)
rank = plr:GetRankInGroup(groupid)
if rank == 255 then
print "he's owner"
plr.TeamColor = game.Teams.OwnerTeam.TeamColor
else
print "he's not owner"
end
end)
--something like that
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