local player = game.Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local gui = Instance.new("ScreenGui") gui.Name = "TherianAnimGui" gui.ResetOnSpawn = false gui.Parent = playerGui local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 240, 0, 180) frame.Position = UDim2.new(0.5, -120, 0.5, -90) frame.Active = true frame.Draggable = true frame.Parent = gui local gradient = Instance.new("UIGradient") gradient.Color = ColorSequence.new{ ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 120, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 40, 40)) } gradient.Parent = frame local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 16) corner.Parent = frame local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0.25, 0) title.BackgroundTransparency = 1 title.TextColor3 = Color3.new(1, 1, 1) title.TextScaled = true title.Font = Enum.Font.GothamBold title.Text = "Therian Animations" title.Parent = frame local play = Instance.new("TextButton") play.Size = UDim2.new(0.6, 0, 0.25, 0) play.Position = UDim2.new(0.2, 0, 0.3, 0) play.Text = "Activar" play.Font = Enum.Font.GothamBold play.TextScaled = true play.TextColor3 = Color3.new(1, 1, 1) play.BackgroundColor3 = Color3.fromRGB(50, 50, 50) play.Parent = frame local playCorner = Instance.new("UICorner") playCorner.CornerRadius = UDim.new(0, 12) playCorner.Parent = play local reset = Instance.new("TextButton") reset.Size = UDim2.new(0.6, 0, 0.25, 0) reset.Position = UDim2.new(0.2, 0, 0.6, 0) reset.Text = "Restablecer" reset.Font = Enum.Font.GothamBold reset.TextScaled = true reset.TextColor3 = Color3.new(1, 1, 1) reset.BackgroundColor3 = Color3.fromRGB(80, 80, 80) reset.Parent = frame local resetCorner = Instance.new("UICorner") resetCorner.CornerRadius = UDim.new(0, 12) resetCorner.Parent = reset local close = Instance.new("TextButton") close.Size = UDim2.new(0, 28, 0, 28) close.Position = UDim2.new(1, -32, 0, 4) close.Text = "X" close.Font = Enum.Font.GothamBold close.TextScaled = true close.TextColor3 = Color3.new(1, 1, 1) close.BackgroundColor3 = Color3.fromRGB(220, 40, 40) close.Parent = frame local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(1, 0) closeCorner.Parent = close local active = false local currentAnim = nil local animTrack = nil local function stopAnim() if animTrack then animTrack:Stop() animTrack = nil end end local function playAnim(id, speed) local character = player.Character if not character then return end local humanoid = character:FindFirstChildOfClass("Humanoid") if not humanoid then return end if currentAnim == id then return end stopAnim() local animation = Instance.new("Animation") animation.AnimationId = id animTrack = humanoid:LoadAnimation(animation) animTrack:Play() if speed then animTrack:AdjustSpeed(speed) end currentAnim = id end play.MouseButton1Click:Connect(function() active = not active if active then play.Text = "ON" play.BackgroundColor3 = Color3.fromRGB(0, 170, 0) task.spawn(function() while active do local character = player.Character if character then local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then local state = humanoid:GetState() local velocity = character.PrimaryPart.Velocity.Magnitude if state == Enum.HumanoidStateType.Jumping or state == Enum.HumanoidStateType.Freefall then playAnim("rbxassetid://82997954714200") elseif velocity > 2 then playAnim("rbxassetid://133333456631617") else playAnim("rbxassetid://79523869351466") end end end task.wait(0.1) end end) else play.Text = "Activar" play.BackgroundColor3 = Color3.fromRGB(50, 50, 50) stopAnim() currentAnim = nil end end) reset.MouseButton1Click:Connect(function() local character = player.Character if character then local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.Health = 0 end end active = false play.Text = "Activar" play.BackgroundColor3 = Color3.fromRGB(50, 50, 50) stopAnim() end) close.MouseButton1Click:Connect(function() frame.Visible = false end)