-
What do you want to achieve? Tool CUSTOM Hold Animation
-
What is the issue? Character is stuck in pose when tool equip animation is played.
robloxapp-20231109-1753165.wmv (1.7 MB) -
What solutions have you tried so far? I couldn’t find any solutions
This is my current script for the tool. The animation Priority is Action. I used Blender for roblox animations.
-- This is an example Lua code block
local tool = script.Parent
tool.Equipped:Connect(function(mouse)
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
local animation1 = script.HoldAnimation
local hold_animation = hum:LoadAnimation(animation1)
hold_animation.Priority = Enum.AnimationPriority.Idle
hold_animation:Play()
tool.Unequipped:Connect(function()
hold_animation:Stop()
end)
end)
Any respond would be appreciated