Tsurra
|
  |
| Joined: 30 Jan 2011 |
| Total Posts: 495 |
|
|
| 14 Jun 2016 04:13 PM |
player = game.Players.LocalPlayer mouse = player:GetMouse() animation = game.ReplicatedStorage.Animation enabled = true tool = script.Parent tool.Equipped:connect(function(mouse) mouse.Button1Down:connect(function() if enabled then enabled = false
local Animation = player.Character.Humanoid:LoadAnimation(animation) Animation:Play()
wait(5) enabled = true end end) end)
I put the animation into the replicatedstorage, put the script into a local script then I create a tool inside the starterpack and put the script into the tool, then put a part named Handle into the tool, I want to make the animation without needing a part, Handle.
I just want to choose tool, I will not equip a part, my characters arms will not rise, and left click then the character will make the animation |
|
|
| Report Abuse |
|
Tsurra
|
  |
| Joined: 30 Jan 2011 |
| Total Posts: 495 |
|
| |
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 14 Jun 2016 04:26 PM |
If you're trying to get this to work without a Handle, there is a property of every tool that's called RequireHandle you can turn off.
|
|
|
| Report Abuse |
|
Tsurra
|
  |
| Joined: 30 Jan 2011 |
| Total Posts: 495 |
|
| |