Universal Script 📌
1.4k Views
1.4k Executions

Animation Golden Freddy R15

Universal Script 📌
wolfn3764
wolfn376410K executions
11 months ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

I'm putting together these animations just because I have nothing else to do... This is the last animation that will have running; next time I'll only use jumping, walking, and standing still.

View Raw
-- CustomAnimationController.lua
-- Place as a LocalScript in StarterCharacterScripts
-- Replace the IDs below with your animation asset ids.

local CustomAnims = {
    Idle   = "rbxassetid://128275345904092",
    Walk   = "rbxassetid://74718661188657",
    Run    = "rbxassetid://109554043735890",
    Jump   = "rbxassetid://109687495808615",
    Fall   = "rbxassetid://109687495808615",
    Climb  = "rbxassetid://82587632175618",
    Swim   = "rbxassetid://118016588766846",
}

-- Configuration
local RUN_THRESHOLD = 12    -- speed (studs/sec) above which "Run" plays instead of "Walk"
local WALK_THRESHOLD = 1    -- minimal speed to be considered walking

-- Internal helpers
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

local function createAnimation(id, priority)
    local anim = Instance.new("Animation")
    anim.Name = id
    anim.AnimationId = id
    if priority then
        pcall(function() anim.Priority = priority end)
    end
    return anim
end

local function setupForCharacter(character)
    if not character then return end

    -- Wait for humanoid
    local humanoid = character:WaitForChild("Humanoid", 5)
    if not humanoid then return end

    -- Remove any default "Animate" script if present


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Universal Script 📌
2.4k
2.1k
Bumped 18 minutes ago
Key System
Script hub
14.4k
75.0k
Bumped 3 hours ago
Universal Script 📌
76
95
Approved 4 hours ago
Key System
Universal Script 📌
78
117
Approved 4 hours ago
Script hub
76
205
Approved 4 hours ago
Key System