|
| 23 Apr 2016 08:04 PM |
my sword Im working on is still able to swing (using an animation) and activate even though I dont have it equipped.
What have I done wrong? |
|
|
| Report Abuse |
|
|
|
| 23 Apr 2016 08:05 PM |
Have a bool which records if its equipped. Then in your swing function check if it's true.
|
|
|
| Report Abuse |
|
|
eRanged
|
  |
| Joined: 15 Jun 2013 |
| Total Posts: 9746 |
|
|
| 23 Apr 2016 08:05 PM |
I thought we already fixed this man... :l
|
|
|
| Report Abuse |
|
|
|
| 23 Apr 2016 08:29 PM |
| Nope, thread just dropped to oblivion. |
|
|
| Report Abuse |
|
|
|
| 23 Apr 2016 08:30 PM |
tool.Equipped:connect(function() if tool.Active == true then return end tool.Active = true Idle = Humanoid:LoadAnimation(script.Sword_Ready) UnsheathSound:play() Idle:Play() end)
so like this? Kinda like this? nope? |
|
|
| Report Abuse |
|
|