Custom Animations
Key RequiredUniversal

Custom Animations

Universal ScriptgaspXcriptergaspXcripter 4.1K views 133 executesUpdated Oct 10, 2025
5.0/ 5(4 votes)
40100% Positive
Lua Script•51 lines (1505 chars)
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")

local animations = {
    idle = 80979207,  -- RAHPLACE
    walk = 80979216,  -- replace 
    jump = 80979216,  -- replace 
    fall = 80979216   -- replace 
}

local function playAnimation(animId)
    local anim = Instance.new("Animation")
    anim.AnimationId = "rbxassetid://" .. animId
    local track = humanoid:LoadAnimation(anim)
    track.Priority = Enum.AnimationPriority.Action
    track:Play()
    return track
end

for _, track in pairs(humanoid:GetPlayingAnimationTracks()) do
    track:Stop()
end

local tracks = {}

tracks.idle = playAnimation(animations.idle)

humanoid.Running:Connect(function(speed)

    for _, t in pairs(tracks) do if t and t.IsPlaying then t:Stop() end end
    if speed > 0 then
        tracks.walk = playAnimation(animations.walk)
    else
        tracks.idle = playAnimation(animations.idle)
    end
end)

humanoid.StateChanged:Connect(function(_, state)

    for _, t in pairs(tracks) do if t and t.IsPlaying then t:Stop() end end

    if state == Enum.HumanoidStateType.Jumping then
        tracks.jump = playAnimation(animations.jump)
    elseif state == Enum.HumanoidStateType.Freefall then
        tracks.fall = playAnimation(animations.fall)
    elseif state == Enum.HumanoidStateType.Landed then
        tracks.idle = playAnimation(animations.idle)
    end
end)

Features & Information

literally just changes your animations for the ones you put

Community Comments (21)

UnverifedUnverifedOct 10, 2025(edited)

This is trash

Replying to @Unverifed
gaspXcriptergaspXcripterOct 10, 2025

@xyclol I PUBLISHED IT A MINUTE AGO WHA- anyways thanks for this comment!

Replying to @gaspXcripter
UnverifedUnverifedOct 10, 2025

@Pwner wait can i add this to my gui? (N0tgui v3)

Replying to @Unverifed
ReactorCoreDevReactorCoreDevOct 10, 2025

@xyclol hiii you know me right?

Replying to @ReactorCoreDev
UnverifedUnverifedOct 10, 2025

@ReactorCoreDev yep

Replying to @Unverifed
gaspXcriptergaspXcripterOct 10, 2025

@xyclol sure!

Replying to @gaspXcripter
UnverifedUnverifedOct 10, 2025

@Pwner yay ty

purplesstratpurplesstratOct 10, 2025

tuff

purplesstratpurplesstratOct 10, 2025

tuff

Replying to @purplesstrat
gaspXcriptergaspXcripterOct 10, 2025

@purplesstrat tuff

Gerson_BoomGerson_BoomOct 10, 2025

is that r15 only?

Replying to @Gerson_Boom
gaspXcriptergaspXcripterOct 10, 2025

@Gerson_Boom i actually didint test it on r15 so i cant answer that.... ye it works on r6

Replying to @Gerson_Boom
gaspXcriptergaspXcripterOct 10, 2025

@Gerson_Boom HOLY * I JUST REALIZED IS GERSON BOOM

iplaywarzone5iplaywarzone5Oct 10, 2025

hooly ai tuff

Replying to @iplaywarzone5
gaspXcriptergaspXcripterOct 10, 2025

@iplaywarzone5 no funi😭😭😡😡😡🤬🤬😠😠

Replying to @iplaywarzone5
Guest_IVGuest_IVOct 10, 2025

@iplaywarzone5 ur right

Guest_IVGuest_IVOct 10, 2025

i vouch that ai

where can i get r6 animation ids?

Replying to @InfiniteSunnySideup
gaspXcriptergaspXcripterOct 11, 2025

@InfiniteSunnySideup gears... some gears

Replying to @gaspXcripter

@Pwner ok pwned

is ts clientsided

More Scripts for Universal Scripts