Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Key System Script
- local correctKey = "EasyKeyGenerated-9239728317827737657463832842364786" -- Your predefined key
- -- Function to display a simple GUI for key input
- local function createKeyGui()
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextBox = Instance.new("TextBox")
- local TextButton = Instance.new("TextButton")
- local UICorner = Instance.new("UICorner")
- ScreenGui.Parent = game.CoreGui
- ScreenGui.Name = "KeySystemGui"
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- Frame.Position = UDim2.new(0.5, -100, 0.5, -50)
- Frame.Size = UDim2.new(0, 200, 0, 100)
- UICorner.CornerRadius = UDim.new(0, 10)
- UICorner.Parent = Frame
- TextBox.Parent = Frame
- TextBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
- TextBox.Position = UDim2.new(0.1, 0, 0.2, 0)
- TextBox.Size = UDim2.new(0.8, 0, 0.3, 0)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.PlaceholderText = "Enter Key"
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextBox.TextScaled = true
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
- TextButton.Position = UDim2.new(0.1, 0, 0.6, 0)
- TextButton.Size = UDim2.new(0.8, 0, 0.25, 0)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Submit"
- TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextButton.TextScaled = true
- TextButton.MouseButton1Click:Connect(function()
- if TextBox.Text == correctKey then
- ScreenGui:Destroy()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/Tropxzz/Terror/main/Games/NinjaLegends.lua", true))()
- else
- TextBox.Text = ""
- TextBox.PlaceholderText = "Incorrect Key! Try Again."
- end
- end)
- end
- createKeyGui()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement