Plato
-- Create ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") -- Create Frame local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 300, 0, 350) frame.Position = UDim2.new(0.5, -150, 0.5, -175) frame.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2) frame.Parent = screenGui -- Create Key Input Box local keyInput = Instance.new("TextBox") keyInput.Size = UDim2.new(0, 200, 0, 50) keyInput.Position = UDim2.new(0.5, -100, 0.1, -25) keyInput.PlaceholderText = "Enter Key" keyInput.Text = "" keyInput.Parent = frame -- Create Submit Key Button local submitKeyButton = Instance.new("TextButton") submitKeyButton.Size = UDim2.new(0, 200, 0, 50) submitKeyButton.Position = UDim2.new(0.5, -100, 0.3, -25) submitKeyButton.Text = "Submit Key" submitKeyButton.Parent = frame -- Create Get Key Button local getKeyButton = Instance.new("TextButton") getKeyButton.Size = UDim2.new(0, 200, 0, 50) getKeyButton.Position = UDim2.new(0.5, -100, 0.5, -25) getKeyButton.Text = "Get Key" getKeyButton.Parent = frame -- Create Load Button 1 (Initially disabled) local loadButton1 = Instance.new("TextButton") loadButton1.Size = UDim2.new(0, 200, 0, 50) loadButton1.Position = UDim2.new(0.5, -100, 0.7, -25) loadButton1.Text = "Load Script 1" loadButton1.Visible = false loadButton1.Parent = frame -- Create Load Button 2 (Initially disabled) local loadButton2 = Instance.new("TextButton") loadButton2.Size = UDim2.new(0, 200, 0, 50) loadButton2.Position = UDim2.new(0.5, -100, 0.9, -25) loadButton2.Text = "Load Script 2" loadButton2.Visible = false loadButton2.Parent = frame -- Function to load script from URL local function loadScript(url) local success, errorMessage = pcall(function() loadstring(game:HttpGet(url))() end) if not success then warn("Failed to load script: " .. errorMessage) end end -- Function to check if key is valid local function isValidKey(key) for _, validKey in ipairs(validKeys) do if key == validKey then return true end end return false end -- Function to check key through API local function checkKeyAPI(key) local url = "https://api-gateway.platoboost.com/v1/authenticators/redeem/"..accountId.."/"..localPlayerId.."/"..key local response = game:HttpPostAsync(url, {}) return response end -- Function to check key and enable buttons submitKeyButton.MouseButton1Click:Connect(function() local key = keyInput.Text local response = checkKeyAPI(key) if response == "valid" then loadButton1.Visible = true loadButton2.Visible = true keyInput.Visible = false submitKeyButton.Visible = false getKeyButton.Visible = false elseif response == "expired" then keyInput.Text = "Expired Key" else keyInput.Text = "Invalid Key" end end) -- Function to copy key link to clipboard getKeyButton.MouseButton1Click:Connect(function() local keyLink = "https://example.com/getkey" -- Replace with your actual key link setclipboard(keyLink) getKeyButton.Text = "Key Link Copied!" end) -- Connect buttons to load scripts loadButton1.MouseButton1Click:Connect(function() loadScript("https://pastebin.com/raw/32Yt7hgM") end) loadButton2.MouseButton1Click:Connect(function() loadScript("https://pastebin.com/raw/ebtbRCbA") end)