tomoneko

Plants Tower Defense

Mar 30th, 2025 (edited)
78
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. local library = loadstring(game.HttpGet(game, "https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/0x"))()
  2.  
  3. local lobby = library:Window("lobby")
  4. local main = library:Window("main")
  5.  
  6. lobby:Button("キャラ解放", function()
  7. local seeds = {
  8. "CabbagePult",
  9. "Chomper",
  10. "FirePeashooter",
  11. "KernelPult",
  12. "MelonPult",
  13. "PotatoMine",
  14. "PuffShroom",
  15. "Repeater",
  16. "SunShroom",
  17. "Sunflower",
  18. "TwinSunflower",
  19. "WallNut"
  20. }
  21.  
  22. local delay = 0.1
  23. local stopped = false
  24.  
  25. for i = 1, #seeds do
  26. if stopped then break end
  27. game:GetService("ReplicatedStorage").Events.UpdatePlayerSeeds:FireServer(seeds[i], 150)
  28. if seeds[i] == "WallNut" then
  29. stopped = true
  30. else
  31. wait(delay)
  32. end
  33. end
  34. end)
  35.  
  36. main:Button("SnowPea Spawn(175)", function()
  37. local args = {
  38. [1] = "SnowPea",
  39. [2] = CFrame.new(203, 2.5129995346069336, -31.5) * CFrame.Angles(-0, 0, -0)
  40. }
  41.  
  42. game:GetService("ReplicatedStorage").Functions.Spawn_Plant:InvokeServer(unpack(args))
  43. end)
  44.  
  45. main:Button("GatlingPea Spawn(550)", function()
  46. local args = {
  47. [1] = "GatlingPea",
  48. [2] = CFrame.new(203, 2.5129995346069336, -28) * CFrame.Angles(-0, 0, -0)
  49. }
  50.  
  51. game:GetService("ReplicatedStorage").Functions.Spawn_Plant:InvokeServer(unpack(args))
  52. end)
  53.  
  54. main:Button("Wave Skip", function()
  55. local timerText = game:GetService("Players").LocalPlayer.PlayerGui.GameGUI.Timer.Text
  56. if timerText ~= "00:00" then
  57. local args = {
  58. [1] = "Skip"
  59. }
  60. game:GetService("ReplicatedStorage").Events.VoteSkipEvent:FireServer(unpack(args))
  61. end
  62. end)
  63.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment