--[[ I created simple fly because I was bored, so don't expect anything big! What can simple fly do? You can fly with it. And it looks awesome. If you have any questions, ask me. ]] -- Generated using RoadToGlory's Converter v1.1 (RoadToGlory#9879) -- Instances: local Converted = { ["_SimpelFly"] = Instance.new("ScreenGui"); ["_Main"] = Instance.new("Frame"); ["_LocalScript"] = Instance.new("LocalScript"); ["_UICorner"] = Instance.new("UICorner"); ["_Title"] = Instance.new("TextLabel"); ["_TextButton"] = Instance.new("TextButton"); ["_LocalScript1"] = Instance.new("LocalScript"); ["_UICorner1"] = Instance.new("UICorner"); ["_Frame"] = Instance.new("Frame"); ["_UICorner2"] = Instance.new("UICorner"); ["_version"] = Instance.new("TextLabel"); } -- Properties: Converted["_SimpelFly"].ZIndexBehavior = Enum.ZIndexBehavior.Sibling Converted["_SimpelFly"].Name = "SimpelFly" Converted["_SimpelFly"].Parent = game:GetService("CoreGui") Converted["_Main"].BackgroundColor3 = Color3.fromRGB(39.00000147521496, 39.00000147521496, 39.00000147521496) Converted["_Main"].BorderColor3 = Color3.fromRGB(0, 0, 0) Converted["_Main"].BorderSizePixel = 0 Converted["_Main"].Position = UDim2.new(0.0860889405, 0, 0.36740011, 0) Converted["_Main"].Size = UDim2.new(0, 263, 0, 94) Converted["_Main"].Name = "Main" Converted["_Main"].Parent = Converted["_SimpelFly"] Converted["_UICorner"].Parent = Converted["_Main"] Converted["_Title"].Font = Enum.Font.SourceSans Converted["_Title"].Text = "Simple fly" Converted["_Title"].TextColor3 = Color3.fromRGB(214.00000244379044, 214.00000244379044, 214.00000244379044) Converted["_Title"].TextSize = 14 Converted["_Title"].BackgroundColor3 = Color3.fromRGB(27.000000290572643, 27.000000290572643, 27.000000290572643) Converted["_Title"].BorderColor3 = Color3.fromRGB(0, 0, 0) Converted["_Title"].BorderSizePixel = 0 Converted["_Title"].Size = UDim2.new(0, 263, 0, 26) Converted["_Title"].Name = "Title" Converted["_Title"].Parent = Converted["_Main"] Converted["_TextButton"].Font = Enum.Font.SourceSans Converted["_TextButton"].Text = "Loading . . ." Converted["_TextButton"].TextColor3 = Color3.fromRGB(214.00000244379044, 214.00000244379044, 214.00000244379044) Converted["_TextButton"].TextScaled = true Converted["_TextButton"].TextSize = 14 Converted["_TextButton"].TextStrokeColor3 = Color3.fromRGB(214.00000244379044, 214.00000244379044, 214.00000244379044) Converted["_TextButton"].TextWrapped = true Converted["_TextButton"].BackgroundColor3 = Color3.fromRGB(27.000000290572643, 27.000000290572643, 27.000000290572643) Converted["_TextButton"].BorderColor3 = Color3.fromRGB(0, 0, 0) Converted["_TextButton"].BorderSizePixel = 0 Converted["_TextButton"].Position = UDim2.new(0.319391638, 0, 0.382978737, 0) Converted["_TextButton"].Size = UDim2.new(0, 95, 0, 35) Converted["_TextButton"].Parent = Converted["_Main"] Converted["_UICorner1"].Parent = Converted["_TextButton"] Converted["_Frame"].BackgroundColor3 = Color3.fromRGB(255, 255, 255) Converted["_Frame"].BackgroundTransparency = 0.800000011920929 Converted["_Frame"].BorderColor3 = Color3.fromRGB(0, 0, 0) Converted["_Frame"].BorderSizePixel = 0 Converted["_Frame"].Position = UDim2.new(0.0304182507, 0, 0.819148958, 0) Converted["_Frame"].Size = UDim2.new(0, 240, 0, 5) Converted["_Frame"].Parent = Converted["_Main"] Converted["_UICorner2"].Parent = Converted["_Frame"] Converted["_version"].Font = Enum.Font.SourceSans Converted["_version"].Text = "0.1" Converted["_version"].TextColor3 = Color3.fromRGB(214.00000244379044, 214.00000244379044, 214.00000244379044) Converted["_version"].TextSize = 14 Converted["_version"].BackgroundColor3 = Color3.fromRGB(27.000000290572643, 27.000000290572643, 27.000000290572643) Converted["_version"].BackgroundTransparency = 1 Converted["_version"].BorderColor3 = Color3.fromRGB(0, 0, 0) Converted["_version"].BorderSizePixel = 0 Converted["_version"].Position = UDim2.new(0.90114069, 0, 0, 0) Converted["_version"].Size = UDim2.new(0, 26, 0, 26) Converted["_version"].Name = "version" Converted["_version"].Parent = Converted["_Main"] -- Fake Module Scripts: local fake_module_scripts = {} -- Fake Local Scripts: local function OJSJ_fake_script() -- Fake Script: StarterGui.SimpelFly.Main.LocalScript local script = Instance.new("LocalScript") script.Name = "LocalScript" script.Parent = Converted["_Main"] local req = require local require = function(obj) local fake = fake_module_scripts[obj] if fake then return fake() end return req(obj) end local UIS = game:GetService('UserInputService') local TweenService = game:GetService('TweenService') local frame = script.Parent local dragToggle = nil local dragSpeed = 0.25 local dragStart = nil local startPos = nil local function updateInput(input) local delta = input.Position - dragStart local position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) TweenService:Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play() end frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragToggle = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragToggle = false end end) end end) UIS.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then if dragToggle then updateInput(input) end end end) end local function BWOZZUK_fake_script() -- Fake Script: StarterGui.SimpelFly.Main.TextButton.LocalScript local script = Instance.new("LocalScript") script.Name = "LocalScript" script.Parent = Converted["_TextButton"] local req = require local require = function(obj) local fake = fake_module_scripts[obj] if fake then return fake() end return req(obj) end local player = game.Players.LocalPlayer local UIS = game:GetService("UserInputService") local RunService = game:GetService("RunService") local button = script.Parent local flying = false local flySpeed = 150 local vertical = 0 local function toggleText() button.Text = flying and "Fly ON" or "Fly OFF" end UIS.InputBegan:Connect(function(input, gameProcessed) if gameProcessed then return end if input.KeyCode == Enum.KeyCode.E then vertical = 1 elseif input.KeyCode == Enum.KeyCode.Q then vertical = -1 end end) UIS.InputEnded:Connect(function(input) if input.KeyCode == Enum.KeyCode.E or input.KeyCode == Enum.KeyCode.Q then vertical = 0 end end) local function startFly() local char = player.Character or player.CharacterAdded:Wait() local hrp = char:WaitForChild("HumanoidRootPart") local hum = char:WaitForChild("Humanoid") local bv = Instance.new("BodyVelocity") bv.Name = "FlyVelocity" bv.MaxForce = Vector3.new(1,1,1) * 1e9 bv.Velocity = Vector3.zero bv.Parent = hrp local bg = Instance.new("BodyGyro") bg.Name = "FlyGyro" bg.MaxTorque = Vector3.new(1,1,1) * 1e9 bg.CFrame = hrp.CFrame bg.P = 10000 bg.Parent = hrp hum.PlatformStand = true local conn conn = RunService.RenderStepped:Connect(function() if not flying or not hrp or not hrp.Parent then bv:Destroy() bg:Destroy() hum.PlatformStand = false conn:Disconnect() return end local camCF = workspace.CurrentCamera.CFrame local direction = Vector3.zero if UIS:IsKeyDown(Enum.KeyCode.W) then direction = direction + camCF.LookVector end if UIS:IsKeyDown(Enum.KeyCode.S) then direction = direction - camCF.LookVector end if UIS:IsKeyDown(Enum.KeyCode.A) then direction = direction - camCF.RightVector end if UIS:IsKeyDown(Enum.KeyCode.D) then direction = direction + camCF.RightVector end direction = direction + Vector3.new(0, vertical, 0) if direction.Magnitude > 0 then bv.Velocity = direction.Unit * flySpeed else bv.Velocity = Vector3.zero end bg.CFrame = camCF end) end button.MouseButton1Click:Connect(function() flying = not flying toggleText() if flying then startFly() end end) toggleText() end coroutine.wrap(OJSJ_fake_script)() coroutine.wrap(BWOZZUK_fake_script)()