Sourus

Chat Script ROBLOX

Sep 22nd, 2020 (edited)
970
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Frame = Instance.new("Frame")
  3. local ChatButton = Instance.new("TextButton")
  4. local Box = Instance.new("TextBox")
  5. local ChatButton_2 = Instance.new("TextButton")
  6. local Box_2 = Instance.new("TextBox")
  7. local ChatButton_3 = Instance.new("TextButton")
  8. local Box_3 = Instance.new("TextBox")
  9. local ChatButton_4 = Instance.new("TextButton")
  10. local Box_4 = Instance.new("TextBox")
  11. local ChatButton_5 = Instance.new("TextButton")
  12. local Box_5 = Instance.new("TextBox")
  13. local TextLabel = Instance.new("TextLabel")
  14.  
  15. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  16. Frame.Draggable = true
  17. Frame.Active = true
  18.  
  19. Frame.Parent = ScreenGui
  20. Frame.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  21. Frame.Position = UDim2.new(0.0443764403, 0, 0.0247592852, 0)
  22. Frame.Size = UDim2.new(0, 621, 0, 389)
  23.  
  24. ChatButton.Name = "ChatButton"
  25. ChatButton.Parent = Frame
  26. ChatButton.BackgroundColor3 = Color3.fromRGB(41, 41, 41)
  27. ChatButton.Position = UDim2.new(0.0112721417, 0, 0.172236502, 0)
  28. ChatButton.Size = UDim2.new(0, 200, 0, 50)
  29. ChatButton.Font = Enum.Font.SourceSans
  30. ChatButton.Text = "Chat"
  31. ChatButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  32. ChatButton.TextScaled = true
  33. ChatButton.TextSize = 20.000
  34. ChatButton.TextWrapped = true
  35. ChatButton.MouseButton1Click:Connect(function()
  36.     local text = ChatButton.Box.Text
  37.    
  38. local A_1 = text
  39. local A_2 = "All"
  40. local Event = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest
  41. Event:FireServer(A_1, A_2)
  42.  
  43. end)    
  44.  
  45. Box.Name = "Box"
  46. Box.Parent = ChatButton
  47. Box.BackgroundColor3 = Color3.fromRGB(41, 41, 41)
  48. Box.Position = UDim2.new(-0.00266088825, 0, -1.12078869, 0)
  49. Box.Size = UDim2.new(0, 200, 0, 50)
  50. Box.Font = Enum.Font.SourceSans
  51. Box.MultiLine = true
  52. Box.Text = ""
  53. Box.TextColor3 = Color3.fromRGB(0, 0, 0)
  54. Box.TextSize = 20.000
  55. Box.TextXAlignment = Enum.TextXAlignment.Left
  56. Box.TextYAlignment = Enum.TextYAlignment.Top
  57.  
  58. ChatButton_2.Name = "ChatButton"
  59. ChatButton_2.Parent = ChatButton
  60. ChatButton_2.BackgroundColor3 = Color3.fromRGB(41, 41, 41)
  61. ChatButton_2.Position = UDim2.new(1.07627225, 0, -0.00776350498, 0)
  62. ChatButton_2.Size = UDim2.new(0, 200, 0, 50)
  63. ChatButton_2.Font = Enum.Font.SourceSans
  64. ChatButton_2.Text = "Chat"
  65. ChatButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  66. ChatButton_2.TextScaled = true
  67. ChatButton_2.TextSize = 20.000
  68. ChatButton_2.TextWrapped = true
  69. ChatButton_2.MouseButton1Click:Connect(function()
  70.     local text = ChatButton_2.Box.Text
  71.    
  72. local A_1 = text
  73. local A_2 = "All"
  74. local Event = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest
  75. Event:FireServer(A_1, A_2)
  76.  
  77. end)  
  78.  
  79. Box_2.Name = "Box"
  80. Box_2.Parent = ChatButton_2
  81. Box_2.BackgroundColor3 = Color3.fromRGB(41, 41, 41)
  82. Box_2.Position = UDim2.new(-0.00266088825, 0, -1.12078869, 0)
  83. Box_2.Size = UDim2.new(0, 200, 0, 50)
  84. Box_2.Font = Enum.Font.SourceSans
  85. Box_2.MultiLine = true
  86. Box_2.Text = ""
  87. Box_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  88. Box_2.TextSize = 20.000
  89. Box_2.TextXAlignment = Enum.TextXAlignment.Left
  90. Box_2.TextYAlignment = Enum.TextYAlignment.Top
  91.  
  92. ChatButton_3.Name = "ChatButton"
  93. ChatButton_3.Parent = ChatButton
  94. ChatButton_3.BackgroundColor3 = Color3.fromRGB(41, 41, 41)
  95. ChatButton_3.Position = UDim2.new(-0.00372785795, 0, 2.41223645, 0)
  96. ChatButton_3.Size = UDim2.new(0, 200, 0, 50)
  97. ChatButton_3.Font = Enum.Font.SourceSans
  98. ChatButton_3.Text = "Chat"
  99. ChatButton_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  100. ChatButton_3.TextScaled = true
  101. ChatButton_3.TextSize = 20.000
  102. ChatButton_3.TextWrapped = true
  103. ChatButton_3.MouseButton1Click:Connect(function()
  104.     local text = ChatButton_3.Box.Text
  105.    
  106. local A_1 = text
  107. local A_2 = "All"
  108. local Event = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest
  109. Event:FireServer(A_1, A_2)
  110.  
  111. end)  
  112.  
  113. Box_3.Name = "Box"
  114. Box_3.Parent = ChatButton_3
  115. Box_3.BackgroundColor3 = Color3.fromRGB(41, 41, 41)
  116. Box_3.Position = UDim2.new(-0.00266088825, 0, -1.12078869, 0)
  117. Box_3.Size = UDim2.new(0, 200, 0, 50)
  118. Box_3.Font = Enum.Font.SourceSans
  119. Box_3.MultiLine = true
  120. Box_3.Text = ""
  121. Box_3.TextColor3 = Color3.fromRGB(0, 0, 0)
  122. Box_3.TextSize = 20.000
  123. Box_3.TextXAlignment = Enum.TextXAlignment.Left
  124. Box_3.TextYAlignment = Enum.TextYAlignment.Top
  125.  
  126. ChatButton_4.Name = "ChatButton"
  127. ChatButton_4.Parent = ChatButton
  128. ChatButton_4.BackgroundColor3 = Color3.fromRGB(41, 41, 41)
  129. ChatButton_4.Position = UDim2.new(1.07627225, 0, 2.39223647, 0)
  130. ChatButton_4.Size = UDim2.new(0, 200, 0, 50)
  131. ChatButton_4.Font = Enum.Font.SourceSans
  132. ChatButton_4.Text = "Chat"
  133. ChatButton_4.TextColor3 = Color3.fromRGB(255, 255, 255)
  134. ChatButton_4.TextScaled = true
  135. ChatButton_4.TextSize = 20.000
  136. ChatButton_4.TextWrapped = true
  137. ChatButton_4.MouseButton1Click:Connect(function()
  138.     local text = ChatButton_4.Box.Text
  139.    
  140. local A_1 = text
  141. local A_2 = "All"
  142. local Event = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest
  143. Event:FireServer(A_1, A_2)
  144.  
  145. end)  
  146.  
  147.  
  148. Box_4.Name = "Box"
  149. Box_4.Parent = ChatButton_4
  150. Box_4.BackgroundColor3 = Color3.fromRGB(41, 41, 41)
  151. Box_4.Position = UDim2.new(-0.00266088825, 0, -1.12078869, 0)
  152. Box_4.Size = UDim2.new(0, 200, 0, 50)
  153. Box_4.Font = Enum.Font.SourceSans
  154. Box_4.MultiLine = true
  155. Box_4.Text = ""
  156. Box_4.TextColor3 = Color3.fromRGB(0, 0, 0)
  157. Box_4.TextSize = 20.000
  158. Box_4.TextXAlignment = Enum.TextXAlignment.Left
  159. Box_4.TextYAlignment = Enum.TextYAlignment.Top
  160.  
  161. ChatButton_5.Name = "ChatButton"
  162. ChatButton_5.Parent = ChatButton
  163. ChatButton_5.BackgroundColor3 = Color3.fromRGB(41, 41, 41)
  164. ChatButton_5.Position = UDim2.new(-0.00372787472, 0, 4.83223629, 0)
  165. ChatButton_5.Size = UDim2.new(0, 415, 0, 50)
  166. ChatButton_5.Font = Enum.Font.SourceSans
  167. ChatButton_5.Text = "Chat"
  168. ChatButton_5.TextColor3 = Color3.fromRGB(255, 255, 255)
  169. ChatButton_5.TextScaled = true
  170. ChatButton_5.TextSize = 20.000
  171. ChatButton_5.TextWrapped = true
  172. ChatButton_5.MouseButton1Click:Connect(function()
  173.     local text = ChatButton_5.Box.Text
  174.    
  175. local A_1 = text
  176. local A_2 = "All"
  177. local Event = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest
  178. Event:FireServer(A_1, A_2)
  179.  
  180. end)  
  181.  
  182. Box_5.Name = "Box"
  183. Box_5.Parent = ChatButton_5
  184. Box_5.BackgroundColor3 = Color3.fromRGB(41, 41, 41)
  185. Box_5.Position = UDim2.new(-0.00266091223, 0, -1.12078857, 0)
  186. Box_5.Size = UDim2.new(0, 416, 0, 50)
  187. Box_5.Font = Enum.Font.SourceSans
  188. Box_5.MultiLine = true
  189. Box_5.Text = ""
  190. Box_5.TextColor3 = Color3.fromRGB(0, 0, 0)
  191. Box_5.TextSize = 20.000
  192. Box_5.TextXAlignment = Enum.TextXAlignment.Left
  193. Box_5.TextYAlignment = Enum.TextYAlignment.Top
RAW Paste Data