Advertisement
Guest User

spam script gui for roblox

a guest
Aug 13th, 2018
24,764
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.80 KB | None | 0 0
  1. local HATSPAM = false
  2. local SPAM = false
  3. local ScreenGui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  4. local ON = Instance.new("TextButton")
  5. local OFF = Instance.new("TextButton")
  6. local KEWL = Instance.new("TextButton")
  7. local KEW = Instance.new("TextButton")
  8. local Kill = Instance.new("TextButton")
  9. local SPAMHATSMODE = Instance.new("TextButton")
  10. local SPAMBLOCKSMODE = Instance.new("TextButton")
  11. local TextLabel = Instance.new("TextLabel")
  12. local KillName = Instance.new("TextBox")
  13.  
  14.  
  15.  
  16. ScreenGui.ResetOnSpawn = false
  17. ScreenGui.Name = "FEGUIBYXX"
  18.  
  19. ON.Name = "ON"
  20. ON.Parent = ScreenGui
  21. ON.BackgroundColor3 = Color3.new(1, 1, 1)
  22. ON.Size = UDim2.new(0, 200, 0, 50)
  23. ON.Font = Enum.Font.SourceSans
  24. ON.Text = "SPAM ON"
  25. ON.TextSize = 14
  26.  
  27. KEWL.Name = "GOD"
  28. KEWL.Parent = ScreenGui
  29. KEWL.BackgroundColor3 = Color3.new(1, 1, 1)
  30. KEWL.Position = UDim2.new(0, 0, 0, 150)
  31. KEWL.Size = UDim2.new(0, 200, 0, 50)
  32. KEWL.Font = Enum.Font.SourceSans
  33. KEWL.Text = "FE GOD"
  34. KEWL.TextSize = 14
  35.  
  36. Kill.Name = "KillPlr"
  37. Kill.Parent = ScreenGui
  38. Kill.BackgroundColor3 = Color3.new(1, 1, 1)
  39. Kill.Position = UDim2.new(0, 0, 0, 250)
  40. Kill.Size = UDim2.new(0, 200, 0, 50)
  41. Kill.Font = Enum.Font.SourceSans
  42. Kill.Text = "Kill"
  43. Kill.TextSize = 23
  44.  
  45. KillName.Parent = ScreenGui
  46. KillName.BackgroundColor3 = Color3.new(1, 1, 1)
  47. KillName.Position = UDim2.new(0, 0, 0, 300)
  48. KillName.Size = UDim2.new(0, 200, 0, 50)
  49. KillName.Font = Enum.Font.SciFi
  50. KillName.Text = "PT Kill"
  51. KillName.TextSize = 15
  52.  
  53. KEW.Name = "HATTOOL"
  54. KEW.Parent = ScreenGui
  55. KEW.BackgroundColor3 = Color3.new(1, 1, 1)
  56. KEW.Position = UDim2.new(0, 0, 0, 200)
  57. KEW.Size = UDim2.new(0, 200, 0, 50)
  58. KEW.Font = Enum.Font.SourceSans
  59. KEW.Text = "HATTOOL"
  60. KEW.TextSize = 14
  61.  
  62. OFF.Name = "OFF"
  63. OFF.Parent = ScreenGui
  64. OFF.BackgroundColor3 = Color3.new(1, 1, 1)
  65. OFF.Position = UDim2.new(0, 0, 0, 50)
  66. OFF.Size = UDim2.new(0, 200, 0, 50)
  67. OFF.Font = Enum.Font.SourceSans
  68. OFF.Text = "spam off"
  69. OFF.TextSize = 14
  70.  
  71. TextLabel.Parent = ScreenGui
  72. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  73. TextLabel.Position = UDim2.new(0, 0, 0, 100)
  74. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  75. TextLabel.Font = Enum.Font.SciFi
  76. TextLabel.Text = "needs hats to work"
  77. TextLabel.TextSize = 20
  78.  
  79. SPAMHATSMODE.Parent = ScreenGui
  80. SPAMHATSMODE.BackgroundColor3 = Color3.new(1, 1, 1)
  81. SPAMHATSMODE.Position = UDim2.new(0, 0, 0, 350)
  82. SPAMHATSMODE.Size = UDim2.new(0, 200, 0, 50)
  83. SPAMHATSMODE.Font = Enum.Font.SciFi
  84. SPAMHATSMODE.Text = "SPAMHATS MODE"
  85. SPAMHATSMODE.TextSize = 20
  86.  
  87. SPAMBLOCKSMODE.Parent = ScreenGui
  88. SPAMBLOCKSMODE.BackgroundColor3 = Color3.new(1, 1, 1)
  89. SPAMBLOCKSMODE.Position = UDim2.new(0, 0, 0, 400)
  90. SPAMBLOCKSMODE.Size = UDim2.new(0, 200, 0, 50)
  91. SPAMBLOCKSMODE.Font = Enum.Font.SciFi
  92. SPAMBLOCKSMODE.Text = "SPAMBLOCKS MODE"
  93. SPAMBLOCKSMODE.TextSize = 20
  94.  
  95. ON.MouseButton1Click:connect(function()
  96. SPAM = true
  97. end)
  98.  
  99. SPAMHATSMODE.MouseButton1Click:connect(function()
  100. HATSPAM = true
  101. end)
  102.  
  103. SPAMBLOCKSMODE.MouseButton1Click:connect(function()
  104. HATSPAM = false
  105. end)
  106.  
  107. Kill.MouseButton1Click:connect(function()
  108.  
  109. TARGET = KillName.Text
  110.  
  111. lplayer = game:GetService("Players").LocalPlayer
  112. for i,v in pairs(lplayer.Backpack:GetChildren())do
  113. lplayer.Character.Humanoid:EquipTool(v)
  114. end
  115. for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetDescendants()) do
  116. if v:IsA("Tool") then
  117. v.Parent = lplayer.Character
  118. wait()
  119. v.Parent = game:GetService("Players")[TARGET].Character
  120. end
  121. end
  122. wait(1)
  123. lplayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(100000, 0, 100000))
  124. end)
  125.  
  126. KEW.MouseButton1Click:connect(function()
  127.  
  128. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  129. if (v:IsA("Accessory")) then
  130. local p = Instance.new("Tool", game.Players.LocalPlayer.Character)
  131. v.Handle.Parent = p
  132. end
  133. end
  134. end)
  135.  
  136. OFF.MouseButton1Click:connect(function()
  137. SPAM = false
  138. end)
  139.  
  140. KEWL.MouseButton1Click:connect(function()
  141. game.Players.LocalPlayer.Character.Humanoid:Destroy()
  142. Instance.new("Humanoid", game.Players.LocalPlayer.Character)
  143. end)
  144.  
  145. while true do
  146. if SPAM == true then
  147. for _,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  148. if (v:IsA("Accessory")) and v.Handle:FindFirstChild("Mesh") then
  149. if not HATSPAM then
  150. v.Handle:FindFirstChild("Mesh"):remove()
  151. end
  152. end
  153. end
  154. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  155. if (v:IsA("Accessory")) then
  156. v.Parent = workspace
  157. end
  158. end
  159. wait(1.01)
  160. game.Players.LocalPlayer.Character.Humanoid.Health = -99
  161. end
  162. wait(3.7)
  163. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement