local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local LP = Players.LocalPlayer local Camera = workspace.CurrentCamera -- 設定保持 _G.AimbotConfigV8 = _G.AimbotConfigV8 or { Aimbot = false, ESP = false, InfJump = false, TeamCheck = true, Minimized = false, Position = UDim2.new(1, -170, 0.4, 0), FOV = 90 } local Config = _G.AimbotConfigV8 -------------------------------------------------- -- 音量控えめの指定クリック音 (ID: 102344989591358) -------------------------------------------------- local function PlayCustomSound() local s = Instance.new("Sound") s.SoundId = "rbxassetid://102344989591358" s.Volume = 0.4 -- 小さめの設定 s.Parent = LP.PlayerGui s:Play() s.Ended:Connect(function() s:Destroy() end) end -------------------------------------------------- -- ドラッグ機能 (iOS対応) -------------------------------------------------- local function MakeDraggable(frame) local dragging, dragInput, dragStart, startPos 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 end end) UserInputService.InputChanged:Connect(function(input) if (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) and dragging then 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) Config.Position = frame.Position end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false end end) end -------------------------------------------------- -- メインGUI構築 -------------------------------------------------- local function CreateMainGUI() if LP.PlayerGui:FindFirstChild("ZomAimbot_v8") then return end local gui = Instance.new("ScreenGui", LP.PlayerGui) gui.Name = "ZomAimbot_v8" gui.ResetOnSpawn = false local frame = Instance.new("Frame", gui) frame.Size = Config.Minimized and UDim2.fromOffset(150, 30) or UDim2.fromOffset(150, 195) frame.Position = Config.Position frame.BackgroundColor3 = Color3.fromRGB(15, 15, 15) frame.BackgroundTransparency = 0.1 Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 8) MakeDraggable(frame) local title = Instance.new("TextLabel", frame) title.Size = UDim2.new(0, 70, 0, 30); title.Position = UDim2.fromOffset(10, 0) title.Text = "SYSTEM V8.5"; title.TextColor3 = Color3.new(1, 1, 1) title.Font = Enum.Font.Code; title.TextXAlignment = Enum.TextXAlignment.Left; title.BackgroundTransparency = 1 local statusLabel = Instance.new("TextLabel", frame) statusLabel.Size = UDim2.new(0, 50, 0, 30); statusLabel.Position = UDim2.fromOffset(75, 0) statusLabel.BackgroundTransparency = 1; statusLabel.Font = Enum.Font.Code; statusLabel.TextSize = 12; statusLabel.RichText = true local function updateStatus() local aimC = Config.Aimbot and "#00FF00" or "#FF0000" local espC = Config.ESP and "#00FF00" or "#FF0000" statusLabel.Text = string.format("[A|E]", aimC, espC) end updateStatus() local minBtn = Instance.new("TextButton", frame) minBtn.Size = UDim2.fromOffset(25, 25); minBtn.Position = UDim2.new(1, -28, 0, 2) minBtn.Text = Config.Minimized and "+" or "-"; minBtn.TextColor3 = Color3.new(1, 1, 1) minBtn.BackgroundColor3 = Color3.fromRGB(40, 40, 40); Instance.new("UICorner", minBtn) local content = Instance.new("Frame", frame) content.Name = "content"; content.Size = UDim2.new(1, 0, 1, -30); content.Position = UDim2.fromOffset(0, 30) content.BackgroundTransparency = 1; content.Visible = not Config.Minimized minBtn.MouseButton1Click:Connect(function() Config.Minimized = not Config.Minimized frame:TweenSize(Config.Minimized and UDim2.fromOffset(150, 30) or UDim2.fromOffset(150, 195), "Out", "Quart", 0.2, true) minBtn.Text = Config.Minimized and "+" or "-" content.Visible = not Config.Minimized end) local function makeBtn(text, y, key) local btn = Instance.new("TextButton", content) btn.Size = UDim2.new(1, -16, 0, 30); btn.Position = UDim2.new(0, 8, 0, y) btn.BackgroundColor3 = Config[key] and Color3.fromRGB(40, 80, 40) or Color3.fromRGB(30, 30, 30) btn.Text = text; btn.TextColor3 = Color3.new(1, 1, 1); btn.Font = Enum.Font.SourceSansBold; Instance.new("UICorner", btn) btn.MouseButton1Click:Connect(function() PlayCustomSound() Config[key] = not Config[key] btn.BackgroundColor3 = Config[key] and Color3.fromRGB(40, 80, 40) or Color3.fromRGB(30, 30, 30) updateStatus() end) end makeBtn("AIMBOT", 5, "Aimbot") makeBtn("ESP", 40, "ESP") makeBtn("TEAM CHECK", 75, "TeamCheck") makeBtn("INF JUMP", 110, "InfJump") -- FOV local fovObj = Instance.new("Frame", gui) fovObj.Size = UDim2.fromOffset(Config.FOV*2, Config.FOV*2); fovObj.AnchorPoint = Vector2.new(0.5, 0.5); fovObj.Position = UDim2.fromScale(0.5, 0.5) fovObj.BackgroundTransparency = 1; local stroke = Instance.new("UIStroke", fovObj); stroke.Color = Color3.new(1, 1, 1); stroke.Thickness = 1.2 Instance.new("UICorner", fovObj).CornerRadius = UDim.new(1, 0) -- Aimbot & ESP Logic RunService.RenderStepped:Connect(function() fovObj.Visible = Config.Aimbot local target = nil; local center = Vector2.new(Camera.ViewportSize.X/2, Camera.ViewportSize.Y/2); local min2d = Config.FOV for _, p in ipairs(Players:GetPlayers()) do local isEnemy = not Config.TeamCheck or (p.Team ~= LP.Team) if p ~= LP and isEnemy and p.Character and p.Character:FindFirstChild("Head") and p.Character:FindFirstChildOfClass("Humanoid") and p.Character:FindFirstChildOfClass("Humanoid").Health > 0 then if Config.ESP then local h = p.Character:FindFirstChild("Highlight") or Instance.new("Highlight", p.Character); h.FillColor = Color3.new(1,0,0) elseif p.Character:FindFirstChild("Highlight") then p.Character.Highlight:Destroy() end if Config.Aimbot then local pos, vis = Camera:WorldToViewportPoint(p.Character.Head.Position) if vis then local d = (Vector2.new(pos.X, pos.Y) - center).Magnitude if d < min2d then min2d = d; target = p.Character.Head end end end elseif p.Character and p.Character:FindFirstChild("Highlight") then p.Character.Highlight:Destroy() end end if target then -- 予測エイム修正 local velocity = target.AssemblyLinearVelocity * 0.05 local predictedPos = target.Position + velocity Camera.CFrame = Camera.CFrame:Lerp(CFrame.new(Camera.CFrame.Position, predictedPos), 0.28) stroke.Color = Color3.new(1, 0, 0) else stroke.Color = Color3.new(1, 1, 1) end end) end -------------------------------------------------- -- 起動スプラッシュ画面 (toto作成) -------------------------------------------------- local function ShowSplash() local splashGui = Instance.new("ScreenGui", LP.PlayerGui) local bg = Instance.new("TextButton", splashGui) bg.Size = UDim2.fromScale(1, 1); bg.BackgroundColor3 = Color3.new(0, 0, 0); bg.BackgroundTransparency = 0.5; bg.Text = "" local info = Instance.new("TextLabel", bg) info.Size = UDim2.fromOffset(300, 180); info.Position = UDim2.fromScale(0.5, 0.5); info.AnchorPoint = Vector2.new(0.5, 0.5) info.BackgroundColor3 = Color3.fromRGB(20, 20, 20); info.TextColor3 = Color3.new(1, 1, 1) info.Font = Enum.Font.Code; info.TextSize = 14; info.RichText = true info.Text = "SYSTEM V8.5 | LOADED\n\n- AIMBOT (Precision)\n- ESP (Highlight)\n- TEAM CHECK (Toggle)\n- INF JUMP\n\ntoto作成\n\n[ TAP TO START ]" Instance.new("UICorner", info) bg.MouseButton1Click:Connect(function() splashGui:Destroy(); CreateMainGUI() end) end ShowSplash()