Advertisement
robloxguy988

Untitled

Feb 18th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.86 KB | None | 0 0
  1.  
  2. if game.Workspace:FindFirstChild("ExploitChat") == nil then
  3. local flder = Instance.new('Folder',game.Workspace)
  4. flder.Name = "ExploitChat"
  5. local val = Instance.new('StringValue',flder)
  6. val.Name = "ChatInput"
  7. end
  8. local flderChat = game.Workspace.ExploitChat
  9. local gui = Instance.new('ScreenGui',game.CoreGui)
  10. gui.ResetOnSpawn = false
  11. gui.Enabled = false
  12. local outerfrm = Instance.new('Frame',gui)
  13. outerfrm.Transparency = 1
  14. outerfrm.Size = UDim2.new(0.5,0,0.5,0)
  15. outerfrm.Position = UDim2.new(0.25,0,0.25,0)
  16. outerfrm.Draggable = true
  17.  
  18. local gui2 = Instance.new('ScreenGui',game.CoreGui)
  19. gui2.ResetOnSpawn = false
  20.  
  21. local Cs = Instance.new('TextButton',gui2)
  22. Cs.BorderSizePixel = 5
  23. Cs.BackgroundTransparency = 0.30
  24. Cs.BackgroundColor3 = Color3.new(0,0,0)
  25. Cs.BorderColor3 = Color3.new(0,1,0)
  26. Cs.Size = UDim2.new(0,50,0,50)
  27. Cs.Position = UDim2.new(0,0,0.8,0)
  28. Cs.TextColor3 = Color3.new(0,1,0)
  29. Cs.TextWrapped = true
  30. Cs.TextSize = 10
  31. Cs.Font = "Code"
  32. Cs.Text = "Exploiter Chat"
  33.  
  34. local imglbl = Instance.new('ImageLabel',gui2)
  35. imglbl.Size = UDim2.new(0,20,0,20)
  36. imglbl.Position = UDim2.new(0,40,0.8,-10)
  37. imglbl.Image = "http://www.roblox.com/asset/?id=172617011"
  38. imglbl.BackgroundTransparency = 1
  39. imglbl.ImageTransparency = 1
  40.  
  41. function chatclick()
  42. if gui.Enabled then
  43. gui.Enabled = false
  44. imglbl.ImageTransparency = 1
  45. else
  46. gui.Enabled = true
  47. imglbl.ImageTransparency = 1
  48. end
  49. end
  50.  
  51. Cs.MouseButton1Click:connect(chatclick)
  52.  
  53. local Header = Instance.new('TextLabel',outerfrm)
  54. Header.BorderSizePixel = 5
  55. Header.BackgroundTransparency = 0.30
  56. Header.BackgroundColor3 = Color3.new(0,0,0)
  57. Header.BorderColor3 = Color3.new(0,1,0)
  58. Header.Text = "Exploiter Chat"
  59. Header.Font = "Code"
  60. Header.TextColor3 = Color3.new(0,1,0)
  61. Header.TextScaled = true
  62. Header.Size = UDim2.new(1,0,0.2,0)
  63.  
  64. local ChatSpace = Instance.new('ScrollingFrame',outerfrm)
  65. ChatSpace.BorderSizePixel = 5
  66. ChatSpace.BackgroundTransparency = 0.30
  67. ChatSpace.BackgroundColor3 = Color3.new(0,0,0)
  68. ChatSpace.BorderColor3 = Color3.new(0,1,0)
  69. ChatSpace.Size = UDim2.new(1,0,0.7,0)
  70. ChatSpace.Position = UDim2.new(0,0,0.2,5)
  71. ChatSpace.CanvasPosition = Vector2.new(0,999)
  72.  
  73.  
  74. local ChatSay = Instance.new('TextBox',outerfrm)
  75. ChatSay.BorderSizePixel = 5
  76. ChatSay.BackgroundTransparency = 0.30
  77. ChatSay.BackgroundColor3 = Color3.new(0,0,0)
  78. ChatSay.BorderColor3 = Color3.new(0,1,0)
  79. ChatSay.Size = UDim2.new(0.8,0,0.1,0)
  80. ChatSay.Position = UDim2.new(0,0,0.9,10)
  81. ChatSay.TextColor3 = Color3.new(1,1,1)
  82. ChatSay.Text = "Type something here and start chatting!"
  83. ChatSay.TextScaled = true
  84.  
  85.  
  86. local ChatSend = Instance.new('TextButton',outerfrm)
  87. ChatSend.BorderSizePixel = 5
  88. ChatSend.BackgroundTransparency = 0.30
  89. ChatSend.BackgroundColor3 = Color3.new(1,0,0)
  90. ChatSend.BorderColor3 = Color3.new(0,1,0)
  91. ChatSend.Size = UDim2.new(0.2,-5,0.1,0)
  92. ChatSend.Position = UDim2.new(0.8,5,0.9,10)
  93. ChatSend.TextColor3 = Color3.new(1,1,1)
  94. ChatSend.Text = "Send"
  95. ChatSend.TextScaled = true
  96. function send()
  97. flderChat.ChatInput.Value = ("[" .. game.Players.LocalPlayer.Name .. "]: " .. ChatSay.Text )
  98. end
  99. ChatSend.MouseButton1Click:connect(send)
  100. function change()
  101. local c = ChatSpace:GetChildren()
  102. for i = 1,#c,1 do
  103. if c[i].ClassName == "TextLabel" then
  104. c[i].Position = UDim2.new(0,0,1,c[i].Position.Y.Offset - 20)
  105. end
  106. end
  107. local Chat = Instance.new('TextLabel',ChatSpace)
  108. Chat.BorderSizePixel = 5
  109. Chat.BackgroundTransparency = 1
  110. Chat.BackgroundColor3 = Color3.new(0,0,0)
  111. Chat.BorderColor3 = Color3.new(0,1,0)
  112. Chat.Size = UDim2.new(1,0,0,20)
  113. Chat.Position = UDim2.new(0,0,1,-20)
  114. Chat.TextColor3 = Color3.new(1,1,1)
  115. Chat.Text = flderChat.ChatInput.Value
  116. Chat.TextSize = 10
  117. Chat.TextXAlignment = "Left"
  118. if gui.Enabled == false then
  119. imglbl.ImageTransparency = 0
  120. end
  121. end
  122. flderChat.ChatInput.Changed:connect(change)
  123.  
  124. flderChat.ChatInput.Value = (game.Players.LocalPlayer.Name .. " has just joined the chat!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement