theres a video here
the script: local OwnAnimation
local Animation = Instance.new(“Animation”)
local UserInputService = game:GetService(“UserInputService”)
local Tool = script.Parent
local Player = game.Players.LocalPlayer
local Character = Player.Character
local Humanoid = Character:WaitForChild(“Humanoid”)
local mouse = Player:GetMouse()
Animation.AnimationId = “rbxassetid://8861393009”
local OwnAnimation = Humanoid:LoadAnimation(Animation)
mouse.Button1Down:connect(function()
OwnAnimation:Play()
end)
mouse.Button1Up:connect(function()
OwnAnimation:Stop()
end)
its a local script im startercharacter scripts
It’s probably because you’re trying to play an animation while another animation (the walking animation) is playing: it makes a conflict and stops playing your animation. This is just what I assume, I’m not much into animations.
Do you know how to fix it? I didn’t know it stop when player walks
I disabled Animate and it makes me walk and the animation still plays
Try preventing the walk animation from playing while your animation is, possibly by using :Stop() on it (last time I checked, the animation is somewhere located in the player model).
i tried
if Player:FindFirstChild(“Animate”) then
OwnAnimation:Stop()
end
but it didn’t work
I’m pretty sure there’s a walk/run animation in the player model (probably a child in Animate), try stopping that.
I’ll go to the pool i’ll be right back