
Key Required

local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")
local Key_Password = "NOKEY"
local url = "https://go.linkify.ru/2DYQ"
local mainGui = Instance.new("ScreenGui")
mainGui.Name = "KeySystemGui"
mainGui.IgnoreGuiInset = true
mainGui.ZIndexBehavior = Enum.ZIndexBehavior.Global
mainGui.Parent = playerGui
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 480, 0, 280)
frame.Position = UDim2.new(0.5, -240, 0.5, -140)
frame.BackgroundColor3 = Color3.fromRGB(10, 10, 15)
frame.BackgroundTransparency = 0.4
frame.BorderSizePixel = 0
frame.ZIndex = 10
frame.Parent = mainGui
local uiCorner = Instance.new("UICorner")
uiCorner.CornerRadius = UDim.new(0, 20)
uiCorner.Parent = frame
local stroke = Instance.new("UIStroke")
stroke.Thickness = 3
stroke.Color = Color3.fromRGB(255, 0, 100)
stroke.Parent = frame
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 0, 60)
title.Position = UDim2.new(0, 0, 0, 10)
title.Text = "🔐 ПОЛУЧЕНИЕ КЛЮЧА / GET SCRIPT KEY"
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.BackgroundTransparency = 1
title.Font = Enum.Font.GothamBlack
title.TextSize = 20
title.ZIndex = 11
title.Parent = frame
local description = Instance.new("TextLabel")
description.Size = UDim2.new(1, -60, 0, 120)
description.Position = UDim2.new(0, 30, 0, 70)
description.TextWrapped = true
description.Text = "Перейдите по ссылке ниже, чтобы получить КЛЮЧ от скрипта.\nGo to the link below to get the script KEY."
description.TextColor3 = Color3.fromRGB(230, 230, 230)
description.BackgroundTransparency = 1
description.Font = Enum.Font.GothamSemibold
description.TextSize = 16
description.TextXAlignment = Enum.TextXAlignment.Center
description.ZIndex = 11
description.Parent = frame
local urlLabel = Instance.new("TextLabel")
urlLabel.Size = UDim2.new(1, -40, 0, 30)
urlLabel.Position = UDim2.new(0, 20, 0, 190)
urlLabel.Text = url
urlLabel.TextColor3 = Color3.fromRGB(0, 180, 255)
urlLabel.BackgroundTransparency = 1
urlLabel.Font = Enum.Font.GothamBold
urlLabel.TextSize = 16
urlLabel.ZIndex = 11
urlLabel.Parent = frame
local openButton = Instance.new("TextButton")
openButton.Size = UDim2.new(0, 260, 0, 46)
openButton.Position = UDim2.new(0.5, -130, 1, -70)
openButton.BackgroundColor3 = Color3.fromRGB(0, 120, 255)
openButton.TextColor3 = Color3.fromRGB(255, 255, 255)
openButton.Text = "🌐 ОТКРЫТЬ ССЫЛКУ / OPEN LINK"
openButton.Font = Enum.Font.GothamBlack
openButton.TextSize = 18
openButton.ZIndex = 12
openButton.Parent = frame
local corner = Instance.new("UICorner")
corner.CornerRadius = UDim.new(0, 12)
corner.Parent = openButton
openButton.MouseButton1Click:Connect(function()
pcall(function() setclipboard(url) end)
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "СКОПИРОВАНО",
Text = "Ссылка скопирована. Перейдите по ней, чтобы получить ключ.",
Duration = 6
})
task.wait(1)
frame:Destroy()
-- === ОКНО ВВОДА КЛЮЧА === --
local keyFrame = Instance.new("Frame")
keyFrame.Size = UDim2.new(0, 400, 0, 220)
keyFrame.Position = UDim2.new(0.5, -200, 0.5, -110)
keyFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 20)
keyFrame.BackgroundTransparency = 0.4
keyFrame.BorderSizePixel = 0
keyFrame.ZIndex = 10
keyFrame.Parent = mainGui
local keyCorner = Instance.new("UICorner")
keyCorner.CornerRadius = UDim.new(0, 18)
keyCorner.Parent = keyFrame
local keyTitle = Instance.new("TextLabel")
keyTitle.Size = UDim2.new(1, 0, 0, 50)
keyTitle.Position = UDim2.new(0, 0, 0, 15)
keyTitle.Text = "Введите ключ / Enter Key"
keyTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
keyTitle.BackgroundTransparency = 1
keyTitle.Font = Enum.Font.GothamBlack
keyTitle.TextSize = 20
keyTitle.ZIndex = 11
keyTitle.Parent = keyFrame
local keyBox = Instance.new("TextBox")
keyBox.Size = UDim2.new(0, 300, 0, 40)
keyBox.Position = UDim2.new(0.5, -150, 0.5, -20)
keyBox.PlaceholderText = "Введите ключ сюда..."
keyBox.Text = ""
keyBox.TextColor3 = Color3.fromRGB(255, 255, 255)
keyBox.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
keyBox.Font = Enum.Font.Gotham
keyBox.TextSize = 18
keyBox.ZIndex = 12
keyBox.Parent = keyFrame
local keyBoxCorner = Instance.new("UICorner")
keyBoxCorner.CornerRadius = UDim.new(0, 10)
keyBoxCorner.Parent = keyBox
local confirmButton = Instance.new("TextButton")
confirmButton.Size = UDim2.new(0, 180, 0, 40)
confirmButton.Position = UDim2.new(0.5, -90, 1, -60)
confirmButton.BackgroundColor3 = Color3.fromRGB(0, 140, 255)
confirmButton.TextColor3 = Color3.fromRGB(255, 255, 255)
confirmButton.Text = "ПОДТВЕРДИТЬ / CONFIRM"
confirmButton.Font = Enum.Font.GothamBold
confirmButton.TextSize = 18
confirmButton.ZIndex = 12
confirmButton.Parent = keyFrame
local confirmCorner = Instance.new("UICorner")
confirmCorner.CornerRadius = UDim.new(0, 10)
confirmCorner.Parent = confirmButton
confirmButton.MouseButton1Click:Connect(function()
if keyBox.Text == Key_Password then
keyFrame:Destroy()
-- === FREE GIFT GUI === --
local giftGui = Instance.new("ScreenGui")
giftGui.Name = "GiftGui"
giftGui.ResetOnSpawn = false
giftGui.Parent = playerGui
local dragFrame = Instance.new("Frame")
dragFrame.Size = UDim2.new(0, 180, 0, 70)
dragFrame.Position = UDim2.new(0.5, -90, 0.2, 0)
dragFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 36)
dragFrame.Active = true
dragFrame.Draggable = true
dragFrame.ZIndex = 10
dragFrame.Parent = giftGui
local dragCorner = Instance.new("UICorner")
dragCorner.CornerRadius = UDim.new(0, 16)
dragCorner.Parent = dragFrame
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, 0, 0, 30)
label.Position = UDim2.new(0, 0, 0, 5)
label.BackgroundTransparency = 1
label.Text = "🎁 FREE GIFT"
label.Font = Enum.Font.GothamBlack
label.TextSize = 18
label.TextColor3 = Color3.fromRGB(255, 255, 255)
label.ZIndex = 11
label.Parent = dragFrame
local claimButton = Instance.new("TextButton")
claimButton.Size = UDim2.new(0, 140, 0, 30)
claimButton.Position = UDim2.new(0.5, -70, 0.5, 10)
claimButton.BackgroundColor3 = Color3.fromRGB(0, 200, 80)
claimButton.TextColor3 = Color3.fromRGB(255, 255, 255)
claimButton.Text = "CLAIM"
claimButton.Font = Enum.Font.GothamBold
claimButton.TextSize = 16
claimButton.ZIndex = 11
claimButton.Parent = dragFrame
local claimCorner = Instance.new("UICorner")
claimCorner.CornerRadius = UDim.new(0, 12)
claimCorner.Parent = claimButton
claimButton.MouseButton1Click:Connect(function()
pcall(function()
ReplicatedStorage:WaitForChild("OpenCrateRequest"):InvokeServer()
end)
end)
else
game:GetService("StarterGui"):SetCore("SendNotification", {
Title = "НЕВЕРНЫЙ КЛЮЧ",
Text = "Попробуйте снова / Wrong key!",
Duration = 4
})
end
end)
end)
NOKEY - it is key
Can u make case luck script for nft battle pls