Universal Script 📌
325 Views
308 Executions

Crawlinbg Zombie FE

Universal Script 📌
Xavvikky
XavvikkyPublished 10
1 year 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

fe

View Raw
local player = game.Players.LocalPlayer
local WALK_SPEED_THRESHOLD = 16

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

    -- Confirm rig is R15
    if humanoid.RigType ~= Enum.HumanoidRigType.R15 then
        return
    end

    local animator = humanoid:WaitForChild("Animator")

    -- Stop currently playing animations
    for _, track in ipairs(animator:GetPlayingAnimationTracks()) do
        track:Stop(0.1)
    end

    local animateScript = character:WaitForChild("Animate")
    local idle = animateScript:WaitForChild("idle")
    local walk = animateScript:WaitForChild("walk")
    local run = animateScript:WaitForChild("run")

    -- Optional sub-states
    local jump = animateScript:FindFirstChild("jump")
    local fall = animateScript:FindFirstChild("fall")
    local climb = animateScript:FindFirstChild("climb")

    -- Assign new animation IDs
    idle.Animation1.AnimationId = "http://www.roblox.com/asset/?id=107999093858726"
    idle.Animation2.AnimationId = "http://www.roblox.com/asset/?id=106320514159313"
    walk.WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=109318260839099"
    run.RunAnim.AnimationId = "http://www.roblox.com/asset/?id=109318260839099"

    -- Load walk animation
    local walkAnim = Instance.new("Animation")
    walkAnim.AnimationId = "rbxassetid://109318260839099"
    local walkTrack = animator:LoadAnimation(walkAnim)
    walkTrack.Priority = Enum.AnimationPriority.Movement



Comments

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

More universal scripts

See all
Universal Script 📌
50
1
Approved 2 hours ago
Script hub
205
1.1k
Bumped 4 hours ago

Script hub

Lunyx Hub

Script hub
120.8k
222.1k
Bumped 4 hours ago
Key System
Script hub
10.7k
203.7k
Bumped 5 hours ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.4k
301.1k
Bumped 8 hours ago