|
| 24 Apr 2014 08:23 PM |
| I checked the box that says canbeequipped but you still have to spam a lot to get it to drop. What can I do to fix it? |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Apr 2014 08:26 PM |
Specify.
~masterCameron101, advanced Lua programmer, certified graphics designer and geek~ |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 24 Apr 2014 08:27 PM |
You could destroy it once it enters the workspace;
game.Workspace.ChildAdded:connect(function(child) if child:IsA("Tool") then child:Destroy() end end)
Or you could make a new event for backspacing the tool that makes it go further once it's unequipped so it doesn't touch you again, because that's what it is, it's the tool touching you once you pick it up, so you ould set that property to false as well. |
|
|
| Report Abuse |
|
|
|
| 24 Apr 2014 08:34 PM |
@goul
I have a coffee game using the standard cups that most games use but when you deselect it, it lags when it hits the ground and your hand shows as still holding it
would a gui that gives people gear work? |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 24 Apr 2014 08:40 PM |
| Yes, it would be better probably. And with your case then destroying it would be the best bet. |
|
|
| Report Abuse |
|
|
|
| 24 Apr 2014 08:42 PM |
@Goul
How can i give them the gear then? |
|
|
| Report Abuse |
|
|
| |
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 24 Apr 2014 08:51 PM |
--Put this in gui, localscript, put gear in this script.
script.Parent.MouseButton1Down:connect(function() for i,v in pairs(script:GetChildren()) do v:Clone().Parent = game.Players.LocalPlayer.Backpack end end) |
|
|
| Report Abuse |
|
|
|
| 24 Apr 2014 09:04 PM |
Thanks goul you're a lot of help
with that script, how does it know who's backpack to place the gear in? |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 24 Apr 2014 09:06 PM |
As long as it's a LocalScript then..
game.Players.LocalPlayer
should specify the player that clicked the gui |
|
|
| Report Abuse |
|
|
|
| 24 Apr 2014 09:11 PM |
Ohh.... I see what you mean
I meant like a GUi that lets you give the gear that is currently equipped to a person you specify by typing in their name
Seems to complicated though..
|
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 24 Apr 2014 09:17 PM |
| Oh, wow, yeah that's kinda complicated. String manipulation isn't my best area although I could probably do that too |
|
|
| Report Abuse |
|
|
|
| 24 Apr 2014 09:26 PM |
It's just for a starbucks game but obviously you don't have to.
|
|
|
| Report Abuse |
|
|