
10.6k Views
13.4k Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
cool
local plr = game:GetService("Players").LocalPlayer
function RunCustomAnimation(Char)
if Char:WaitForChild("Animate") ~= nil then
Char.Animate.Disabled = true
end
Char:WaitForChild("Humanoid")
for i,v in next, Char.Humanoid:GetPlayingAnimationTracks() do
v:Stop()
end
--fake script
local script = Char.Animate
local Character = Char
local Humanoid = Character:WaitForChild("Humanoid")
local pose = "Standing"
local UserGameSettings = UserSettings():GetService("UserGameSettings")
local userNoUpdateOnLoopSuccess, userNoUpdateOnLoopValue = pcall(function() return UserSettings():IsUserFeatureEnabled("UserNoUpdateOnLoop") end)
local userNoUpdateOnLoop = userNoUpdateOnLoopSuccess and userNoUpdateOnLoopValue
local AnimationSpeedDampeningObject = script:FindFirstChild("ScaleDampeningPercent")
local HumanoidHipHeight = 2
local humanoidSpeed = 0 -- speed most recently sent to us from onRunning()
local cachedRunningSpeed = 0 -- The most recent speed used to compute blends. Tiny variations from cachedRunningSpeed will not cause animation updates.
local cachedLocalDirection = {x=0.0, y=0.0} -- unit 2D object space direction of motion
local smallButNotZero = 0.0001 -- We want weights to be small but not so small the animation stops
local runBlendtime = 0.2
local lastLookVector = Vector3.new(0.0, 0.0, 0.0) -- used to track whether rootPart orientation is changing.
local lastBlendTime = 0 -- The last time we blended velocities
local WALK_SPEED = 6.4
local RUN_SPEED = 12.8
local EMOTE_TRANSITION_TIME = 0.1
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!








