--//Game ID Check\\--
local allowedGameId = 4483381587 -- The allowed game ID
if game.PlaceId ~= allowedGameId then
game.StarterGui:SetCore("SendNotification", {
Title = "Unauthorized Game",
Text = "This script can only be used in the allowed game!",
Duration = 5
})
return -- Stop the script from executing
end
--[[
WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
--//Toggle\\--
getgenv().Toggle = true -- This toggles the esp, turning it to false will turn it off
getgenv().TC = false -- This toggles team check, turning it on will turn on team check
local PlayerName = "Name" -- You can decide if you want the Player's name to be a display name which is "DisplayName", or username which is "Name"
--// Key System \\--
local pastebinURL = "https://[Log in to view URL]" -- Replace with your Pastebin raw URL
local enteredKey = ""
-- Function to fetch the correct key from Pastebin
local function fetchKey()
local success, response = pcall(function()
return game:HttpGet(pastebinURL)
end)
return success and response or nil
end
local correctKey = fetchKey()
if not correctKey then
error("Failed to fetch the correct key. Check your Pastebin URL.")
end
-- Orion Library UI
local OrionLib = loadstring(game:HttpGet(('https://[Log in to view URL]')))()
local Window = OrionLib:MakeWindow({Name = "Key System", HidePremium = false, IntroEnabled = false})
local Tab = Window:MakeTab({
Name = "Key",
Icon = "rbxassetid://4483345998",
PremiumOnly = false
})
Tab:AddTextbox({
Name = "Enter Key",
Default = "",
TextDisappear = false,
Callback = function(value)
enteredKey = value
end
})
Tab:AddButton({
Name = "Submit Key",
Callback = function()
if enteredKey == correctKey then
OrionLib:MakeNotification({
Name = "Success",
Content = "Key is correct!",
Image = "rbxassetid://4483345998",
Time = 5
})
-- Load your script here after key validation
Window:Destroy()
loadstring(game:HttpGet("https://[Log in to view URL]"))()
else
OrionLib:MakeNotification({
Name = "Error",
Content = "Invalid key, please try again.",
Image = "rbxassetid://4483345998",
Time = 5
})
end
end
})
OrionLib:Init()
To embed this project on your website, copy the following code and paste it into your website's HTML: