Universal Script πŸ“Œ
324 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
Script hub
149
987
Bumped 31 minutes ago

Script hub

Lunyx Hub

Script hub
120.8k
221.2k
Bumped 50 minutes ago
Key System
Script hub
10.5k
200.6k
Bumped 1 hour ago

Script hub

KeylessVerified script badgeIRIDIUM HUB | #1

Script hub
33.3k
299.2k
Bumped 4 hours ago
Script hub
23.7k
5.3k
Bumped 4 hours ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
306
978
Bumped 5 hours ago