Advertisement
12345678910AZ_bre

Ninja Legends Script

Jan 23rd, 2025 (edited)
688
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.89 KB | Gaming | 0 0
  1. -- Key System Script
  2. local correctKey = "EasyKeyGenerated-9239728317827737657463832842364786" -- Your predefined key
  3.  
  4. -- Function to display a simple GUI for key input
  5. local function createKeyGui()
  6.     local ScreenGui = Instance.new("ScreenGui")
  7.     local Frame = Instance.new("Frame")
  8.     local TextBox = Instance.new("TextBox")
  9.     local TextButton = Instance.new("TextButton")
  10.     local UICorner = Instance.new("UICorner")
  11.  
  12.     ScreenGui.Parent = game.CoreGui
  13.     ScreenGui.Name = "KeySystemGui"
  14.  
  15.     Frame.Parent = ScreenGui
  16.     Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  17.     Frame.Position = UDim2.new(0.5, -100, 0.5, -50)
  18.     Frame.Size = UDim2.new(0, 200, 0, 100)
  19.     UICorner.CornerRadius = UDim.new(0, 10)
  20.     UICorner.Parent = Frame
  21.  
  22.     TextBox.Parent = Frame
  23.     TextBox.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  24.     TextBox.Position = UDim2.new(0.1, 0, 0.2, 0)
  25.     TextBox.Size = UDim2.new(0.8, 0, 0.3, 0)
  26.     TextBox.Font = Enum.Font.SourceSans
  27.     TextBox.PlaceholderText = "Enter Key"
  28.     TextBox.Text = ""
  29.     TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
  30.     TextBox.TextScaled = true
  31.  
  32.     TextButton.Parent = Frame
  33.     TextButton.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
  34.     TextButton.Position = UDim2.new(0.1, 0, 0.6, 0)
  35.     TextButton.Size = UDim2.new(0.8, 0, 0.25, 0)
  36.     TextButton.Font = Enum.Font.SourceSans
  37.     TextButton.Text = "Submit"
  38.     TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  39.     TextButton.TextScaled = true
  40.  
  41.     TextButton.MouseButton1Click:Connect(function()
  42.         if TextBox.Text == correctKey then
  43.             ScreenGui:Destroy()
  44.             loadstring(game:HttpGet("https://raw.githubusercontent.com/Tropxzz/Terror/main/Games/NinjaLegends.lua", true))()
  45.         else
  46.             TextBox.Text = ""
  47.             TextBox.PlaceholderText = "Incorrect Key! Try Again."
  48.         end
  49.     end)
  50. end
  51.  
  52. createKeyGui()
  53.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement