gamer961
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 800 |
|
|
| 28 Oct 2012 07:28 PM |
I need help with a script. I'm making a game, and when someone clicks on the backpack in the beginning, they need a tool to be added into their backpack. Does anyone have any idea to do this? |
|
|
| Report Abuse |
|
|
1Topcop
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 6635 |
|
|
| 28 Oct 2012 07:29 PM |
| CoreGui (where Backpack is,) is locked, so I don't think it's possible to add events on when it opens anymore. |
|
|
| Report Abuse |
|
|
gamer961
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 800 |
|
|
| 28 Oct 2012 07:30 PM |
Don't we just love roblox. c: That's what I though, kinda hoping someone can help me with it though. |
|
|
| Report Abuse |
|
|
1Topcop
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 6635 |
|
|
| 28 Oct 2012 07:31 PM |
| CoreGui used to be unlocked, I think the reason they locked it is so people wouldn't remove the exit button. :P |
|
|
| Report Abuse |
|
|
gamer961
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 800 |
|
|
| 28 Oct 2012 07:32 PM |
xD Is there a way to make a gui that inserts a tool into your backpack when clicked upon? It may sound confusing, but, like, I touch the backpack, a gui pops up, and I get to choose a certain tool I want to be inserted. |
|
|
| Report Abuse |
|
|
| |
|
1Topcop
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 6635 |
|
|
| 28 Oct 2012 07:35 PM |
Yes, it's possible to insert tools into the backpack, just not detecting when the backpack opens.
Backpack = Player.Backpack -- An instance of a backpack |
|
|
| Report Abuse |
|
|
gamer961
|
  |
| Joined: 20 Jul 2011 |
| Total Posts: 800 |
|
|
| 28 Oct 2012 07:36 PM |
| Okay, then I'll experiment with that idea. |
|
|
| Report Abuse |
|
|