Coolkidd Delivery Animations
Key Required

Coolkidd Delivery Animations

Forsakennachovazsuanachovazsua 28.6K views 127 executesUpdated Apr 16, 2025
5.0/ 5(2 votes)
20100% Positive
Lua Script•64 lines (1991 chars)
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer

local function setupAnimations(character)
    local humanoid = character:WaitForChild("Humanoid")

    -- Disable Animate if present
    local animate = character:FindFirstChild("Animate")
    if animate then
        animate.Disabled = true
    end

    -- Load custom animations
    local idleAnim = Instance.new("Animation")
    idleAnim.AnimationId = "rbxassetid://18886066950"

    local moveAnim = Instance.new("Animation")
    moveAnim.AnimationId = "rbxassetid://18886064499"

    local idleTrack = humanoid:LoadAnimation(idleAnim)
    local moveTrack = humanoid:LoadAnimation(moveAnim)

    idleTrack.Priority = Enum.AnimationPriority.Action  -- Higher than Core
    moveTrack.Priority = Enum.AnimationPriority.Movement

    idleTrack:Play()

    RunService.Heartbeat:Connect(function()
        local speed = humanoid.MoveDirection.Magnitude

        -- Force-stop other idle animations
        for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
            if track.Animation.AnimationId ~= idleAnim.AnimationId
                and track.Animation.AnimationId ~= moveAnim.AnimationId then
                if track.Priority == Enum.AnimationPriority.Core
                    or track.Name == "idle"
                    or track.Animation.AnimationId:lower():find("idle") then
                    track:Stop()
                end
            end
        end

        if speed > 0.01 then
            if not moveTrack.IsPlaying then
                idleTrack:Stop()
                moveTrack:Play()
            end
        else
            if not idleTrack.IsPlaying then
                moveTrack:Stop()
                idleTrack:Play()
            end
        end
    end)
end

-- Support for current and future character loads
if player.Character then
    setupAnimations(player.Character)
end

player.CharacterAdded:Connect(setupAnimations)

Features & Information

same thing as the last one where It changes your idle and walk to the specified character's animations. all this really has different from the coolkidd one is just the ids, i know i couldve turned this into one with the coolkidd script but eh, i perfer to make them be multiple for like zero reason

Community Comments (4)

v1nnzv1nnzApr 16, 2025

making it to a gui is easier :p

nachovazsuanachovazsuaApr 16, 2025

okay yeah honestly that wouldve been easier

marcusjophsifemarcusjophsifeJun 7, 2025

Thank you man!

wackersnackerwackersnackerSep 1, 2025

Very cool i love trolling with it

More Scripts for Forsaken