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: I need help making weapon giving guis

Previous Thread :: Next Thread 
BluCG is not online. BluCG
Joined: 09 Mar 2013
Total Posts: 28
23 Apr 2013 11:27 PM
Hey All im Blu :D


i dont really know how to make guis...well weapon giving guis and all the vids in youtube are old....and free models.....so i want to know how to make giver guis give me tuts thnx




-gile
Report Abuse
KillerKyle is online. KillerKyle
Joined: 29 Jul 2007
Total Posts: 6371
23 Apr 2013 11:40 PM
Place your weapons into the lighting. Then create a Text Button that when you press it, it clones your weapon out of lighting, and into your Backpack.
Report Abuse
juzzbyXfalcon is not online. juzzbyXfalcon
Joined: 02 Feb 2011
Total Posts: 1311
24 Apr 2013 12:30 AM
Do you want a weapon that gives a gui, or do you want a gui that gives a weapon?

-Knowledge is power-
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
24 Apr 2013 12:41 AM
Because "a" does not exist in between "making" and "weapon", and we can assume he speaks English fluently, we can also assume the latter, he wants a GUI that gives a weapon.

We can also make an inference about this since he does not seem Lua oriented, or oriented with any language for that matter.

~ The ATR Fishie ~
Report Abuse
juzzbyXfalcon is not online. juzzbyXfalcon
Joined: 02 Feb 2011
Total Posts: 1311
24 Apr 2013 12:53 AM
Then we can come to the final conclusion an answer has already been given to the answer, and further discussion on this thread is unneeded.

-Knowledge is power-
Report Abuse
BluCG is not online. BluCG
Joined: 09 Mar 2013
Total Posts: 28
24 Apr 2013 08:12 PM
ummmm.....i just want to know how to make a '"GUI" that gives "WEAPONS" and i just want to know how to do it "STEP BY STEP"
Report Abuse
KillerKyle is online. KillerKyle
Joined: 29 Jul 2007
Total Posts: 6371
24 Apr 2013 08:18 PM
-- Place your weapons into the Lighting
--Create your button
--Add a script to the button

--------------------------------------------------------
Player = script.Parent.Parent.Parent.Parent.Parent -- This may need editting depending on Button Location
function onClick()
Weapon = game.Lighting.[YourWeapon]:Clone()
Weapon.Parent = Player.Backpack
end

script.Parent.MouseButton1Down:connect(onClick)
----------------------------------------------------------
--Place button into
Player > PlayerGui > ScreenGui > Frame

Let me know what happens.
Report Abuse
BluCG is not online. BluCG
Joined: 09 Mar 2013
Total Posts: 28
25 Apr 2013 01:46 AM
i dont get you :/
Report Abuse
velibor is not online. velibor
Joined: 24 Nov 2009
Total Posts: 1003
25 Apr 2013 02:48 AM
- Make a Model in Lighting called 'Weapons'
- Put weapons inside the Model we just created
- Insert a ScreenGui inside the StarterGui object
- Make a Frame inside the ScreenGui and set the Size to 1,0,1,0
- Put a button inside the Frame,
- Put this code in each button (USE A LOCALSCRIPT)

Plr = Game.Players.LocalPlayer

script.Parent.MouseButton1Down:connect(function()
for _,v in pairs(Plr.Backpack:GetChildren()) do
if v.Name == script.Parent.Name then
v:Destroy()
end
end
if Game.Lighting.Weapons:findFirstChild(script.Parent.Name) then
Tool = Game.Lighting.Weapons[script.Parent.Name]:Clone()
Tool.Parent = Plr.Backpack
end
end)
Report Abuse
BluCG is not online. BluCG
Joined: 09 Mar 2013
Total Posts: 28
25 Apr 2013 07:56 PM
i need 3 guis.....
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