Advertisement
liamglitches

Doomspire Brickbattle GUI by NotJimbo#7666

May 5th, 2018
11,098
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.42 KB | None | 0 0
  1. -- GUI made by LiamGlitchesYT
  2. -- My Discord: NotJimbo#7666
  3. -- My V3RM: NotJimbo
  4. -- My YT: LiamGlitchesYT
  5.  
  6. local gui = Instance.new("ScreenGui")
  7. local main = Instance.new("Frame")
  8. local color = Instance.new("Frame")
  9. local title = Instance.new("TextLabel")
  10. local credits = Instance.new("TextLabel")
  11. local nodelay = Instance.new("TextButton")
  12. local breakrockets = Instance.new("TextButton")
  13. local slingshotspam = Instance.new("TextButton")
  14.  
  15. -- Properties
  16.  
  17. gui.Name = "gui"
  18. gui.Parent = game.StarterGui
  19.  
  20. main.Name = "main"
  21. main.Parent = gui
  22. main.Active = true
  23. main.BackgroundColor3 = Color3.new(0.333333, 0.333333, 1)
  24. main.BorderSizePixel = 0
  25. main.Position = UDim2.new(0.0160226189, 0, 0.580037713, 0)
  26. main.Size = UDim2.new(0, 250, 0, 204)
  27.  
  28. color.Name = "color"
  29. color.Parent = main
  30. color.BackgroundColor3 = Color3.new(1, 1, 1)
  31. color.BorderSizePixel = 0
  32. color.Size = UDim2.new(0, 250, 0, 72)
  33.  
  34. title.Name = "title"
  35. title.Parent = color
  36. title.BackgroundColor3 = Color3.new(1, 1, 1)
  37. title.BackgroundTransparency = 1
  38. title.BorderSizePixel = 0
  39. title.Position = UDim2.new(0.100000001, 0, 0.152777776, 0)
  40. title.Size = UDim2.new(0, 200, 0, 50)
  41. title.Font = Enum.Font.Highway
  42. title.Text = "Doomspire Brickbattle\n GUI"
  43. title.TextSize = 25
  44.  
  45. credits.Name = "credits"
  46. credits.Parent = color
  47. credits.BackgroundColor3 = Color3.new(1, 1, 1)
  48. credits.BackgroundTransparency = 1
  49. credits.BorderSizePixel = 0
  50. credits.Position = UDim2.new(-0.280000001, 0, 0.541666687, 0)
  51. credits.Size = UDim2.new(0, 200, 0, 50)
  52. credits.Font = Enum.Font.Highway
  53. credits.Text = "Jimbo#9089"
  54. credits.TextSize = 10
  55.  
  56. nodelay.Name = "nodelay"
  57. nodelay.Parent = main
  58. nodelay.BackgroundColor3 = Color3.new(1, 1, 1)
  59. nodelay.BorderSizePixel = 0
  60. nodelay.Position = UDim2.new(0.0240000002, 0, 0.387254894, 0)
  61. nodelay.Size = UDim2.new(0, 236, 0, 40)
  62. nodelay.Font = Enum.Font.SourceSans
  63. nodelay.Text = "No delay for rockets and bombs:\n"
  64. nodelay.TextSize = 20
  65.  
  66. breakrockets.Name = "breakrockets"
  67. breakrockets.Parent = main
  68. breakrockets.BackgroundColor3 = Color3.new(1, 1, 1)
  69. breakrockets.BorderSizePixel = 0
  70. breakrockets.Position = UDim2.new(0.0280000009, 0, 0.612745106, 0)
  71. breakrockets.Size = UDim2.new(0, 109, 0, 59)
  72. breakrockets.Font = Enum.Font.SourceSans
  73. breakrockets.Text = "Break Rockets"
  74. breakrockets.TextSize = 20
  75.  
  76. slingshotspam.Name = "slingshotspam"
  77. slingshotspam.Parent = main
  78. slingshotspam.BackgroundColor3 = Color3.new(1, 1, 1)
  79. slingshotspam.BorderSizePixel = 0
  80. slingshotspam.Position = UDim2.new(0.519999981, 0, 0.612745106, 0)
  81. slingshotspam.Size = UDim2.new(0, 112, 0, 59)
  82. slingshotspam.Font = Enum.Font.SourceSans
  83. slingshotspam.Text = "Slingshot Spam"
  84. slingshotspam.TextSize = 18
  85.  
  86. slingshotspam.MouseButton1Down:connect(function()
  87. while game:GetService("RunService").RenderStepped:Wait() do
  88. local plr = game.Players.LocalPlayer
  89. local mouse = plr:GetMouse()
  90. local A_1 = mouse.hit.p
  91. local A_2 = Vector3.new(0, 0, 0)
  92. local Event = plr.Character.Slingshot.PelletCreateEvent
  93. Event:FireServer(A_1, A_2)
  94. end
  95. end)
  96.  
  97. nodelay.MouseButton1Down:connect(function()
  98. local w = wait
  99. getrenv().wait = function(...)
  100. if getfenv(2).script.Name == "Client" then
  101. return 1
  102. end
  103. return w(...)
  104. end
  105. end)
  106.  
  107. breakrockets.MouseButton1Down:connect(function()
  108. workspace.ChildAdded:connect(function(Obj)
  109. if Obj.Name == "Rocket" then
  110. local pos = Obj.Position
  111. game:GetService("ReplicatedStorage").RocketDestroyEvent:FireServer(Obj, pos)
  112. end
  113. end)
  114. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement