local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/Turtle-Brand/Turtle-Lib/main/source.lua"))() -- Ignore Above // Script GUI from https://github.com/Turtle-Brand/Turtle-Lib --[[ * Credits to @squhz on Discord - DM FOR HELP * * Discord Server Credit: https://discord.gg/FJhzvKyPYK * * PLEASE READ NOTES TO UNDERSTAND IF YOUR STUCK! * * Credits dont need to be provided * * You can ignore this comment block! * ]] local input = "" local getKey = "[YOUR LINK TO GET THE KEY]" -- Replace with the link to get the key local key = "[THE KEY]" -- Replace with the actual key local window = library:Window("Key System") -- Create the main GUI window window:Label("Made from the CoHub team") -- Create the heading text label window:Box("Enter Key", function(text, focuslost) -- Input box for entering the key if focuslost then input = text -- Store the entered text in the 'input' variable when focus is lost end end) -- End the function for the input box window:Button("Submit Key", function() -- Submit button to check if the entered key is correct if input == key then -- Compare the entered input with the correct key print("// Access Gained //") local script = [YOUR SCRIPT ONCE KEY IS CORRECT] -- * REPLACE WITH YOUR SCRIPT * script() -- Your script executed else print("// Access Denied //") -- If incorrect, print "Key Incorrect" end end) -- End the function for the "Submit Key" button window:Button("Get Key", function() -- Button to copy the key link to the clipboard setclipboard(getKey) -- Set the key link into the client's clipboard (works only in Studio) end) -- End the function for the "Get Key" button