Advertisement
Skylar12

Launch A Gun Script

Apr 22nd, 2025
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.48 KB | None | 0 0
  1. getgenv().cachedUUID = nil
  2. getgenv().cachedAmount = nil
  3.  
  4. local function HookUUID()
  5. if getgenv().uuidHooked then return end
  6. getgenv().uuidHooked = true
  7.  
  8. local mt = getrawmetatable(game)
  9. local oldNamecall = mt.__namecall
  10. setreadonly(mt, false)
  11.  
  12. mt.__namecall = newcclosure(function(self, ...)
  13. local args = { ... }
  14. if getnamecallmethod() == "FireServer" and tostring(self) == "Remote" and args[1] == "Launch Complete" then
  15. cachedUUID = args[2]
  16. cachedAmount = args[3]
  17. warn("📦 UUID Captured:", cachedUUID)
  18. end
  19. return oldNamecall(self, ...)
  20. end)
  21.  
  22. setreadonly(mt, true)
  23. end
  24.  
  25. HookUUID()
  26.  
  27.  
  28. local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()
  29. local SaveManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/SaveManager.lua"))()
  30. local InterfaceManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua"))()
  31.  
  32. local Window = Fluent:CreateWindow({
  33. Title = "Launch A Gun To Space",
  34. SubTitle = "by Flames/Aura",
  35. TabWidth = 160,
  36. Size = UDim2.fromOffset(580, 460),
  37. Acrylic = true,
  38. Theme = "Darker",
  39. MinimizeKey = Enum.KeyCode.LeftControl
  40. })
  41.  
  42. local Tabs = {
  43. Main = Window:AddTab({ Title = "Main", Icon = "rocket" }),
  44. Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
  45. }
  46.  
  47. local Options = Fluent.Options
  48.  
  49. Fluent:Notify({
  50. Title = "Auto UUID",
  51. Content = "Launch your gun once!",
  52. Duration = 8
  53. })
  54.  
  55. Tabs.Main:AddParagraph({
  56. Title = "Instructions",
  57. Content = "BEFORE YOU DO INFINITE CASH JUST JUMP OFF THE BUILDING ONCE UNTIL YOU LANDED \nTHIS ONLY WORKS ON PAID EXECUTORS DOWNLOAD SWIFT ITS FREE AND HAS 100% SUNC"
  58. })
  59.  
  60.  
  61. local cashLoop = false
  62. local CashToggle = Tabs.Main:AddToggle("InfiniteCashToggle", {
  63. Title = "Infinite Cash",
  64. Default = false,
  65. Description = "Loops gun launch with captured UUID."
  66. })
  67.  
  68. CashToggle:OnChanged(function(enabled)
  69. cashLoop = enabled
  70. if enabled then
  71. task.spawn(function()
  72. while cashLoop and task.wait(0.2) do
  73. if cachedUUID then
  74. local args = {
  75. [1] = "Launch Complete",
  76. [2] = cachedUUID,
  77. [3] = cachedAmount or 100000000000
  78. }
  79. game:GetService("ReplicatedStorage"):WaitForChild("Network"):WaitForChild("Remote"):FireServer(unpack(args))
  80. print("💰 Infinite Cash Fired! UUID:", cachedUUID)
  81. end
  82. end
  83. end)
  84. end
  85. end)
  86.  
  87. local levelLoop = false
  88. local AutoLevelGunToggle = Tabs.Main:AddToggle("AutoLevelGunToggle", {
  89. Title = "Auto Level Gun",
  90. Default = false,
  91. Description = "Loops gun leveling."
  92. })
  93.  
  94. AutoLevelGunToggle:OnChanged(function(enabled)
  95. levelLoop = enabled
  96. if enabled then
  97. task.spawn(function()
  98. while levelLoop and task.wait(0.2) do
  99. local args = {
  100. [1] = "Buy Level"
  101. }
  102. game:GetService("ReplicatedStorage"):WaitForChild("Network"):WaitForChild("Remote"):FireServer(unpack(args))
  103. print("🧠 Gun Leveled")
  104. end
  105. end)
  106. end
  107. end)
  108.  
  109. local floorLoop = false
  110. local UpgradeFloorToggle = Tabs.Main:AddToggle("UpgradeFloorToggle", {
  111. Title = "Auto Upgrade Floor",
  112. Default = false,
  113. Description = "Loops floor upgrade purchase."
  114. })
  115.  
  116. UpgradeFloorToggle:OnChanged(function(enabled)
  117. floorLoop = enabled
  118. if enabled then
  119. task.spawn(function()
  120. while floorLoop and task.wait(0.2) do
  121. local args = {
  122. [1] = "Buy 3 Floors"
  123. }
  124. game:GetService("ReplicatedStorage"):WaitForChild("Network"):WaitForChild("Remote"):FireServer(unpack(args))
  125. print("🏢 Floors Upgraded")
  126. end
  127. end)
  128. end
  129. end)
  130.  
  131. SaveManager:SetLibrary(Fluent)
  132. InterfaceManager:SetLibrary(Fluent)
  133. SaveManager:IgnoreThemeSettings()
  134. SaveManager:SetIgnoreIndexes({})
  135. InterfaceManager:SetFolder("FluentScriptHub")
  136. SaveManager:SetFolder("FluentScriptHub/LaunchGunToSpace")
  137. InterfaceManager:BuildInterfaceSection(Tabs.Settings)
  138. SaveManager:BuildConfigSection(Tabs.Settings)
  139. Window:SelectTab(1)
  140. SaveManager:LoadAutoloadConfig()
  141.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement