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: Gun class Gui

Previous Thread :: Next Thread 
nocnoc1 is not online. nocnoc1
Joined: 30 Jan 2011
Total Posts: 2193
04 May 2012 12:56 AM
HI, I am some what new to Forums. :\ But ok so I am looking for a Gun Class Gui. But the gun class gui you need KOs to get guns. If I need to pay I am willing to go for around 200-1k rubux. {-Nocnoc1-}
Report Abuse
nocnoc1 is not online. nocnoc1
Joined: 30 Jan 2011
Total Posts: 2193
04 May 2012 12:57 AM
Bump >.>
Report Abuse
nocnoc1 is not online. nocnoc1
Joined: 30 Jan 2011
Total Posts: 2193
04 May 2012 01:05 AM
Can someone help me?
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
04 May 2012 01:16 AM
If you offer prices, go to "Let's Make A Deal".

Also there are a lot of people not creating scripts for anyone in this forum because they still think the rule "No Requests" exist or are just too lazy (like me).
Report Abuse
michaelaqz4 is not online. michaelaqz4
Joined: 23 Sep 2009
Total Posts: 1940
04 May 2012 01:23 AM
Cheater I thought you where banned o.o

-NoOne
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
04 May 2012 01:25 AM
Why you thought that?
Report Abuse
nocnoc1 is not online. nocnoc1
Joined: 30 Jan 2011
Total Posts: 2193
04 May 2012 01:26 AM
I am just sawing my price range is someone says I will make you one for what ever and ever witch I have a 35% Chance I might go with the deal it could be a scam etc. But I am wondering if anyone can help me I can get the gui in the moring >.> But I need help that is all, PS The only scipts I can scipt are lava Walkspeed pads and Heal pads and A black hole :\
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
04 May 2012 01:27 AM
Free teacher:

http://wiki.roblox.com/index.php/Beginner%27s_GUI_Tutorial
Report Abuse
nocnoc1 is not online. nocnoc1
Joined: 30 Jan 2011
Total Posts: 2193
04 May 2012 01:29 AM
OK I can find the Gun class gui on free models BUT how would I put a scipt so that you need 25 KOs to get a rife or 5 KOs for a pistol or 100 KOs for a sniper etc.?
Report Abuse
nocnoc1 is not online. nocnoc1
Joined: 30 Jan 2011
Total Posts: 2193
04 May 2012 01:30 AM
Thanks for the gui thing XD. I am glanceing at it at the momment.
Report Abuse
michaelaqz4 is not online. michaelaqz4
Joined: 23 Sep 2009
Total Posts: 1940
04 May 2012 01:31 AM
@Cheater
Just seems like last time I clicked your name you where banned

@WhatsHisFace(Sorry Im on a Wii, No copy n paste)
PM me what you want I will make it when Im on my laptop for free
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
04 May 2012 01:31 AM
Just search for the value somewhere. Somewhere in the scripts should be given a value for KOs. Also change the names in the script, where the weapon is given.
Report Abuse
Candymaniac is not online. Candymaniac
Joined: 08 Oct 2009
Total Posts: 8985
04 May 2012 01:33 AM
Well, you should start to learn a bit of editting scripts. Then, you'll need to find the values somewhere, though it'd be easy.

☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ - Candymaniac, a highly reactive substance.
Report Abuse
nocnoc1 is not online. nocnoc1
Joined: 30 Jan 2011
Total Posts: 2193
04 May 2012 10:48 AM
Thanks guys I will try my best.
Report Abuse
nocnoc1 is not online. nocnoc1
Joined: 30 Jan 2011
Total Posts: 2193
04 May 2012 11:30 AM
player = script.Parent.Parent.Parent
backpack = player.Backpack

function chooseClass(class)
for i, v in pairs(backpack:GetChildren()) do v:remove() end
for i, v in pairs(class:GetChildren()) do
if v:IsA("Tool") then
v:clone().Parent = backpack
elseif v:IsA("HopperBin") then
v:clone().Parent = backpack
end
end
script.Parent.Main.Visible = false --no new class for a little bit
wait(30)
script.Parent.Main.Visible = true --allow to pick a different class
end

for i, v in pairs(script.Parent.Main:GetChildren()) do
v.MouseButton1Up:connect(function () chooseClass(v) end)
end



