-- // GOKU ULTIMATE v11.0 // -- -- Fixes: Procedural Power-up, Toggling, 360 Fly, IT Effects local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local player = Players.LocalPlayer local State = { Flying = false, Kaio = 0, Knockback = false, Speed = 130 } local Physics = { V = nil, G = nil } -- // UI SETUP // -- local sg = Instance.new("ScreenGui", player:WaitForChild("PlayerGui")) sg.Name = "GokuV11"; sg.ResetOnSpawn = false local main = Instance.new("Frame", sg) main.Size = UDim2.fromOffset(220, 300) main.Position = UDim2.new(0.5, -110, 0.4, 0) main.BackgroundColor3 = Color3.fromRGB(255, 80, 0) main.Active = true Instance.new("UICorner", main) local toggle = Instance.new("TextButton", sg) toggle.Size = UDim2.fromOffset(50, 50) toggle.Position = UDim2.new(0, 10, 0.5, -25) toggle.Text = "Z"; toggle.BackgroundColor3 = Color3.new(0,0,0) toggle.TextColor3 = Color3.new(1,1,1); toggle.Font = Enum.Font.GothamBold Instance.new("UICorner", toggle).CornerRadius = UDim.new(1, 0) toggle.MouseButton1Click:Connect(function() main.Visible = not main.Visible end) -- // PROCEDURAL ANIMATION & AURA // -- local function PlayPowerEffect(level) local char = player.Character local root = char and char:FindFirstChild("HumanoidRootPart") if not root then return end -- Aura Highlight local h = char:FindFirstChild("Z_Aura") or Instance.new("Highlight", char) h.Name = "Z_Aura" h.FillColor = Color3.new(1, 0, 0) h.FillTransparency = (level == 3) and 0.2 or 0.5 -- Charging Animation (Shake & Pulse) task.spawn(function() for i = 1, 30 do local shake = Vector3.new(math.random(-15,15)/100, math.random(-15,15)/100, math.random(-15,15)/100) root.CFrame *= CFrame.new(shake) if i % 6 == 0 then local ring = Instance.new("Part", workspace) ring.Shape = Enum.PartType.Ball; ring.Material = Enum.Material.Neon ring.Color = Color3.new(1, 0.2, 0.2); ring.Transparency = 0.5 ring.Anchored = true; ring.CanCollide = false ring.Position = root.Position; ring.Size = Vector3.new(2,2,2) TweenService:Create(ring, TweenInfo.new(0.4), {Size = Vector3.new(12,12,12), Transparency = 1}):Play() game.Debris:AddItem(ring, 0.4) end RunService.RenderStepped:Wait() end end) end -- // INSTANT TRANSMISSION EFFECTS // -- local function PlayITEffect(pos) local s = Instance.new("Sound", workspace) s.SoundId = "rbxassetid://4595238902"; s.Volume = 2; s:Play() game.Debris:AddItem(s, 2) local p = Instance.new("Part", workspace) p.Size = Vector3.new(1,1,1); p.CFrame = CFrame.new(pos) p.Anchored = true; p.CanCollide = false; p.Material = Enum.Material.Neon p.Color = Color3.new(0.4, 0.7, 1); p.Shape = Enum.PartType.Ball TweenService:Create(p, TweenInfo.new(0.3), {Size = Vector3.new(15,15,15), Transparency = 1}):Play() game.Debris:AddItem(p, 0.3) end -- // CORE RENDER LOOP // -- RunService.RenderStepped:Connect(function() local char = player.Character local hum = char and char:FindFirstChildOfClass("Humanoid") local root = char and char:FindFirstChild("HumanoidRootPart") local cam = workspace.CurrentCamera -- Working Look-to-Steer Flight if State.Flying and Physics.V and Physics.G and root then Physics.G.CFrame = cam.CFrame Physics.V.Velocity = (hum.MoveDirection.Magnitude > 0) and (cam.CFrame.LookVector * State.Speed) or Vector3.zero end -- Kaio x3 Ghosting (Fades red outlines) if State.Kaio == 3 and hum and hum.MoveDirection.Magnitude > 0 and math.random(1,4) == 1 then local g = Instance.new("Part", workspace) g.Size = root.Size; g.CFrame = root.CFrame; g.Anchored = true; g.CanCollide = false g.Color = Color3.new(1,0,0); g.Material = Enum.Material.Neon; g.Transparency = 0.5 TweenService:Create(g, TweenInfo.new(0.4), {Transparency = 1}):Play() game.Debris:AddItem(g, 0.4) end end) -- // BUTTON HELPERS // -- local function AddBtn(txt, y, func) local b = Instance.new("TextButton", main) b.Size = UDim2.new(0.9, 0, 0.15, 0); b.Position = UDim2.new(0.05, 0, y, 0) b.Text = txt; b.Font = Enum.Font.GothamBold; b.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1) b.TextColor3 = Color3.new(1,1,1); b.MouseButton1Click:Connect(func) Instance.new("UICorner", b) end AddBtn("FLY (LOOK-STEER)", 0.05, function() State.Flying = not State.Flying local root = player.Character.HumanoidRootPart if State.Flying then player.Character.Humanoid.PlatformStand = true Physics.V = Instance.new("BodyVelocity", root); Physics.V.MaxForce = Vector3.one * 1e7 Physics.G = Instance.new("BodyGyro", root); Physics.G.MaxTorque = Vector3.one * 1e7 else player.Character.Humanoid.PlatformStand = false if Physics.V then Physics.V:Destroy() end if Physics.G then Physics.G:Destroy() end end end) AddBtn("KAIO-KEN x1", 0.22, function() local char = player.Character if State.Kaio == 1 then -- Toggle Off State.Kaio = 0; char.Humanoid.WalkSpeed = 16 if char:FindFirstChild("Z_Aura") then char.Z_Aura:Destroy() end else -- Toggle On State.Kaio = 1; char.Humanoid.WalkSpeed = 45 PlayPowerEffect(1) end end) AddBtn("KAIO-KEN x3", 0.39, function() local char = player.Character if State.Kaio == 3 then -- Toggle Off State.Kaio = 0; char.Humanoid.WalkSpeed = 16; char.Humanoid.JumpPower = 50 if char:FindFirstChild("Z_Aura") then char.Z_Aura:Destroy() end else -- Toggle On State.Kaio = 3; char.Humanoid.WalkSpeed = 90; char.Humanoid.JumpPower = 180 PlayPowerEffect(3) end end) AddBtn("10X KNOCKBACK", 0.56, function() State.Knockback = not State.Knockback end) AddBtn("IT TOOL", 0.73, function() local t = Instance.new("Tool", player.Backpack); t.Name = "Instant Transmission"; t.RequiresHandle = false t.Activated:Connect(function() local mousePos = player:GetMouse().Hit.Position PlayITEffect(player.Character.HumanoidRootPart.Position) player.Character:MoveTo(mousePos + Vector3.new(0,5,0)) task.wait(0.05); PlayITEffect(mousePos) end) end) -- Draggable Logic local d, s, p main.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch then d = true; s = i.Position; p = main.Position i.Changed:Connect(function() if i.UserInputState == Enum.UserInputState.End then d = false end end) end end) UserInputService.InputChanged:Connect(function(i) if d and (i.UserInputType == Enum.UserInputType.MouseMovement or i.UserInputType == Enum.UserInputType.Touch) then local delta = i.Position - s main.Position = UDim2.new(p.X.Scale, p.X.Offset + delta.X, p.Y.Scale, p.Y.Offset + delta.Y) end end) -- Tap-to-Knockback UserInputService.InputBegan:Connect(function(i, proc) if not proc and State.Knockback and (i.UserInputType == Enum.UserInputType.MouseButton1 or i.UserInputType == Enum.UserInputType.Touch) then for _, p in ipairs(Players:GetPlayers()) do if p ~= player and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then local tRoot = p.Character.HumanoidRootPart if (player.Character.HumanoidRootPart.Position - tRoot.Position).Magnitude < 15 then local dir = (tRoot.Position - player.Character.HumanoidRootPart.Position).Unit tRoot.AssemblyLinearVelocity = (dir + Vector3.new(0, 1.2, 0)) * 350 end end end end end)