Advertisement
goku13l

getUNC

Jan 11th, 2025 (edited)
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.81 KB | None | 0 0
  1. -- Define the owner function
  2. function owner()
  3.     -- Owner's information
  4.     local owner_name = "peerless"  -- Replace with the actual owner's username
  5.     local owner_id = "12345678"        -- Replace with the actual owner's ID
  6.  
  7.     -- Output the owner's information
  8.     print("Owner's Name: " .. owner_name)
  9.     print("Owner's ID: " .. owner_id)
  10. end
  11.  
  12. -- Call the owner function
  13. owner()
  14.  
  15. -- Define the function to print the executor's identity
  16. function printidentity()
  17.     -- Check for the known executor identifiers
  18.     local executor_name
  19.     if is_syn_closure then
  20.         executor_name = "Synapse X"
  21.     elseif is_fluxus_closure then
  22.         executor_name = "Fluxus"
  23.     elseif is_sentinel_closure then
  24.         executor_name = "Sentinel"
  25.     elseif is_krnl_closure then
  26.         executor_name = "KRNL"
  27.     elseif is_proto_closure then
  28.         executor_name = "ProtoSmasher"
  29.     elseif is_calamari_closure then
  30.         executor_name = "Calamari"
  31.     elseif is_electron_closure then
  32.         executor_name = "Electron"
  33.     elseif is_elysian_closure then
  34.         executor_name = "Elysian"
  35.     else
  36.         executor_name = "Unknown Executor"
  37.     end
  38.  
  39.     -- Print the identity
  40.     print("This script is running on: " .. executor_name)
  41. end
  42.  
  43. -- Call the function
  44. printidentity()
  45.  
  46.  
  47. -- Closure to check if the executor is "Scripton"
  48. local is_scripton_closure = function()
  49.     local executor_name = "Scripton"
  50.     local current_executor = "Scripton"  
  51.  
  52.     -- Compare the current executor with the expected one
  53.     return current_executor == executor_name
  54. end
  55.  
  56. -- Check if the script is running in "Scripton" and print the appropriate message
  57. if is_scripton_closure() then
  58.     print("Script is running in the 'Scripton' executor.")
  59. else
  60.     print("Script is not running in 'Scripton'.")
  61. end
  62.  
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement