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: Scripting a Starter Pack for certain people or groups

Previous Thread :: Next Thread 
Neel664 is not online. Neel664
Joined: 25 Oct 2011
Total Posts: 575
09 Jan 2012 04:36 PM
Well I want to have this starter pack that goes to certain people I choose and "My" Group to get those weapons or what ever I put in the starter pack. Like instead of having it for everybody. Can I have the script or the process on how to script the starter pack?
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
09 Jan 2012 04:37 PM
No requests.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
09 Jan 2012 04:38 PM
Put the tools in lighting, make the script get the tools if you're in a group.
Report Abuse
Neel664 is not online. Neel664
Joined: 25 Oct 2011
Total Posts: 575
09 Jan 2012 04:38 PM
What do you mean?...
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
09 Jan 2012 04:38 PM
@Knight

Indeed.
Report Abuse
Neel664 is not online. Neel664
Joined: 25 Oct 2011
Total Posts: 575
09 Jan 2012 04:39 PM
Knight I need the script thats what I need help on I'm new to scipting btw.
Report Abuse
builderman1171 is not online. builderman1171
Joined: 27 Mar 2010
Total Posts: 1595
09 Jan 2012 04:44 PM
Here:

First you need two models, name them Team1, and Team2. Next you want to create a script
that checks when a player enters the game if he or she is in your group. This can be called
upon by the following function. [Please note, I never use isInGroup(), now that I think of
it, isInGroup() might not eve be real. ​>.>]

game.Players.PlayerAdd():connect(function(newPlayer)
if newPlayer.isInGroup(GROUP ID PL0X?) then
print("YAY!")
end
end)

I'm probably wrong on that.

Now YOU need to set the give gun's event, so replace
[print("YAY!")]
with something like:

game.Lighting["GUN NAME PL0X?"]:clone().Parent = newPlayer.Player.Backpack

Hope I helped a lil'bit.
Report Abuse
ultracutekittens is not online. ultracutekittens
Joined: 28 Nov 2010
Total Posts: 7075
09 Jan 2012 04:44 PM
Just get something from the Free Models.

If it doesn't work, come back to us and we'll fix it.
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
09 Jan 2012 04:56 PM
@Builder game.Players.PlayerAdd():connect(function(newPlayer)
o.o?
Report Abuse
Neel664 is not online. Neel664
Joined: 25 Oct 2011
Total Posts: 575
09 Jan 2012 04:59 PM
Do I put their name in ()'s where it says PlayerAdd(NAME HERE) OR (function(NAME HERE) Where? Sorry If I'm nooby :o I'm new to scripting once again
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