
747 Views
1.7k Executions
Tough catwalk
Universal Script 📌
XavvikkyPublished 10
1 year 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
catwalking ourrr
Updates
Script edited: Update script
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=71307846281220"
idle.Animation2.AnimationId = "http://www.roblox.com/asset/?id=75810364031837"
walk.WalkAnim.AnimationId = "http://www.roblox.com/asset/?id=97847888500780"
run.RunAnim.AnimationId = "http://www.roblox.com/asset/?id=97847888500780"
-- Load walk animation
local walkAnim = Instance.new("Animation")
walkAnim.AnimationId = "rbxassetid://97847888500780"
local walkTrack = animator:LoadAnimation(walkAnim)
walkTrack.Priority = Enum.AnimationPriority.Movement
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







