|
| 16 Apr 2016 10:52 AM |
Okay so I want the player to be able to click the pistol that is lying on the ground, then have the pistol go into their inventory.
#Code print(" Graphic Designer, Graphic Illustrator, Entrepreneur") |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 16 Apr 2016 10:53 AM |
either put a click detector in the tool or use mouse.Button1Down or whatever
|
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 16 Apr 2016 10:54 AM |
that is, putting a detector in the handle.
|
|
|
| Report Abuse |
|
|
|
| 16 Apr 2016 10:55 AM |
I added a clickdetector but I need it so when they click the gun it goes into their inventory.
#Code print(" Graphic Designer, Graphic Illustrator, Entrepreneur") |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 16 Apr 2016 11:13 AM |
script.Parent = player.Backpack
|
|
|
| Report Abuse |
|
|
|
| 16 Apr 2016 11:24 AM |
Didn't work.
#Code print(" Graphic Designer, Graphic Illustrator, Entrepreneur") |
|
|
| Report Abuse |
|
|