Run it
Copy the script and paste it into your executor.
Players = :()
player = Players.LocalPlayer
character = player.Character player.CharacterAdded:()
humanoid = character:()
playerGui = player:()
animator = humanoid:()
character:()
character.Animate.Disabled =
animations = {
= {id=, loop=, speed=},
idle = {id=, loop=, speed=},
walk = {id=, loop=, speed=},
run = {id=, loop=, speed=},
button1 = {text=, id=, loop=, speed=},
button2 = {text=, id=, loop=, speed=},
button3 = {text=, id=, loop=, speed=},
button4 = {text=, id=, loop=, speed=, walkSpeed=},
button5 = {text=, id=, loop=, speed=},
}
screenGui = .()
screenGui.Parent = playerGui
toggleBtn = .()
toggleBtn.Size = .(, , , )
toggleBtn.Position = .(, , , )
toggleBtn.Text =
toggleBtn.BackgroundColor3 = .(,,)
toggleBtn.TextColor3 = .(,,)
toggleBtn.Parent = screenGui
frame = .()
frame.Size = .(, , , )
frame.Position = .(, , , )
frame.BackgroundColor3 = .(,,)
frame.Active =
frame.Draggable =
frame.Parent = screenGui
buttonObjects = {}
yPos =
i = ,
btn = .()
btn.Size = .(, , , )
btn.Position = .(, , , yPos)
btn.Text = animations[..i].text
btn.BackgroundColor3 = .(,,)
btn.TextColor3 = .(,,)
btn.Parent = frame
yPos = yPos +
buttonObjects[i] = btn
cancelBtn = .()
cancelBtn.Size = .(, , , )
cancelBtn.Position = .(, , , yPos)
cancelBtn.Text =
cancelBtn.BackgroundColor3 = .(,,)
cancelBtn.TextColor3 = .(,,)
cancelBtn.Parent = frame
(animId, loop, speed, priority)
anim = .()
anim.AnimationId = animId
track = animator:(anim)
track.Priority = priority .AnimationPriority.Action
track.Looped = loop
track:()
track:(speed)
track
currentDance =
currentAnimId =
movementTrack =
()
currentDance
movementTrack movementTrack:()
vel = character:() character.HumanoidRootPart.Velocity.Magnitude
vel <
movementTrack = (animations.idle.id, animations.idle.loop, animations.idle.speed, .AnimationPriority.Core)
vel < humanoid.WalkSpeed
movementTrack = (animations.walk.id, animations.walk.loop, animations.walk.speed, .AnimationPriority.Core)
movementTrack = (animations.run.id, animations.run.loop, animations.run.speed, .AnimationPriority.Core)
humanoid.Running:(updateMovement)
humanoid.Jumping:(updateMovement)
humanoid.StateChanged:(updateMovement)
(animTable)
currentAnimId == animTable.id
currentDance currentDance:()
currentDance =
currentAnimId =
humanoid.WalkSpeed =
()
currentDance
currentDance:()
humanoid.WalkSpeed =
currentDance = (animTable.id, animTable.loop, animTable.speed, .AnimationPriority.Action)
currentAnimId = animTable.id
humanoid.WalkSpeed = animTable.walkSpeed
currentDance.Stopped:(()
currentDance == currentDance
currentDance =
currentAnimId =
humanoid.WalkSpeed =
()
)
i, btn (buttonObjects)
btn.MouseButton1Click:(()
(animations[..i])
)
cancelBtn.MouseButton1Click:(()
currentDance
currentDance:()
currentDance =
currentAnimId =
humanoid.WalkSpeed =
()
)
toggleBtn.MouseButton1Click:(()
frame.Visible = frame.Visible
)
spawnTrack = (animations.spawn.id, animations.spawn.loop, animations.spawn.speed, .AnimationPriority.Action)
spawnTrack.Stopped:(updateMovement)
()
uh no ai bro sorry for making a troll script ngl just a gui moveable toggle and untoggle reset if you want the animation to disappear and there some bugs if you're using a animation don't use YOU CANT RUN it will bug you