-- DELTA سكربت حساني - Compact Final Version 2025 local screen = Instance.new("ScreenGui") local frame = Instance.new("Frame") local xButton = Instance.new("TextButton") local upButton = Instance.new("TextButton") local downButton = Instance.new("TextButton") local minus1Button = Instance.new("TextButton") local plusButton = Instance.new("TextButton") local minus2Button = Instance.new("TextButton") local speedText = Instance.new("TextBox") local flyButton = Instance.new("TextButton") local titleLabel = Instance.new("TextLabel") -- Parent Setup screen.Parent = game.CoreGui frame.Parent = screen frame.Size = UDim2.new(0, 200, 0, 100) -- Small, compact size frame.Position = UDim2.new(0.8, -200, 0.4, 0) -- Positioned to the right side frame.BackgroundColor3 = Color3.fromRGB(150, 150, 150) -- Grey border color frame.Active = true frame.Draggable = true -- X Button (Red) xButton.Parent = frame xButton.Position = UDim2.new(0, 0, 0, 0) xButton.Size = UDim2.new(0.15, 0, 0.333, 0) xButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0) xButton.Text = "X" -- Minus 1 Button (Purple) - Function: Decrease Speed by 10 minus1Button.Parent = frame minus1Button.Position = UDim2.new(0.15, 0, 0, 0) minus1Button.Size = UDim2.new(0.2, 0, 0.333, 0) minus1Button.BackgroundColor3 = Color3.fromRGB(153, 102, 255) minus1Button.Text = "-" -- سكربت حساني Title (Magenta) titleLabel.Parent = frame titleLabel.Position = UDim2.new(0.35, 0, 0, 0) titleLabel.Size = UDim2.new(0.65, 0, 0.666, 0) titleLabel.BackgroundColor3 = Color3.fromRGB(255, 0, 255) titleLabel.Text = "" titleLabel.Font = Enum.Font.GothamBold titleLabel.TextSize = 20 -- Slightly smaller text for compact size titleLabel.TextColor3 = Color3.fromRGB(0, 0, 0) -- UP Button (Green) - Function: Increase Speed by 10 upButton.Parent = frame upButton.Position = UDim2.new(0, 0, 0.333, 0) upButton.Size = UDim2.new(0.15, 0, 0.333, 0) upButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0) upButton.Text = "UP" -- Plus Button (Blue) - Function: Increase Speed by 1 plusButton.Parent = frame plusButton.Position = UDim2.new(0.15, 0, 0.333, 0) plusButton.Size = UDim2.new(0.2, 0, 0.333, 0) plusButton.BackgroundColor3 = Color3.fromRGB(102, 153, 255) plusButton.Text = "+" -- DOWN Button (Cyan) - Function: Decrease Speed by 10 downButton.Parent = frame downButton.Position = UDim2.new(0, 0, 0.666, 0) downButton.Size = UDim2.new(0.15, 0, 0.333, 0) downButton.BackgroundColor3 = Color3.fromRGB(0, 255, 255) downButton.Text = "DOWN" -- Minus 2 Button (Cyan) - Function: Decrease Speed by 1 minus2Button.Parent = frame minus2Button.Position = UDim2.new(0.15, 0, 0.666, 0) minus2Button.Size = UDim2.new(0.2, 0, 0.333, 0) minus2Button.BackgroundColor3 = Color3.fromRGB(0, 255, 255) minus2Button.Text = "-" -- Speed Input (Orange, default value 50) speedText.Parent = frame speedText.Position = UDim2.new(0.35, 0, 0.666, 0) speedText.Size = UDim2.new(0.2, 0, 0.333, 0) speedText.BackgroundColor3 = Color3.fromRGB(255, 153, 0) speedText.Text = "1" speedText.PlaceholderText = "S" speedText.TextColor3 = Color3.fromRGB(0, 0, 0) -- Fly Button (Yellow) flyButton.Parent = frame flyButton.Position = UDim2.new(0.55, 0, 0.666, 0) flyButton.Size = UDim2.new(0.45, 0, 0.333, 0) flyButton.BackgroundColor3 = Color3.fromRGB(255, 255, 0) flyButton.Text = "fly" flyButton.TextColor3 = Color3.fromRGB(0, 0, 0) -- Logic Implementation (Same reliable logic as before) local player = game.Players.LocalPlayer local char = player.Character or player.CharacterAdded:Wait() local root = char:WaitForChild("HumanoidRootPart") local flying = false local bv = Instance.new("BodyVelocity") local bg = Instance.new("BodyGyro") bv.MaxForce = Vector3.new(9e9, 9e9, 9e9) bg.MaxTorque = Vector3.new(9e9, 9e9, 9e9) bg.P = 90000 local function updateVelocity() if flying and char and root then local speed = tonumber(speedText.Text) or 50 bg.CFrame = workspace.CurrentCamera.CFrame char.Humanoid.PlatformStand = true local moveDir = char.Humanoid.MoveDirection if moveDir.Magnitude > 0 then bv.Velocity = workspace.CurrentCamera.CFrame.LookVector * speed else bv.Velocity = Vector3.new(0, 0.1, 0) end end end game:GetService("RunService").RenderStepped:Connect(updateVelocity) flyButton.MouseButton1Click:Connect(function() flying = not flying if flying then flyButton.BackgroundColor3 = Color3.fromRGB(0, 200, 0) bv.Parent = root bg.Parent = root else flyButton.BackgroundColor3 = Color3.fromRGB(255, 255, 0) bv.Parent = nil bg.Parent = nil char.Humanoid.PlatformStand = false end end) xButton.MouseButton1Click:Connect(function() if flying then flyButton.MouseButton1Click:Invoke() end frame:Destroy() end) -- Speed adjustment buttons logic upButton.MouseButton1Click:Connect(function() speedText.Text = tostring( (tonumber(speedText.Text) or 1) + 10 ) end) minus1Button.MouseButton1Click:Connect(function() speedText.Text = tostring( math.max(1, (tonumber(speedText.Text) or 1) - 10) ) end) plusButton.MouseButton1Click:Connect(function() speedText.Text = tostring( (tonumber(speedText.Text) or 1) + 1 ) end) downButton.MouseButton1Click:Connect(function() speedText.Text = tostring( math.max(1, (tonumber(speedText.Text) or 1) - 10) ) end) minus2Button.MouseButton1Click:Connect(function() speedText.Text = tostring( math.max(1, (tonumber(speedText.Text) or 1) - 1) ) end)