Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
player = Players.LocalPlayer
IDLE_ANIM =
INJURED_IDLE =
WALK_ANIM =
RUN_ANIM =
BUTTON1_ANIM =
BUTTON2_ANIM =
BUTTON1_IMAGE =
BUTTON2_IMAGE =
BUTTON3_IMAGE =
DEFAULT_WALKSPEED =
SPRINT_WALKSPEED =
MAX_STAMINA =
STAMINA_DRAIN =
STAMINA_REGEN =
stamina = MAX_STAMINA
sprinting =
(humanoid, id, looped)
anim = .()
anim.AnimationId = id
track = humanoid:(anim)
track.Looped = looped
track
(char)
humanoid = char:()
root = char:()
animate = char:()
animate animate.Disabled =
humanoid.WalkSpeed = DEFAULT_WALKSPEED
humanoid:(, )
idleTrack = (humanoid, IDLE_ANIM, )
injuredIdleTrack = (humanoid, INJURED_IDLE, )
walkTrack = (humanoid, WALK_ANIM, )
runTrack = (humanoid, RUN_ANIM, )
move1Track = (humanoid, BUTTON1_ANIM, )
move2Track = (humanoid, BUTTON2_ANIM, )
idleTrack:()
()
idleTrack:()
injuredIdleTrack:()
walkTrack:()
runTrack:()
humanoid.Running:((speed)
humanoid:()
()
humanoid.Health <
injuredIdleTrack:()
speed >=
runTrack:()
speed >
walkTrack:()
idleTrack:()
)
()
humanoid:()
humanoid:(, )
()
move1Track:()
move1Track.Stopped:(()
humanoid:(, )
)
()
humanoid:()
humanoid:(, )
()
move2Track.TimePosition =
move2Track:()
move2Track:()
SPEED_MULT =
animLength = move2Track.Length
startTime = ()
startCF = root.CFrame
distance =
conn
conn = RunService.RenderStepped:(()
elapsed = (() - startTime) * SPEED_MULT
alpha = elapsed / animLength
alpha >=
conn:()
move2Track:()
humanoid:(, )
move2Track.TimePosition = animLength * alpha
root.CFrame = startCF + startCF.LookVector * (distance * alpha)
)
()
sprinting
sprinting =
humanoid.WalkSpeed = DEFAULT_WALKSPEED
stamina >
sprinting =
humanoid.WalkSpeed = SPRINT_WALKSPEED
RunService.RenderStepped:((dt)
sprinting
stamina = .(stamina - STAMINA_DRAIN * dt, )
stamina <=
sprinting =
humanoid.WalkSpeed = DEFAULT_WALKSPEED
stamina = .(stamina + STAMINA_REGEN * dt, MAX_STAMINA)
)
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.Parent = player.PlayerGui
(img, pos, callback)
b = .()
b.Size = .(, )
b.Position = pos
b.Image = img
b.BackgroundTransparency =
b.BorderSizePixel =
b.Parent = gui
b.MouseButton1Click:(callback)
(BUTTON1_IMAGE, .(,,,), PlayMove1)
(BUTTON2_IMAGE, .(,,,), PlayMove2)
(BUTTON3_IMAGE, .(,,,), ToggleSprint)
player.CharacterAdded:(SetupCharacter)
player.Character
(player.Character)
Title =
Text =
ButtonText =
Button2Text =
IconId =
HaveIcon =
HaveButton1 =
HaveButton2 =
Duration =
()
()
(:())()(Title, Text, ButtonText, Button2Text, IconId, HaveIcon, HaveButton1, HaveButton2, Duration, Button1Code, Button2Code)Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: pastebin.com.
Recommend to use this bundle for better animation https://www.roblox.com/bundles/139053228737235/R6 sub to me pls https://www.youtube.com/@Noli-i6l

Universal