i use roblox default animate script and put my walking/ idle animation in but when i double tap moving it it does this :
also i disabled the default one and it only does that when i double click move so its not my animation fault i think
i use roblox default animate script and put my walking/ idle animation in but when i double tap moving it it does this :
Maybe an animation priority issue or something else.
Can you send a sample of your code ?
its just the default animate script with my id but if you want the tool script here :
local hammer = script.Parent
local re = game.ReplicatedStorage.RemoteEvent
local re2 = game.ReplicatedStorage.connect
local re3 = game.ReplicatedStorage.disconnect
local player = game.Players.LocalPlayer
local hitable = true
local humanoid = player.Character:WaitForChild("Humanoid")
local char = player.Character
local default = char:WaitForChild("Animate")
local hammerani = char:WaitForChild("hammer")
local hitting = nil
local track = nil
local function hit()
if hitable then
hitable = false
hitting = true
local anim = hammer.SHammer_M1
track = humanoid:LoadAnimation(anim)
track.Priority = Enum.AnimationPriority.Action3
track:Play()
re:FireServer()
wait(1)
hitting = false
hitable = true
end
end
hammer.Activated:Connect(hit)
hammer.Equipped:Connect(function()
re2:FireServer(player)
default.Enabled = false
hammerani.Enabled = true
humanoid:ChangeState(Enum.HumanoidStateType.Landed)
end)
hammer.Unequipped:Connect(function()
default.Enabled = true
hammerani.Enabled = false
humanoid:ChangeState(Enum.HumanoidStateType.Landed)
re3:FireServer(player)
end)
i found a a way to fix it ! , you just need to go to line 252 and delete the if currentanimation part and it will be fixed
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.