Advertisement
ViperExploits

Chat Spam V2 by Viper Exploits

Jun 16th, 2019
531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.87 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local ChatSpam = Instance.new("ScreenGui")
  5. local BackgroundhatSpamV2 = Instance.new("Frame")
  6. local Title = Instance.new("TextLabel")
  7. local SpamSpeedBox = Instance.new("TextBox")
  8. local SpamTextBox = Instance.new("TextBox")
  9. local SpamButton = Instance.new("TextButton")
  10. local ChatCopyTroll = Instance.new("TextButton")
  11. local SpamSpeedButton = Instance.new("TextButton")
  12. local Credit = Instance.new("TextLabel")
  13. --Properties:
  14. ChatSpam.Name = "ChatSpam"
  15. ChatSpam.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  16. ChatSpam.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  17.  
  18. BackgroundhatSpamV2.Name = "BackgroundhatSpamV2"
  19. BackgroundhatSpamV2.Parent = ChatSpam
  20. BackgroundhatSpamV2.BackgroundColor3 = Color3.new(0.278431, 0.278431, 0.278431)
  21. BackgroundhatSpamV2.BackgroundTransparency = 0.69999998807907
  22. BackgroundhatSpamV2.BorderSizePixel = 0
  23. BackgroundhatSpamV2.Position = UDim2.new(0.717458367, 0, 0.500595927, 0)
  24. BackgroundhatSpamV2.Size = UDim2.new(0.110121012, 0, 0.224672228, 0)
  25.  
  26. Title.Name = "Title"
  27. Title.Parent = BackgroundhatSpamV2
  28. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  29. Title.BackgroundTransparency = 1
  30. Title.BorderSizePixel = 0
  31. Title.Position = UDim2.new(0.00588166714, 0, 0.0186737068, 0)
  32. Title.Size = UDim2.new(1, 0, 0.0807110965, 0)
  33. Title.Font = Enum.Font.SourceSans
  34. Title.Text = "Chat Spam V2"
  35. Title.TextColor3 = Color3.new(0, 0, 0)
  36. Title.TextScaled = true
  37. Title.TextSize = 14
  38. Title.TextWrapped = true
  39.  
  40. SpamSpeedBox.Name = "SpamSpeedBox"
  41. SpamSpeedBox.Parent = BackgroundhatSpamV2
  42. SpamSpeedBox.BackgroundColor3 = Color3.new(0.278431, 0.278431, 0.278431)
  43. SpamSpeedBox.BackgroundTransparency = 0.69999998807907
  44. SpamSpeedBox.BorderSizePixel = 0
  45. SpamSpeedBox.Position = UDim2.new(0.00480615301, 0, 0.199835777, 0)
  46. SpamSpeedBox.Size = UDim2.new(0.990387678, 0, 0.161527514, 0)
  47. SpamSpeedBox.Font = Enum.Font.SourceSans
  48. SpamSpeedBox.PlaceholderColor3 = Color3.new(0.211765, 0.211765, 0.211765)
  49. SpamSpeedBox.PlaceholderText = "Enter Spam Speed (Lower = Faster)"
  50. SpamSpeedBox.Text = ""
  51. SpamSpeedBox.TextColor3 = Color3.new(0, 0, 0)
  52. SpamSpeedBox.TextScaled = true
  53. SpamSpeedBox.TextSize = 14
  54. SpamSpeedBox.TextWrapped = true
  55.  
  56. SpamTextBox.Name = "SpamTextBox"
  57. SpamTextBox.Parent = BackgroundhatSpamV2
  58. SpamTextBox.BackgroundColor3 = Color3.new(0.278431, 0.278431, 0.278431)
  59. SpamTextBox.BackgroundTransparency = 0.69999998807907
  60. SpamTextBox.BorderSizePixel = 0
  61. SpamTextBox.Position = UDim2.new(0.00480615301, 0, 0.498480737, 0)
  62. SpamTextBox.Size = UDim2.new(0.990387678, 0, 0.161527485, 0)
  63. SpamTextBox.Font = Enum.Font.SourceSans
  64. SpamTextBox.PlaceholderColor3 = Color3.new(0.211765, 0.211765, 0.211765)
  65. SpamTextBox.PlaceholderText = "Enter Text To Spam"
  66. SpamTextBox.Text = ""
  67. SpamTextBox.TextColor3 = Color3.new(0, 0, 0)
  68. SpamTextBox.TextScaled = true
  69. SpamTextBox.TextSize = 14
  70. SpamTextBox.TextWrapped = true
  71.  
  72. SpamButton.Name = "SpamButton"
  73. SpamButton.Parent = BackgroundhatSpamV2
  74. SpamButton.BackgroundColor3 = Color3.new(1, 1, 1)
  75. SpamButton.BackgroundTransparency = 1
  76. SpamButton.BorderSizePixel = 0
  77. SpamButton.Position = UDim2.new(0.00853661261, 0, 0.657668114, 0)
  78. SpamButton.Size = UDim2.new(0.996269524, 0, 0.137459412, 0)
  79. SpamButton.Font = Enum.Font.SourceSans
  80. SpamButton.Text = "Spam"
  81. SpamButton.TextColor3 = Color3.new(0, 0, 0)
  82. SpamButton.TextScaled = true
  83. SpamButton.TextSize = 14
  84. SpamButton.TextWrapped = true
  85.  
  86. ChatCopyTroll.Name = "ChatCopyTroll"
  87. ChatCopyTroll.Parent = BackgroundhatSpamV2
  88. ChatCopyTroll.BackgroundColor3 = Color3.new(1, 1, 1)
  89. ChatCopyTroll.BackgroundTransparency = 1
  90. ChatCopyTroll.BorderSizePixel = 0
  91. ChatCopyTroll.Position = UDim2.new(0.00853661261, 0, 0.86053443, 0)
  92. ChatCopyTroll.Size = UDim2.new(0.996269524, 0, 0.137459412, 0)
  93. ChatCopyTroll.Font = Enum.Font.SourceSans
  94. ChatCopyTroll.Text = "Copy Chat Troll"
  95. ChatCopyTroll.TextColor3 = Color3.new(0, 0, 0)
  96. ChatCopyTroll.TextScaled = true
  97. ChatCopyTroll.TextSize = 14
  98. ChatCopyTroll.TextWrapped = true
  99.  
  100. SpamSpeedButton.Name = "SpamSpeedButton"
  101. SpamSpeedButton.Parent = BackgroundhatSpamV2
  102. SpamSpeedButton.BackgroundColor3 = Color3.new(1, 1, 1)
  103. SpamSpeedButton.BackgroundTransparency = 1
  104. SpamSpeedButton.BorderSizePixel = 0
  105. SpamSpeedButton.Position = UDim2.new(0.00383157935, 0, 0.361363202, 0)
  106. SpamSpeedButton.Size = UDim2.new(0.996269524, 0, 0.137459412, 0)
  107. SpamSpeedButton.Font = Enum.Font.SourceSans
  108. SpamSpeedButton.Text = "Change Spam Speed"
  109. SpamSpeedButton.TextColor3 = Color3.new(0, 0, 0)
  110. SpamSpeedButton.TextScaled = true
  111. SpamSpeedButton.TextSize = 14
  112. SpamSpeedButton.TextWrapped = true
  113.  
  114. Credit.Name = "Credit"
  115. Credit.Parent = BackgroundhatSpamV2
  116. Credit.BackgroundColor3 = Color3.new(1, 1, 1)
  117. Credit.BackgroundTransparency = 1
  118. Credit.BorderSizePixel = 0
  119. Credit.Position = UDim2.new(0.00588166714, 0, 0.118952259, 0)
  120. Credit.Size = UDim2.new(1, 0, 0.0807110965, 0)
  121. Credit.Font = Enum.Font.SourceSans
  122. Credit.Text = "Made by Viper Exploits"
  123. Credit.TextColor3 = Color3.new(0, 0, 0)
  124. Credit.TextScaled = true
  125. Credit.TextSize = 14
  126. Credit.TextWrapped = true
  127. -- Scripts:
  128. function SCRIPT_NEDB90_FAKESCRIPT() -- SpamButton.LocalScript
  129.     local script = Instance.new('LocalScript')
  130.     script.Parent = SpamButton
  131.     local enabled = false
  132.     local SpamSpeed = 1
  133.     script.Parent.MouseButton1Click:Connect(function()
  134.     if enabled == false then
  135.         enabled = true
  136.     else
  137.         enabled = false
  138.     end
  139.     while enabled do
  140.     wait(SpamSpeed)
  141.       game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer(script.Parent.Parent.SpamTextBox.Text, "All")
  142.     end
  143.     end)
  144.     script.Parent.Parent.SpamSpeedButton.MouseButton1Click:Connect(function()
  145.         SpamSpeed = script.Parent.Parent.SpamSpeedBox.Text
  146.     end)
  147.        
  148.  
  149. end
  150. coroutine.resume(coroutine.create(SCRIPT_NEDB90_FAKESCRIPT))
  151. function SCRIPT_FGDT68_FAKESCRIPT() -- ChatCopyTroll.LocalScript
  152.     local script = Instance.new('LocalScript')
  153.     script.Parent = ChatCopyTroll
  154.     script.Parent.MouseButton1Click:Connect(function()
  155.     local Action = game.Players:GetPlayers()
  156.       for i = 1,#Action do
  157.     Action[i].Chatted:connect(function(Message)
  158.       game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("".."["..Action[i].Name.."]".." "..Message, "All")
  159.       end)
  160.     end
  161.     end)
  162.  
  163. end
  164. coroutine.resume(coroutine.create(SCRIPT_FGDT68_FAKESCRIPT))
  165. function SCRIPT_ZGVG82_FAKESCRIPT() -- SpamSpeedButton.LocalScript
  166.     local script = Instance.new('LocalScript')
  167.     script.Parent = SpamSpeedButton
  168.     _G.SpamSpeed = 1
  169.     script.Parent.MouseButton1Click:Connect(function()
  170.         _G.SpamSpeed = script.Parent.Parent.SpamTextBox.Text
  171.     end)
  172.  
  173. end
  174. coroutine.resume(coroutine.create(SCRIPT_ZGVG82_FAKESCRIPT))
  175. function SCRIPT_XVIL85_FAKESCRIPT() -- BackgroundhatSpamV2.Draggable
  176.     local script = Instance.new('LocalScript')
  177.     script.Parent = BackgroundhatSpamV2
  178.     local UserInputService = game:GetService("UserInputService")
  179.    
  180.     local gui = script.Parent
  181.    
  182.     local dragging
  183.     local dragInput
  184.     local dragStart
  185.     local startPos
  186.    
  187.     local function update(input)
  188.         local delta = input.Position - dragStart
  189.         gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  190.     end
  191.    
  192.     gui.InputBegan:Connect(function(input)
  193.         if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  194.             dragging = true
  195.             dragStart = input.Position
  196.             startPos = gui.Position
  197.            
  198.             input.Changed:Connect(function()
  199.                 if input.UserInputState == Enum.UserInputState.End then
  200.                     dragging = false
  201.                 end
  202.             end)
  203.         end
  204.     end)
  205.    
  206.     gui.InputChanged:Connect(function(input)
  207.         if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  208.             dragInput = input
  209.         end
  210.     end)
  211.    
  212.     UserInputService.InputChanged:Connect(function(input)
  213.         if input == dragInput and dragging then
  214.             update(input)
  215.         end
  216.     end)
  217.    
  218.  
  219. end
  220. coroutine.resume(coroutine.create(SCRIPT_XVIL85_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement