i want to make this kind of steathe system: Draw katana and Sheath katana (the proper way?) - YouTube
There is a forum post on animating weapons.
The only thing that does not work is using UpperTorso.
If you change UpperTorso to HumanoidRootPart it works great.
it will work for r6 right?ㅤ ㅤ ㅤ ㅤ ㅤ
edit: nvm im dumb
ngl, if you didnt ask for free scripts all the time, you would know how to do this stuff. Just clone the handle of your part and make a new weld to the humanoidRootPart
im not asking for free scripts, im asking how (example: play the anim as soon as the sword is equipped)
Ok. Ill make a script that I havent tested. You might need to change some stuff
local tool = script.Parent
function equipAnim()
if tool.Parent:FindFirstChildOfClass("Humanoid").Health >= 0 then
local humanoid = tool.Parent:FindFirstChildOfClass("Humanoid")
local animation = tool.EquipAnimation
local loadEquipAnim = humanoid:LoadAnimation(animation)
loadEquipAnim:Play()
end
end
tool.Equipped:Connect(equipAnim)
(I just tested it, and it should work.)
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.