local UserInputService = game:GetService("UserInputService") local Players = game:GetService("Players") local ScreenGui = Instance.new("ScreenGui") local Frame = Instance.new("Frame") local TextLabel = Instance.new("TextLabel") local ScrollingFrame = Instance.new("ScrollingFrame") local UIListLayout = Instance.new("UIListLayout") ScreenGui.Parent = game.CoreGui ScreenGui.Name = "AnimationIDFinder" Frame.Parent = ScreenGui Frame.Size = UDim2.new(0, 300, 0, 400) Frame.Position = UDim2.new(0.5, -150, 0.5, -200) Frame.BackgroundColor3 = Color3.fromRGB(35, 35, 35) Frame.BorderSizePixel = 0 Frame.Active = true TextLabel.Parent = Frame TextLabel.Size = UDim2.new(1, 0, 0, 50) TextLabel.BackgroundColor3 = Color3.fromRGB(25, 25, 25) TextLabel.Text = "Animation ID Finder" TextLabel.TextColor3 = Color3.new(1, 1, 1) TextLabel.Font = Enum.Font.SourceSansBold TextLabel.TextSize = 18 ScrollingFrame.Parent = Frame ScrollingFrame.Size = UDim2.new(1, 0, 1, -50) ScrollingFrame.Position = UDim2.new(0, 0, 0, 50) ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0) ScrollingFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) ScrollingFrame.BorderSizePixel = 0 UIListLayout.Parent = ScrollingFrame UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder local player = Players.LocalPlayer local function playAnimation(animationId) local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then local animation = Instance.new("Animation") animation.AnimationId = animationId local animator = humanoid:FindFirstChildOfClass("Animator") or humanoid:WaitForChild("Animator") local animationTrack = animator:LoadAnimation(animation) animationTrack:Play() end end local function updateAnimationIDs() for _, v in pairs(ScrollingFrame:GetChildren()) do if v:IsA("Frame") then v:Destroy() end end for _, character in pairs(workspace:GetDescendants()) do local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then for _, track in ipairs(humanoid:GetPlayingAnimationTracks()) do if track.Animation then local animationId = track.Animation.AnimationId local ItemFrame = Instance.new("Frame") local AnimLabel = Instance.new("TextLabel") local CopyButton = Instance.new("TextButton") local PlayButton = Instance.new("TextButton") ItemFrame.Parent = ScrollingFrame ItemFrame.Size = UDim2.new(1, 0, 0, 30) ItemFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) AnimLabel.Parent = ItemFrame AnimLabel.Size = UDim2.new(0.5, 0, 1, 0) AnimLabel.Text = "ID: " .. animationId AnimLabel.TextColor3 = Color3.new(1, 1, 1) AnimLabel.Font = Enum.Font.SourceSans AnimLabel.TextSize = 14 AnimLabel.BackgroundTransparency = 1 CopyButton.Parent = ItemFrame CopyButton.Size = UDim2.new(0.25, 0, 1, 0) CopyButton.Position = UDim2.new(0.5, 0, 0, 0) CopyButton.Text = "Copy" CopyButton.TextColor3 = Color3.new(1, 1, 1) CopyButton.Font = Enum.Font.SourceSansBold CopyButton.TextSize = 14 CopyButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50) PlayButton.Parent = ItemFrame PlayButton.Size = UDim2.new(0.25, 0, 1, 0) PlayButton.Position = UDim2.new(0.75, 0, 0, 0) PlayButton.Text = "Play" PlayButton.TextColor3 = Color3.new(1, 1, 1) PlayButton.Font = Enum.Font.SourceSansBold PlayButton.TextSize = 14 PlayButton.BackgroundColor3 = Color3.fromRGB(60, 60, 60) CopyButton.MouseButton1Click:Connect(function() setclipboard(animationId) end) PlayButton.MouseButton1Click:Connect(function() playAnimation(animationId) end) end end end end ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, UIListLayout.AbsoluteContentSize.Y) end local dragging, dragInput, dragStart, startPos local function updateInput(input) local delta = input.Position - dragStart Frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end Frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = Frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) Frame.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then updateInput(input) end end) task.spawn(function() while true do updateAnimationIDs() task.wait(1) end end)