-- ========================================================== -- 1. SECURE GATEWAY (WITH SECURE LOCAL CONFIGURATION STORAGE) -- ========================================================== local CoreGui = game:GetService("CoreGui") local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "XURXZ_SecurityGate" ScreenGui.ResetOnSpawn = false local success, err = pcall(function() ScreenGui.Parent = CoreGui end) if not success or not ScreenGui.Parent then ScreenGui.Parent = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui") end local MainFrame = Instance.new("Frame") MainFrame.Size = UDim2.new(0, 340, 0, 190) MainFrame.Position = UDim2.new(0.5, -170, 0.5, -95) MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) MainFrame.BorderSizePixel = 0 MainFrame.Parent = ScreenGui local UICorner = Instance.new("UICorner") UICorner.CornerRadius = UDim.new(0, 8) UICorner.Parent = MainFrame local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, 0, 0, 40) Title.Text = "XURXZ V7 | KEY SYSTEM" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 18 Title.Font = Enum.Font.SourceSansBold Title.BackgroundTransparency = 1 Title.Parent = MainFrame local InputBox = Instance.new("TextBox") InputBox.Size = UDim2.new(0, 280, 0, 40) InputBox.Position = UDim2.new(0.5, -140, 0.4, -10) InputBox.BackgroundColor3 = Color3.fromRGB(35, 35, 35) InputBox.TextColor3 = Color3.fromRGB(255, 255, 255) InputBox.PlaceholderText = "Enter Secret Key..." InputBox.PlaceholderColor3 = Color3.fromRGB(120, 120, 120) InputBox.TextSize = 16 InputBox.Font = Enum.Font.SourceSans InputBox.Text = "" InputBox.Parent = MainFrame local InputCorner = Instance.new("UICorner") InputCorner.CornerRadius = UDim.new(0, 6) InputCorner.Parent = InputBox local SubmitBtn = Instance.new("TextButton") SubmitBtn.Size = UDim2.new(0, 135, 0, 35) SubmitBtn.Position = UDim2.new(0.1, 0, 0.75, -5) SubmitBtn.BackgroundColor3 = Color3.fromRGB(0, 160, 90) SubmitBtn.Text = "Verify Key" SubmitBtn.TextColor3 = Color3.fromRGB(255, 255, 255) SubmitBtn.TextSize = 15 SubmitBtn.Font = Enum.Font.SourceSansBold SubmitBtn.Parent = MainFrame local BtnCorner = Instance.new("UICorner") BtnCorner.CornerRadius = UDim.new(0, 6) BtnCorner.Parent = SubmitBtn local DiscordBtn = Instance.new("TextButton") DiscordBtn.Size = UDim2.new(0, 135, 0, 35) DiscordBtn.Position = UDim2.new(0.5, 5, 0.75, -5) DiscordBtn.BackgroundColor3 = Color3.fromRGB(88, 101, 242) DiscordBtn.Text = "Get Key (Discord)" DiscordBtn.TextColor3 = Color3.fromRGB(255, 255, 255) DiscordBtn.TextSize = 15 DiscordBtn.Font = Enum.Font.SourceSansBold DiscordBtn.Parent = MainFrame local DiscordCorner = Instance.new("UICorner") DiscordCorner.CornerRadius = UDim.new(0, 6) DiscordCorner.Parent = DiscordBtn -- ========================================================== -- 2. CALCULATION AND EXECUTION HANDLES -- ========================================================== local timeData = os.date("!*t") local todayKey = "XURXZ-" .. tostring(timeData.year) .. "-" .. tostring(timeData.month) .. "-" .. tostring(timeData.day) local fileName = "XURXZ_SavedKey.txt" local function runMainScript() ScreenGui:Destroy() local success, result = pcall(function() local url = "https://pastebin.com/raw/W09D4CSX" loadstring(game:HttpGet(url))() end) if success and result then local mainScript, compileError = loadstring(result) if mainScript then pcall(mainScript) else warn("Main Feature Compilation Failed: " .. tostring(compileError)) end else warn("Cloud Handshake Failed: Link offline.") end end -- ========================================================== -- 3. BACKGROUND SILENT AUTO-LOAD CHECK -- ========================================================== if readfile and isfile and isfile(fileName) then local saved = readfile(fileName) if saved == todayKey then -- Key matches perfectly for today! Load script instantly without showing UI. runMainScript() return end end -- ========================================================== -- 4. BUTTON CLICK TRIGGERS -- ========================================================== DiscordBtn.MouseButton1Click:Connect(function() local discordInvite = "https://discord.gg/vVc68maJ" if setclipboard then setclipboard(discordInvite) DiscordBtn.Text = "Link Copied!" DiscordBtn.BackgroundColor3 = Color3.fromRGB(40, 150, 80) task.delay(2, function() DiscordBtn.Text = "Get Key (Discord)" DiscordBtn.BackgroundColor3 = Color3.fromRGB(88, 101, 242) end) else DiscordBtn.Text = "Error: No Clipboard" end end) SubmitBtn.MouseButton1Click:Connect(function() if InputBox.Text == todayKey then -- Key validation passes. Save the key locally before loading the exploit features. if writefile then pcall(function() writefile(fileName, todayKey) end) end runMainScript() else InputBox.Text = "" InputBox.PlaceholderText = "Expired or Invalid Key!" InputBox.PlaceholderColor3 = Color3.fromRGB(220, 50, 50) end end)