-- Load the Fluent UI Library
local Library = loadstring(game:HttpGetAsync("https://[Log in to view URL]"))()
-- Settings
local DebugMode = false -- SET THIS TO FALSE WHEN GIVING TO YOUR FRIEND
local keyFile = "nbitch.txt"
local correctKey = "NWR"
local keyDuration = 86400
local targetPlaceId = 75992362647444
local myScriptRaw = "https://[Log in to view URL]"
-- Function to load your actual script
local function loadMainScript()
pcall(function()
loadstring(game:HttpGet(myScriptRaw))()
end)
end
-- Function to check key
local function hasKey()
if DebugMode then return false end -- If debugging, pretend we don't have a key
if not isfile(keyFile) then return false end
local data = readfile(keyFile)
local savedKey, savedTime = data:match("^(.-)\n(.-)$")
savedTime = tonumber(savedTime)
if savedKey == correctKey and savedTime and (os.time() - savedTime) < keyDuration then
return true
end
return false
end
local function saveKey()
local saveData = correctKey .. "\n" .. tostring(os.time())
writefile(keyFile, saveData)
end
-- Check for auto-load
if hasKey() then
if game.PlaceId == targetPlaceId then
loadMainScript()
return
end
end
-- UI Setup (This only runs if hasKey() is false)
local Window = Library:Window{
Title = "NWR Verification",
SubTitle = "Tap Simulator Script System",
TabWidth = 160,
Size = UDim2.fromOffset(580, 460),
Resize = false,
Acrylic = true,
Theme = "Darker",
}
local Tabs = {
Key = Window:AddTab({ Title = "Key", Icon = "key" })
}
local VerificationSection = Tabs.Key:Section("Key System")
local KeyInput = VerificationSection:Input("KeyInput", {
Title = "Enter Key",
Placeholder = "Enter 'Key' here...",
Finished = false
})
VerificationSection:Button({
Title = "Check Key",
Description = "Verifies and saves your key.",
Callback = function()
if KeyInput.Value == correctKey then
if game.PlaceId == targetPlaceId then
saveKey()
Library:Notify({
Title = "Success",
Content = "Key Accepted! Loading script...",
Duration = 3
})
task.wait(1)
Window:Destroy()
loadMainScript()
else
Library:Notify({
Title = "Wrong Game",
Content = "Please join the Tap game (ID: 75992362647444)",
Duration = 5
})
end
else
Library:Notify({
Title = "Invalid Key",
Content = "The key you entered is incorrect.",
Duration = 3
})
end
end
})
VerificationSection:Button({
Title = "Get Key (Copy Discord)",
Description = "Copies the Discord link to your clipboard.",
Callback = function()
if setclipboard then
setclipboard("https://[Log in to view URL]")
Library:Notify({ Title = "Copied!", Content = "Discord link copied!", Duration = 3 })
end
end
})
To embed this project on your website, copy the following code and paste it into your website's HTML: