scriptify12

Merge Tower Defense OP Script

May 16th, 2025
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.94 KB | None | 0 0
  1. local replicatedStorage = game:GetService("ReplicatedStorage")
  2. local localPlayer = game:GetService("Players").LocalPlayer
  3. local infenergy = false
  4. local autoconvert = false
  5. local killall = false
  6. local gunmods = false
  7. local collectmoney = false
  8. local automerge = false
  9. local autobuy = false
  10. local buyamount = ""
  11. local autoupgrade = false
  12. local tycoon
  13. for _,v in workspace.Tycoon.Tycoons:GetChildren() do
  14. if v.Owner.Value == localPlayer then
  15. tycoon = v
  16. end
  17. end
  18.  
  19. local Library = loadstring(Game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/wizard"))()
  20. local Window = Library:NewWindow("Credit: Neutral")
  21.  
  22. local CurrencyTab = Window:NewSection("Currency")
  23.  
  24. CurrencyTab:CreateToggle("infinite energy", function(value)
  25. infenergy = value
  26. end)
  27.  
  28. CurrencyTab:CreateToggle("auto convert energy", function(value)
  29. autoconvert = value
  30. end)
  31.  
  32. CurrencyTab:CreateToggle("auto collect money", function(value)
  33. collectmoney = value
  34. end)
  35.  
  36. local WeaponsTab = Window:NewSection("Weapons")
  37.  
  38. WeaponsTab:CreateToggle("kill all zombies", function(value)
  39. killall = value
  40. end)
  41.  
  42. WeaponsTab:CreateToggle("gun modifications", function(value)
  43. gunmods = value
  44. end)
  45.  
  46. local TycoonTab = Window:NewSection("Tycoon")
  47.  
  48. TycoonTab:CreateToggle("auto buy towers", function(value)
  49. autobuy = value
  50. end)
  51.  
  52. TycoonTab:CreateDropdown("Amount", {"","3","10","30","50","100","1000","10000"},1,function(amount)
  53. buyamount = amount
  54. end)
  55.  
  56. TycoonTab:CreateToggle("auto merge towers", function(value)
  57. automerge = value
  58. end)
  59.  
  60. TycoonTab:CreateToggle("auto upgrade convert", function(value)
  61. autoupgrade = value
  62. end)
  63.  
  64.  
  65. game:GetService("RunService").RenderStepped:Connect(function(delta)
  66. local character = localPlayer.Character
  67. local tier = localPlayer:GetAttribute("Tier")
  68. local tool = character:FindFirstChildWhichIsA("Tool")
  69. local gun
  70. if tool and tool:FindFirstChild("GunClient") and tool:FindFirstChild("Configuration") then
  71. gun = tool
  72. end
  73.  
  74. if infenergy then
  75. replicatedStorage.Signals.RemoteEvents.GetWoolRemote:FireServer(tier)
  76. end
  77. if autoconvert then
  78. replicatedStorage.Signals.RemoteEvents.PutRemote:FireServer()
  79. end
  80. if collectmoney then
  81. for _,v in workspace:GetChildren() do
  82. if v.Name == "Money" then
  83. firetouchinterest(v,character.HumanoidRootPart,0)
  84. firetouchinterest(v,character.HumanoidRootPart,1)
  85. end
  86. end
  87. end
  88. if gunmods and gun then
  89. if gun.Configuration:FindFirstChild("Automatic") and tool.Configuration.Automatic.Value == false then
  90. gun.Configuration.Automatic.Value = true
  91. end
  92. if gun.Configuration:FindFirstChild("Firerate") and gun.Configuration.Firerate.Value > 0 then
  93. gun.Configuration.Firerate.Value = 0
  94. end
  95. if gun.Configuration:FindFirstChild("ReloadTime") and gun.Configuration.ReloadTime.Value > 0 then
  96. gun.Configuration.ReloadTime.Value = 0
  97. end
  98. end
  99. if killall and gun then
  100. for _,v in tycoon.Round:GetChildren() do
  101. if v:FindFirstChild("Humanoid") and v.Humanoid.Health > 0 then
  102. gun.Remotes.CastRay:FireServer(vector.create(1,1,1),v.Humanoid,true)
  103. end
  104. end
  105. end
  106. if autobuy and tycoon then
  107. firetouchinterest(tycoon.Buttons_E["Add"..buyamount].Head,character.HumanoidRootPart,0)
  108. firetouchinterest(tycoon.Buttons_E["Add"..buyamount].Head,character.HumanoidRootPart,1)
  109. end
  110. if automerge and tycoon then
  111. firetouchinterest(tycoon.Buttons_E.Merge.Head,character.HumanoidRootPart,0)
  112. firetouchinterest(tycoon.Buttons_E.Merge.Head,character.HumanoidRootPart,1)
  113. end
  114. if autoupgrade and tycoon then
  115. firetouchinterest(tycoon.Buttons_E.Upgrade.Head,character.HumanoidRootPart,0)
  116. firetouchinterest(tycoon.Buttons_E.Upgrade.Head,character.HumanoidRootPart,1)
  117. end
  118. end)
Advertisement
Add Comment
Please, Sign In to add comment