Advertisement
252Scripter

Roblox Chat Spammer 1.0

Dec 4th, 2022
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.34 KB | None | 0 0
  1. --Made By 252Scripter!--
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local Frame_2 = Instance.new("Frame")
  6. local UICorner = Instance.new("UICorner")
  7. local TextBox = Instance.new("TextBox")
  8. local UICorner_2 = Instance.new("UICorner")
  9. local TextButton = Instance.new("TextButton")
  10. local UICorner_3 = Instance.new("UICorner")
  11. local UICorner_4 = Instance.new("UICorner")
  12.  
  13. --Properties:
  14.  
  15. ScreenGui.Parent = game.CoreGui
  16.  
  17. Frame.Parent = ScreenGui
  18. Frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  19. Frame.Position = UDim2.new(0.293939382, 0, 0.35603714, 0)
  20. Frame.Size = UDim2.new(0, 223, 0, 141)
  21. Frame.Active = true
  22.  
  23. Frame_2.Parent = Frame
  24. Frame_2.BackgroundColor3 = Color3.fromRGB(47, 49, 59)
  25. Frame_2.Position = UDim2.new(0.0358744413, 0, 0.0496453904, 0)
  26. Frame_2.Size = UDim2.new(0, 208, 0, 126)
  27.  
  28. UICorner.Parent = Frame_2
  29.  
  30. TextBox.Parent = Frame_2
  31. TextBox.BackgroundColor3 = Color3.fromRGB(31, 31, 40)
  32. TextBox.Position = UDim2.new(0.0538115874, 0, 0.112630695, 0)
  33. TextBox.Size = UDim2.new(0, 187, 0, 47)
  34. TextBox.Font = Enum.Font.GothamBold
  35. TextBox.PlaceholderColor3 = Color3.fromRGB(178, 178, 178)
  36. TextBox.PlaceholderText = "Chat Goes Here!"
  37. TextBox.Text = ""
  38. TextBox.TextColor3 = Color3.fromRGB(178, 178, 178)
  39. TextBox.TextSize = 18.000
  40. TextBox.TextWrapped = true
  41.  
  42. UICorner_2.Parent = TextBox
  43.  
  44. TextButton.Parent = Frame_2
  45. TextButton.BackgroundColor3 = Color3.fromRGB(31, 31, 40)
  46. TextButton.Position = UDim2.new(0.0538115874, 0, 0.579365075, 0)
  47. TextButton.Size = UDim2.new(0, 187, 0, 44)
  48. TextButton.Font = Enum.Font.GothamBold
  49. TextButton.Text = "Chat It!"
  50. TextButton.TextColor3 = Color3.fromRGB(189, 189, 189)
  51. TextButton.TextSize = 20.000
  52. TextButton.MouseButton1Down:Connect(function()
  53. local args = {
  54. [1] = (TextButton.Parent.TextBox.Text),
  55. [2] = "All"
  56. }
  57.  
  58. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(unpack(args))
  59. end)
  60.  
  61. UICorner_3.Parent = TextButton
  62.  
  63. UICorner_4.Parent = Frame
  64.  
  65. -- Scripts:
  66.  
  67. local function XORDD_fake_script() -- Frame.Dragify
  68. local script = Instance.new('LocalScript', Frame)
  69.  
  70. local UserInputService = game:GetService("UserInputService")
  71. local TweenService = game:GetService("TweenService")
  72.  
  73. local Frame = script.Parent
  74. local StartPosition = nil
  75. local DragStart = nil
  76. local DragSpeed = 0.25
  77. local DragToggle = nil
  78.  
  79. local function updateInput(Input)
  80. local Delta = Input.Position - DragStart
  81. local Position = UDim2.new(StartPosition.X.Scale, StartPosition.X.Offset + Delta.X, StartPosition.Y.Scale, StartPosition.Y.Offset + Delta.Y)
  82. TweenService:Create(Frame, TweenInfo.new(DragSpeed), {Position = Position}):Play()
  83. end
  84.  
  85. Frame.InputBegan:Connect(function(Input)
  86. if (Input.UserInputType == Enum.UserInputType.MouseButton1 or Input.UserInputType == Enum.UserInputType.Touch) then
  87. DragToggle = true
  88. DragStart = Input.Position
  89. StartPosition = Frame.Position
  90. Input.Changed:Connect(function()
  91. if Input.UserInputState == Enum.UserInputState.End then
  92. DragToggle = false
  93. end
  94. end)
  95. end
  96. end)
  97.  
  98. UserInputService.InputChanged:Connect(function(Input)
  99. if (Input.UserInputType == Enum.UserInputType.MouseMovement or Input.UserInputType == Enum.UserInputType.Touch) then
  100. if DragToggle then
  101. updateInput(Input)
  102. end
  103. end
  104. end)
  105. end
  106. coroutine.wrap(XORDD_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement