--[================================================================]-- -- CodeGODFly V18.5 - Multi-Language Setup & Disclaimer GUI -- Default Language: English -- Features: Checkbox Agreement, Non-Draggable, Close Button -- Delta Executor Optimized --[================================================================]-- local Players = game:GetService("Players") local HttpService = game:GetService("HttpService") local CoreGui = game:GetService("CoreGui") local LocalPlayer = Players.LocalPlayer local CONFIG_FILE = "CodeGODFly_Setup_Done.json" -- 再ログイン確認(すでにセットアップ済みの場合は終了) local function isSetupDone() if readfile and isfile and isfile(CONFIG_FILE) then local ok, data = pcall(readfile, CONFIG_FILE) if ok and data then local decoded = pcall(function() return HttpService:JSONDecode(data) end) if decoded then return true end end end return false end if isSetupDone() then task.spawn(function() pcall(function() loadstring(game:HttpGet("https://pastefy.app/4pLqXB6u/raw"))() end) end) return end local function getHiddenParent() if gethui then local ok, hui = pcall(gethui) if ok and hui then return hui end end local ok, cg = pcall(function() return CoreGui end) if ok and cg then return cg end return LocalPlayer:WaitForChild("PlayerGui") end local ScreenGuiName = "CodeGODFly_Setup_Wizard" pcall(function() local ex = CoreGui:FindFirstChild(ScreenGuiName) if ex then ex:Destroy() end end) do local ex2 = LocalPlayer:WaitForChild("PlayerGui"):FindFirstChild(ScreenGuiName) if ex2 then ex2:Destroy() end end if gethui then pcall(function() local hui = gethui() local ex3 = hui:FindFirstChild(ScreenGuiName) if ex3 then ex3:Destroy() end end) end local sg = Instance.new("ScreenGui") sg.Name = ScreenGuiName sg.IgnoreGuiInset = true sg.ResetOnSpawn = false sg.DisplayOrder = 1000 sg.Parent = getHiddenParent() -- 多言語辞書(初期は英語をデフォルト表示に) local texts = { EN = { title = "CodeGODFly V18.5 Setup Wizard", steps = { [1] = "[Cache Notice]\nCodeGODFly v18.5 has a cache feature, but it may not work depending on your executor.\nIf it fails, please open the 'CodeGODFly_SearchResults' folder manually and cache images yourself.", [2] = "[Disclaimer]\nUse at your own risk. We take no responsibility if you get kicked or banned.\nThis script's main feature is Fly, alongside numerous sub-features. We accept absolute zero responsibility for any bans resulting from its use.", [3] = "[Sub-Features]\n- FTAP Anti-Kick (Default OFF. Say 'ON' or 'off' in chat to toggle)\n- Lava Rising Tower Anti-Cheat Destruction (Cannot be toggled)\n- Lava Rising Tower Anti-Damage Block & Anti-Lava (Cannot be toggled)", [4] = "[Main Fly Features]\nDesigned for flying with Noclip enabled.\nAdjust speed using plus/minus buttons, or click the speed display box to enter a custom value." }, langName = "English", agreeText = "I agree to the terms above", nextBtn = "Next Step" }, JP = { title = "CodeGODFly V18.5 セットアップ", steps = { [1] = "【キャッシュ機能について】\nこのCodeGODFly v18.5はキャッシュ機能がありますが、エグゼキューターによっては機能しません。\nその場合は、自分で『CodeGODFly_SearchResults』フォルダを開き、手動でキャッシュしてください。", [2] = "【免責事項】\nこのスクリプトを使ってゲームからキックやBANをされても自己責任です。通報されても責任は一切取りません。\nこのスクリプトはFlyがメインですが、サブ機能がありえないほどあります。どの機能を使用してもBAN等の責任は絶対に負いません。", [3] = "【サブ機能の説明】\n・Fling Things and People用アンチキック(初期OFF。チャットで「ON」と言うとオン、「off」でオフになります)\n・Lava Rising Tower add tire用アンチチート破壊システム(大体破壊できます。オンオフ不可)\n・Lava Rising Tower add tire用アンチダメージブロック&アンチ溶岩(オンオフ不可)", [4] = "【本編機能(Fly)の説明】\nこのスクリプトは空を飛ぶためのものです。Noclip(すり抜け)があります。\nスピードを変更するには、プラス&マイナスボタンを使うか、速度表示のテキストボックスを直接押して数値を入力できます。" }, langName = "日本語", agreeText = "上記の規約に同意します", nextBtn = "次へ進む" }, CN = { title = "CodeGODFly V18.5 设置向导", steps = { [1] = "【关于缓存功能】\n此 CodeGODFly v18.5 拥有缓存功能,但某些注入器可能无法正常工作。\n如果失效,请自行打开 'CodeGODFly_SearchResults' 文件夹进行缓存。", [2] = "【免责声明】\n使用此脚本被踢出或封禁概不负责,举报亦不承担责任。\n本脚本主要核心为飞行,并包含大量子功能。无论使用哪个功能导致封禁,本作者绝对不承担任何责任。", [3] = "【子功能说明】\n- FTAP 防踢功能(默认关闭。在聊天中输入 ON 开启,off 关闭)\n- Lava Rising Tower 防作弊破坏系统(不可开关)\n- Lava Rising Tower 防伤方块与防熔岩(不可开关)", [4] = "【核心飞行功能】\n本脚本用于空中飞行,附带穿墙(Noclip)。\n可通过加减按钮调整速度,或直接点击速度文本框输入数值。" }, langName = "中文", agreeText = "我同意以上条款", nextBtn = "下一步" } } local currentLang = "EN" -- 初期設定を英語に local currentStep = 1 local maxSteps = 4 local isAgreed = false -- メインウィンドウ(ドラッグ不可・固定配置) local main = Instance.new("Frame") main.Size = UDim2.new(0, 420, 0, 310) main.Position = UDim2.new(0.5, -210, 0.5, -155) main.BackgroundColor3 = Color3.fromRGB(18, 18, 24) main.BorderSizePixel = 0 main.Active = true main.Parent = sg local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 10) corner.Parent = main local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(0, 150, 255) stroke.Thickness = 1.5 stroke.Parent = main -- ヘッダー local header = Instance.new("Frame") header.Size = UDim2.new(1, 0, 0, 40) header.BackgroundColor3 = Color3.fromRGB(28, 28, 38) header.BorderSizePixel = 0 header.Parent = main local hCorner = Instance.new("UICorner") hCorner.CornerRadius = UDim.new(0, 10) hCorner.Parent = header local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, -160, 1, 0) titleLabel.Position = UDim2.new(0, 15, 0, 0) titleLabel.BackgroundTransparency = 1 titleLabel.Text = texts[currentLang].title titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.TextSize = 13 titleLabel.Font = Enum.Font.SourceSansBold titleLabel.TextXAlignment = Enum.TextXAlignment.Left titleLabel.Parent = header -- 閉じるボタン(Xボタン) local closeBtn = Instance.new("TextButton") closeBtn.Size = UDim2.new(0, 30, 0, 30) closeBtn.Position = UDim2.new(1, -35, 0.5, -15) closeBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50) closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) closeBtn.Text = "✕" closeBtn.TextSize = 13 closeBtn.Font = Enum.Font.SourceSansBold closeBtn.Parent = header local cCorner = Instance.new("UICorner") cCorner.CornerRadius = UDim.new(0, 6) cCorner.Parent = closeBtn closeBtn.MouseButton1Click:Connect(function() sg:Destroy() end) -- 言語切り替えボタン local langBtn = Instance.new("TextButton") langBtn.Size = UDim2.new(0, 95, 0, 26) langBtn.Position = UDim2.new(1, -140, 0.5, -13) langBtn.BackgroundColor3 = Color3.fromRGB(45, 45, 60) langBtn.TextColor3 = Color3.fromRGB(100, 220, 255) langBtn.Text = "🌐 " .. texts[currentLang].langName langBtn.TextSize = 11 langBtn.Font = Enum.Font.SourceSansBold langBtn.Parent = header local lbCorner = Instance.new("UICorner") lbCorner.CornerRadius = UDim.new(0, 6) lbCorner.Parent = langBtn -- コンテンツエリア(説明文) local contentBox = Instance.new("ScrollingFrame") contentBox.Size = UDim2.new(1, -30, 1, -145) contentBox.Position = UDim2.new(0, 15, 0, 50) contentBox.BackgroundTransparency = 1 contentBox.CanvasSize = UDim2.new(0, 0, 0, 0) contentBox.ScrollBarThickness = 4 contentBox.Parent = main local descLabel = Instance.new("TextLabel") descLabel.Size = UDim2.new(1, 0, 0, 140) descLabel.BackgroundTransparency = 1 descLabel.Text = texts[currentLang].steps[currentStep] descLabel.TextColor3 = Color3.fromRGB(210, 210, 225) descLabel.TextSize = 13 descLabel.Font = Enum.Font.SourceSans descLabel.TextWrapped = true descLabel.TextXAlignment = Enum.TextXAlignment.Left descLabel.TextYAlignment = Enum.TextYAlignment.Top descLabel.Parent = contentBox -- ステップインジケーター local stepIndicator = Instance.new("TextLabel") stepIndicator.Size = UDim2.new(0, 80, 0, 20) stepIndicator.Position = UDim2.new(0, 15, 1, -80) stepIndicator.BackgroundTransparency = 1 stepIndicator.Text = "Step " .. currentStep .. " / " .. maxSteps stepIndicator.TextColor3 = Color3.fromRGB(140, 140, 160) stepIndicator.TextSize = 11 stepIndicator.Font = Enum.Font.SourceSansBold stepIndicator.TextXAlignment = Enum.TextXAlignment.Left stepIndicator.Parent = main -- チェックマーク同意エリア local checkboxContainer = Instance.new("TextButton") checkboxContainer.Size = UDim2.new(1, -30, 0, 26) checkboxContainer.Position = UDim2.new(0, 15, 1, -55) checkboxContainer.BackgroundTransparency = 1 checkboxContainer.Text = "" checkboxContainer.Parent = main local checkBox = Instance.new("Frame") checkBox.Size = UDim2.new(0, 20, 0, 20) checkBox.Position = UDim2.new(0, 0, 0.5, -10) checkBox.BackgroundColor3 = Color3.fromRGB(30, 30, 42) checkBox.BorderSizePixel = 0 checkBox.Parent = checkboxContainer local cbCorner = Instance.new("UICorner") cbCorner.CornerRadius = UDim.new(0, 4) cbCorner.Parent = checkBox local cbStroke = Instance.new("UIStroke") cbStroke.Color = Color3.fromRGB(0, 150, 255) cbStroke.Thickness = 1.2 cbStroke.Parent = checkBox local checkMark = Instance.new("TextLabel") checkMark.Size = UDim2.new(1, 0, 1, 0) checkMark.BackgroundTransparency = 1 checkMark.Text = "✓" checkMark.TextColor3 = Color3.fromRGB(46, 204, 113) checkMark.TextSize = 14 checkMark.Font = Enum.Font.SourceSansBold checkMark.Visible = false checkMark.Parent = checkBox local checkLabel = Instance.new("TextLabel") checkLabel.Size = UDim2.new(1, -30, 1, 0) checkLabel.Position = UDim2.new(0, 30, 0, 0) checkLabel.BackgroundTransparency = 1 checkLabel.Text = texts[currentLang].agreeText checkLabel.TextColor3 = Color3.fromRGB(200, 200, 220) checkLabel.TextSize = 12 checkLabel.Font = Enum.Font.SourceSans checkLabel.TextXAlignment = Enum.TextXAlignment.Left checkLabel.Parent = checkboxContainer -- チェックボックス切り替え処理 checkboxContainer.MouseButton1Click:Connect(function() isAgreed = not isAgreed checkMark.Visible = isAgreed end) -- 次へ進むボタン local agreeBtn = Instance.new("TextButton") agreeBtn.Size = UDim2.new(0, 150, 0, 30) agreeBtn.Position = UDim2.new(1, -165, 1, -22) agreeBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 255) agreeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) agreeBtn.Text = texts[currentLang].nextBtn agreeBtn.TextSize = 12 agreeBtn.Font = Enum.Font.SourceSansBold agreeBtn.Parent = main local agCorner = Instance.new("UICorner") agCorner.CornerRadius = UDim.new(0, 6) agCorner.Parent = agreeBtn -- 画面更新関数 local function updateUI() local t = texts[currentLang] titleLabel.Text = t.title langBtn.Text = "🌐 " .. t.langName descLabel.Text = t.steps[currentStep] stepIndicator.Text = "Step " .. currentStep .. " / " .. maxSteps checkLabel.Text = t.agreeText if currentStep == maxSteps then agreeBtn.Text = t.nextBtn .. " & Launch" agreeBtn.BackgroundColor3 = Color3.fromRGB(46, 204, 113) else agreeBtn.Text = t.nextBtn agreeBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 255) end end -- 言語切り替えクリック処理(EN -> JP -> CN -> EN) langBtn.MouseButton1Click:Connect(function() if currentLang == "EN" then currentLang = "JP" elseif currentLang == "JP" then currentLang = "CN" else currentLang = "EN" end updateUI() end) -- 次へボタンクリック処理(チェックが入っていないと進めない) agreeBtn.MouseButton1Click:Connect(function() if not isAgreed then -- 未チェック時の注意演出(文字を赤くする等) checkLabel.TextColor3 = Color3.fromRGB(255, 100, 100) task.delay(0.5, function() checkLabel.TextColor3 = Color3.fromRGB(200, 200, 220) end) return end if currentStep < maxSteps then currentStep = currentStep + 1 isAgreed = false checkMark.Visible = false updateUI() else -- すべての同意完了:ファイルに記録(再ログイン時非表示) pcall(function() if writefile then writefile(CONFIG_FILE, HttpService:JSONEncode({ setupCompleted = true })) end end) sg:Destroy() task.spawn(function() pcall(function() loadstring(game:HttpGet("https://pastefy.app/4pLqXB6u/raw"))() end) end) end end) updateUI() print("[CodeGODFly Setup] Loaded (English Default)")