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
 

Only I get a certain gear when I join?

Previous Thread :: Next Thread 
Flickerdo is not online. Flickerdo
Joined: 08 Oct 2010
Total Posts: 5011
27 Jul 2012 05:37 AM
Ok, I'd like to know:

I want to have this: http://www.roblox.com/SHOTGUN1-item?id=87947497 when I enter my game. I could just put it in starterpack, but then EVERYBODY would have it.
IS there a way for just me to have it?

technologically proficient.
Report Abuse
Strieken is not online. Strieken
Joined: 17 Jun 2011
Total Posts: 3058
27 Jul 2012 05:46 AM
Mhm.

game.Players.PlayerAdded:connect(function(plr)
if plr.Name == "Flickerdo" then
game.Lighting.Shotgun:clone().Parent = plr.Backpack
end
end)
Report Abuse
toxicgo is not online. toxicgo
Joined: 06 May 2012
Total Posts: 128
27 Jul 2012 05:46 AM
[ Content Deleted ]
Report Abuse
awesomeRobbie1 is not online. awesomeRobbie1
Joined: 20 Jul 2011
Total Posts: 141
27 Jul 2012 05:56 AM
Yes there is because i do it sometimes. If it doesn't work then reset while in the game to see if you get the weapon.Try this:


function OnPlayerEntered(Player)
if Player.Name == "Flickerdo" then -- checks if your there
game.Lighting.abc:Clone().Parent = Player.StarterGear --Change abc to weapons name
game.Lighting.abc:CLone().Parent = Player.Backpack -- moves cloned weapon into your starter pack
end
end

game.Players.ChildAdded:connect(OnPlayerEntered)
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