OatmealCereal

Universal Draw GU roblox

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