--[=[ made by espresso! d888b db db d888888b .d888b. db db db .d8b. 88' Y8b 88 88 `88' VP `8D 88 88 88 d8' `8b 88 88 88 88 odD' 88 88 88 88ooo88 88 ooo 88 88 88 .88' 88 88 88 88~~~88 88. ~8~ 88b d88 .88. j88. 88booo. 88b d88 88 88 @uniquadev Y888P ~Y8888P' Y888888P 888888D Y88888P ~Y8888P' YP YP CONVERTER ]=] -- Instances: 13 | Scripts: 1 | Modules: 0 | Tags: 0 local G2L = {}; -- StarterGui.FlyGui G2L["1"] = Instance.new("ScreenGui", game:GetService("CoreGui").RobloxGui); G2L["1"]["Name"] = [[FlyGui]]; G2L["1"]["ZIndexBehavior"] = Enum.ZIndexBehavior.Sibling; G2L["1"]["ResetOnSpawn"] = false; -- StarterGui.FlyGui.Frame G2L["2"] = Instance.new("Frame", G2L["1"]); G2L["2"]["BorderSizePixel"] = 0; G2L["2"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255); G2L["2"]["Size"] = UDim2.new(0.25, 0, 0.25, 0); G2L["2"]["Position"] = UDim2.new(0.49784, 0, 0.254, 0); G2L["2"]["BorderColor3"] = Color3.fromRGB(0, 0, 0); -- StarterGui.FlyGui.Frame.TextButton G2L["3"] = Instance.new("TextButton", G2L["2"]); G2L["3"]["TextWrapped"] = true; G2L["3"]["TextStrokeTransparency"] = 0; G2L["3"]["BorderSizePixel"] = 0; G2L["3"]["TextSize"] = 14; G2L["3"]["TextScaled"] = true; G2L["3"]["TextColor3"] = Color3.fromRGB(255, 255, 255); G2L["3"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255); G2L["3"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal); G2L["3"]["Size"] = UDim2.new(0.66154, 0, 0.33077, 0); G2L["3"]["BorderColor3"] = Color3.fromRGB(0, 0, 0); G2L["3"]["Text"] = [[Loading...]]; G2L["3"]["Position"] = UDim2.new(0.13875, 0, 0.12386, 0); -- StarterGui.FlyGui.Frame.TextButton.UICorner G2L["4"] = Instance.new("UICorner", G2L["3"]); G2L["4"]["CornerRadius"] = UDim.new(0, 15); -- StarterGui.FlyGui.Frame.TextButton.LocalScript G2L["5"] = Instance.new("LocalScript", G2L["3"]); -- StarterGui.FlyGui.Frame.TextButton.UIStroke G2L["6"] = Instance.new("UIStroke", G2L["3"]); G2L["6"]["Thickness"] = 3; G2L["6"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border; -- StarterGui.FlyGui.Frame.TextBox G2L["7"] = Instance.new("TextBox", G2L["2"]); G2L["7"]["PlaceholderColor3"] = Color3.fromRGB(113, 113, 113); G2L["7"]["BorderSizePixel"] = 0; G2L["7"]["TextWrapped"] = true; G2L["7"]["TextSize"] = 14; G2L["7"]["TextColor3"] = Color3.fromRGB(0, 0, 0); G2L["7"]["TextScaled"] = true; G2L["7"]["BackgroundColor3"] = Color3.fromRGB(196, 196, 196); G2L["7"]["FontFace"] = Font.new([[rbxasset://fonts/families/SourceSansPro.json]], Enum.FontWeight.Regular, Enum.FontStyle.Normal); G2L["7"]["MaxVisibleGraphemes"] = 3; G2L["7"]["PlaceholderText"] = [[Fly Speed]]; G2L["7"]["Size"] = UDim2.new(0.9, 0, 0.35, 0); G2L["7"]["Position"] = UDim2.new(0.04639, 0, 0.57529, 0); G2L["7"]["BorderColor3"] = Color3.fromRGB(0, 0, 0); G2L["7"]["Text"] = [[5]]; -- StarterGui.FlyGui.Frame.TextBox.UICorner G2L["8"] = Instance.new("UICorner", G2L["7"]); G2L["8"]["CornerRadius"] = UDim.new(0, 15); -- StarterGui.FlyGui.Frame.TextBox.UIStroke G2L["9"] = Instance.new("UIStroke", G2L["7"]); G2L["9"]["Thickness"] = 3; G2L["9"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border; -- StarterGui.FlyGui.Frame.UICorner G2L["a"] = Instance.new("UICorner", G2L["2"]); G2L["a"]["CornerRadius"] = UDim.new(0, 15); -- StarterGui.FlyGui.Frame.UIStroke G2L["b"] = Instance.new("UIStroke", G2L["2"]); G2L["b"]["Thickness"] = 3; G2L["b"]["ApplyStrokeMode"] = Enum.ApplyStrokeMode.Border; -- StarterGui.FlyGui.Frame.UIDragDetector G2L["c"] = Instance.new("UIDragDetector", G2L["2"]); -- [ERROR] cannot convert ReferenceUIInstance, please report to "https://github.com/uniquadev/GuiToLuaConverter/issues" -- StarterGui.FlyGui.UICorner G2L["d"] = Instance.new("UICorner", G2L["1"]); G2L["d"]["CornerRadius"] = UDim.new(0, 15); -- StarterGui.FlyGui.Frame.TextButton.LocalScript local function C_5() local script = G2L["5"]; -- made by espresso too lol -- settings flying = false defaultflyspeed = 5 -- customization task.spawn(function() while task.wait() do if flying == false then script.Parent.Text = "Fly" elseif flying == true then script.Parent.Text = "UnFly" end end end) task.spawn(function() while task.wait(0.15) do if flying == true then script.Parent.BackgroundColor3 = Color3.fromRGB(math.random(100,255),math.random(100,255),math.random(100,255)) else script.Parent.BackgroundColor3 = Color3.fromRGB(math.random(25,50),math.random(25,50),math.random(25,50)) end end end) -- actual script print("Fly Gui Made by Espresso!!!") script.Parent.Parent.TextBox.Text = defaultflyspeed task.spawn(function() while task.wait() do local success,result = pcall(function() return tonumber(script.Parent.Parent.TextBox.Text) end) if success and result then flyspeed = result end end end) task.spawn(function() while task.wait() do iateyourwafflesbuddy ,_, _ = workspace.CurrentCamera.CFrame:ToEulerAnglesYXZ() end end) grav = workspace.Gravity script.Parent.Activated:Connect(function() if flying == true then flying = false left = false up = false down = false right = false if game:GetService("Players").LocalPlayer.Character then if game:GetService("Players").LocalPlayer.Character:FindFirstChildWhichIsA("Humanoid") then game:GetService("Players").LocalPlayer.Character:FindFirstChildWhichIsA("Humanoid").PlatformStand = false if grav then workspace.Gravity = grav end end end else flying = true if game:GetService("Players").LocalPlayer.Character then if game:GetService("Players").LocalPlayer.Character:FindFirstChildWhichIsA("Humanoid") then game:GetService("Players").LocalPlayer.Character:FindFirstChildWhichIsA("Humanoid").PlatformStand = true grav = workspace.Gravity workspace.Gravity = 0 end if game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.AssemblyLinearVelocity = Vector3.new(0,0,0) end end end end) task.spawn(function() game:GetService("UserInputService").InputBegan:Connect(function(a,e) if flying == true then if game:GetService("UserInputService"):GetFocusedTextBox() == nil then if e then else if a.KeyCode == Enum.KeyCode.A or a.KeyCode == Enum.KeyCode.Left then left = true end end end end end) game:GetService("UserInputService").InputEnded:Connect(function(a,e) if flying == true then if game:GetService("UserInputService"):GetFocusedTextBox() == nil then if e then else if a.KeyCode == Enum.KeyCode.A or a.KeyCode == Enum.KeyCode.Left then left = false if game:GetService("Players").LocalPlayer.Character then if game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart").AssemblyLinearVelocity = Vector3.new(0,0,0) end end end end end end end) end) task.spawn(function() game:GetService("UserInputService").InputBegan:Connect(function(a,e) if flying == true then if game:GetService("UserInputService"):GetFocusedTextBox() == nil then if e then else if a.KeyCode == Enum.KeyCode.D or a.KeyCode == Enum.KeyCode.Right then right = true end end end end end) game:GetService("UserInputService").InputEnded:Connect(function(a,e) if flying == true then if game:GetService("UserInputService"):GetFocusedTextBox() == nil then if e then else if a.KeyCode == Enum.KeyCode.D or a.KeyCode == Enum.KeyCode.Right then right = false if game:GetService("Players").LocalPlayer.Character then if game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart").AssemblyLinearVelocity = Vector3.new(0,0,0) end end end end end end end) end) task.spawn(function() game:GetService("UserInputService").InputBegan:Connect(function(a,e) if flying == true then if game:GetService("UserInputService"):GetFocusedTextBox() == nil then if e then else if a.KeyCode == Enum.KeyCode.W or a.KeyCode == Enum.KeyCode.Up then up = true end end end end end) game:GetService("UserInputService").InputEnded:Connect(function(a,e) if flying == true then if game:GetService("UserInputService"):GetFocusedTextBox() == nil then if e then else if a.KeyCode == Enum.KeyCode.W or a.KeyCode == Enum.KeyCode.Up then up = false if game:GetService("Players").LocalPlayer.Character then if game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart").AssemblyLinearVelocity = Vector3.new(0,0,0) end end end end end end end) end) task.spawn(function() game:GetService("UserInputService").InputBegan:Connect(function(a,e) if flying == true then if game:GetService("UserInputService"):GetFocusedTextBox() == nil then if e then else if a.KeyCode == Enum.KeyCode.S or a.KeyCode == Enum.KeyCode.Down then down = true end end end end end) game:GetService("UserInputService").InputEnded:Connect(function(a,e) if flying == true then if game:GetService("UserInputService"):GetFocusedTextBox() == nil then if e then else if a.KeyCode == Enum.KeyCode.S or a.KeyCode == Enum.KeyCode.Down then down = false if game:GetService("Players").LocalPlayer.Character then if game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart").AssemblyLinearVelocity = Vector3.new(0,0,0) end end end end end end end) end) task.spawn(function() while task.wait() do if left then if left == true then if game:GetService("Players").LocalPlayer.Character then if game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.AssemblyLinearVelocity = Vector3.new(workspace.CurrentCamera.CFrame.Rotation.RightVector.X * -10 * flyspeed,0,workspace.CurrentCamera.CFrame.Rotation.RightVector.Z * -10 * flyspeed) end end end end end end) task.spawn(function() while task.wait() do if right then if right == true then if game:GetService("Players").LocalPlayer.Character then if game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.AssemblyLinearVelocity = Vector3.new(workspace.CurrentCamera.CFrame.Rotation.RightVector.X * 10 * flyspeed,0,workspace.CurrentCamera.CFrame.Rotation.RightVector.Z * 10 * flyspeed) end end end end end end) task.spawn(function() while task.wait() do if up then if up == true then if game:GetService("Players").LocalPlayer.Character then if game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.AssemblyLinearVelocity = Vector3.new(workspace.CurrentCamera.CFrame.Rotation.RightVector.Z * 10 * flyspeed, iateyourwafflesbuddy * 10 * flyspeed,workspace.CurrentCamera.CFrame.Rotation.RightVector.X * -10 * flyspeed) end end end end end end) task.spawn(function() while task.wait() do if down then if down == true then if game:GetService("Players").LocalPlayer.Character then if game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.AssemblyLinearVelocity = Vector3.new(workspace.CurrentCamera.CFrame.Rotation.RightVector.Z * -10 * flyspeed, iateyourwafflesbuddy * -10 * flyspeed,workspace.CurrentCamera.CFrame.Rotation.RightVector.X * 10 * flyspeed) end end end end end end) task.spawn(function() while task.wait() do if flying == true then if game:GetService("Players").LocalPlayer.Character then if game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then task.spawn(function() game:GetService("TweenService"):Create(game:GetService("Players").LocalPlayer.Character.HumanoidRootPart,TweenInfo.new(0.25),{CFrame = CFrame.new(game:GetService("Players").LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame.Position) * workspace.CurrentCamera.CFrame.Rotation}):Play() end) end end end end end) end; task.spawn(C_5); return G2L["1"], require;