#what can i do for this script to work?

1 messages · Page 1 of 1 (latest)

tardy eagle
slim dove
blissful bridge
#

no that’s not how animations work

#

capitalize the P and what error are you getting

tardy eagle
slim dove
#

the play() to Play()

tardy eagle
river marlin
tardy eagle
#

what?

slim dove
#
local tool = script.Parent
local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://21943949329"

local debounce = false

tool.Activated:Connect(function()
    if not debounce then
        debounce = true

        local humanoid = tool.Parent:FindFirstChild("Humanoid")
        if humanoid then
            local animator = humanoid:FindFirstChild("Animator")
            if animator then
                local animTrack = animator:LoadAnimation(animation)
                animTrack:Play()
            end
        end

        wait(5)
        debounce = false
    end
end)
#

try this

#

@tardy eagle

tardy eagle
#

wait

blissful bridge
tardy eagle
#

dont work