Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
player = Players.LocalPlayer
character = player.Character player.CharacterAdded:()
humanoid = character:()
animationId =
animationSpeed =
buttonName =
guiTitle =
smallButtonText =
playing =
animationTrack
currentAnimation
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = player:()
mainFrame = .()
mainFrame.Size = .(, , , )
mainFrame.Position = .(, -, , -)
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
mainFrame.Active =
mainFrame.Parent = screenGui
mainCorner = .()
mainCorner.CornerRadius = .(, )
mainCorner.Parent = mainFrame
titleBar = .()
titleBar.Size = .(, , , )
titleBar.BackgroundColor3 = .(, , )
titleBar.BorderSizePixel =
titleBar.Text = guiTitle
titleBar.TextColor3 = .(, , )
titleBar.TextScaled =
titleBar.Font = .Font.GothamBold
titleBar.Parent = mainFrame
titleCorner = .()
titleCorner.CornerRadius = .(, )
titleCorner.Parent = titleBar
hideButton = .()
hideButton.Size = .(, , , )
hideButton.Position = .(, -, , )
hideButton.BackgroundColor3 = .(, , )
hideButton.Text =
hideButton.TextColor3 = .(, , )
hideButton.TextScaled =
hideButton.Font = .Font.Gotham
hideButton.BorderSizePixel =
hideButton.Parent = mainFrame
hideCorner = .()
hideCorner.CornerRadius = .(, )
hideCorner.Parent = hideButton
closeButton = .()
closeButton.Size = .(, , , )
closeButton.Position = .(, -, , )
closeButton.BackgroundColor3 = .(, , )
closeButton.Text =
closeButton.TextColor3 = .(, , )
closeButton.TextScaled =
closeButton.Font = .Font.GothamBold
closeButton.BorderSizePixel =
closeButton.Parent = mainFrame
closeCorner = .()
closeCorner.CornerRadius = .(, )
closeCorner.Parent = closeButton
animLabel = .()
animLabel.Size = .(, , , )
animLabel.Position = .(, , , )
animLabel.BackgroundTransparency =
animLabel.Text =
animLabel.TextColor3 = .(, , )
animLabel.TextScaled =
animLabel.Font = .Font.Gotham
animLabel.Parent = mainFrame
animBox = .()
animBox.Size = .(, , , )
animBox.Position = .(, , , )
animBox.BackgroundColor3 = .(, , )
animBox.Text = animationId
animBox.TextColor3 = .(, , )
animBox.TextScaled =
animBox.Font = .Font.Gotham
animBox.BorderSizePixel =
animBox.ClearTextOnFocus =
animBox.Parent = mainFrame
animCorner = .()
animCorner.CornerRadius = .(, )
animCorner.Parent = animBox
speedLabel = .()
speedLabel.Size = .(, , , )
speedLabel.Position = .(, , , )
speedLabel.BackgroundTransparency =
speedLabel.Text =
speedLabel.TextColor3 = .(, , )
speedLabel.TextScaled =
speedLabel.Font = .Font.Gotham
speedLabel.Parent = mainFrame
speedBox = .()
speedBox.Size = .(, , , )
speedBox.Position = .(, , , )
speedBox.BackgroundColor3 = .(, , )
speedBox.Text = (animationSpeed)
speedBox.TextColor3 = .(, , )
speedBox.TextScaled =
speedBox.Font = .Font.Gotham
speedBox.BorderSizePixel =
speedBox.ClearTextOnFocus =
speedBox.Parent = mainFrame
speedCorner = .()
speedCorner.CornerRadius = .(, )
speedCorner.Parent = speedBox
nameLabel = .()
nameLabel.Size = .(, , , )
nameLabel.Position = .(, , , )
nameLabel.BackgroundTransparency =
nameLabel.Text =
nameLabel.TextColor3 = .(, , )
nameLabel.TextScaled =
nameLabel.Font = .Font.Gotham
nameLabel.Parent = mainFrame
nameBox = .()
nameBox.Size = .(, , , )
nameBox.Position = .(, , , )
nameBox.BackgroundColor3 = .(, , )
nameBox.Text = buttonName
nameBox.TextColor3 = .(, , )
nameBox.TextScaled =
nameBox.Font = .Font.Gotham
nameBox.BorderSizePixel =
nameBox.ClearTextOnFocus =
nameBox.Parent = mainFrame
nameCorner = .()
nameCorner.CornerRadius = .(, )
nameCorner.Parent = nameBox
applyButton = .()
applyButton.Size = .(, , , )
applyButton.Position = .(, , , )
applyButton.BackgroundColor3 = .(, , )
applyButton.Text =
applyButton.TextColor3 = .(, , )
applyButton.TextScaled =
applyButton.Font = .Font.GothamBold
applyButton.BorderSizePixel =
applyButton.Parent = mainFrame
applyCorner = .()
applyCorner.CornerRadius = .(, )
applyCorner.Parent = applyButton
playButton = .()
playButton.Size = .(, , , )
playButton.Position = .(, , , )
playButton.BackgroundColor3 = .(, , )
playButton.Text = buttonName
playButton.TextColor3 = .(, , )
playButton.TextScaled =
playButton.Font = .Font.GothamBold
playButton.BorderSizePixel =
playButton.Parent = mainFrame
playCorner = .()
playCorner.CornerRadius = .(, )
playCorner.Parent = playButton
smallButton = .()
smallButton.Size = .(, , , )
smallButton.Position = .(, , , -)
smallButton.BackgroundColor3 = .(, , )
smallButton.Text = smallButtonText
smallButton.TextColor3 = .(, , )
smallButton.TextScaled =
smallButton.Font = .Font.GothamBold
smallButton.BorderSizePixel =
smallButton.Visible =
smallButton.Active =
smallButton.Parent = screenGui
smallCorner = .()
smallCorner.CornerRadius = .(, )
smallCorner.Parent = smallButton
()
character = player.Character player.CharacterAdded:()
humanoid = character:()
player.CharacterAdded:(()
.()
()
playing
.()
newAnimId = animBox.Text
newSpeed = (speedBox.Text) animationSpeed
animation = .()
animation.AnimationId = newAnimId
currentAnimation = animation
animator = humanoid:() .()
animator.Parent = humanoid
animationTrack = animator:(animation)
animationTrack.Looped =
animationTrack:()
animationTrack:(newSpeed)
)
()
playing =
animationTrack
animationTrack:()
animationTrack:()
animationTrack =
()
playing
playing =
newAnimId = animBox.Text
newSpeed = (speedBox.Text) animationSpeed
animator = humanoid:()
animator
animator = .()
animator.Parent = humanoid
animation = .()
animation.AnimationId = newAnimId
currentAnimation = animation
animationTrack = animator:(animation)
animationTrack.Looped =
animationTrack:()
animationTrack:(newSpeed)
applyButton.MouseButton1Click:(()
nameBox.Text ~=
playButton.Text = nameBox.Text
playButton.Text = buttonName
)
playButton.MouseButton1Click:(()
playing
()
playButton.BackgroundColor3 = .(, , )
playButton.Text = nameBox.Text ~= nameBox.Text buttonName
playButton.Text =
playButton.BackgroundColor3 = .(, , )
()
)
hideButton.MouseButton1Click:(()
mainFrame.Visible =
smallButton.Visible =
)
smallButton.MouseButton1Click:(()
mainFrame.Visible =
smallButton.Visible =
)
closeButton.MouseButton1Click:(()
()
screenGui:()
)
(guiObject)
dragging =
dragInput
dragStart
startPos
guiObject.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = guiObject.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
)
guiObject.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement
input.UserInputType == .UserInputType.Touch
dragInput = input
)
UserInputService.InputChanged:((input)
input == dragInput dragging
delta = input.Position - dragStart
guiObject.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
)
(mainFrame)
(smallButton)-- Simple Mobile-Friendly Animation GUI -- Open Source & Free to Use -- Made by Me -- Easily play, stop, and customize animations on mobile or PC -- Fully draggable GUI with adjustable speed and button name -- Credits: Keep this notice if you share or modify