-- DELTA FLY V4 -- Mobil joystick + gerçek uçuş fiziği local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UIS = game:GetService("UserInputService") local player = Players.LocalPlayer local camera = workspace.CurrentCamera local speed = 60 local flying = false local vertical = 0 local bv, bg, connection local gui = Instance.new("ScreenGui") gui.Name = "DeltaFlyV4" gui.ResetOnSpawn = false gui.Parent = player:WaitForChild("PlayerGui") local frame = Instance.new("Frame") frame.Size = UDim2.fromOffset(310,140) frame.Position = UDim2.new(0,15,0.4,0) frame.BackgroundColor3 = Color3.fromRGB(235,235,235) frame.BorderSizePixel = 2 frame.Parent = gui local function makeButton(text,x,y,w,h,color) local b = Instance.new("TextButton") b.Position = UDim2.fromOffset(x,y) b.Size = UDim2.fromOffset(w,h) b.Text = text b.TextScaled = true b.BackgroundColor3 = color or Color3.new(1,1,1) b.Parent = frame return b end local close = makeButton("X",0,0,75,42,Color3.fromRGB(255,40,40)) local up = makeButton("↑",0,42,75,42) local down = makeButton("↓",0,84,75,42) local plus = makeButton("+",75,42,65,42) local minus = makeButton("-",75,84,65,42) local speedLabel = makeButton("60",140,84,65,42) local fly = makeButton("FLY",205,84,105,42) local function stopFly() flying = false vertical = 0 if connection then connection:Disconnect() connection = nil end if bv then bv:Destroy() bv = nil end if bg then bg:Destroy() bg = nil end fly.Text = "FLY" end local function startFly() local char = player.Character local hum = char and char:FindFirstChildOfClass("Humanoid") local root = char and char:FindFirstChild("HumanoidRootPart") if not hum or not root then return end stopFly() flying = true bv = Instance.new("BodyVelocity") bv.MaxForce = Vector3.new(1e7,1e7,1e7) bv.P = 20000 bv.Velocity = Vector3.zero bv.Parent = root bg = Instance.new("BodyGyro") bg.MaxTorque = Vector3.new(1e7,1e7,1e7) bg.P = 20000 bg.D = 500 bg.Parent = root fly.Text = "FLY ON" connection = RunService.Heartbeat:Connect(function() if not root.Parent or not hum.Parent then stopFly() return end -- Joystick yönü local move = hum.MoveDirection -- Yukarı/aşağı kontrolü local velocity = move * speed velocity += Vector3.new(0, vertical * speed, 0) bv.Velocity = velocity -- Kamera yönüne göre karakterin dönüşü local look = camera.CFrame.LookVector bg.CFrame = CFrame.lookAt( root.Position, root.Position + look ) end) end fly.Activated:Connect(function() if flying then stopFly() else startFly() end end) plus.Activated:Connect(function() speed = math.min(speed + 10,300) speedLabel.Text = tostring(speed) end) minus.Activated:Connect(function() speed = math.max(speed - 10,10) speedLabel.Text = tostring(speed) end) local function hold(button,value) button.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then vertical = value end end) button.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.Touch or input.UserInputType == Enum.UserInputType.MouseButton1 then vertical = 0 end end) end hold(up,1) hold(down,-1) close.Activated:Connect(function() stopFly() gui:Destroy() end) player.CharacterAdded:Connect(function() stopFly() end)