Facebook
From ???, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 91
  1. function sandbox(var,func)
  2. local env = getfenv(func)
  3. local newenv = setmetatable({},{
  4. __index = function(self,k)
  5. if k=="script" then
  6. return var
  7. else
  8. return env[k]
  9. end
  10. end,
  11. })
  12. setfenv(func,newenv)
  13. return func
  14. end
  15. cors = {}
  16. mas = Instance.new("Model",game:GetService("Lighting"))
  17. ScreenGui0 = Instance.new("ScreenGui")
  18. Frame1 = Instance.new("Frame")
  19. Frame2 = Instance.new("Frame")
  20. TextBox3 = Instance.new("TextBox")
  21. TextLabel4 = Instance.new("TextLabel")
  22. Frame5 = Instance.new("Frame")
  23. TextLabel6 = Instance.new("TextLabel")
  24. TextLabel7 = Instance.new("TextLabel")
  25. TextBox8 = Instance.new("TextBox")
  26. TextLabel9 = Instance.new("TextLabel")
  27. TextBox10 = Instance.new("TextBox")
  28. TextButton11 = Instance.new("TextButton")
  29. LocalScript12 = Instance.new("LocalScript")
  30. LocalScript13 = Instance.new("LocalScript")
  31. ScreenGui0.Parent = mas
  32. ScreenGui0.ResetOnSpawn = false
  33. Frame1.Parent = ScreenGui0
  34. Frame1.Position = UDim2.new(0.096632503, 0, 0.648711979, 0)
  35. Frame1.Size = UDim2.new(0, 438, 0, 179)
  36. Frame1.BackgroundColor = BrickColor.new("Really black")
  37. Frame1.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  38. Frame1.BorderSizePixel = 0
  39. Frame2.Name = "pt1"
  40. Frame2.Parent = Frame1
  41. Frame2.Position = UDim2.new(0, 0, 0.114857376, 0)
  42. Frame2.Size = UDim2.new(0, 438, 0, 9)
  43. Frame2.BackgroundColor = BrickColor.new("Dark blue")
  44. Frame2.BackgroundColor3 = Color3.new(0, 0.215686, 0.65098)
  45. Frame2.BorderSizePixel = 0
  46. TextBox3.Parent = Frame2
  47. TextBox3.Position = UDim2.new(0.098173514, 0, 1.66666675, 0)
  48. TextBox3.Size = UDim2.new(0, 224, 0, 28)
  49. TextBox3.BackgroundColor = BrickColor.new("Black metallic")
  50. TextBox3.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  51. TextBox3.BorderSizePixel = 0
  52. TextBox3.Font = Enum.Font.SourceSans
  53. TextBox3.FontSize = Enum.FontSize.Size24
  54. TextBox3.Text = ""
  55. TextBox3.TextColor = BrickColor.new("Institutional white")
  56. TextBox3.TextColor3 = Color3.new(1, 1, 1)
  57. TextBox3.TextSize = 23
  58. TextBox3.TextXAlignment = Enum.TextXAlignment.Left
  59. TextBox3.TextYAlignment = Enum.TextYAlignment.Top
  60. TextBox3.ClearTextOnFocus = false
  61. TextLabel4.Parent = Frame1
  62. TextLabel4.Size = UDim2.new(0, 121, 0, 21)
  63. TextLabel4.BackgroundColor = BrickColor.new("Institutional white")
  64. TextLabel4.BackgroundColor3 = Color3.new(1, 1, 1)
  65. TextLabel4.BackgroundTransparency = 1
  66. TextLabel4.BorderSizePixel = 0
  67. TextLabel4.Font = Enum.Font.SourceSans
  68. TextLabel4.FontSize = Enum.FontSize.Size14
  69. TextLabel4.Text = "FE Chat Hax"
  70. TextLabel4.TextColor = BrickColor.new("Institutional white")
  71. TextLabel4.TextColor3 = Color3.new(1, 1, 1)
  72. TextLabel4.TextScaled = true
  73. TextLabel4.TextSize = 14
  74. TextLabel4.TextWrap = true
  75. TextLabel4.TextWrapped = true
  76. Frame5.Name = "pt2"
  77. Frame5.Parent = Frame1
  78. Frame5.Position = UDim2.new(0, 0, 0.401840836, 0)
  79. Frame5.Size = UDim2.new(0, 438, 0, 9)
  80. Frame5.BackgroundColor = BrickColor.new("Dark blue")
  81. Frame5.BackgroundColor3 = Color3.new(0, 0.215686, 0.65098)
  82. Frame5.BorderSizePixel = 0
  83. TextLabel6.Parent = Frame5
  84. TextLabel6.Position = UDim2.new(0, 0, -4, 0)
  85. TextLabel6.Size = UDim2.new(0, 49, 0, 20)
  86. TextLabel6.BackgroundColor = BrickColor.new("Institutional white")
  87. TextLabel6.BackgroundColor3 = Color3.new(1, 1, 1)
  88. TextLabel6.BackgroundTransparency = 1
  89. TextLabel6.Font = Enum.Font.SourceSans
  90. TextLabel6.FontSize = Enum.FontSize.Size14
  91. TextLabel6.Text = "You:"
  92. TextLabel6.TextColor = BrickColor.new("Institutional white")
  93. TextLabel6.TextColor3 = Color3.new(1, 1, 1)
  94. TextLabel6.TextScaled = true
  95. TextLabel6.TextSize = 14
  96. TextLabel6.TextWrap = true
  97. TextLabel6.TextWrapped = true
  98. TextLabel7.Parent = Frame5
  99. TextLabel7.Position = UDim2.new(0, 0, 6.77777767, 0)
  100. TextLabel7.Size = UDim2.new(0, 76, 0, 33)
  101. TextLabel7.BackgroundColor = BrickColor.new("Institutional white")
  102. TextLabel7.BackgroundColor3 = Color3.new(1, 1, 1)
  103. TextLabel7.BackgroundTransparency = 1
  104. TextLabel7.Font = Enum.Font.SourceSans
  105. TextLabel7.FontSize = Enum.FontSize.Size14
  106. TextLabel7.Text = "ChatHaxx:"
  107. TextLabel7.TextColor = BrickColor.new("Institutional white")
  108. TextLabel7.TextColor3 = Color3.new(1, 1, 1)
  109. TextLabel7.TextScaled = true
  110. TextLabel7.TextSize = 14
  111. TextLabel7.TextWrap = true
  112. TextLabel7.TextWrapped = true
  113. TextBox8.Name = "Usernamee"
  114. TextBox8.Parent = Frame5
  115. TextBox8.Position = UDim2.new(0.194063917, 0, 3.66666651, 0)
  116. TextBox8.Size = UDim2.new(0, 224, 0, 28)
  117. TextBox8.BackgroundColor = BrickColor.new("Black metallic")
  118. TextBox8.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  119. TextBox8.BorderSizePixel = 0
  120. TextBox8.Font = Enum.Font.SourceSans
  121. TextBox8.FontSize = Enum.FontSize.Size24
  122. TextBox8.Text = ""
  123. TextBox8.TextColor = BrickColor.new("Institutional white")
  124. TextBox8.TextColor3 = Color3.new(1, 1, 1)
  125. TextBox8.TextSize = 23
  126. TextBox8.TextXAlignment = Enum.TextXAlignment.Left
  127. TextBox8.TextYAlignment = Enum.TextYAlignment.Top
  128. TextBox8.ClearTextOnFocus = false
  129. TextLabel9.Parent = Frame5
  130. TextLabel9.Position = UDim2.new(0, 0, 3.11111116, 0)
  131. TextLabel9.Size = UDim2.new(0, 76, 0, 33)
  132. TextLabel9.BackgroundColor = BrickColor.new("Institutional white")
  133. TextLabel9.BackgroundColor3 = Color3.new(1, 1, 1)
  134. TextLabel9.BackgroundTransparency = 1
  135. TextLabel9.Font = Enum.Font.SourceSans
  136. TextLabel9.FontSize = Enum.FontSize.Size14
  137. TextLabel9.Text = "Username:"
  138. TextLabel9.TextColor = BrickColor.new("Institutional white")
  139. TextLabel9.TextColor3 = Color3.new(1, 1, 1)
  140. TextLabel9.TextScaled = true
  141. TextLabel9.TextSize = 14
  142. TextLabel9.TextWrap = true
  143. TextLabel9.TextWrapped = true
  144. TextBox10.Name = "Chathaxxx"
  145. TextBox10.Parent = Frame5
  146. TextBox10.Position = UDim2.new(0.194063917, 0, 7.33333302, 0)
  147. TextBox10.Size = UDim2.new(0, 224, 0, 28)
  148. TextBox10.BackgroundColor = BrickColor.new("Black metallic")
  149. TextBox10.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  150. TextBox10.BorderSizePixel = 0
  151. TextBox10.Font = Enum.Font.SourceSans
  152. TextBox10.FontSize = Enum.FontSize.Size24
  153. TextBox10.Text = ""
  154. TextBox10.TextColor = BrickColor.new("Institutional white")
  155. TextBox10.TextColor3 = Color3.new(1, 1, 1)
  156. TextBox10.TextSize = 23
  157. TextBox10.TextXAlignment = Enum.TextXAlignment.Left
  158. TextBox10.TextYAlignment = Enum.TextYAlignment.Top
  159. TextBox10.ClearTextOnFocus = false
  160. TextButton11.Name = "Send"
  161. TextButton11.Parent = Frame5
  162. TextButton11.Position = UDim2.new(0.746575356, 0, 5.11111116, 0)
  163. TextButton11.Size = UDim2.new(0, 82, 0, 40)
  164. TextButton11.BackgroundColor = BrickColor.new("Black metallic")
  165. TextButton11.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  166. TextButton11.BorderSizePixel = 0
  167. TextButton11.Font = Enum.Font.Oswald
  168. TextButton11.FontSize = Enum.FontSize.Size14
  169. TextButton11.Text = "Send"
  170. TextButton11.TextColor = BrickColor.new("Really black")
  171. TextButton11.TextColor3 = Color3.new(0, 0, 0)
  172. TextButton11.TextScaled = true
  173. TextButton11.TextSize = 14
  174. TextButton11.TextWrap = true
  175. TextButton11.TextWrapped = true
  176. LocalScript12.Parent = TextButton11
  177. table.insert(cors,sandbox(LocalScript12,function()
  178.  
  179. script.Parent.MouseButton1Click:Connect(function()
  180. game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest:FireServer(""..script.Parent.Parent.Parent.pt1.TextBox.Text.." \224\185\142\204\183\224\185\142\204\182\224\185\142\204\184\224\185\142\204\182\224\185\142\204\180\224\185\142\204\184\224\185\142\204\181\224\185\142\204\180\224\185\142\204\182\224\185\142\204\181\224\185\142\204\183\224\185\142\204\181\224\185\142\204\181\224\185\142\204\183\224\185\142\204\184\224\185\142\204\182\224\185\142\204\182\224\185\142\204\184\224\185\142\204\182\224\185\142\204\184\224\185\142\204\184\224\185\142\204\180\224\185\142\204\180\224\185\142\204\182\224\185\142\204\182\224\185\142\204\182\224\185\142\204\182\224\185\142\204\182\224\185\142\204\182\224\185\142\224\185\142\204\183\224\185\142\204\182\224\185\142\204\184\224\185\142\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\184\224\185\142\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\184\224\185\142\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\182\224\185\142\204\180\204\182\224\185\142\204\180["..script.Parent.Parent.Usernamee.Text.."]: "..script.Parent.Parent.Chathaxxx.Text.."","All")
  181. end)
  182.  
  183. end))
  184. LocalScript13.Name = "Dragify"
  185. LocalScript13.Parent = Frame1
  186. table.insert(cors,sandbox(LocalScript13,function()
  187. local UIS = game:GetService("UserInputService")
  188. function dragify(Frame)
  189.     dragToggle = nil
  190.     local dragSpeed = 0.50
  191.     dragInput = nil
  192.     dragStart = nil
  193.     local dragPos = nil
  194.     function updateInput(input)
  195.         local Delta = input.Position - dragStart
  196.         local Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + Delta.X, startPos.Y.Scale, startPos.Y.Offset + Delta.Y)
  197.         game:GetService("TweenService"):Create(Frame, TweenInfo.new(0.30), {Position = Position}):Play()
  198.     end
  199.     Frame.InputBegan:Connect(function(input)
  200.         if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) and UIS:GetFocusedTextBox() == nil then
  201.             dragToggle = true
  202.             dragStart = input.Position
  203.             startPos = Frame.Position
  204.             input.Changed:Connect(function()
  205.                 if input.UserInputState == Enum.UserInputState.End then
  206.                     dragToggle = false
  207.                 end
  208.             end)
  209.         end
  210.     end)
  211.     Frame.InputChanged:Connect(function(input)
  212.         if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  213.             dragInput = input
  214.         end
  215.     end)
  216.     game:GetService("UserInputService").InputChanged:Connect(function(input)
  217.         if input == dragInput and dragToggle then
  218.             updateInput(input)
  219.         end
  220.     end)
  221. end
  222.  
  223. dragify(script.Parent)
  224. end))
  225. for i,v in pairs(mas:GetChildren()) do
  226. v.Parent = game.CoreGui
  227. pcall(function() v:MakeJoints() end)
  228. end
  229. mas:Destroy()
  230. for i,v in pairs(cors) do
  231. spawn(function()
  232. pcall(v)
  233. end)
  234. end