-- Loadstring: loadstring(game:HttpGet("https://raw.githubusercontent.com/syznq/Roblox-Scripts/refs/heads/main/Open%20Source/Pilot%20Training%20Flight%20Simulator.lua"))() -- Source Code: local lib = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local win = lib:CreateWindow({ Name = "Pilot Training Flight Simulator", LoadingTitle = "Loading...", LoadingSubtitle = "Made by vezekk", ConfigurationSaving = {Enabled = false}, Discord = { Enabled = true, Invite = "T5xMJA4SNs", RememberJoins = true }, KeySystem = false }) local main = win:CreateTab("Main", 4483362458) local info = win:CreateTab("Information", 4483362458) local lp = game:GetService("Players").LocalPlayer local b_folder = workspace:FindFirstChild("Badges") getgenv().collecting = false local function fire(p) if firetouchinterest then firetouchinterest(lp.Character.HumanoidRootPart, p, 0) task.wait() firetouchinterest(lp.Character.HumanoidRootPart, p, 1) end end local function start() if not b_folder then return end local hrp = lp.Character and lp.Character:FindFirstChild("HumanoidRootPart") if not hrp then return end for _, v in pairs(b_folder:GetChildren()) do if not getgenv().collecting then break end local t = v:IsA("Model") and (v.PrimaryPart or v:FindFirstChildWhichIsA("BasePart")) or (v:IsA("BasePart") and v) if t then hrp.CFrame = t.CFrame task.wait(0.25) for _, o in pairs(v:GetDescendants()) do if o:IsA("TouchInterest") then fire(o.Parent) end end task.wait(0.1) end end getgenv().collecting = false end main:CreateButton({ Name = "Get All Badges", Callback = function() if getgenv().collecting then return end getgenv().collecting = true start() end, }) info:CreateSection("Credits") info:CreateLabel("Made by: vezekk") info:CreateButton({ Name = "Copy Discord Link", Callback = function() setclipboard("https://discord.gg/T5xMJA4SNs") lib:Notify({ Title = "Discord", Content = "Link copied!", Duration = 3, Image = 4483362458, }) end, })