-- [[ ajNUr_deV FLY MODULE ]] -- local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer local Mouse = LocalPlayer:GetMouse() local flying = false local flySpeed = 50 local bv, bg -- BodyVelocity i BodyGyro local screenGui = Instance.new("ScreenGui", LocalPlayer.PlayerGui) screenGui.Name = "ajNUr_Fly" -- UI Dizajn (Gore lijevo, ispod Speeda) local mainFrame = Instance.new("Frame", screenGui) mainFrame.Size = UDim2.new(0, 220, 0, 80) mainFrame.Position = UDim2.new(0, 20, 0, 140) -- Postavljeno niže da se ne sudara sa Speed GUI mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 25) mainFrame.BackgroundTransparency = 0.1 Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 10) local title = Instance.new("TextLabel", mainFrame) title.Size = UDim2.new(1, 0, 0, 30) title.Text = "ajNUr_deV FLY" title.TextColor3 = Color3.fromRGB(0, 255, 255) -- Svjetlo plava za Fly title.Font = Enum.Font.GothamBold title.BackgroundTransparency = 1 local statusLabel = Instance.new("TextLabel", mainFrame) statusLabel.Size = UDim2.new(1, 0, 0, 30) statusLabel.Position = UDim2.new(0, 0, 0.4, 0) statusLabel.Text = "Status: OFF (Press F)" statusLabel.TextColor3 = Color3.fromRGB(200, 200, 200) statusLabel.Font = Enum.Font.Gotham statusLabel.BackgroundTransparency = 1 -- FUNKCIJA ZA LETENJE local function startFly() local char = LocalPlayer.Character if not char or not char:FindFirstChild("HumanoidRootPart") then return end flying = true statusLabel.Text = "Status: ON" statusLabel.TextColor3 = Color3.fromRGB(0, 255, 0) local root = char.HumanoidRootPart local hum = char.Humanoid hum.PlatformStand = true -- Isključuje hodanje dok letiš bv = Instance.new("BodyVelocity", root) bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge) bv.Velocity = Vector3.new(0, 0, 0) bg = Instance.new("BodyGyro", root) bg.MaxTorque = Vector3.new(math.huge, math.huge, math.huge) bg.CFrame = root.CFrame spawn(function() while flying do RunService.RenderStepped:Wait() local cam = workspace.CurrentCamera.CFrame local dir = Vector3.new(0, 0, 0) if UserInputService:IsKeyDown(Enum.KeyCode.W) then dir = dir + cam.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.S) then dir = dir - cam.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.A) then dir = dir - cam.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.D) then dir = dir + cam.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.Space) then dir = dir + Vector3.new(0, 1, 0) end if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then dir = dir - Vector3.new(0, 1, 0) end bv.Velocity = dir * flySpeed bg.CFrame = cam end end) end local function stopFly() flying = false statusLabel.Text = "Status: OFF (Press F)" statusLabel.TextColor3 = Color3.fromRGB(200, 200, 200) if bv then bv:Destroy() end if bg then bg:Destroy() end if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then LocalPlayer.Character.Humanoid.PlatformStand = false end end -- KONTROLE UserInputService.InputBegan:Connect(function(input, gpe) if gpe then return end if input.KeyCode == Enum.KeyCode.F then if flying then stopFly() else startFly() end elseif input.KeyCode == Enum.KeyCode.Insert then mainFrame.Visible = not mainFrame.Visible end end) -- Povećanje/Smanjenje brzine leta na točkić miša Mouse.WheelForward:Connect(function() flySpeed = math.min(flySpeed + 10, 500) end) Mouse.WheelBackward:Connect(function() flySpeed = math.max(flySpeed - 10, 10) end) print("✅ ajNUr_deV Fly Loaded! Press F to Fly.")