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 » Building Helpers
Home Search
 

Creating a gamepass that gives gears

Previous Thread :: Next Thread 
sweettrees is not online. sweettrees
Joined: 22 Mar 2013
Total Posts: 9
06 Apr 2014 06:36 AM
If I were to create a gamepass that would a give a gravity coil and speed coil, how would i do that?👶👶
Report Abuse
sweettrees is not online. sweettrees
Joined: 22 Mar 2013
Total Posts: 9
06 Apr 2014 06:41 AM
I saw a youtube video showing how to do it with one gear so how do I make it give out two gears?
Report Abuse
Steebizzle is not online. Steebizzle
Joined: 05 Jun 2010
Total Posts: 402
06 Apr 2014 07:20 AM
Wrong forum, you should go to Scripting Helpers.

Anyway, I think I can help.

Just type this script in:


wait(2) --Keep at 2 for safety.
------EDIT BELOW


gpid = 93052731 --Game Pass ID
tools = {"tool1", "tool2", "tool3"} --Put VIP tools in Lighting, then put their exact names here.

GPS = Game:GetService("GamePassService")
function respawned(char)
player = game.Players:FindFirstChild(char.Name)
print("Respawned")
if char:FindFirstChild("Head") ~= nil then
print("It's a Player!")
if GPS:PlayerHasPass(player, gpid) then
print("Has GPID")
for i = 1,#tools do
game.Lighting:FindFirstChild(tools[i]):Clone().Parent = player.Backpack
end
else
print("No GPID")
end
end
end
game.Workspace.ChildAdded:connect(respawned)
Report Abuse
sweettrees is not online. sweettrees
Joined: 22 Mar 2013
Total Posts: 9
06 Apr 2014 07:21 AM
ok and thank you
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Building 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