N4ri

Fortress Simulator

May 9th, 2020
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. local library = loadstring(game:HttpGet("https://pastebin.com/raw/eWKgbdix", true))()
  2. library.options.underlinecolor = "rainbow"
  3. local w = library:CreateWindow('Main')
  4. w:Section('Toggles')
  5.  
  6. spawn(function()
  7. local partt = Instance.new("Part", workspace)
  8. partt.Position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(0,-40,0)
  9. partt.Size = Vector3.new(3000,1,3000)
  10. partt.Anchored = true
  11. partt.BrickColor = BrickColor.random()
  12. end)
  13.  
  14. w:Toggle('Kill Zombies', {flag = "toggle1"})
  15. spawn(function()
  16. while wait() do
  17. if w.flags.toggle1 then
  18. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  19. for i,v in pairs(game:GetService("Workspace").Enemies:GetDescendants()) do
  20. if v.Name == "Torso" then
  21. if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < 100 then
  22. local A_1 = v.Parent.Humanoid
  23. local A_2 = 2000
  24. local Event = game:GetService("ReplicatedStorage").Damage
  25. Event:FireServer(A_1, A_2)
  26. end
  27. end
  28. end
  29. end
  30. end
  31. end
  32. end)
  33.  
  34. w:Toggle('Lag Server', {flag = "toggle1"})
  35. spawn(function()
  36. while wait() do
  37. if w.flags.toggle1 then
  38. wait(1)
  39. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  40. for i,v in pairs(game.workspace:GetDescendants()) do
  41. if v:IsA("Part") then
  42. local A_1 = game:GetService("ReplicatedStorage").Assets["Basic Building"]["Metal Block"]
  43. local A_2 = CFrame.new(v.Position)
  44. local A_3 = game:GetService("Workspace").Plates.Purple.AddedParts
  45. local Event = game:GetService("ReplicatedStorage").CloneBlock
  46. Event:FireServer(A_1, A_2, A_3)
  47. end
  48. end
  49. end
  50. end
  51. end
  52. end)
  53.  
  54. w:Button("Get All Items", function()
  55. for i,v in pairs(game:GetService("ReplicatedStorage").Assets:GetDescendants()) do
  56. if v.Name == "AssetID" then
  57. local A_1 = v.Parent.Name
  58. local A_2 = 100000000000
  59. local Event = game:GetService("ReplicatedStorage").AddItems
  60. Event:FireServer(A_1, A_2)
  61. end
  62. end
  63. end)
  64.  
  65. w:Button("Unlimited Gold", function()
  66. local A_1 = 9e18
  67. local Event = game:GetService("ReplicatedStorage").AddGold
  68. Event:FireServer(A_1)
  69. end)
  70. w:Button("Reset Gold", function()
  71. local A_1 = -game:GetService("Players")[game.Players.LocalPlayer.Name].leaderstats.Gold.Value
  72. local Event = game:GetService("ReplicatedStorage").AddGold
  73. Event:FireServer(A_1)
  74. end)
Add Comment
Please, Sign In to add comment