Universal Hub artwork
UniversalHub

Universal / Multi-Game HubHub

Mahoraga aimable ground pitch

by Bloxive Imports
0 views0 likes0 copies2 hours ago

About this script

You just have to press 2 or click the second ability and aim it with shiftlock, thats it!

Universal / Multi-Game Hub

Works across many Roblox games.

Script code

Lua
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")

task.wait(3)

local lp = Players.LocalPlayer
local camera = workspace.CurrentCamera
local playerGui = lp:WaitForChild("PlayerGui")
local character = lp.Character or lp.CharacterAdded:Wait()
local hrp = character:WaitForChild("HumanoidRootPart")
local humanoid = character:WaitForChild("Humanoid")

local aimEnabled = false
local targetAnimationId = "rbxassetid://138852224035589"
local activeTrack = nil

local screenGui = Instance.new("ScreenGui")
screenGui.Name = "AimToggleGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui

local statusLabel = Instance.new("TextLabel")
statusLabel.Name = "StatusLabel"
statusLabel.Size = UDim2.new(0, 150, 0, 40)
statusLabel.Position = UDim2.new(1, -160, 1, -50)
statusLabel.BackgroundColor3 = Color3.fromRGB(50, 200, 50)
statusLabel.BackgroundTransparency = 0.7
statusLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
statusLabel.TextSize = 14
statusLabel.Text = ""
statusLabel.BorderSizePixel = 0
statusLabel.Parent = screenGui
statusLabel.Visible = false

local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 8)
corner.Parent = statusLabel

humanoid.AnimationPlayed:Connect(function(track)
	if track.Animation.AnimationId == targetAnimationId then
		activeTrack = track
		aimEnabled = true
		statusLabel.Visible = true
		statusLabel.Text = "Aiming dawg!"
	end
end)

RunService.Heartbeat:Connect(function()
	if activeTrack and (not activeTrack.IsPlaying or activeTrack.TimePosition >= activeTrack.Length) then
		aimEnabled = false
		statusLabel.Visible = false
		activeTrack = nil
	end
	
	if not aimEnabled then return end
	
	local character = lp.Character
	if not character or not character:FindFirstChild("HumanoidRootPart") then return end
	hrp = character.HumanoidRootPart
	
	hrp.CFrame = CFrame.new(hrp.Position, hrp.Position + camera.CFrame.LookVector)
end)

lp.CharacterAdded:Connect(function(newChar)
	character = newChar
	hrp = newChar:WaitForChild("HumanoidRootPart")
	humanoid = newChar:WaitForChild("Humanoid")
	aimEnabled = false
	activeTrack = nil
	statusLabel.Visible = false
	
	humanoid.AnimationPlayed:Connect(function(track)
		if track.Animation.AnimationId == targetAnimationId then
			activeTrack = track
			aimEnabled = true
			statusLabel.Visible = true
			statusLabel.Text = "Aiming dawg!"
		end
	end)
end)