Universal Script πŸ“Œ
785 Views
1.2k Executions

Vogues Pack

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

Catwalking I think

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=116765159485288"
    idle.Animation2.AnimationId = "http://www.roblox.com/asset/?id=116765159485288"
    walk.WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=86271392429456"
    run.RunAnim.AnimationId = "http://www.roblox.com/asset/?id=86271392429456"

    -- Load walk animation
    local walkAnim = Instance.new("Animation")
    walkAnim.AnimationId = "rbxassetid://86271392429456"
    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!

Tags

More universal scripts

See all
Script hub
33.0k
298.1k
Bumped 11 minutes ago
Script hub
23.6k
5.2k
Bumped 11 minutes ago
Key System
Paid
High QualityΒ Offering
Universal Script πŸ“Œ
164
524
Bumped 41 minutes ago
Universal Script πŸ“Œ
1.6k
30.2k
Bumped 42 minutes ago
Script hub
4.1M
558.5k
Bumped 1 hour ago
Key System

Script hub

Hall of Fame #3

Verified script badgeOverflow 35 Supported Games

Script hub
5.5k
28.8k
Bumped 2 hours ago
Key System
Script hub
14.0k
28.4k
Bumped 3 hours ago
Universal Script πŸ“Œ
339.0k
75.0k
Bumped 3 hours ago