I’m trying to make my custom walking animation work with my tool equip animation,like when i equip it it should still have my walking animation working but it change to roblox walk animation < ‘-’ >
Check the GIF and my Script below : Animated GIF - Find & Share on GIPHY
--ServerSide Script
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
Character:WaitForChild("Animate").walk.WalkAnim.AnimationId = "rbxassetid://7207081522"
--Character:WaitForChild("Animate").
end)
end)
--Local Tool Script
local plr = game:GetService("Players").LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local h = char:WaitForChild("Humanoid")
local Anim = Instance.new("Animation")
Anim.AnimationId = "rbxassetid://7204771422"
local anim = h:LoadAnimation(Anim)
anim.Priority = Enum.AnimationPriority.Action
local monocle = plr.PlayerGui.HUD.Frame.MonocleHUd
local tool = script.Parent
tool.Equipped:Connect(function()
char:WaitForChild("Animate").walk.WalkAnim.AnimationId = "rbxassetid://7207081522"
anim:Play()
wait(1.3)
anim:AdjustSpeed(0)
monocle.Visible = true
wait()
game.ReplicatedStorage.SimboloActive:FireServer(game.Players.LocalPlayer,true)
end)
tool.Unequipped:Connect(function()
anim:Stop()
local Anim1 = Instance.new("Animation")
Anim1.AnimationId = "rbxassetid://7204930751"
local Anim = h:LoadAnimation(Anim1)
Anim:Play()
monocle.Visible = false
wait()
game.ReplicatedStorage.SimboloActive:FireServer(game.Players.LocalPlayer,false)
end)
Also,YES i tried changed the original “Animate” script with my id,doenst work too