-- Replicates a perfect 90-degree human thumb swipe for upward physics lift local ScreenGui = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local UICorner = Instance.new("UICorner") local TitleBar = Instance.new("Frame") -- Drag Handle Area local Title = Instance.new("TextLabel") local ToggleBtn = Instance.new("TextButton") local DeleteBtn = Instance.new("TextButton") -- Protect UI elements from standard anti-cheat detection methods if syn and syn.protect_gui then syn.protect_gui(ScreenGui) ScreenGui.Parent = game:GetService("CoreGui") elseif gethui then ScreenGui.Parent = gethui() else ScreenGui.Parent = game:GetService("CoreGui") end -- 1. Main Frame Layout (Compact Menu) MainFrame.Name = "TrussFlickHub" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 35) MainFrame.Position = UDim2.new(0.15, 0, 0.3, 0) MainFrame.Size = UDim2.new(0, 200, 0, 130) -- Smaller frame height MainFrame.Active = true UICorner.CornerRadius = UDim.new(0, 12) UICorner.Parent = MainFrame -- 2. Drag Header Title Bar TitleBar.Name = "TitleBar" TitleBar.Parent = MainFrame TitleBar.BackgroundTransparency = 1 TitleBar.Size = UDim2.new(1, 0, 0, 40) Title.Parent = TitleBar Title.BackgroundTransparency = 1 Title.Position = UDim2.new(0.05, 0, 0, 0) Title.Size = UDim2.new(0.75, 0, 1, 0) Title.Font = Enum.Font.GothamBold Title.Text = "TRUSS HUB" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 14 Title.TextXAlignment = Enum.TextXAlignment.Left -- Delete / Close Button ("✕") DeleteBtn.Parent = TitleBar DeleteBtn.BackgroundTransparency = 1 DeleteBtn.Position = UDim2.new(0.8, 0, 0, 5) DeleteBtn.Size = UDim2.new(0, 30, 0, 30) DeleteBtn.Font = Enum.Font.GothamBold DeleteBtn.Text = "✕" DeleteBtn.TextColor3 = Color3.fromRGB(255, 75, 75) DeleteBtn.TextSize = 16 -- 3. Flick Activation Toggle Button ToggleBtn.Parent = MainFrame ToggleBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50) ToggleBtn.Position = UDim2.new(0.1, 0, 0.45, 0) ToggleBtn.Size = UDim2.new(0.8, 0, 0, 45) ToggleBtn.Font = Enum.Font.GothamBold ToggleBtn.Text = "FLICK: OFF" ToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleBtn.TextSize = 15 local BtnCorner = Instance.new("UICorner") BtnCorner.CornerRadius = UDim.new(0, 8) BtnCorner.Parent = ToggleBtn ------------------------------------------------------------------------------- -- 📱 MOBILE TOUCH SCREEN DRAG HANDLING (Stops iPad sticking bugs) ------------------------------------------------------------------------------- local UserInputService = game:GetService("UserInputService") local dragging, dragInput, dragStart, startPos local function update(input) local delta = input.Position - dragStart MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end TitleBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = MainFrame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) TitleBar.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 update(input) end end) ------------------------------------------------------------------------------- -- 🧗 LEGITIMATE CAMERA-FLICK ENGINE ------------------------------------------------------------------------------- local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Workspace = game:GetService("Workspace") local LocalPlayer = Players.LocalPlayer local Camera = Workspace.CurrentCamera local FLICK_ANGLE = 90 local SNAP_DURATION = 0.05 local RESET_COOLDOWN = 0.20 local isTrussEnabled = false local canFlick = true -- Real-time spatial tracking for overlapping geometry structures local function isTouchingTruss(character) local hrp = character:FindFirstChild("HumanoidRootPart") if not hrp then return false end local parts = Workspace:GetPartsInPart(hrp) for i = 1, #parts do local part = parts[i] if part:IsA("TrussPart") or part.Name:lower():find("truss") then return true end end return false end -- Core Physics Thread Listening Connection RunService.Heartbeat:Connect(function() if not isTrussEnabled then return end local character = LocalPlayer.Character if not character then return end local humanoid = character:FindFirstChildOfClass("Humanoid") local hrp = character:FindFirstChild("HumanoidRootPart") if humanoid and hrp and canFlick then if humanoid:GetState() == Enum.HumanoidStateType.Climbing or isTouchingTruss(character) then canFlick = false -- PHASE 1: Fetch live camera positioning matrix values local originalCFrame = Camera.CFrame local x, y, z = originalCFrame:ToEulerAnglesYXZ() -- PHASE 2: True Camera Pivot Adjustment Camera.CFrame = CFrame.new(Camera.CFrame.Position) * CFrame.fromEulerAnglesYXZ(x, y + math.rad(FLICK_ANGLE), z) -- PHASE 3: Native Mobile Jump Call humanoid:ChangeState(Enum.HumanoidStateType.Jumping) -- Let physics update over this frame block to record momentum lift task.wait(SNAP_DURATION) -- PHASE 4: Position Reset Calibration Camera.CFrame = originalCFrame task.wait(RESET_COOLDOWN) canFlick = true end end end) -- Button Toggle Callback Configuration ToggleBtn.MouseButton1Click:Connect(function() isTrussEnabled = not isTrussEnabled if isTrussEnabled then ToggleBtn.Text = "FLICK: ACTIVE" ToggleBtn.BackgroundColor3 = Color3.fromRGB(50, 200, 50) else ToggleBtn.Text = "FLICK: OFF" ToggleBtn.BackgroundColor3 = Color3.fromRGB(255, 50, 50) end end) -- Deletable Purge Latch Execution DeleteBtn.MouseButton1Click:Connect(function() isTrussEnabled = false task.wait(0.05) ScreenGui:Destroy() end)