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: How to make a starter money gamepass

Previous Thread :: Next Thread 
Decorpsesonator is not online. Decorpsesonator
Joined: 24 May 2013
Total Posts: 130
13 Sep 2014 02:28 AM
How to make a starter money gamepass?

Please help me I need it for my tycoon.
Report Abuse
Vulnerite is not online. Vulnerite
Joined: 05 Nov 2007
Total Posts: 11492
13 Sep 2014 03:18 AM
local gps = game:service'GamePassService'
game.Players.PlayerAdded:connect(function(player)
local ls = Instance.new("Model", player)
ls.Name = "leaderstats"
local money = Instance.new("IntValue", ls)
money.Name = "Money"
if gps:PlayerHasPass(player, 000) then -- replace 000 with ur gamepass ID
money.Value = money.Value + 50 -- amount of money to add if player has pass
end
end)

keith | sometimes i troll | tons of deleted accounts | i do stuff
Report Abuse
Decorpsesonator is not online. Decorpsesonator
Joined: 24 May 2013
Total Posts: 130
13 Sep 2014 07:29 PM
Thanks. It really help.
Report Abuse
Decorpsesonator is not online. Decorpsesonator
Joined: 24 May 2013
Total Posts: 130
13 Sep 2014 07:31 PM
How about a VIP tool + starter money..

I really need your help. THanks.
Report Abuse
Vulnerite is not online. Vulnerite
Joined: 05 Nov 2007
Total Posts: 11492
13 Sep 2014 07:34 PM
local gps = game:service'GamePassService'
game.Players.PlayerAdded:connect(function(player)
local ls = Instance.new("Model", player)
ls.Name = "leaderstats"
local money = Instance.new("IntValue", ls)
money.Name = "Money"
if gps:PlayerHasPass(player, 000) then -- replace 000 with ur gamepass ID
money.Value = money.Value + 50 -- amount of money to add if player has pass
game.ReplicatedStorage.Tool:Clone().Parent = player:WaitForChild'Backpack'
end
end)

put a tool in ReplicatedStorage and rename "Tool" in the script to its name

u can call me keith | sometimes i troll | tons of deleted accounts | i do stuff
Report Abuse
AntiFiter is not online. AntiFiter
Joined: 14 May 2009
Total Posts: 12290
13 Sep 2014 07:35 PM
Just add this after the :HasGamepass or whatever

game.(where you are storing your gun, like lighting or replicatedstorage).GUN_NAME:clone().Parent=player.StarterGear
Report Abuse
Decorpsesonator is not online. Decorpsesonator
Joined: 24 May 2013
Total Posts: 130
13 Sep 2014 09:38 PM
This is my last two questions....

-How about a gamepass tool no money added

-And admin gamepass?


Thanks. You two real helped me cause I do not know how to do advanced scripting lately.
Report Abuse
super10099 is not online. super10099
Joined: 30 Jan 2010
Total Posts: 1102
13 Sep 2014 09:41 PM
cmon scripting slaves, script for him.
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
13 Sep 2014 09:44 PM
i don't think you ever knew how to script
Report Abuse
killer4723 is not online. killer4723
Joined: 05 Aug 2009
Total Posts: 12483
13 Sep 2014 09:45 PM
...
Report Abuse
Decorpsesonator is not online. Decorpsesonator
Joined: 24 May 2013
Total Posts: 130
13 Sep 2014 10:19 PM
Please. I need the Admin gamepass
Report Abuse
valoo90000 is not online. valoo90000
Joined: 21 Nov 2009
Total Posts: 472
20 Sep 2014 01:25 PM
Do you put those scripts in a local script or a regular script?
Report Abuse
Decorpsesonator is not online. Decorpsesonator
Joined: 24 May 2013
Total Posts: 130
11 Oct 2014 02:02 AM
Regular ones
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