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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: -Gamepass VIP Help-

Previous Thread :: Next Thread 
Broiled is not online. Broiled
Joined: 26 Dec 2011
Total Posts: 1035
27 Apr 2013 06:26 AM
So I've been wanting to make a game pass that grants VIP tools for people when they purchase it.

But I don't want to have a VIP door.
I'd like it to be when you spawn, you automatically have the tools.
I think you put the tools in lighting, right?
I'm not 100% sure.

But if you can help post below, thanks.

-Broiled
Report Abuse
Broiled is not online. Broiled
Joined: 26 Dec 2011
Total Posts: 1035
27 Apr 2013 06:34 AM
Bump.
Report Abuse
TheGamer101 is not online. TheGamer101
Joined: 14 Feb 2009
Total Posts: 11943
27 Apr 2013 06:56 AM
You shouldn't request scripts but... I decided I'd help anyway. You would do something like this :

function character(char)
local player = game.Players:GetPlayerFromCharacter(char)
if player then
game.Lighting.VIPWeapon:Clone().Parent = player.Backpack
end
end

function entered(player)
if game:GetService("GamePassService"):PlayerHasPass(player, GAMEPASSID) == true then
player.CharacterAdded:connect(character)
end
end
game.Players.PlayerAdded:connect(entered)
Report Abuse
spearman2 is not online. spearman2
Joined: 28 May 2010
Total Posts: 2938
27 Apr 2013 07:00 AM
Doing this isn't hard but explaining it sorta is.

Put your VIP tools in lighting, then put a script in workspace that clones the VIP tools when their character is added.
Report Abuse
spearman2 is not online. spearman2
Joined: 28 May 2010
Total Posts: 2938
27 Apr 2013 07:01 AM
Or just do what TheGamer did :P
Report Abuse
Broiled is not online. Broiled
Joined: 26 Dec 2011
Total Posts: 1035
27 Apr 2013 07:18 AM
Okay, thanks for the help.
Report Abuse
Broiled is not online. Broiled
Joined: 26 Dec 2011
Total Posts: 1035
27 Apr 2013 07:39 AM
Wait do I insert that script into each of the VIP Tools? The lighting or just workspace?
Report Abuse
spearman2 is not online. spearman2
Joined: 28 May 2010
Total Posts: 2938
27 Apr 2013 07:44 AM
Workspace
Report Abuse
A8P is not online. A8P
Joined: 17 Apr 2013
Total Posts: 230
27 Apr 2013 07:45 AM
Lighting
Report Abuse
A8P is not online. A8P
Joined: 17 Apr 2013
Total Posts: 230
27 Apr 2013 07:45 AM
wait nvm hes right :o
Report Abuse
Broiled is not online. Broiled
Joined: 26 Dec 2011
Total Posts: 1035
27 Apr 2013 07:50 AM
Okay I have one last question.
I made the gamepass and uploaded it, but it's not up for sale?
Report Abuse
Broiled is not online. Broiled
Joined: 26 Dec 2011
Total Posts: 1035
27 Apr 2013 07:53 AM
Oh my, nevermind, I forgot to sell it, I feel really stupid right now.
Report Abuse
spearman2 is not online. spearman2
Joined: 28 May 2010
Total Posts: 2938
27 Apr 2013 08:02 AM
It happens.
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