MaxproGlitcher

Test Script Chats

Aug 27th, 2024
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.14 KB | None | 0 0
  1.  
  2. if _G.CanOpenCD == 'Y' or _G.CanOpenCD == nil then
  3.  
  4. _G.CanOpenCD = 'N'
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7.  
  8. local Frame = Instance.new("Frame")
  9.  
  10. local chat = Instance.new("TextButton")
  11.  
  12. local UICorner = Instance.new("UICorner")
  13.  
  14. local UIGradient = Instance.new("UIGradient")
  15.  
  16. local UICorner_2 = Instance.new("UICorner")
  17.  
  18. local close = Instance.new("TextButton")
  19.  
  20. local UICorner_3 = Instance.new("UICorner")
  21.  
  22.  
  23.  
  24. ScreenGui.Parent = game.CoreGui
  25.  
  26. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  27.  
  28.  
  29.  
  30. Frame.Parent = ScreenGui
  31.  
  32. Frame.Active = true
  33.  
  34. Frame.Draggable = true
  35.  
  36. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  37.  
  38. Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  39.  
  40. Frame.BorderSizePixel = 0
  41.  
  42. Frame.Position = UDim2.new(0.105488181, 0, 0.147911012, 0)
  43.  
  44. Frame.Size = UDim2.new(0.250783861, 0, 0.366124362, 0)
  45.  
  46. Frame.SizeConstraint = Enum.SizeConstraint.RelativeXX
  47.  
  48.  
  49.  
  50. chat.Name = "chat"
  51.  
  52. chat.Parent = Frame
  53.  
  54. chat.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  55.  
  56. chat.BorderColor3 = Color3.fromRGB(0, 0, 0)
  57.  
  58. chat.BorderSizePixel = 0
  59.  
  60. chat.Position = UDim2.new(0.338757247, 0, 0.890470445, 0)
  61.  
  62. chat.Size = UDim2.new(0, 79, 0, 39)
  63.  
  64. chat.Font = Enum.Font.SourceSans
  65.  
  66. chat.Text = "Chat"
  67.  
  68. chat.TextColor3 = Color3.fromRGB(0, 0, 0)
  69.  
  70. chat.TextScaled = true
  71.  
  72. chat.TextSize = 14.000
  73.  
  74. chat.TextWrapped = true
  75.  
  76.  
  77.  
  78. UICorner.Parent = chat
  79.  
  80.  
  81.  
  82. UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(0, 0, 0)), ColorSequenceKeypoint.new(0.50, Color3.fromRGB(65, 65, 65)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(0, 0, 0))}
  83.  
  84. UIGradient.Rotation = 142.91810607910156
  85.  
  86. UIGradient.Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0.00, 0.15), NumberSequenceKeypoint.new(1.00, 0.15)}
  87.  
  88. UIGradient.Parent = Frame
  89.  
  90.  
  91.  
  92. UICorner_2.Parent = Frame
  93.  
  94.  
  95.  
  96. close.Name = "close"
  97.  
  98. close.Parent = Frame
  99.  
  100. close.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  101.  
  102. close.BorderColor3 = Color3.fromRGB(0, 0, 0)
  103.  
  104. close.BorderSizePixel = 0
  105.  
  106. close.Position = UDim2.new(0.896839917, 0, 0, 0)
  107.  
  108. close.Size = UDim2.new(0.100000001, 0, 0.100000001, 0)
  109.  
  110. close.SizeConstraint = Enum.SizeConstraint.RelativeXX
  111.  
  112. close.Font = Enum.Font.SourceSans
  113.  
  114. close.Text = "X"
  115.  
  116. close.TextColor3 = Color3.fromRGB(0, 0, 0)
  117.  
  118. close.TextScaled = true
  119.  
  120. close.TextSize = 14.000
  121.  
  122. close.TextWrapped = true
  123.  
  124.  
  125.  
  126. UICorner_3.Parent = close
  127.  
  128.  
  129.  
  130. local function PFKZKTS_fake_script()
  131.  
  132. local script = Instance.new('LocalScript', Frame)
  133.  
  134.  
  135.  
  136. local scrGui = script.Parent
  137.  
  138. local buttonSize = 0.141
  139.  
  140. local startY = 0.073
  141.  
  142.  
  143.  
  144. local function createButton(position, color , i, j)
  145.  
  146. local button = Instance.new("TextButton")
  147.  
  148. button.Name = i.."_"..j
  149.  
  150. button.SizeConstraint = Enum.SizeConstraint.RelativeXX
  151.  
  152. button.Size = UDim2.new(buttonSize, 0, buttonSize, 0)
  153.  
  154. button.Position = position
  155.  
  156. button.BackgroundColor3 = color
  157.  
  158. button.Text = ''
  159.  
  160. button.Parent = scrGui
  161.  
  162.  
  163.  
  164. button.MouseButton1Click:Connect(function()
  165.  
  166. if button.BackgroundColor3 == Color3.new(1, 1, 1) then
  167.  
  168. button.BackgroundColor3 = Color3.new(0, 0, 0)
  169.  
  170. else
  171.  
  172. button.BackgroundColor3 = Color3.new(1, 1, 1)
  173.  
  174. end
  175.  
  176. end)
  177.  
  178.  
  179.  
  180. return button
  181.  
  182. end
  183.  
  184.  
  185.  
  186. for i = 1, 7 do
  187.  
  188. for j = 1, 7 do
  189.  
  190. local position = UDim2.new((j - 1) * 0.143, 0, (i - 1) * 0.1 + startY, 0)
  191.  
  192. createButton(position, Color3.new(1, 1, 1), i, j)
  193.  
  194. end
  195.  
  196. end
  197.  
  198. end
  199.  
  200. coroutine.wrap(PFKZKTS_fake_script)()
  201.  
  202. local function ALHDNAM_fake_script()
  203.  
  204. local script = Instance.new('LocalScript', chat)
  205.  
  206.  
  207.  
  208. local function message(message)
  209.  
  210. if game:GetService('TextChatService').ChatVersion == Enum.ChatVersion.LegacyChatService then
  211.  
  212. game:GetService('ReplicatedStorage'):WaitForChild('DefaultChatSystemChatEvents'):WaitForChild('SayMessageRequest'):FireServer(message, 'All')
  213.  
  214. else
  215.  
  216. game:GetService("TextChatService").TextChannels.RBXGeneral:SendAsync(message)
  217.  
  218. end
  219.  
  220. end
  221.  
  222.  
  223.  
  224. local scrGui = script.Parent.Parent
  225.  
  226. local status = ""
  227.  
  228. script.Parent.MouseButton1Click:Connect(function()
  229.  
  230. for i = 1, 7 do
  231.  
  232. status = ''
  233.  
  234. for j = 1, 7 do
  235.  
  236. local button = scrGui:FindFirstChild(i.."_"..j)
  237.  
  238. if button then
  239.  
  240. if button.BackgroundColor3 == Color3.new(1, 1, 1) then
  241.  
  242. status = status.."⚪"
  243.  
  244. else
  245.  
  246. status = status.."⚫"
  247.  
  248. end
  249.  
  250. end
  251.  
  252. end
  253.  
  254. message(status)
  255.  
  256. wait(0.1)
  257.  
  258. end
  259.  
  260. end)
  261.  
  262.  
  263.  
  264. end
  265.  
  266. coroutine.wrap(ALHDNAM_fake_script)()
  267.  
  268. local function CVXH_fake_script()
  269.  
  270. local script = Instance.new('LocalScript', UIGradient)
  271.  
  272.  
  273.  
  274. script.Parent.Parent.Draggable = true
  275.  
  276.  
  277.  
  278. local RunService = game:GetService("RunService")
  279.  
  280. local ROTATE_SPEED = 22.5
  281.  
  282. local uiGradient = script.Parent
  283.  
  284.  
  285.  
  286. local function onRenderStep(deltaTime)
  287.  
  288. local currentRotation = uiGradient.Rotation
  289.  
  290. uiGradient.Rotation = (currentRotation + ROTATE_SPEED * deltaTime) % 360
  291.  
  292. end
  293.  
  294.  
  295.  
  296. RunService.RenderStepped:Connect(onRenderStep)
  297.  
  298. end
  299.  
  300. coroutine.wrap(CVXH_fake_script)()
  301.  
  302. local function RHVGF_fake_script()
  303.  
  304. local script = Instance.new('LocalScript', close)
  305.  
  306.  
  307.  
  308. local button = script.Parent
  309.  
  310.  
  311.  
  312. button.MouseButton1Click:Connect(function()
  313.  
  314. _G.CanOpenCD = 'Y'
  315.  
  316. script.Parent.Parent.Parent:Destroy()
  317.  
  318. end)
  319.  
  320. end
  321.  
  322. coroutine.wrap(RHVGF_fake_script)()
  323.  
  324. end
Add Comment
Please, Sign In to add comment