--[[ FTAP Ultimate Script (Clean Version) + Island UI V5 + Zoom + Anti Grab (Hunter) Q = Aim (Clones First → Players) R = Reload Aim (полный сброс и перезапуск логики прицела) G = Clone Grab toggle H = Free Look toggle T = Anti Grab toggle (Ragdoll / Seatless Gucci / Default) B = Auto Sit Blobman toggle Z = Zoom (hold) + Mouse Wheel to adjust zoom distance Tab = Spawn PalletLightBrown (куда смотрит камера) P = Unload ]] game:GetService("StarterGui"):SetCore("SendNotification", { Title = "FTAP Ultimate", Text = "Q=aim R=reload G=clones H=freelook T=antigrab B=blobman Z=zoom Tab=pallet P=unload" }) local Players = game:GetService("Players") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local StarterGui = game:GetService("StarterGui") local ReplicatedStorage = game:GetService("ReplicatedStorage") local TweenService = game:GetService("TweenService") local Stats = game:GetService("Stats") local ContextActionService = game:GetService("ContextActionService") local LocalPlayer = Players.LocalPlayer -- ===== Камера (не кэшируем, т.к. CurrentCamera может меняться) ===== local function getCamera() return workspace.CurrentCamera end -- ===== Настройки ===== local Settings = { BindKey = Enum.KeyCode.Q, ReloadAimKey= Enum.KeyCode.R, CloneKey = Enum.KeyCode.G, FreeLookKey = Enum.KeyCode.H, AntiGrabKey = Enum.KeyCode.T, BlobmanKey = Enum.KeyCode.B, ZoomKey = Enum.KeyCode.Z, PalletKey = Enum.KeyCode.Tab, UnloadKey = Enum.KeyCode.P, Radius = 60, GrabClones = false, FreeLook = false, AntiGrab = false, AutoBlobman = false, FreeLookSensitivity = 1.5, FreeLookDistance = 12, -- Zoom ZoomFOV = 30, ZoomMinFOV = 10, ZoomMaxFOV = 80, ZoomSpeed = 8, ZoomReleaseSpeed = 22, ZoomDefaultFOV = 200, WheelStep = 3, ZoomEnabled = true, } -- ===== Хранилища ===== local Connections = {} local Instances = {} local Unloaded = false local oldAutoRotate = nil local function track(conn) table.insert(Connections, conn); return conn end local function trackInst(inst) table.insert(Instances, inst); return inst end -- ========================================================= -- KEYBIND MENU (компактная версия) -- ========================================================= local function createKeybindMenu() local ScreenGui = trackInst(Instance.new("ScreenGui", game.CoreGui)) ScreenGui.Name = "FTAPKeybinds" ScreenGui.ResetOnSpawn = false local keys = { {"Q", "Aim (Clones → Players)"}, {"R", "Reload Aim"}, {"G", "Clone Grab"}, {"H", "Free Look"}, {"T", "Anti Grab"}, {"B", "Auto Sit Blobman"}, {"Z", "Zoom (hold) + Wheel"}, {"Tab", "Spawn Pallet"}, {"P", "Unload"}, } -- Размеры подобраны под содержимое local rowHeight = 16 local rowSpacing = 2 local titleHeight = 22 local topPadding = 4 local bottomPad = 4 local frameWidth = 178 local contentHeight = #keys * (rowHeight + rowSpacing) - rowSpacing local frameHeight = titleHeight + topPadding + contentHeight + bottomPad local frame = Instance.new("Frame", ScreenGui) frame.Size = UDim2.new(0, frameWidth, 0, frameHeight) frame.Position = UDim2.new(1, -frameWidth - 10, 0, 10) frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) frame.BackgroundTransparency = 0.15 frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = true local corner = Instance.new("UICorner", frame) corner.CornerRadius = UDim.new(0, 8) local stroke = Instance.new("UIStroke", frame) stroke.Color = Color3.fromRGB(255, 0, 127) stroke.Thickness = 1.2 local title = Instance.new("TextLabel", frame) title.Size = UDim2.new(1, 0, 0, titleHeight) title.BackgroundColor3 = Color3.fromRGB(255, 0, 127) title.Text = "FTAP Keybinds" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.Font = Enum.Font.SourceSansBold title.TextSize = 12 title.BorderSizePixel = 0 local titleCorner = Instance.new("UICorner", title) titleCorner.CornerRadius = UDim.new(0, 8) -- Скругляем только верхние углы заголовка (маска снизу) local titleMask = Instance.new("Frame", title) titleMask.Size = UDim2.new(1, 0, 0, 8) titleMask.Position = UDim2.new(0, 0, 1, -8) titleMask.BackgroundColor3 = Color3.fromRGB(255, 0, 127) titleMask.BorderSizePixel = 0 titleMask.ZIndex = 2 for i, data in ipairs(keys) do local row = Instance.new("Frame", frame) row.Size = UDim2.new(1, -8, 0, rowHeight) row.Position = UDim2.new(0, 4, 0, titleHeight + topPadding + (i - 1) * (rowHeight + rowSpacing)) row.BackgroundTransparency = 1 local keyLabel = Instance.new("TextLabel", row) keyLabel.Size = UDim2.new(0, 30, 1, 0) keyLabel.Position = UDim2.new(0, 0, 0, 0) keyLabel.BackgroundColor3 = Color3.fromRGB(50, 50, 50) keyLabel.Text = data[1] keyLabel.TextColor3 = Color3.fromRGB(255, 0, 127) keyLabel.Font = Enum.Font.SourceSansBold keyLabel.TextSize = 10 keyLabel.BorderSizePixel = 0 local keyCorner = Instance.new("UICorner", keyLabel) keyCorner.CornerRadius = UDim.new(0, 4) local descLabel = Instance.new("TextLabel", row) descLabel.Size = UDim2.new(1, -34, 1, 0) descLabel.Position = UDim2.new(0, 34, 0, 0) descLabel.BackgroundTransparency = 1 descLabel.Text = data[2] descLabel.TextColor3 = Color3.fromRGB(200, 200, 200) descLabel.Font = Enum.Font.SourceSans descLabel.TextSize = 11 descLabel.TextXAlignment = Enum.TextXAlignment.Left descLabel.TextTruncate = Enum.TextTruncate.AtEnd end end createKeybindMenu() -- ========================================================= -- ZOOM (Z + Mouse Wheel) -- ========================================================= local Zoom = { Active = false, Releasing = false, Current = nil, TargetFOV = Settings.ZoomFOV, Held = false, } local function startZoom() track(UserInputService.InputBegan:Connect(function(input, gp) if Unloaded then return end if gp then return end if input.KeyCode == Settings.ZoomKey and Settings.ZoomEnabled then Zoom.Held = true Zoom.Active = true Zoom.Releasing = false local cam = getCamera() Zoom.Current = (Zoom.Current ~= nil and cam and cam.FieldOfView) or (cam and cam.FieldOfView) or Settings.ZoomFOV end end)) track(UserInputService.InputEnded:Connect(function(input, gp) if Unloaded then return end if input.KeyCode == Settings.ZoomKey then Zoom.Held = false if Zoom.Active then Zoom.Active = false Zoom.Releasing = true local cam = getCamera() if Zoom.Current == nil and cam then Zoom.Current = cam.FieldOfView end end end end)) track(UserInputService.InputChanged:Connect(function(input, gp) if Unloaded then return end if gp then return end if not Settings.ZoomEnabled then return end if not Zoom.Held then return end if input.UserInputType ~= Enum.UserInputType.MouseWheel then return end local delta = input.Position.Z if delta == 0 then return end Zoom.TargetFOV = Zoom.TargetFOV - delta * Settings.WheelStep Zoom.TargetFOV = math.clamp(Zoom.TargetFOV, Settings.ZoomMinFOV, Settings.ZoomMaxFOV) end)) track(RunService.RenderStepped:Connect(function(dt) if Unloaded then return end if not Settings.ZoomEnabled then return end local cam = getCamera() if not cam then return end if Zoom.Active then if Zoom.Current == nil then Zoom.Current = cam.FieldOfView end local speed = math.clamp(Settings.ZoomSpeed * dt, 0, 1) Zoom.Current = Zoom.Current + (Zoom.TargetFOV - Zoom.Current) * speed cam.FieldOfView = Zoom.Current return end if Zoom.Releasing then if Zoom.Current == nil then Zoom.Current = cam.FieldOfView end local speed = math.clamp(Settings.ZoomReleaseSpeed * dt, 0, 1) Zoom.Current = Zoom.Current + (Settings.ZoomDefaultFOV - Zoom.Current) * speed if math.abs(Zoom.Current - Settings.ZoomDefaultFOV) < 0.5 then Zoom.Releasing = false Zoom.Current = nil cam.FieldOfView = Settings.ZoomDefaultFOV return end cam.FieldOfView = Zoom.Current return end end)) end startZoom() -- ========================================================= -- FOV CHANGER = 200 -- ========================================================= local function startFOVChanger() local camera = getCamera() local defaultFOV = camera and camera.FieldOfView or 70 local customFOV = 200 local isFOVEnabled = true local ScreenGui = trackInst(Instance.new("ScreenGui", game.CoreGui)) ScreenGui.Name = "FOVChangerGUI" local MainFrame = Instance.new("Frame", ScreenGui) MainFrame.Size = UDim2.new(0, 280, 0, 150) MainFrame.Position = UDim2.new(0.5, -140, 0.5, -75) MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Draggable = true local Title = Instance.new("TextLabel", MainFrame) Title.Size = UDim2.new(1, 0, 0, 30) Title.BackgroundColor3 = Color3.fromRGB(20, 20, 20) Title.Text = "FOV Changer" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.Font = Enum.Font.SourceSansBold Title.TextSize = 18 local ToggleButton = Instance.new("TextButton", MainFrame) ToggleButton.Size = UDim2.new(0, 120, 0, 30) ToggleButton.Position = UDim2.new(0, 10, 0, 45) ToggleButton.Text = "FOV: ON" ToggleButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50) ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleButton.Font = Enum.Font.SourceSans ToggleButton.TextSize = 16 local SliderLabel = Instance.new("TextLabel", MainFrame) SliderLabel.Size = UDim2.new(0, 140, 0, 20) SliderLabel.Position = UDim2.new(0, 10, 0, 85) SliderLabel.Text = "FOV: " .. customFOV SliderLabel.TextColor3 = Color3.fromRGB(255, 255, 255) SliderLabel.Font = Enum.Font.SourceSans SliderLabel.TextSize = 14 SliderLabel.BackgroundTransparency = 1 local FOVSlider = Instance.new("TextBox", MainFrame) FOVSlider.Size = UDim2.new(0, 60, 0, 25) FOVSlider.Position = UDim2.new(0, 160, 0, 80) FOVSlider.PlaceholderText = tostring(customFOV) FOVSlider.Text = tostring(customFOV) FOVSlider.BackgroundColor3 = Color3.fromRGB(40, 40, 40) FOVSlider.TextColor3 = Color3.fromRGB(255, 255, 255) FOVSlider.Font = Enum.Font.SourceSans FOVSlider.TextSize = 14 FOVSlider.ClearTextOnFocus = false local function zoomBusy() return Zoom.Active or Zoom.Releasing end local function setFOV(value) if not isFOVEnabled then return end if zoomBusy() then return end local cam = getCamera() if cam then cam.FieldOfView = value end end track(ToggleButton.MouseButton1Click:Connect(function() isFOVEnabled = not isFOVEnabled ToggleButton.Text = "FOV: " .. (isFOVEnabled and "ON" or "OFF") local cam = getCamera() if not cam then return end if zoomBusy() then return end if isFOVEnabled then cam.FieldOfView = customFOV else cam.FieldOfView = defaultFOV end end)) track(FOVSlider.FocusLost:Connect(function() local num = tonumber(FOVSlider.Text) if num and num >= 1 and num <= 200 then customFOV = num SliderLabel.Text = "FOV: " .. tostring(customFOV) setFOV(customFOV) else FOVSlider.Text = tostring(customFOV) end end)) track(LocalPlayer.CharacterAdded:Connect(function(char) char:WaitForChild("Humanoid") task.wait(1) local cam = getCamera() if isFOVEnabled and cam and not zoomBusy() then cam.FieldOfView = customFOV end end)) track(RunService.RenderStepped:Connect(function() local cam = getCamera() if zoomBusy() then return end if isFOVEnabled and cam and cam.FieldOfView ~= customFOV then cam.FieldOfView = customFOV end end)) local cam0 = getCamera() if cam0 then cam0.FieldOfView = customFOV end return { setDefault = function() local cam = getCamera() if cam then cam.FieldOfView = defaultFOV end end } end local FOVModule = startFOVChanger() -- ========================================================= -- ANTI GRAB (from Hunter/Endoris script) -- ========================================================= local AntiGrabFeature = {} local AntiGrabState = { selectedMethods = {["Ragdoll"] = true}, connections = {}, struggleTasks = {}, seatlessGucciActive = false, seatlessGucciConn = nil, seatlessSpawnTick = nil, defaultGrabConn = nil, ragdollConn = nil, } local PROTECTED_PLAYER = "5fkX0ofvIGfU" local function isProtectedPlayer(name) return name == PROTECTED_PLAYER end local function isLocalAlive() local char = LocalPlayer.Character if not char or not char.Parent then return false end local hum = char:FindFirstChildOfClass("Humanoid") if not hum or hum.Health <= 0 then return false end return true end local isHeldValue = LocalPlayer:WaitForChild("IsHeld", 10) local characterEventsFolder = ReplicatedStorage:WaitForChild("CharacterEvents", 10) local struggleEvent, ragdollRemoteEvent if characterEventsFolder then struggleEvent = characterEventsFolder:FindFirstChild("Struggle") ragdollRemoteEvent = characterEventsFolder:FindFirstChild("RagdollRemote") end function AntiGrabFeature.startStruggleLoop() local char = LocalPlayer.Character if not char or AntiGrabState.struggleTasks[char] then return end AntiGrabState.struggleTasks[char] = true task.spawn(function() while AntiGrabState.struggleTasks[char] do if Unloaded or not Settings.AntiGrab then AntiGrabState.struggleTasks[char] = nil break end local head = char:FindFirstChild("Head") if head and head:FindFirstChild("PartOwner") and isHeldValue.Value then if struggleEvent then pcall(function() struggleEvent:FireServer(LocalPlayer) end) end local gce = ReplicatedStorage:FindFirstChild("GameCorrectionEvents") if gce then local sav = gce:FindFirstChild("StopAllVelocity") if sav then pcall(function() sav:FireServer() end) end end else AntiGrabState.struggleTasks[char] = nil break end task.wait(0.1) end end) end function AntiGrabFeature.setupRagdollAntiGrab() if AntiGrabState.ragdollConn then pcall(function() AntiGrabState.ragdollConn:Disconnect() end) AntiGrabState.ragdollConn = nil end local lastHolder = nil local function updateHolder(char) if not char then return end local head = char:FindFirstChild("Head") if head then local po = head:FindFirstChild("PartOwner") if po then lastHolder = tostring(po.Value) end end char.DescendantAdded:Connect(function(desc) if desc.Name == "PartOwner" then lastHolder = tostring(desc.Value) end end) end local function tryStart(isBeingHeld) if not isBeingHeld then return end if not Settings.AntiGrab then return end if not isLocalAlive() then return end if lastHolder and isProtectedPlayer(lastHolder) then return end local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") if not hrp then return end if not isHeldValue.Value then return end local conn local trackedChar = char conn = RunService.Heartbeat:Connect(function() if not isLocalAlive() then pcall(function() if hrp and hrp.Parent then hrp.Anchored = false end end) if conn then conn:Disconnect() end return end if not hrp or not hrp.Parent or hrp:IsDescendantOf(workspace) == false then pcall(function() if hrp and hrp.Parent then hrp.Anchored = false end end) if conn then conn:Disconnect() end return end if trackedChar ~= LocalPlayer.Character then pcall(function() if hrp and hrp.Parent then hrp.Anchored = false end end) if conn then conn:Disconnect() end return end if isHeldValue.Value then pcall(function() hrp.Velocity = Vector3.new() hrp.Anchored = true if struggleEvent then struggleEvent:FireServer(LocalPlayer) end if ragdollRemoteEvent then ragdollRemoteEvent:FireServer(hrp, 0) end end) else pcall(function() if hrp and hrp.Parent then hrp.Anchored = false end end) if conn then conn:Disconnect() end end end) table.insert(AntiGrabState.connections, conn) end AntiGrabState.ragdollConn = isHeldValue.Changed:Connect(tryStart) local char = LocalPlayer.Character if char and isLocalAlive() then updateHolder(char) end local charAddedConn = LocalPlayer.CharacterAdded:Connect(function(newChar) task.wait(0.6) if isLocalAlive() then updateHolder(newChar) end end) table.insert(AntiGrabState.connections, charAddedConn) if isHeldValue.Value then tryStart(true) end end function AntiGrabFeature.disableRagdollAntiGrab() if AntiGrabState.ragdollConn then pcall(function() AntiGrabState.ragdollConn:Disconnect() end) AntiGrabState.ragdollConn = nil end for k in pairs(AntiGrabState.struggleTasks) do AntiGrabState.struggleTasks[k] = nil end local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") if hrp then pcall(function() hrp.Anchored = false end) end end function AntiGrabFeature.startSeatlessGucci() AntiGrabState.seatlessGucciActive = true if not AntiGrabState.seatlessGucciConn then AntiGrabState.seatlessGucciConn = RunService.RenderStepped:Connect(function() if Unloaded or not Settings.AntiGrab then return end if not AntiGrabState.seatlessGucciActive then return end if not isLocalAlive() then return end local char = LocalPlayer.Character if not char then return end local hum = char:FindFirstChild("Humanoid") local root = char:FindFirstChild("HumanoidRootPart") local myToys = workspace:FindFirstChild(LocalPlayer.Name .. "SpawnedInToys") local ocarina = myToys and myToys:FindFirstChild("InstrumentWoodwindOcarina") if ocarina then for _, prt in ipairs(char:GetChildren()) do local owner = prt:FindFirstChild("PartOwner") if owner and owner.Value ~= "" then local holdPart = ocarina:FindFirstChild("HoldPart") local holdFunc = holdPart and holdPart:FindFirstChild("HoldItemRemoteFunction") if holdFunc then task.spawn(function() pcall(function() holdFunc:InvokeServer(ocarina, char) end) end) local menuToys = ReplicatedStorage:FindFirstChild("MenuToys") local destroyToy = menuToys and menuToys:FindFirstChild("DestroyToy") if destroyToy then pcall(function() destroyToy:FireServer(ocarina) end) end if hum then hum:SetStateEnabled(Enum.HumanoidStateType.Jumping, true) hum.AutoRotate = true if hum.Sit then hum.Sit = false end end pcall(function() ContextActionService:UnbindAction("Escape") ContextActionService:UnbindAction("JumpRemover") end) owner.Value = "" end end end else local canSpawn = LocalPlayer:FindFirstChild("CanSpawnToy") if canSpawn and canSpawn.Value and not AntiGrabState.seatlessSpawnTick then AntiGrabState.seatlessSpawnTick = tick() task.spawn(function() pcall(function() local spawnRF = ReplicatedStorage:FindFirstChild("MenuToys") and ReplicatedStorage.MenuToys:FindFirstChild("SpawnToyRemoteFunction") if spawnRF then spawnRF:InvokeServer("InstrumentWoodwindOcarina", CFrame.new(1e5, 1e5, 1e5), Vector3.zero) end end) end) elseif AntiGrabState.seatlessSpawnTick and tick() - AntiGrabState.seatlessSpawnTick > 1 and not (myToys and myToys:FindFirstChild("InstrumentWoodwindOcarina")) then AntiGrabState.seatlessSpawnTick = nil end local grabbed = false for _, prt in ipairs(char:GetChildren()) do local owner = prt:FindFirstChild("PartOwner") if owner and owner.Value ~= "" then grabbed = true break end end if grabbed then local charEvents = ReplicatedStorage:FindFirstChild("CharacterEvents") if charEvents then local struggle = charEvents:FindFirstChild("Struggle") local ragdollRemote = charEvents:FindFirstChild("RagdollRemote") if struggle then pcall(function() struggle:FireServer(LocalPlayer) end) end if ragdollRemote and root then pcall(function() ragdollRemote:FireServer(root, 0) end) end end end end end) end end function AntiGrabFeature.stopSeatlessGucci() AntiGrabState.seatlessGucciActive = false if AntiGrabState.seatlessGucciConn then pcall(function() AntiGrabState.seatlessGucciConn:Disconnect() end) AntiGrabState.seatlessGucciConn = nil end end function AntiGrabFeature.startDefaultGrab() if not AntiGrabState.defaultGrabConn then AntiGrabState.defaultGrabConn = RunService.Heartbeat:Connect(function() if Unloaded or not Settings.AntiGrab then return end if not isLocalAlive() then return end local char = LocalPlayer.Character local head = char and char:FindFirstChild("Head") if head and head:FindFirstChild("PartOwner") and isHeldValue.Value then if struggleEvent then pcall(function() struggleEvent:FireServer(LocalPlayer) end) end end end) end end function AntiGrabFeature.stopDefaultGrab() if AntiGrabState.defaultGrabConn then pcall(function() AntiGrabState.defaultGrabConn:Disconnect() end) AntiGrabState.defaultGrabConn = nil end end function AntiGrabFeature.enable() Settings.AntiGrab = true local sel = AntiGrabState.selectedMethods if sel["Ragdoll"] then AntiGrabFeature.setupRagdollAntiGrab() end if sel["Seatless Gucci"] then AntiGrabFeature.startSeatlessGucci() end if sel["Default"] then AntiGrabFeature.startDefaultGrab() end if sel["Ragdoll"] and struggleEvent then pcall(function() struggleEvent:FireServer(LocalPlayer) end) end end function AntiGrabFeature.disable() Settings.AntiGrab = false AntiGrabFeature.disableRagdollAntiGrab() AntiGrabFeature.stopSeatlessGucci() AntiGrabFeature.stopDefaultGrab() end local function cleanupAntiGrab() AntiGrabFeature.disable() for _, conn in ipairs(AntiGrabState.connections) do pcall(function() conn:Disconnect() end) end AntiGrabState.connections = {} end -- ========================================================= -- ISLAND UI V5 -- ========================================================= local function createIslandUI() local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") local Config = { Width = 270, Height = 42, OpenWidth = 310, OpenHeight = 112, Top = 7, OpenTime = 0.48, CloseTime = 0.3, } local Colors = { Background = Color3.fromRGB(7, 8, 11), Border = Color3.fromRGB(55, 57, 68), White = Color3.fromRGB(245, 246, 250), Gray = Color3.fromRGB(135, 140, 155), Green = Color3.fromRGB(135, 225, 165), Blue = Color3.fromRGB(135, 185, 255), } local Old = PlayerGui:FindFirstChild("IslandV5") if Old then Old:Destroy() end local Screen = trackInst(Instance.new("ScreenGui")) Screen.Name = "IslandV5" Screen.IgnoreGuiInset = true Screen.ResetOnSpawn = false Screen.DisplayOrder = 999 Screen.Parent = PlayerGui local Island = Instance.new("Frame") Island.Name = "Island" Island.AnchorPoint = Vector2.new(0.5, 0) Island.Position = UDim2.new(0.5, 0, 0, Config.Top) Island.Size = UDim2.fromOffset(Config.Width, Config.Height) Island.BackgroundColor3 = Colors.Background Island.BorderSizePixel = 0 Island.ClipsDescendants = true Island.Active = true Island.Parent = Screen local Corner = Instance.new("UICorner") Corner.CornerRadius = UDim.new(0, 24) Corner.Parent = Island local Border = Instance.new("UIStroke") Border.Color = Colors.Border Border.Thickness = 1 Border.Transparency = 0.25 Border.Parent = Island local Gradient = Instance.new("UIGradient") Gradient.Rotation = 90 Gradient.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.fromRGB(23, 24, 31)), ColorSequenceKeypoint.new(1, Color3.fromRGB(5, 6, 9)) }) Gradient.Parent = Island local Top = Instance.new("Frame") Top.Size = UDim2.new(1, 0, 0, 42) Top.BackgroundTransparency = 1 Top.Parent = Island local function CreateLabel(parent, name, position, size, color, textSize, font) local label = Instance.new("TextLabel") label.Name = name label.Position = position label.Size = size label.BackgroundTransparency = 1 label.Text = "--" label.TextColor3 = color label.TextSize = textSize label.Font = font or Enum.Font.GothamMedium label.TextXAlignment = Enum.TextXAlignment.Center label.TextYAlignment = Enum.TextYAlignment.Center label.Parent = parent return label end local Dot = Instance.new("Frame") Dot.Size = UDim2.fromOffset(7, 7) Dot.Position = UDim2.fromOffset(13, 17) Dot.BackgroundColor3 = Colors.Green Dot.BorderSizePixel = 0 Dot.Parent = Top local DotCorner = Instance.new("UICorner") DotCorner.CornerRadius = UDim.new(1, 0) DotCorner.Parent = Dot local FPS = CreateLabel(Top, "FPS", UDim2.fromOffset(27, 0), UDim2.fromOffset(58, 42), Colors.Green, 11) local function CreateSeparator(x) local line = Instance.new("Frame") line.Position = UDim2.fromOffset(x, 13) line.Size = UDim2.fromOffset(1, 16) line.BackgroundColor3 = Colors.Border line.BorderSizePixel = 0 line.Parent = Top end CreateSeparator(88) CreateSeparator(160) local Ping = CreateLabel(Top, "Ping", UDim2.fromOffset(91, 0), UDim2.fromOffset(65, 42), Colors.Blue, 11) local Clock = CreateLabel(Top, "Clock", UDim2.fromOffset(165, 0), UDim2.fromOffset(94, 42), Colors.White, 12, Enum.Font.GothamBold) local Content = Instance.new("Frame") Content.Name = "Content" Content.Position = UDim2.fromOffset(15, 56) Content.Size = UDim2.new(1, -30, 0, 48) Content.BackgroundTransparency = 1 Content.Parent = Island local Heading = CreateLabel(Content, "Heading", UDim2.fromOffset(0, 0), UDim2.new(1, 0, 0, 15), Colors.Gray, 9, Enum.Font.GothamBold) Heading.Text = "LIVE PERFORMANCE" Heading.TextXAlignment = Enum.TextXAlignment.Left local function CreateValue(name, x, color) return CreateLabel(Content, name, UDim2.fromOffset(x, 17), UDim2.fromOffset(85, 28), color, 14, Enum.Font.GothamBold) end local FPSValue = CreateValue("FPSValue", 0, Colors.Green) local PingValue = CreateValue("PingValue", 100, Colors.Blue) local TimeValue = CreateValue("TimeValue", 200, Colors.White) local ClickArea = Instance.new("TextButton") ClickArea.Name = "ClickArea" ClickArea.Size = UDim2.new(1, 0, 0, 42) ClickArea.BackgroundTransparency = 1 ClickArea.Text = "" ClickArea.ZIndex = 10 ClickArea.Parent = Island local Expanded = false local Animating = false local Hovering = false local CurrentTween = nil local function PlayTween(object, duration, style, direction, properties) if CurrentTween then CurrentTween:Cancel() end CurrentTween = TweenService:Create(object, TweenInfo.new(duration, style, direction), properties) CurrentTween:Play() return CurrentTween end local function OpenIsland() if Expanded or Animating then return end Expanded = true Animating = true PlayTween(Island, Config.OpenTime, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out, { Size = UDim2.fromOffset(Config.OpenWidth, Config.OpenHeight) }) TweenService:Create(Border, TweenInfo.new(0.3), {Transparency = 0.08}):Play() Content.Position = UDim2.fromOffset(15, 65) for _, item in ipairs(Content:GetDescendants()) do if item:IsA("TextLabel") then item.TextTransparency = 1 end end task.delay(0.1, function() if not Screen.Parent or not Expanded then return end TweenService:Create(Content, TweenInfo.new(0.35, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), { Position = UDim2.fromOffset(15, 56) }):Play() for _, item in ipairs(Content:GetDescendants()) do if item:IsA("TextLabel") then TweenService:Create(item, TweenInfo.new(0.3), {TextTransparency = 0}):Play() end end end) task.delay(Config.OpenTime, function() Animating = false end) end local function CloseIsland() if not Expanded or Animating then return end Expanded = false Animating = true PlayTween(Island, Config.CloseTime, Enum.EasingStyle.Quint, Enum.EasingDirection.InOut, { Size = UDim2.fromOffset(Config.Width, Config.Height) }) TweenService:Create(Border, TweenInfo.new(0.3), {Transparency = 0.25}):Play() for _, item in ipairs(Content:GetDescendants()) do if item:IsA("TextLabel") then TweenService:Create(item, TweenInfo.new(0.12), {TextTransparency = 1}):Play() end end task.delay(Config.CloseTime, function() Animating = false end) end local function PressAnimation() if Animating then return end Animating = true local target if Expanded then target = UDim2.fromOffset(300, 105) else target = UDim2.fromOffset(260, 38) end local press = TweenService:Create(Island, TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = target}) press:Play() press.Completed:Wait() Animating = false if Expanded then CloseIsland() else OpenIsland() end end ClickArea.Activated:Connect(function() PressAnimation() end) Island.MouseEnter:Connect(function() Hovering = true if not UserInputService.TouchEnabled then OpenIsland() end end) Island.MouseLeave:Connect(function() Hovering = false if not UserInputService.TouchEnabled then task.delay(0.25, function() if not Hovering then CloseIsland() end end) end end) local Frames = 0 local CurrentFPS = 0 local LastUpdate = os.clock() track(RunService.Heartbeat:Connect(function() Frames += 1 local now = os.clock() local elapsed = now - LastUpdate if elapsed >= 0.5 then CurrentFPS = math.floor(Frames / elapsed) Frames = 0 LastUpdate = now FPS.Text = "FPS " .. CurrentFPS FPSValue.Text = tostring(CurrentFPS) end end)) local function GetPing() local success, result = pcall(function() return Stats.Network.ServerStatsItem["Data Ping"]:GetValue() end) if success then return math.floor(result) end return 0 end local function GetTime() local success, result = pcall(function() return DateTime.now():FormatLocalTime("HH:mm:ss", "en-us") end) if success then return result end return os.date("%H:%M:%S") end task.spawn(function() while Screen.Parent do local ping = GetPing() local time = GetTime() FPS.Text = "FPS " .. CurrentFPS Ping.Text = "PING " .. ping Clock.Text = time FPSValue.Text = tostring(CurrentFPS) PingValue.Text = ping .. " ms" TimeValue.Text = time task.wait(0.5) end end) return Screen end local IslandUI = createIslandUI() -- ========================================================= -- PALLET SPAWN (Tab) - СТАРАЯ ВЕРСИЯ -- ========================================================= local function spawnPalletInstant() local char = LocalPlayer.Character if not char then return end local hrp = char:FindFirstChild("HumanoidRootPart") if not hrp then return end local menuToys = ReplicatedStorage:FindFirstChild("MenuToys") local spawnFunc = menuToys and menuToys:FindFirstChild("SpawnToyRemoteFunction") if not spawnFunc then return end -- Позиция прямо перед камерой (куда смотрит игрок) local cam = getCamera() local spawnCF = CFrame.new() if cam then spawnCF = cam.CFrame * CFrame.new(0, 0, -3) -- 3 стада перед камерой else spawnCF = hrp.CFrame * CFrame.new(0, 0, -15) end -- Моментальный вызов без задержки (в task.spawn чтобы не фризить UI) task.spawn(function() pcall(function() spawnFunc:InvokeServer("PalletLightBrown", spawnCF, Vector3.zero) end) end) end -- ========================================================= -- AIM -- ========================================================= local function getLocalRoot() local char = LocalPlayer.Character if char then return char:FindFirstChild("HumanoidRootPart") end return nil end local function isTargetValid(target) if not target or typeof(target) ~= "Instance" then return false end if not target.Parent then return false end if not target:IsDescendantOf(workspace) then return false end if not target:IsA("BasePart") then return false end return true end local function clickSafe() if type(mouse1click) == "function" then pcall(mouse1click) return end local vim = game:GetService("VirtualInputManager") if vim then pcall(function() vim:SendMouseButtonEvent(0, 0, 0, true, game, 0) vim:SendMouseButtonEvent(0, 0, 0, false, game, 0) end) end end local function findClosestPlayer(myPos) local closest, shortest = nil, Settings.Radius for _, player in ipairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character then local hrp = player.Character:FindFirstChild("HumanoidRootPart") local hum = player.Character:FindFirstChildOfClass("Humanoid") if isTargetValid(hrp) and hum and hum.Health > 0 then local dist = (hrp.Position - myPos).Magnitude if dist < shortest then shortest = dist closest = hrp end end end end return closest end local cloneCache = {} local cloneCacheTime = 0 local function refreshCloneCache() local now = tick() if now - cloneCacheTime < 0.15 then return end cloneCacheTime = now local newCache = {} local myChar = LocalPlayer.Character local seen = {} local function scan(container) if not container then return end for _, obj in ipairs(container:GetChildren()) do if obj:IsA("Model") and not seen[obj] then seen[obj] = true if obj ~= myChar and not Players:GetPlayerFromCharacter(obj) then local hrp = obj:FindFirstChild("HumanoidRootPart") local hum = obj:FindFirstChildOfClass("Humanoid") if isTargetValid(hrp) and hum and hum.Health > 0 then table.insert(newCache, hrp) end end end end end scan(workspace) local plotItems = workspace:FindFirstChild("PlotItems") if plotItems then for _, plot in ipairs(plotItems:GetChildren()) do scan(plot) end end local myToys = workspace:FindFirstChild(LocalPlayer.Name .. "SpawnedInToys") if myToys then scan(myToys) end cloneCache = newCache end local function findClosestClone(myPos) refreshCloneCache() local closest, shortest = nil, Settings.Radius for i = #cloneCache, 1, -1 do local hrp = cloneCache[i] if not isTargetValid(hrp) then table.remove(cloneCache, i) else local hum = hrp.Parent and hrp.Parent:FindFirstChildOfClass("Humanoid") if hum and hum.Health > 0 then local dist = (hrp.Position - myPos).Magnitude if dist < shortest then shortest = dist closest = hrp end end end end return closest end local function aimAt(target) if not isTargetValid(target) then return end local cam = getCamera() if not cam then return end local camPos = cam.CFrame.Position if (target.Position - camPos).Magnitude < 0.01 then return end cam.CFrame = CFrame.new(camPos, target.Position) local look = cam.CFrame.LookVector local dir = (target.Position - cam.CFrame.Position).Unit if look:Dot(dir) < 0.99 then return end task.defer(function() if isTargetValid(target) then clickSafe() end end) end -- ========================================================= -- AIM RELOAD (R) - Перезапуск логики Аима -- ========================================================= local function reloadAim() -- 1. Сбрасываем кэш клонов, чтобы аим искал цели с нуля cloneCache = {} cloneCacheTime = 0 -- 2. Очищаем все сохраненные соединения аима (если были) -- (В этой версии аим работает моментально по кнопке Q, без петель, -- поэтому мы просто сбрасываем кэш и делаем принудительный клик) local myRoot = getLocalRoot() if not myRoot then return end local myPos = myRoot.Position -- 3. Мгновенно ищем цель заново (приоритет клонам, потом игрокам) local target = nil if Settings.GrabClones then target = findClosestClone(myPos) end if not target then target = findClosestPlayer(myPos) end -- 4. Если цель найдена — применяем аим и стреляем if isTargetValid(target) then aimAt(target) end -- Нотификация о перезагрузке StarterGui:SetCore("SendNotification", { Title = "Aim", Text = "Reloaded" }) end -- ========================================================= -- BLOBMAN (только посадка) -- ========================================================= local Blobman = { Model = nil, Seat = nil } local function getBlobmanComponents() local blobman = Blobman.Model if not blobman or not blobman.Parent then local myToys = workspace:FindFirstChild(LocalPlayer.Name .. "SpawnedInToys") blobman = myToys and myToys:FindFirstChild("CreatureBlobman") Blobman.Model = blobman end if not blobman then return nil end Blobman.Seat = blobman:FindFirstChild("VehicleSeat") return Blobman end local function spawnBlobman() local menuToys = ReplicatedStorage:FindFirstChild("MenuToys") local spawnFunc = menuToys and menuToys:FindFirstChild("SpawnToyRemoteFunction") if not spawnFunc then return nil end local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") if not hrp then return nil end local ok, blobman = pcall(function() return spawnFunc:InvokeServer("CreatureBlobman", hrp.CFrame + Vector3.new(0, 10, 0), Vector3.zero) end) return ok and blobman or nil end local function sitOnBlobman() local char = LocalPlayer.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if not hum then return false end if hum.Sit and hum.SeatPart and hum.SeatPart.Parent.Name == "CreatureBlobman" then return true end local comp = getBlobmanComponents() if not comp or not comp.Model or not comp.Seat then spawnBlobman() task.wait(0.5) comp = getBlobmanComponents() end if not (comp and comp.Seat) then return false end for i = 1, 20 do if hum.Sit and hum.SeatPart and hum.SeatPart.Parent.Name == "CreatureBlobman" then return true end pcall(function() comp.Seat:Sit(hum) end) task.wait(0.1) end return hum.Sit and hum.SeatPart and hum.SeatPart.Parent.Name == "CreatureBlobman" end -- ========================================================= -- FREE LOOK (H) -- ========================================================= local freeLookYaw = 0 local freeLookPitch = 0 local cameraScriptDisabledBackup = nil local transparencyBackup = {} local function setLocalCharacterVisible(visible) local char = LocalPlayer.Character if not char then return end if visible then for _, obj in ipairs(char:GetDescendants()) do if obj:IsA("BasePart") or obj:IsA("Decal") then if transparencyBackup[obj] == nil then transparencyBackup[obj] = obj.LocalTransparencyModifier end obj.LocalTransparencyModifier = 0 end end else for obj, oldValue in pairs(transparencyBackup) do if obj and obj.Parent then obj.LocalTransparencyModifier = oldValue end end table.clear(transparencyBackup) end end local function disableCameraScript() local ps = LocalPlayer:FindFirstChild("PlayerScripts") if not ps then return end local camScript = ps:FindFirstChild("CameraScript") if camScript then cameraScriptDisabledBackup = camScript.Disabled camScript.Disabled = true end end local function restoreCameraScript() local ps = LocalPlayer:FindFirstChild("PlayerScripts") if not ps then return end local camScript = ps:FindFirstChild("CameraScript") if camScript and cameraScriptDisabledBackup ~= nil then camScript.Disabled = cameraScriptDisabledBackup end cameraScriptDisabledBackup = nil end local function resetFreeLookAngles() local cam = getCamera() if not cam then return end local look = cam.CFrame.LookVector freeLookYaw = math.atan2(-look.X, -look.Z) freeLookPitch = math.asin(look.Y) end track(UserInputService.InputChanged:Connect(function(input, gameProcessed) if not Settings.FreeLook then return end if gameProcessed then return end if input.UserInputType == Enum.UserInputType.MouseMovement then freeLookYaw = freeLookYaw - input.Delta.X * 0.005 * Settings.FreeLookSensitivity freeLookPitch = freeLookPitch - input.Delta.Y * 0.005 * Settings.FreeLookSensitivity freeLookPitch = math.clamp(freeLookPitch, -math.rad(89), math.rad(89)) end end)) local freeLookBindingName = "FTAP_FreeLook" local function freeLookRender() if not Settings.FreeLook then return end local cam = getCamera() if not cam then return end local char = LocalPlayer.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") if not hrp then return end setLocalCharacterVisible(true) local focus = hrp.Position + Vector3.new(0, 1.5, 0) local rot = CFrame.fromEulerAnglesYXZ(freeLookPitch, freeLookYaw, 0) local camPos = focus + (rot.LookVector * -Settings.FreeLookDistance) cam.CFrame = CFrame.lookAt(camPos, focus) cam.CameraType = Enum.CameraType.Scriptable end RunService:BindToRenderStep(freeLookBindingName, Enum.RenderPriority.Camera.Value, freeLookRender) track(LocalPlayer.CharacterAdded:Connect(function(char) task.wait(0.5) if Settings.FreeLook then local hum = char:FindFirstChildOfClass("Humanoid") if hum then oldAutoRotate = hum.AutoRotate hum.AutoRotate = false end setLocalCharacterVisible(true) disableCameraScript() UserInputService.MouseBehavior = Enum.MouseBehavior.LockCenter end end)) -- ========================================================= -- UNLOAD (P) -- ========================================================= local function unload() if Unloaded then return end Unloaded = true Settings.AutoBlobman = false Settings.FreeLook = false Settings.AntiGrab = false Settings.GrabClones = false Zoom.Active = false Zoom.Held = false Zoom.Releasing = false pcall(function() RunService:UnbindFromRenderStep(freeLookBindingName) end) cleanupAntiGrab() for _, conn in ipairs(Connections) do pcall(function() conn:Disconnect() end) end Connections = {} for _, inst in ipairs(Instances) do pcall(function() inst:Destroy() end) end Instances = {} pcall(function() local camera = getCamera() if camera then camera.CameraType = Enum.CameraType.Custom end end) pcall(function() restoreCameraScript() end) pcall(function() setLocalCharacterVisible(false) end) pcall(function() local char = LocalPlayer.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum.AutoRotate = true hum.RequiresNeck = true end end) oldAutoRotate = nil pcall(function() UserInputService.MouseBehavior = Enum.MouseBehavior.Default end) if FOVModule and FOVModule.setDefault then pcall(FOVModule.setDefault) end pcall(function() StarterGui:SetCore("SendNotification", { Title = "FTAP Ultimate", Text = "Unloaded" }) end) end -- ========================================================= -- INPUT -- ========================================================= track(UserInputService.InputBegan:Connect(function(input, gameProcessed) if Unloaded then return end if gameProcessed then return end if input.KeyCode == Settings.UnloadKey then unload() return end -- Tab — моментальный спавн паллета if input.KeyCode == Settings.PalletKey then spawnPalletInstant() return end -- R — Релоад Аима (перезапуск поиска цели) if input.KeyCode == Settings.ReloadAimKey then reloadAim() return end if input.KeyCode == Settings.AntiGrabKey then Settings.AntiGrab = not Settings.AntiGrab if Settings.AntiGrab then AntiGrabFeature.enable() else AntiGrabFeature.disable() end StarterGui:SetCore("SendNotification", { Title = "Anti Grab", Text = Settings.AntiGrab and "ENABLED" or "DISABLED" }) return end if input.KeyCode == Settings.BlobmanKey then Settings.AutoBlobman = not Settings.AutoBlobman StarterGui:SetCore("SendNotification", { Title = "Auto Blobman", Text = Settings.AutoBlobman and "ENABLED" or "DISABLED" }) if Settings.AutoBlobman then task.spawn(function() while Settings.AutoBlobman and not Unloaded do sitOnBlobman() task.wait(0.5) end end) end return end if input.KeyCode == Settings.CloneKey then Settings.GrabClones = not Settings.GrabClones StarterGui:SetCore("SendNotification", { Title = "Clone Grab", Text = Settings.GrabClones and "ENABLED" or "DISABLED" }) return end if input.KeyCode == Settings.FreeLookKey then Settings.FreeLook = not Settings.FreeLook if Settings.FreeLook then resetFreeLookAngles() setLocalCharacterVisible(true) disableCameraScript() local char = LocalPlayer.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then oldAutoRotate = hum.AutoRotate hum.AutoRotate = false end local cam = getCamera() if cam then cam.CameraType = Enum.CameraType.Scriptable end UserInputService.MouseBehavior = Enum.MouseBehavior.LockCenter else setLocalCharacterVisible(false) restoreCameraScript() local char = LocalPlayer.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum and oldAutoRotate ~= nil then hum.AutoRotate = oldAutoRotate oldAutoRotate = nil end local cam = getCamera() if cam then cam.CameraType = Enum.CameraType.Custom end UserInputService.MouseBehavior = Enum.MouseBehavior.Default end StarterGui:SetCore("SendNotification", { Title = "Free Look", Text = Settings.FreeLook and "ENABLED" or "DISABLED" }) return end -- Q — Aim (КЛОНЫ → ИГРОКИ) if input.KeyCode == Settings.BindKey then local myRoot = getLocalRoot() if not myRoot then return end local myPos = myRoot.Position local target = nil if Settings.GrabClones then target = findClosestClone(myPos) end if not target then target = findClosestPlayer(myPos) end if isTargetValid(target) then aimAt(target) end end end)) print("[FTAP Ultimate + Island UI V5 + Zoom + Anti Grab + Pallet Spawn + Reload Aim] Successfully loaded!")