Run it
Copy the script and paste it into your executor.
-- Create ScreenGui
local gui = Instance.new("ScreenGui")
gui.ResetOnSpawn = false -- stays after respawn!
gui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
-- Create Button
local btn = Instance.new("TextButton")
btn.Size = UDim2.new(0, 180, 0, 50)
btn.Position = UDim2.new(0.5, -90, 0.8, 0)
btn.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
btn.TextColor3 = Color3.new(1,1,1)
btn.Font = Enum.Font.GothamBold
btn.TextSize = 20
btn.Text = "Play Animation"
btn.Parent = gui
-- On click, play then stop after 6 seconds
btn.MouseButton1Click:Connect(function()
local player = .Players.LocalPlayer
char = player.Character player.CharacterAdded:()
humanoid = char:()
anim = .()
anim.AnimationId =
track = humanoid:(anim)
track:()
.()
track:()
)
use r6 for it to work

Universal