
1.4k Views
1.4k Executions
Animation Golden Freddy R15
Universal Script 📌
wolfn376410K executions
11 months ago
Please login to perform these actions:Does it work?
No reports yetNo 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.
-- 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
0Log in to join the conversation. Login
No comments yet. Be the first!






