Advertisement
Ben_Scripts343

Chat Haxsss

Jul 5th, 2021
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.80 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local m = Instance.new("Frame")
  3. local sentence = Instance.new("TextBox")
  4. local user = Instance.new("TextBox")
  5. local txt = Instance.new("TextBox")
  6. local reaction = Instance.new("TextBox")
  7. local TextLabel = Instance.new("TextLabel")
  8. local TextLabel_2 = Instance.new("TextLabel")
  9. local TextLabel_3 = Instance.new("TextLabel")
  10. local TextLabel_4 = Instance.new("TextLabel")
  11. local btn = Instance.new("TextButton")
  12.  
  13. ScreenGui.Parent = game.CoreGui
  14. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  15.  
  16. m.Name = "m"
  17. m.Parent = ScreenGui
  18. m.BackgroundColor3 = Color3.new(0.443137, 1, 0.188235)
  19. m.BorderSizePixel = 0
  20. m.Position = UDim2.new(0.370298952, 0, 0.197343454, 0)
  21. m.Size = UDim2.new(0, 446, 0, 333)
  22. m.Draggable = true
  23. m.Active = true
  24.  
  25. sentence.Name = "sentence"
  26. sentence.Parent = m
  27. sentence.BackgroundColor3 = Color3.new(1, 1, 1)
  28. sentence.Position = UDim2.new(0.0313901342, 0, 0.197492152, 0)
  29. sentence.Size = UDim2.new(0, 418, 0, 25)
  30. sentence.Font = Enum.Font.SourceSans
  31. sentence.Text = ""
  32. sentence.TextColor3 = Color3.new(0, 0, 0)
  33. sentence.TextSize = 14
  34.  
  35. user.Name = "user"
  36. user.Parent = m
  37. user.BackgroundColor3 = Color3.new(1, 1, 1)
  38. user.Position = UDim2.new(0.226457402, 0, 0.401253909, 0)
  39. user.Size = UDim2.new(0, 239, 0, 25)
  40. user.Font = Enum.Font.SourceSans
  41. user.Text = ""
  42. user.TextColor3 = Color3.new(0, 0, 0)
  43. user.TextSize = 14
  44.  
  45. txt.Name = "txt"
  46. txt.Parent = m
  47. txt.BackgroundColor3 = Color3.new(1, 1, 1)
  48. txt.Position = UDim2.new(0.0448430479, 0, 0.591450334, 0)
  49. txt.Size = UDim2.new(0, 412, 0, 30)
  50. txt.Font = Enum.Font.SourceSans
  51. txt.Text = ""
  52. txt.TextColor3 = Color3.new(0, 0, 0)
  53. txt.TextSize = 14
  54.  
  55. reaction.Name = "reaction"
  56. reaction.Parent = m
  57. reaction.BackgroundColor3 = Color3.new(1, 1, 1)
  58. reaction.Position = UDim2.new(0.0448430479, 0, 0.81649673, 0)
  59. reaction.Size = UDim2.new(0, 412, 0, 25)
  60. reaction.Font = Enum.Font.SourceSans
  61. reaction.Text = ""
  62. reaction.TextColor3 = Color3.new(0, 0, 0)
  63. reaction.TextSize = 14
  64.  
  65. TextLabel.Parent = m
  66. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  67. TextLabel.BackgroundTransparency = 1
  68. TextLabel.Position = UDim2.new(0.19730942, 0, 0.0420420431, 0)
  69. TextLabel.Size = UDim2.new(0, 276, 0, 36)
  70. TextLabel.Font = Enum.Font.SourceSans
  71. TextLabel.Text = "Sentence"
  72. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  73. TextLabel.TextScaled = true
  74. TextLabel.TextSize = 14
  75. TextLabel.TextWrapped = true
  76.  
  77. TextLabel_2.Parent = m
  78. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  79. TextLabel_2.BackgroundTransparency = 1
  80. TextLabel_2.Position = UDim2.new(0.19730942, 0, 0.291291296, 0)
  81. TextLabel_2.Size = UDim2.new(0, 276, 0, 36)
  82. TextLabel_2.Font = Enum.Font.SourceSans
  83. TextLabel_2.Text = "User"
  84. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  85. TextLabel_2.TextScaled = true
  86. TextLabel_2.TextSize = 14
  87. TextLabel_2.TextWrapped = true
  88.  
  89. TextLabel_3.Parent = m
  90. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  91. TextLabel_3.BackgroundTransparency = 1
  92. TextLabel_3.BorderSizePixel = 0
  93. TextLabel_3.Position = UDim2.new(0.183856502, 0, 0.480480492, 0)
  94. TextLabel_3.Size = UDim2.new(0, 276, 0, 36)
  95. TextLabel_3.Font = Enum.Font.SourceSans
  96. TextLabel_3.Text = "Text"
  97. TextLabel_3.TextColor3 = Color3.new(0, 0, 0)
  98. TextLabel_3.TextScaled = true
  99. TextLabel_3.TextSize = 14
  100. TextLabel_3.TextWrapped = true
  101.  
  102. TextLabel_4.Parent = m
  103. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  104. TextLabel_4.BackgroundTransparency = 1
  105. TextLabel_4.BorderSizePixel = 0
  106. TextLabel_4.Position = UDim2.new(0.183856502, 0, 0.705705702, 0)
  107. TextLabel_4.Size = UDim2.new(0, 276, 0, 36)
  108. TextLabel_4.Font = Enum.Font.SourceSans
  109. TextLabel_4.Text = "Reaction"
  110. TextLabel_4.TextColor3 = Color3.new(0, 0, 0)
  111. TextLabel_4.TextScaled = true
  112. TextLabel_4.TextSize = 14
  113. TextLabel_4.TextWrapped = true
  114.  
  115. btn.Name = "btn"
  116. btn.Parent = m
  117. btn.BackgroundColor3 = Color3.new(0.34902, 0.34902, 0.34902)
  118. btn.BorderSizePixel = 0
  119. btn.Position = UDim2.new(0.269058287, 0, 0.921921909, 0)
  120. btn.Size = UDim2.new(0, 200, 0, 26)
  121. btn.Font = Enum.Font.SourceSans
  122. btn.TextColor3 = Color3.new(0, 0, 0)
  123. btn.TextSize = 14
  124. btn.MouseButton1Click:connect(function()
  125. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(""..sentence.Text.." "..user.Text.." "..txt.Text,"All")
  126. wait(1)
  127. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(""..reaction.Text,"All")
  128. end)
  129.  
  130. open = false
  131.  
  132. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(k)
  133. if k == "e" then
  134. if open == false then
  135. open = true
  136. m.Visible = false
  137. else
  138. open = false
  139. m.Visible = true
  140. end
  141. end
  142. end
  143. )
  144.  
  145. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(k)
  146. if k == "p" then
  147. ScreenGui:Destroy()
  148. end
  149. end
  150. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement