local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local Workspace = game:GetService("Workspace") local CoreGui = game:GetService("CoreGui") local player = Players.LocalPlayer local camera = Workspace.CurrentCamera getgenv().HitboxSize = 15 getgenv().HitboxTransparency = 0.9 getgenv().HitboxStatus = false getgenv().TeamCheck = false local ESPEnabled = false local ShowNames = true local ShowDistance = true local ESPColor = Color3.fromRGB(255, 0, 0) local flying = false local noclipping = false local flySpeed = 50 local walkSpeed = 16 local aimbotEnabled = false local aimSensitivity = 0.15 local aimFOV = 150 local showFOV = true local clickTP = false local infJumpEnabled = false local massTeleportEnabled = false local massTeleportConn = nil local espElements = {} local currentTarget = nil local bv, bg, noclipConn, infJumpConn, aimConn = nil, nil, nil, nil, nil -- ==================== KEY SYSTEM ==================== local CORRECT_KEY = "9xwfontop" local KEY_LINK = "https://link-center.net/5617065/amVgDwQajClJ" local keyGui = Instance.new("ScreenGui") keyGui.Name = "9XWF_KeySystem" keyGui.ResetOnSpawn = false keyGui.Parent = CoreGui local keyFrame = Instance.new("Frame") keyFrame.Size = UDim2.new(0, 420, 0, 300) keyFrame.Position = UDim2.new(0.5, -210, 0.5, -150) keyFrame.BackgroundColor3 = Color3.fromRGB(18, 18, 26) keyFrame.Parent = keyGui Instance.new("UICorner", keyFrame).CornerRadius = UDim.new(0, 16) local title = Instance.new("TextLabel") title.Size = UDim2.new(1,0,0,50); title.BackgroundTransparency = 1 title.Text = "9XWF SCRIPTS"; title.TextColor3 = Color3.fromRGB(130,90,255) title.Font = Enum.Font.GothamBold; title.TextSize = 26; title.Parent = keyFrame local linkLabel = Instance.new("TextLabel") linkLabel.Size = UDim2.new(1,-40,0,20); linkLabel.Position = UDim2.new(0,20,0,60) linkLabel.BackgroundTransparency = 1; linkLabel.Text = "Get Key Here:" linkLabel.TextColor3 = Color3.fromRGB(200,200,200); linkLabel.Font = Enum.Font.Gotham linkLabel.TextSize = 16; linkLabel.TextXAlignment = Enum.TextXAlignment.Left; linkLabel.Parent = keyFrame local linkButton = Instance.new("TextButton") linkButton.Size = UDim2.new(1,-40,0,35); linkButton.Position = UDim2.new(0,20,0,85) linkButton.BackgroundColor3 = Color3.fromRGB(40,40,55); linkButton.Text = KEY_LINK linkButton.TextColor3 = Color3.fromRGB(100,180,255); linkButton.Font = Enum.Font.Gotham linkButton.TextSize = 14; linkButton.TextWrapped = true; linkButton.Parent = keyFrame Instance.new("UICorner", linkButton).CornerRadius = UDim.new(0,6) linkButton.MouseButton1Click:Connect(function() setclipboard(KEY_LINK) linkButton.Text = "✅ Link Copied!" task.wait(2) linkButton.Text = KEY_LINK end) local keyBox = Instance.new("TextBox") keyBox.Size = UDim2.new(1,-40,0,45); keyBox.Position = UDim2.new(0,20,0,135) keyBox.BackgroundColor3 = Color3.fromRGB(30,30,38); keyBox.PlaceholderText = "Paste key here..." keyBox.TextColor3 = Color3.new(1,1,1); keyBox.Font = Enum.Font.Gotham; keyBox.TextSize = 16 keyBox.Parent = keyFrame Instance.new("UICorner", keyBox).CornerRadius = UDim.new(0,8) local submitBtn = Instance.new("TextButton") submitBtn.Size = UDim2.new(0.5,0,0,50); submitBtn.Position = UDim2.new(0.25,0,0,195) submitBtn.BackgroundColor3 = Color3.fromRGB(130,90,255); submitBtn.Text = "Submit Key" submitBtn.TextColor3 = Color3.new(1,1,1); submitBtn.Font = Enum.Font.GothamBold; submitBtn.TextSize = 18 submitBtn.Parent = keyFrame Instance.new("UICorner", submitBtn).CornerRadius = UDim.new(0,12) -- ==================== MAIN GUI ==================== local function createMainMenu() local screenGui = Instance.new("ScreenGui") screenGui.Name = "9XWF_FullUI" screenGui.ResetOnSpawn = false screenGui.Enabled = true screenGui.Parent = CoreGui local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 780, 0, 720) mainFrame.Position = UDim2.new(0.5, -390, 0.5, -360) mainFrame.BackgroundColor3 = Color3.fromRGB(16, 16, 22) mainFrame.Parent = screenGui Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 16) local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 60) title.BackgroundTransparency = 1 title.Text = "9XWF SCRIPTS - Right Shift Toggle" title.TextColor3 = Color3.fromRGB(255, 255, 255) title.Font = Enum.Font.GothamBold title.TextSize = 26 title.Parent = mainFrame local content = Instance.new("ScrollingFrame") content.Size = UDim2.new(1, -20, 1, -80) content.Position = UDim2.new(0, 10, 0, 70) content.BackgroundTransparency = 1 content.ScrollBarThickness = 8 content.AutomaticCanvasSize = Enum.AutomaticSize.Y content.Parent = mainFrame local uiList = Instance.new("UIListLayout") uiList.Padding = UDim.new(0, 18) uiList.SortOrder = Enum.SortOrder.LayoutOrder uiList.Parent = content local function createSection(text) local sec = Instance.new("TextLabel") sec.Size = UDim2.new(1, -20, 0, 35) sec.BackgroundTransparency = 1 sec.Text = "→ " .. text sec.TextColor3 = Color3.fromRGB(130, 90, 255) sec.Font = Enum.Font.GothamBold sec.TextSize = 20 sec.TextXAlignment = Enum.TextXAlignment.Left sec.Parent = content end local function createToggle(text, default, callback) local frame = Instance.new("Frame") frame.Size = UDim2.new(1, -20, 0, 50) frame.BackgroundColor3 = Color3.fromRGB(25, 25, 32) frame.Parent = content Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 12) local label = Instance.new("TextLabel") label.Size = UDim2.new(0.75, 0, 1, 0) label.Position = UDim2.new(0, 20, 0, 0) label.BackgroundTransparency = 1 label.Text = text label.TextColor3 = Color3.fromRGB(235, 235, 240) label.Font = Enum.Font.Gotham label.TextSize = 17 label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = frame local toggleBtn = Instance.new("TextButton") toggleBtn.Size = UDim2.new(0, 60, 0, 32) toggleBtn.Position = UDim2.new(1, -80, 0.5, -16) toggleBtn.BackgroundColor3 = default and Color3.fromRGB(130, 90, 255) or Color3.fromRGB(55, 55, 62) toggleBtn.Text = "" toggleBtn.Parent = frame Instance.new("UICorner", toggleBtn).CornerRadius = UDim.new(1, 0) local enabled = default toggleBtn.MouseButton1Click:Connect(function() enabled = not enabled callback(enabled) TweenService:Create(toggleBtn, TweenInfo.new(0.25), { BackgroundColor3 = enabled and Color3.fromRGB(130, 90, 255) or Color3.fromRGB(55, 55, 62) }):Play() end) end local function createSlider(text, min, max, default, callback) local frame = Instance.new("Frame") frame.Size = UDim2.new(1, -20, 0, 70) frame.BackgroundColor3 = Color3.fromRGB(25, 25, 32) frame.Parent = content Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 12) local label = Instance.new("TextLabel") label.Size = UDim2.new(1, -30, 0, 25) label.Position = UDim2.new(0, 20, 0, 8) label.BackgroundTransparency = 1 label.Text = text .. ": " .. string.format("%.2f", default) label.TextColor3 = Color3.fromRGB(235, 235, 240) label.Font = Enum.Font.Gotham label.TextSize = 16 label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = frame local bar = Instance.new("Frame") bar.Size = UDim2.new(0.85, 0, 0, 10) bar.Position = UDim2.new(0, 20, 0.65, 0) bar.BackgroundColor3 = Color3.fromRGB(50, 50, 60) bar.Parent = frame Instance.new("UICorner", bar).CornerRadius = UDim.new(1, 0) local fill = Instance.new("Frame") fill.Size = UDim2.new((default - min) / (max - min), 0, 1, 0) fill.BackgroundColor3 = Color3.fromRGB(130, 90, 255) fill.Parent = bar Instance.new("UICorner", fill).CornerRadius = UDim.new(1, 0) local value = default bar.InputBegan:Connect(function(inp) if inp.UserInputType == Enum.UserInputType.MouseButton1 then local conn = UserInputService.InputChanged:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseMovement then local pos = math.clamp((i.Position.X - bar.AbsolutePosition.X) / bar.AbsoluteSize.X, 0, 1) value = min + (max - min) * pos fill.Size = UDim2.new(pos, 0, 1, 0) label.Text = text .. ": " .. string.format("%.2f", value) callback(value) end end) UserInputService.InputEnded:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then conn:Disconnect() end end) end end) end -- Teleport Section createSection("Player Teleport") local teleportTarget = nil local teleportFrame = Instance.new("Frame") teleportFrame.Size = UDim2.new(1, -20, 0, 280) teleportFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 32) teleportFrame.Parent = content Instance.new("UICorner", teleportFrame).CornerRadius = UDim.new(0, 12) local tpTitle = Instance.new("TextLabel") tpTitle.Size = UDim2.new(1, 0, 0, 30) tpTitle.BackgroundColor3 = Color3.fromRGB(30, 30, 30) tpTitle.Text = " Teleport to Player" tpTitle.TextColor3 = Color3.fromRGB(255, 255, 255) tpTitle.Font = Enum.Font.GothamBold tpTitle.TextSize = 16 tpTitle.TextXAlignment = Enum.TextXAlignment.Left tpTitle.Parent = teleportFrame local tpScrolling = Instance.new("ScrollingFrame") tpScrolling.Size = UDim2.new(1, -10, 0, 180) tpScrolling.Position = UDim2.new(0, 5, 0, 35) tpScrolling.BackgroundColor3 = Color3.fromRGB(20, 20, 20) tpScrolling.ScrollBarThickness = 6 tpScrolling.Parent = teleportFrame local tpListLayout = Instance.new("UIListLayout") tpListLayout.SortOrder = Enum.SortOrder.LayoutOrder tpListLayout.Padding = UDim.new(0, 2) tpListLayout.Parent = tpScrolling local tpButton = Instance.new("TextButton") tpButton.Size = UDim2.new(1, -10, 0, 35) tpButton.Position = UDim2.new(0, 5, 1, -40) tpButton.BackgroundColor3 = Color3.fromRGB(50, 150, 50) tpButton.Text = "Teleport" tpButton.TextColor3 = Color3.fromRGB(255, 255, 255) tpButton.Font = Enum.Font.GothamBold tpButton.TextSize = 16 tpButton.Parent = teleportFrame Instance.new("UICorner", tpButton).CornerRadius = UDim.new(0, 8) local function updateTeleportList() for _, child in pairs(tpScrolling:GetChildren()) do if child:IsA("TextButton") then child:Destroy() end end for _, plr in pairs(Players:GetPlayers()) do if plr ~= player then local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, 0, 0, 28) btn.BackgroundColor3 = Color3.fromRGB(40, 40, 40) btn.Text = plr.Name btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.Font = Enum.Font.Gotham btn.TextSize = 14 btn.Parent = tpScrolling btn.MouseButton1Click:Connect(function() teleportTarget = plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") tpButton.Text = "Teleport to: " .. plr.Name end) end end tpScrolling.CanvasSize = UDim2.new(0, 0, 0, tpListLayout.AbsoluteContentSize.Y + 10) end tpButton.MouseButton1Click:Connect(function() if teleportTarget and teleportTarget.Parent then local root = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if root then root.CFrame = teleportTarget.CFrame * CFrame.new(0, 4, 0) tpButton.Text = "Teleported!" task.wait(1.5) tpButton.Text = "Teleport" end else tpButton.Text = "Ziel nicht gefunden" task.wait(2) tpButton.Text = "Teleport" end end) Players.PlayerAdded:Connect(updateTeleportList) Players.PlayerRemoving:Connect(updateTeleportList) updateTeleportList() -- Mass Teleport createSection("Mass Teleport") createToggle("Teleport All Players In Front Of Me", false, function(state) massTeleportEnabled = state if state then if massTeleportConn then massTeleportConn:Disconnect() end massTeleportConn = RunService.Heartbeat:Connect(function() if not massTeleportEnabled then return end local myRoot = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if not myRoot then return end local frontCFrame = myRoot.CFrame * CFrame.new(0, 0, -7) for _, plr in ipairs(Players:GetPlayers()) do if plr ~= player and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then pcall(function() plr.Character.HumanoidRootPart.CFrame = frontCFrame * CFrame.new(0, 3, 0) end) end end end) else if massTeleportConn then massTeleportConn:Disconnect() massTeleportConn = nil end end end) -- ESP Functions local function destroyESP(character) if espElements[character] then local data = espElements[character] if data.box then data.box:Remove() end if data.health then data.health:Remove() end if data.name then data.name:Remove() end if data.dist then data.dist:Remove() end espElements[character] = nil end end local function createESP(character) if not character or character == player.Character or espElements[character] then return end destroyESP(character) local box = Drawing.new("Square") box.Thickness = 2 box.Filled = false box.Transparency = 1 box.Color = ESPColor local healthBar = Drawing.new("Square") healthBar.Thickness = 1 healthBar.Filled = true healthBar.Transparency = 1 local nameTag = Drawing.new("Text") nameTag.Size = 16 nameTag.Center = true nameTag.Outline = true nameTag.Color = Color3.new(1,1,1) local distanceTag = Drawing.new("Text") distanceTag.Size = 14 distanceTag.Center = true distanceTag.Outline = true distanceTag.Color = Color3.new(1,1,1) espElements[character] = {box = box, health = healthBar, name = nameTag, dist = distanceTag} RunService.RenderStepped:Connect(function() if not ESPEnabled or not character.Parent then destroyESP(character) return end local root = character:FindFirstChild("HumanoidRootPart") or character:FindFirstChild("Head") local hum = character:FindFirstChild("Humanoid") if not root or not hum or hum.Health <= 0 then destroyESP(character) return end local rootPos, onScreen = camera:WorldToViewportPoint(root.Position) if not onScreen or rootPos.Z < 1 then box.Visible = false; healthBar.Visible = false; nameTag.Visible = false; distanceTag.Visible = false return end local dist = (root.Position - camera.CFrame.Position).Magnitude local sizeY = (3000 / dist) * 2.8 local sizeX = sizeY * 0.6 box.Size = Vector2.new(sizeX, sizeY) box.Position = Vector2.new(rootPos.X - sizeX/2, rootPos.Y - sizeY/2) box.Visible = true local hp = hum.Health / hum.MaxHealth healthBar.Size = Vector2.new(4, sizeY * hp) healthBar.Position = Vector2.new(rootPos.X - sizeX/2 - 8, rootPos.Y - sizeY/2 + sizeY*(1-hp)) healthBar.Color = Color3.fromRGB(255*(1-hp), 255*hp, 0) healthBar.Visible = true nameTag.Text = character.Name nameTag.Position = Vector2.new(rootPos.X, rootPos.Y - sizeY/2 - 22) nameTag.Visible = ShowNames distanceTag.Text = math.floor(dist) .. " studs" distanceTag.Position = Vector2.new(rootPos.X, rootPos.Y + sizeY/2 + 12) distanceTag.Visible = ShowDistance end) end -- ESP Setup for _, obj in ipairs(Workspace:GetDescendants()) do if obj:IsA("Model") and obj:FindFirstChild("Humanoid") then createESP(obj) end end Workspace.DescendantAdded:Connect(function(obj) if obj:IsA("Model") and obj:FindFirstChild("Humanoid") then task.wait(0.25) createESP(obj) end end) Players.PlayerAdded:Connect(function(plr) plr.CharacterAdded:Connect(function(char) task.wait(0.4) createESP(char) end) plr.CharacterRemoving:Connect(function(char) destroyESP(char) end) end) -- Fly, NoClip, InfJump, Aimbot, Hitbox usw. (wie vorher) local function startFly() if flying then return end flying = true local char = player.Character if not char or not char:FindFirstChild("HumanoidRootPart") then return end local hum = char:FindFirstChild("Humanoid") if hum then hum.PlatformStand = true end bv = Instance.new("BodyVelocity") bv.MaxForce = Vector3.new(40000,40000,40000) bv.Parent = char.HumanoidRootPart bg = Instance.new("BodyGyro") bg.MaxTorque = Vector3.new(40000,40000,40000) bg.P = 12500 bg.Parent = char.HumanoidRootPart spawn(function() while flying and char and char.Parent do local move = Vector3.new() if UserInputService:IsKeyDown(Enum.KeyCode.W) then move += camera.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.S) then move -= camera.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.A) then move -= camera.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.D) then move += camera.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.Space) then move += Vector3.new(0,1,0) end if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then move -= Vector3.new(0,1,0) end bv.Velocity = move.Magnitude > 0 and move.Unit * flySpeed or Vector3.new() bg.CFrame = camera.CFrame RunService.Heartbeat:Wait() end end) end local function stopFly() flying = false if bv then bv:Destroy() end if bg then bg:Destroy() end local hum = player.Character and player.Character:FindFirstChild("Humanoid") if hum then hum.PlatformStand = false end end local function startNoClip() if noclipping then return end noclipping = true noclipConn = RunService.Stepped:Connect(function() local char = player.Character if char then for _, part in pairs(char:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end end) end local function stopNoClip() noclipping = false if noclipConn then noclipConn:Disconnect() end end local function toggleInfJump(state) infJumpEnabled = state if state then infJumpConn = UserInputService.JumpRequest:Connect(function() local hum = player.Character and player.Character:FindFirstChild("Humanoid") if hum then hum:ChangeState(Enum.HumanoidStateType.Jumping) end end) else if infJumpConn then infJumpConn:Disconnect() end end end -- Aimbot + FOV Circle local fovCircle = Drawing.new("Circle") fovCircle.Thickness = 2 fovCircle.NumSides = 64 fovCircle.Color = Color3.fromRGB(255,255,255) fovCircle.Transparency = 0.7 fovCircle.Filled = false local function getBestTarget() local best, bestScore = nil, math.huge for _, obj in ipairs(Workspace:GetDescendants()) do if obj:IsA("Model") and obj ~= player.Character and obj:FindFirstChild("Humanoid") and obj.Humanoid.Health > 0 then local targetPart = obj:FindFirstChild("Head") or obj:FindFirstChild("HumanoidRootPart") if targetPart then local screenPos, onScreen = camera:WorldToViewportPoint(targetPart.Position) if onScreen then local dist = (Vector2.new(screenPos.X, screenPos.Y) - UserInputService:GetMouseLocation()).Magnitude if dist <= aimFOV and dist < bestScore then bestScore = dist best = obj end end end end end return best end local function startAimbot() if aimConn then return end aimConn = RunService.RenderStepped:Connect(function() fovCircle.Position = UserInputService:GetMouseLocation() fovCircle.Radius = aimFOV fovCircle.Visible = showFOV and aimbotEnabled if not aimbotEnabled or not UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then currentTarget = nil return end if not currentTarget or not currentTarget:FindFirstChild("Humanoid") or currentTarget.Humanoid.Health <= 0 then currentTarget = getBestTarget() end if currentTarget then local targetPart = currentTarget:FindFirstChild("Head") or currentTarget:FindFirstChild("HumanoidRootPart") if targetPart then local targetCFrame = CFrame.new(camera.CFrame.Position, targetPart.Position) camera.CFrame = camera.CFrame:Lerp(targetCFrame, aimSensitivity) end end end) end local function stopAimbot() if aimConn then aimConn:Disconnect() end aimConn = nil fovCircle.Visible = false end -- Hitbox & WalkSpeed RunService.RenderStepped:Connect(function() if not getgenv().HitboxStatus then return end for _, v in ipairs(Players:GetPlayers()) do if v ~= player and v.Character and v.Character:FindFirstChild("HumanoidRootPart") then if not getgenv().TeamCheck or player.Team ~= v.Team then pcall(function() v.Character.HumanoidRootPart.Size = Vector3.new(getgenv().HitboxSize, getgenv().HitboxSize, getgenv().HitboxSize) v.Character.HumanoidRootPart.Transparency = getgenv().HitboxTransparency v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really black") v.Character.HumanoidRootPart.Material = "Neon" v.Character.HumanoidRootPart.CanCollide = false end) end end end end) RunService.RenderStepped:Connect(function() local hum = player.Character and player.Character:FindFirstChild("Humanoid") if hum then hum.WalkSpeed = walkSpeed end end) -- UI Creation createSection("Hitbox Expander") createToggle("Hitbox Status", false, function(v) getgenv().HitboxStatus = v end) createToggle("Team Check", false, function(v) getgenv().TeamCheck = v end) createSlider("Hitbox Size", 5, 50, 15, function(v) getgenv().HitboxSize = v end) createSlider("Hitbox Transparency", 0, 1, 0.9, function(v) getgenv().HitboxTransparency = v end) createSection("ESP") createToggle("Enable ESP", false, function(v) ESPEnabled = v end) createToggle("Show Names", true, function(v) ShowNames = v end) createToggle("Show Distance", true, function(v) ShowDistance = v end) createSection("Aimbot") createToggle("Enable Aimbot", false, function(v) aimbotEnabled = v if v then startAimbot() else stopAimbot() end end) createToggle("Show FOV Circle", true, function(v) showFOV = v end) createSlider("Aimbot FOV", 50, 500, 150, function(v) aimFOV = v end) createSlider("Aimbot Sensitivity", 0.01, 0.5, 0.15, function(v) aimSensitivity = v end) createSection("Movement") createToggle("Fly", false, function(v) if v then startFly() else stopFly() end end) createToggle("NoClip", false, function(v) if v then startNoClip() else stopNoClip() end end) createToggle("Infinite Jump", false, function(v) toggleInfJump(v) end) createToggle("Click TP (Rechtsklick)", false, function(v) clickTP = v end) createSlider("WalkSpeed", 16, 250, 16, function(v) walkSpeed = v end) createSlider("Fly Speed", 10, 500, 50, function(v) flySpeed = v end) -- Click TP UserInputService.InputBegan:Connect(function(input) if clickTP and input.UserInputType == Enum.UserInputType.MouseButton2 then local mouse = player:GetMouse() local root = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if root then root.CFrame = CFrame.new(mouse.Hit.X, mouse.Hit.Y + 4, mouse.Hit.Z) end end end) -- Right Shift Toggle UserInputService.InputBegan:Connect(function(input, gp) if gp then return end if input.KeyCode == Enum.KeyCode.RightShift then screenGui.Enabled = not screenGui.Enabled end end) end -- Key Submit submitBtn.MouseButton1Click:Connect(function() if keyBox.Text == CORRECT_KEY then keyGui:Destroy() createMainMenu() else submitBtn.Text = "Invalid Key!" submitBtn.BackgroundColor3 = Color3.fromRGB(170,40,40) task.wait(1.5) submitBtn.Text = "Submit Key" submitBtn.BackgroundColor3 = Color3.fromRGB(130,90,255) end end)