rush58
|
  |
| Joined: 19 Jul 2011 |
| Total Posts: 45 |
|
|
| 04 Dec 2011 08:08 PM |
| how do i get a gui to work and how do i make it so when its clicked it gives a tool? |
|
|
| Report Abuse |
|
|
Grove537
|
  |
| Joined: 05 Feb 2010 |
| Total Posts: 3478 |
|
|
| 04 Dec 2011 08:09 PM |
Well, no matter what, if you put a ScreenGui in startergui and insert a frame in that it will show, as long as the size is not 0,0.
~The greatest free model is your mind~ |
|
|
| Report Abuse |
|
|
rush58
|
  |
| Joined: 19 Jul 2011 |
| Total Posts: 45 |
|
|
| 04 Dec 2011 08:11 PM |
| thank you grove your great help and thanks for not trolling :) |
|
|
| Report Abuse |
|
|
JARAM
|
  |
| Joined: 30 Jul 2010 |
| Total Posts: 139 |
|
|
| 04 Dec 2011 08:15 PM |
I know roblox is FULL of trolls.
I made a script like that. i wrote it in paper i dont know where it is though sorry. |
|
|
| Report Abuse |
|
|
|
| 04 Dec 2011 08:16 PM |
| Put in a TextButton. And every GUI always has the same path, ScreenGui.Frame.TextButton/TextBox/TextLabel/ImageButton/ImageLabel.Script/LocalScript--only add the Script/LocalScript if you want it to do stuff. When you want it clicked, you use the MouseButton1Down/Click/Up, MouseButton2Down/Click/Up, MouseEnter, MouseLeave. |
|
|
| Report Abuse |
|
|
pwnedu46
|
  |
| Joined: 23 May 2009 |
| Total Posts: 7534 |
|
|
| 04 Dec 2011 08:39 PM |
"And every GUI always has the same path"
That's not necessarily true. You don't have to have a frame.
---------- ~ pwendu46, the unicorn ~ |
|
|
| Report Abuse |
|
|
|
| 04 Dec 2011 09:07 PM |
Well you would prob have to do something like
script.Parent.MouseButton1Down:connect(function(click) local noob = click.Parent:FindFirstChild("Humanoid") local gun = game.Lighting:FindFirstChild("YOURWEAPONNAMEHERE") if noob ~= nil then a = gun:clone() a.Parent = click.Parent.Backpack end) |
|
|
| Report Abuse |
|
|
rush58
|
  |
| Joined: 19 Jul 2011 |
| Total Posts: 45 |
|
|
| 05 Dec 2011 01:26 AM |
| iv got the gui done now thanks for all your help everyone :) |
|
|
| Report Abuse |
|
|