Mr_3242

VoidWare (hub) (I tested with 99 nights in the forest)

Jul 30th, 2026
18
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.39 KB | Gaming | 0 0
  1. -- ==================== LOAD RAYFIELD (protected) ====================
  2. local success, Rayfield = pcall(function()
  3.     return loadstring(game:HttpGet("https://sirius.menu/rayfield"))()
  4. end)
  5.  
  6. if not success or not Rayfield then
  7.     warn("[Voidware Loader] Failed to load Rayfield")
  8.     return
  9. end
  10.  
  11. -- Reset all flags on re-execute
  12. shared.VoidDev = false
  13. shared.VapeDeveloper = false
  14. shared.VoidwareNetworkingDebug = false
  15.  
  16. -- ==================== WINDOW ====================
  17. local Window = Rayfield:CreateWindow({
  18.     Name = "99 Nights in the forest",
  19.     LoadingTitle = "Voidware Loader",
  20.     LoadingSubtitle = "Follow me on TikTok Mr_3242",
  21.     ConfigurationSaving = {
  22.         Enabled = false
  23.     },
  24.     KeySystem = false
  25. })
  26.  
  27. -- ==================== SAFE NOTIFY ====================
  28. local function Notify(title, content)
  29.     pcall(function()
  30.         Rayfield:Notify({
  31.             Title = title,
  32.             Content = content,
  33.             Duration = 3,
  34.             Image = 4483362458
  35.         })
  36.     end)
  37. end
  38.  
  39. -- ==================== CLEANUP (resets flags) ====================
  40. local function Cleanup()
  41.     shared.VoidDev = false
  42.     shared.VapeDeveloper = false
  43.     shared.VoidwareNetworkingDebug = false
  44. end
  45.  
  46. -- ==================== UNLOAD SYSTEM ====================
  47. -- First clean any previous instance
  48. if getgenv().VoidwareUnload then
  49.     pcall(getgenv().VoidwareUnload)
  50. end
  51.  
  52. getgenv().VoidwareUnload = function()
  53.     pcall(function()
  54.         if Rayfield and Rayfield.Destroy then
  55.             Rayfield:Destroy()
  56.         end
  57.     end)
  58.     getgenv().VoidwareUnload = nil
  59. end
  60.  
  61. -- ==================== SHARED LOAD FUNCTION ====================
  62. local function LoadScript()
  63.     local success, err = pcall(function()
  64.         loadstring(game:HttpGet("https://files.vapevoidware.xyz/VapeVoidware/VW-Add/main/nightsintheforest2.lua", true))()
  65.     end)
  66.     if not success then
  67.         warn("[Voidware Loader] Load failed:", err)
  68.     end
  69. end
  70.  
  71. -- ==================== VOIDWARE LOADERS ====================
  72. local LoadersTab = Window:CreateTab("Voidware loaders", 4483362458)
  73.  
  74. -- Button 1
  75. LoadersTab:CreateParagraph({
  76.     Title = "Button 1 - What this button does",
  77.     Content = "This loads the 99 Nights script with VoidDev and VapeDeveloper enabled. It turns on developer mode so you get extra debug information, but it does not enable the full networking debug spam."
  78. })
  79.  
  80. LoadersTab:CreateButton({
  81.     Name = "Load with VoidDev + VapeDeveloper",
  82.     Callback = function()
  83.         if getgenv().VoidwareUnload then
  84.             pcall(getgenv().VoidwareUnload)
  85.         end
  86.  
  87.         Cleanup()
  88.         shared.VoidDev = true
  89.         shared.VapeDeveloper = true
  90.         LoadScript()
  91.     end
  92. })
  93.  
  94. -- Button 2
  95. LoadersTab:CreateParagraph({
  96.     Title = "Button 2 - What this button does",
  97.     Content = "This is the same as the first button, but also enables VoidwareNetworkingDebug. You will see a lot more information printed in the console (F9 / Delta console). Use this when you want to see what the script is doing in detail."
  98. })
  99.  
  100. LoadersTab:CreateButton({
  101.     Name = "Load with Full Debug (Networking)",
  102.     Callback = function()
  103.         if getgenv().VoidwareUnload then
  104.             pcall(getgenv().VoidwareUnload)
  105.         end
  106.  
  107.         Cleanup()
  108.         shared.VoidDev = true
  109.         shared.VoidwareNetworkingDebug = true
  110.         shared.VapeDeveloper = true
  111.         LoadScript()
  112.     end
  113. })
  114.  
  115. -- Button 3
  116. LoadersTab:CreateParagraph({
  117.     Title = "Button 3 - What this button does",
  118.     Content = "This loads the 99 Nights script completely normally. No VoidDev, no VapeDeveloper, and no networking debug."
  119. })
  120.  
  121. LoadersTab:CreateButton({
  122.     Name = "Normal Load (No Dev Flags)",
  123.     Callback = function()
  124.         if getgenv().VoidwareUnload then
  125.             pcall(getgenv().VoidwareUnload)
  126.         end
  127.  
  128.         Cleanup()
  129.         LoadScript()
  130.     end
  131. })
  132.  
  133. -- ==================== CREDITS ====================
  134. local CreditsTab = Window:CreateTab("Credits", 4483362458)
  135.  
  136. CreditsTab:CreateParagraph({
  137.     Title = "Credits",
  138.     Content = "Script created by Mr_3242\nThanks for using the script!"
  139. })
  140.  
  141. CreditsTab:CreateButton({
  142.     Name = "Copy TikTok Link",
  143.     Callback = function()
  144.         if setclipboard then
  145.             setclipboard("https://www.tiktok.com/@Mr_3242")
  146.             Notify("Copied", "TikTok link copied")
  147.         else
  148.             Notify("Error", "setclipboard not available")
  149.         end
  150.     end
  151. })
  152.  
  153. CreditsTab:CreateButton({
  154.     Name = "Copy YouTube Link",
  155.     Callback = function()
  156.         if setclipboard then
  157.             setclipboard("https://www.youtube.com/@Mr_3242.")
  158.             Notify("Copied", "YouTube link copied")
  159.         else
  160.             Notify("Error", "setclipboard not available")
  161.         end
  162.     end
  163. })
  164.  
  165. CreditsTab:CreateButton({
  166.     Name = "Copy Twitch Link",
  167.     Callback = function()
  168.         if setclipboard then
  169.             setclipboard("https://m.twitch.tv/quantumx_42/home")
  170.             Notify("Copied", "Twitch link copied")
  171.         else
  172.             Notify("Error", "setclipboard not available")
  173.         end
  174.     end
  175. })
  176.  
  177. -- ==================== UNLOAD ====================
  178. local UnloadTab = Window:CreateTab("Unload", 4483362458)
  179.  
  180. UnloadTab:CreateButton({
  181.     Name = "Unload Script",
  182.     Callback = function()
  183.         if getgenv().VoidwareUnload then
  184.             getgenv().VoidwareUnload()
  185.         end
  186.     end
  187. })
Tags: delta
Advertisement
Add Comment
Please, Sign In to add comment