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: Will This Game Pass Script Work?

Previous Thread :: Next Thread 
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
20 Sep 2012 09:15 PM
I'm experimenting with game passes. This script is supposed to give you a GUI that allows you to save your stats.


local function WaitForChild(parent, childName)
assert(parent, "ERROR: WaitForChild: parent is nil")
while not parent:FindFirstChild(childName) do parent.ChildAdded:wait() end
return parent[childName]
end



local GamePassService = Game:GetService('GamePassService')
local PlayersService = Game:GetService('Players')
local InsertService = Game:GetService('InsertService')
local LightingService = Game:GetService('Lighting')

local GamePassIdObject = WaitForChild(script, 'GamePassId')

local AdminTools = LightingService:FindFirstChild('SaveLoadGUI')



local function CloneAdminTools(target)
for _, tool in pairs(AdminTools:GetChildren()) do
local toolClone = tool:Clone()
toolClone.Parent = target
end
end


local function OnPlayerAdded(player)
if GamePassService:PlayerHasPass(player, GamePassIdObject.Value) then
local starterGear = WaitForChild(player, 'StarterGui')
CloneAdminTools(starterGear)
if player.Character then
local backpack = WaitForChild(player, 'PlayerGui')
CloneAdminTools(backpack)
end
end
end

PlayersService.PlayerAdded:connect(OnPlayerAdded)
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
20 Sep 2012 09:20 PM
lol why did you make it so complicated?

http://www.roblox.com/Forum/ShowPost.aspx?PostID=78524341 -- Read that to get better help
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
20 Sep 2012 09:24 PM
@deathmaster

Because that's how he made the script. You can make any script anyway you want. As long as you get it. If you can't figure that out then get out, ametuer.
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
20 Sep 2012 09:25 PM
I can figure it out. I am just asking why so complicated.

http://www.roblox.com/Forum/ShowPost.aspx?PostID=78524341 -- Read that to get better help
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
20 Sep 2012 09:26 PM
@Miz
You sassy :o
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
20 Sep 2012 09:27 PM
@Thedeath
Because he took this from icanxlr8 and it was made to be easy to use,
@OP
Try it, then tell us if it works :D
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
20 Sep 2012 09:31 PM
I'm just getting a little annoyed about deathmasters posts. From all today I didn't see him help at least 3 people. Just troll. Sick of it. Grow up, man.
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
20 Sep 2012 09:31 PM
^and icanxlr8 took it from ROBLOX. d:
Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
20 Sep 2012 09:32 PM
None of you have been really helping. Sorry.
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
20 Sep 2012 09:33 PM
Miz, I can't believe I'm saying this, but I thoroughly agree with you. I don't think I've ever seen him post a significantly helpful post here, and he STILL hasn't responded to criticism on that thread in his signature.

http://wiki.roblox.com/index.php/User:ElectricBlaze
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
20 Sep 2012 09:38 PM
@cooljohnny

I helped a couple people today, but I couldn't post a lot because by the time I got home I was tired so I took a two hour nap XP

Then my dad came home, got dinner

Then we had to pick up my sisters

And now I have to check out my subscriptions on YTUBE

Now, I'm just playing with binary code for the heck of it :3

@electric

"I don't think I've ever seen him post a significantly helpful post"

Think? Know :3

But yeah, I don't know. Maybe he's young? He just needs to know to start growing up and helping people instead of trying to make fun of them.
Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
20 Sep 2012 09:39 PM
Great, now it's not appearing under game passes.
I made 1, then I made another becuase 1 was not showing, now I wasted 200 robux.
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
20 Sep 2012 09:40 PM
Mm. You know what your last sentence reminded me of? Bread. :3

http://wiki.roblox.com/index.php/User:ElectricBlaze
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
20 Sep 2012 09:40 PM
Cool, it doesn't appear until you set it for sale. You only wasted one of them. :P Just go to your inventory and configure it.

http://wiki.roblox.com/index.php/User:ElectricBlaze
Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
20 Sep 2012 09:41 PM
I sold it, and it's not in there.
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
20 Sep 2012 09:42 PM
Yes it is. Refresh the page. They're on your Black Ops page just fine.

http://wiki.roblox.com/index.php/User:ElectricBlaze
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
20 Sep 2012 09:42 PM
@miz, I barely see you on anymore. I help a lot of people.
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
20 Sep 2012 09:44 PM
@thedeath - If I had the time and willingness to do it, I could prove that your ratio of trolling and helping is tipped slightly to the trolling side.

http://wiki.roblox.com/index.php/User:ElectricBlaze
Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
20 Sep 2012 09:46 PM
It only shows on Internet Explorer and Google Chrome, not studio. Strange.
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
20 Sep 2012 09:46 PM
Lol I also make rude remarks sometimes. Just me.
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
20 Sep 2012 09:47 PM
@op,have you tried it?
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
20 Sep 2012 09:47 PM
"I barely see you on anymore. I help a lot of people."

That's because I'm buisy with programming in general.

If you helped a lot of people give me at least 7 threads you can show me proving so.
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
20 Sep 2012 09:47 PM
@Cool - No? I see it on ROBLOX Studio fine too.

http://wiki.roblox.com/index.php/User:ElectricBlaze
Report Abuse
CoolJohnnyboy is not online. CoolJohnnyboy
Joined: 09 Mar 2010
Total Posts: 17699
20 Sep 2012 09:48 PM
Not yet, where do you get badge id?
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
20 Sep 2012 09:49 PM
Will do when on my computer.
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