|
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
| |
|
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
|
  |
| 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 |
|
|
|
| 20 Sep 2012 09:31 PM |
| ^and icanxlr8 took it from ROBLOX. d: |
|
|
| Report Abuse |
|
|
|
| 20 Sep 2012 09:32 PM |
| None of you have been really helping. Sorry. |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 20 Sep 2012 09:41 PM |
| I sold it, and it's not in there. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 20 Sep 2012 09:42 PM |
| @miz, I barely see you on anymore. I help a lot of people. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 20 Sep 2012 09:46 PM |
| It only shows on Internet Explorer and Google Chrome, not studio. Strange. |
|
|
| Report Abuse |
|
|
|
| 20 Sep 2012 09:46 PM |
| Lol I also make rude remarks sometimes. Just me. |
|
|
| Report Abuse |
|
|
| |
|
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 |
|
|
|
| 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 |
|
|
|
| 20 Sep 2012 09:48 PM |
| Not yet, where do you get badge id? |
|
|
| Report Abuse |
|
|
|
| 20 Sep 2012 09:49 PM |
| Will do when on my computer. |
|
|
| Report Abuse |
|
|