{ How do I do it then? I see no were were it would be}
Report Abuse
MajorEric123 is not online. MajorEric123
Joined: 14 Sep 2010
Total Posts: 348
04 May 2012 11:44 AM
Try this. It may epicaly fail, but i just edited it in 2 seconds. :P

    player = script.Parent.Parent.Parent
    backpack = player.Backpack
    
    
    function chooseClass(class)
    if player.leaderstats.KO.Value ​>= class.KONeeded.Value then
    for i, v in pairs(backpack:GetChildren()) do v:remove() end
    for i, v in pairs(class:GetChildren()) do
    if v:IsA("Tool") then
    v:clone().Parent = backpack
    elseif v:IsA("HopperBin") then
    v:clone().Parent = backpack
    end
    end
    end
    script.Parent.Main.Visible = false --no new class for a little bit
    --wait(30)
    --script.Parent.Main.Visible = true --allow to pick a different class -- made it so you cant choose another class after 30 seconds.
                                                             --If you want that then remove the --'s
    end
    
    
    for i, v in pairs(script.Parent.Main:GetChildren()) do
    v.MouseButton1Up:connect(function () chooseClass(v) end)
    end
Report Abuse
MajorEric123 is not online. MajorEric123
Joined: 14 Sep 2010
Total Posts: 348
04 May 2012 11:45 AM
whoops


player = script.Parent.Parent.Parent
backpack = player.Backpack


function chooseClass(class)
if player.leaderstats.KO.Value ​>= class.KONeeded.Value then
for i, v in pairs(backpack:GetChildren()) do v:remove() end
for i, v in pairs(class:GetChildren()) do
if v:IsA("Tool") then
v:clone().Parent = backpack
elseif v:IsA("HopperBin") then
v:clone().Parent = backpack
end
end
end
script.Parent.Main.Visible = false --no new class for a little bit
-- wait(30)
-- script.Parent.Main.Visible = true --allow to pick a different class
                 -- made it so you cant choose another class after 30 seconds.
                                                         -- If you want that then remove the --'s
end


for i, v in pairs(script.Parent.Main:GetChildren()) do
v.MouseButton1Up:connect(function () chooseClass(v) end)
end
Report Abuse
nocnoc1 is not online. nocnoc1
Joined: 30 Jan 2011
Total Posts: 2193
04 May 2012 11:47 AM
OK thanks let me go try it.
Report Abuse
MajorEric123 is not online. MajorEric123
Joined: 14 Sep 2010
Total Posts: 348
04 May 2012 11:47 AM
poops again


    player = script.Parent.Parent.Parent
    backpack = player.Backpack
    function chooseClass(class)
    if player.leaderstats.KO.Value ​>= class.KONeeded.Value then
    for i, v in pairs(backpack:GetChildren()) do v:remove() end
    for i, v in pairs(class:GetChildren()) do
    if v:IsA("Tool") then
    v:clone().Parent = backpack
    elseif v:IsA("HopperBin") then
    v:clone().Parent = backpack
    end
    end
    end
    script.Parent.Main.Visible = false --no new class for a little bit
    -- wait(30)
    -- script.Parent.Main.Visible = true --allow to pick a different class
    -- made it so you cant choose another class after 30 seconds.
    -- If you want that then remove the --'s
    end
    for i, v in pairs(script.Parent.Main:GetChildren()) do
    v.MouseButton1Up:connect(function () chooseClass(v) end)
    end



so you need a ledarestats that has the KO value named KO and you need an int value in the class named KONeeded with the number of kos needed.
Report Abuse
nocnoc1 is not online. nocnoc1
Joined: 30 Jan 2011
Total Posts: 2193
04 May 2012 11:54 AM
OK so I put it in so follow me to test.
Report Abuse
nocnoc1 is not online. nocnoc1
Joined: 30 Jan 2011
Total Posts: 2193
04 May 2012 11:56 AM
Nvm even the one with 0 KOs does not work any other ideas? :\
Report Abuse
nocnoc1 is not online. nocnoc1
Joined: 30 Jan 2011
Total Posts: 2193
04 May 2012 12:45 PM
Bump
Report Abuse
MajorEric123 is not online. MajorEric123
Joined: 14 Sep 2010
Total Posts: 348
04 May 2012 02:52 PM
Did you do whats all the way in the bottom on my last post.
Report Abuse
nocnoc1 is not online. nocnoc1
Joined: 30 Jan 2011
Total Posts: 2193
04 May 2012 03:25 PM
Yes, I did I have something like that.
Report Abuse
Miro034 is not online. Miro034
Joined: 07 Oct 2009
Total Posts: 6568
04 May 2012 04:04 PM
If you have it, it should work perfectly. I garantee according to my scripting knowledge.
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