Advertisement
HugosOnTop

Untitled

Nov 18th, 2023 (edited)
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.22 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local exec = Instance.new("Frame")
  8. local bar = Instance.new("Frame")
  9. local ImageLabel = Instance.new("ImageLabel")
  10. local security = Instance.new("TextLabel")
  11. local title = Instance.new("TextLabel")
  12. local list = Instance.new("Frame")
  13. local TextButton = Instance.new("TextButton")
  14. local clear = Instance.new("TextButton")
  15. local title_2 = Instance.new("ImageLabel")
  16. local TextButton_2 = Instance.new("TextButton")
  17. local EditorFrame = Instance.new("ScrollingFrame")
  18. local UICorner = Instance.new("UICorner")
  19. local TextBox = Instance.new("TextBox")
  20. local UICorner_2 = Instance.new("UICorner")
  21. local Lines = Instance.new("TextLabel")
  22. local UICorner_3 = Instance.new("UICorner")
  23.  
  24. --Properties:
  25.  
  26. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  27. ScreenGui.DisplayOrder = 2
  28. ScreenGui.ResetOnSpawn = false
  29.  
  30. exec.Name = "exec"
  31. exec.Parent = ScreenGui
  32. exec.Active = true
  33. exec.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
  34. exec.BorderSizePixel = 0
  35. exec.Position = UDim2.new(0.0562661476, 0, 0.126229033, 0)
  36. exec.Size = UDim2.new(0, 689, 0, 320)
  37.  
  38. bar.Name = "bar"
  39. bar.Parent = exec
  40. bar.BackgroundColor3 = Color3.fromRGB(94, 94, 94)
  41. bar.BackgroundTransparency = 0.800
  42. bar.BorderSizePixel = 0
  43. bar.Position = UDim2.new(-0, 0, -0.00296382909, 0)
  44. bar.Size = UDim2.new(0, 689, 0, 25)
  45.  
  46. ImageLabel.Parent = exec
  47. ImageLabel.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
  48. ImageLabel.BorderSizePixel = 0
  49. ImageLabel.Position = UDim2.new(0.0441413075, 0, 0.015625, 39)
  50. ImageLabel.Size = UDim2.new(0, 541, 0, 232)
  51.  
  52. security.Name = "security"
  53. security.Parent = ImageLabel
  54. security.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  55. security.Size = UDim2.new(0, 552, 0, 258)
  56. security.Visible = false
  57. security.Font = Enum.Font.SourceSans
  58. security.TextColor3 = Color3.fromRGB(0, 0, 0)
  59. security.TextSize = 14.000
  60.  
  61. title.Name = "title"
  62. title.Parent = exec
  63. title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  64. title.BackgroundTransparency = 1.000
  65. title.Position = UDim2.new(0.344576776, 0, 0.00625000009, 0)
  66. title.Size = UDim2.new(0, 214, 0, 22)
  67. title.Font = Enum.Font.SourceSans
  68. title.Text = "Synapse X - hy_e - gg/pCKCJVXqqr"
  69. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  70. title.TextSize = 16.000
  71.  
  72. list.Name = "list"
  73. list.Parent = exec
  74. list.BackgroundColor3 = Color3.fromRGB(53, 53, 53)
  75. list.BorderSizePixel = 0
  76. list.Position = UDim2.new(0.820970535, 0, 0.100000001, 0)
  77. list.Size = UDim2.new(0, 114, 0, 246)
  78.  
  79. TextButton.Parent = exec
  80. TextButton.BackgroundColor3 = Color3.fromRGB(104, 104, 104)
  81. TextButton.BackgroundTransparency = 0.800
  82. TextButton.BorderSizePixel = 0
  83. TextButton.Position = UDim2.new(0.0095389355, 0, 0.887499988, 0)
  84. TextButton.Size = UDim2.new(0, 92, 0, 30)
  85. TextButton.Font = Enum.Font.Arial
  86. TextButton.Text = "Execute"
  87. TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  88. TextButton.TextSize = 14.000
  89.  
  90. clear.Name = "clear"
  91. clear.Parent = exec
  92. clear.BackgroundColor3 = Color3.fromRGB(104, 104, 104)
  93. clear.BackgroundTransparency = 0.800
  94. clear.BorderSizePixel = 0
  95. clear.Position = UDim2.new(0.154146105, 0, 0.887499988, 0)
  96. clear.Size = UDim2.new(0, 84, 0, 30)
  97. clear.Font = Enum.Font.Arial
  98. clear.Text = "Clear"
  99. clear.TextColor3 = Color3.fromRGB(255, 255, 255)
  100. clear.TextSize = 14.000
  101.  
  102. title_2.Name = "title"
  103. title_2.Parent = exec
  104. title_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  105. title_2.BackgroundTransparency = 1.000
  106. title_2.Position = UDim2.new(0.00870821718, 0, 0, 0)
  107. title_2.Size = UDim2.new(0, 18, 0, 24)
  108. title_2.ZIndex = 14
  109. title_2.Image = "http://www.roblox.com/asset/?id=7641125882"
  110. title_2.ImageRectSize = Vector2.new(138, 167)
  111.  
  112. TextButton_2.Name = "????"
  113. TextButton_2.Parent = exec
  114. TextButton_2.BackgroundColor3 = Color3.fromRGB(104, 104, 104)
  115. TextButton_2.BackgroundTransparency = 0.800
  116. TextButton_2.BorderSizePixel = 0
  117. TextButton_2.Position = UDim2.new(0.286752373, 0, 0.887499988, 0)
  118. TextButton_2.Size = UDim2.new(0, 481, 0, 30)
  119. TextButton_2.Font = Enum.Font.Arial
  120. TextButton_2.Text = "Other Buttons In Progress..."
  121. TextButton_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  122. TextButton_2.TextSize = 14.000
  123.  
  124. EditorFrame.Name = "EditorFrame"
  125. EditorFrame.Parent = exec
  126. EditorFrame.Active = true
  127. EditorFrame.BackgroundColor3 = Color3.fromRGB(37, 37, 37)
  128. EditorFrame.BackgroundTransparency = 1.000
  129. EditorFrame.BorderColor3 = Color3.fromRGB(61, 61, 61)
  130. EditorFrame.BorderSizePixel = 0
  131. EditorFrame.Position = UDim2.new(0.0348330028, 0, 0.100000001, 0)
  132. EditorFrame.Size = UDim2.new(0.775636375, 0, 0.762499988, 0)
  133. EditorFrame.ZIndex = 3
  134. EditorFrame.BottomImage = "rbxassetid://148970562"
  135. EditorFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
  136. EditorFrame.HorizontalScrollBarInset = Enum.ScrollBarInset.ScrollBar
  137. EditorFrame.MidImage = "rbxassetid://148970562"
  138. EditorFrame.ScrollBarThickness = 5
  139. EditorFrame.TopImage = "rbxassetid://148970562"
  140.  
  141. UICorner.CornerRadius = UDim.new(0, 5)
  142. UICorner.Parent = EditorFrame
  143.  
  144. TextBox.Parent = exec
  145. TextBox.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  146. TextBox.BackgroundTransparency = 1.000
  147. TextBox.BorderSizePixel = 0
  148. TextBox.Position = UDim2.new(0, 37, 0, 44)
  149. TextBox.Size = UDim2.new(0.755200565, 0, 0.725000024, 0)
  150. TextBox.ZIndex = 3
  151. TextBox.ClearTextOnFocus = false
  152. TextBox.Font = Enum.Font.Code
  153. TextBox.MultiLine = true
  154. TextBox.PlaceholderColor3 = Color3.fromRGB(204, 204, -2)
  155. TextBox.ShowNativeInput = false
  156. TextBox.Text = ""
  157. TextBox.TextColor3 = Color3.fromRGB(204, 204, 204)
  158. TextBox.TextSize = 15.000
  159. TextBox.TextWrapped = true
  160. TextBox.TextXAlignment = Enum.TextXAlignment.Left
  161. TextBox.TextYAlignment = Enum.TextYAlignment.Top
  162.  
  163. UICorner_2.CornerRadius = UDim.new(0, 5)
  164. UICorner_2.Parent = TextBox
  165.  
  166. Lines.Name = "Lines"
  167. Lines.Parent = exec
  168. Lines.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  169. Lines.BackgroundTransparency = 1.000
  170. Lines.Position = UDim2.new(0.0541849583, 0, 0.134375006, 0)
  171. Lines.Size = UDim2.new(-0.0541850775, 30, 0.731249988, 0)
  172. Lines.ZIndex = 4
  173. Lines.Font = Enum.Font.Code
  174. Lines.Text = "1"
  175. Lines.TextColor3 = Color3.fromRGB(255, 255, 255)
  176. Lines.TextSize = 15.000
  177. Lines.TextWrapped = true
  178. Lines.TextYAlignment = Enum.TextYAlignment.Top
  179.  
  180. UICorner_3.CornerRadius = UDim.new(0, 5)
  181. UICorner_3.Parent = Lines
  182.  
  183. -- Scripts:
  184.  
  185. local function WFDA_fake_script() -- TextButton.LocalScript
  186. local script = Instance.new('LocalScript', TextButton)
  187.  
  188. script.Parent.MouseButton1Click:Connect(function()
  189. script.Parent.Parent.ExecuteEvent:FireServer(script.Parent.Parent.TextBox.Text)
  190. end)
  191. end
  192. coroutine.wrap(WFDA_fake_script)()
  193. local function IFBJOT_fake_script() -- clear.LocalScript
  194. local script = Instance.new('LocalScript', clear)
  195.  
  196. script.Parent.MouseButton1Click:Connect(function()
  197. script.Parent.Parent.ImageLabel.EditorFrame.Source.Text = ""
  198. end)
  199. end
  200. coroutine.wrap(IFBJOT_fake_script)()
  201. local function PPZCLYE_fake_script() -- TextBox.LocalScript
  202. local script = Instance.new('LocalScript', TextBox)
  203.  
  204.  
  205. local Tx = script.Parent
  206.  
  207. Tx.FocusLost:Connect(function(enterPressed)
  208. if not enterPressed then
  209. return
  210. end
  211.  
  212. local text = Tx.Text
  213. local lineCount = 1
  214.  
  215. for _ in text:gmatch('\n') do
  216. lineCount = lineCount + 1
  217. end
  218. Tx.Parent.Lines.Text = lineCount
  219. end)
  220.  
  221. end
  222. coroutine.wrap(PPZCLYE_fake_script)()
  223.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement