Advertisement
USERNAME23847

Roblox Script Helper

Jun 6th, 2023 (edited)
927
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 21.12 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScriptHelper = Instance.new("ScreenGui")
  7. local Sidebar = Instance.new("Frame")
  8. local UICorner = Instance.new("UICorner")
  9. local UIPadding = Instance.new("UIPadding")
  10. local UIListLayout = Instance.new("UIListLayout")
  11. local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint")
  12. local Executor = Instance.new("ImageButton")
  13. local UIAspectRatioConstraint_2 = Instance.new("UIAspectRatioConstraint")
  14. local UICorner_2 = Instance.new("UICorner")
  15. local Output = Instance.new("ImageButton")
  16. local UIAspectRatioConstraint_3 = Instance.new("UIAspectRatioConstraint")
  17. local UICorner_3 = Instance.new("UICorner")
  18. local ScriptPackage = Instance.new("ImageButton")
  19. local UIAspectRatioConstraint_4 = Instance.new("UIAspectRatioConstraint")
  20. local UICorner_4 = Instance.new("UICorner")
  21. local Executor_2 = Instance.new("Frame")
  22. local UICorner_5 = Instance.new("UICorner")
  23. local UIPadding_2 = Instance.new("UIPadding")
  24. local TopBar = Instance.new("TextLabel")
  25. local Close = Instance.new("TextButton")
  26. local UIAspectRatioConstraint_5 = Instance.new("UIAspectRatioConstraint")
  27. local UICorner_6 = Instance.new("UICorner")
  28. local Execute = Instance.new("TextButton")
  29. local UICorner_7 = Instance.new("UICorner")
  30. local Script = Instance.new("TextBox")
  31. local Save = Instance.new("TextButton")
  32. local UICorner_8 = Instance.new("UICorner")
  33. local Load = Instance.new("TextButton")
  34. local UICorner_9 = Instance.new("UICorner")
  35. local FileName = Instance.new("TextBox")
  36. local UICorner_10 = Instance.new("UICorner")
  37. local Output_2 = Instance.new("Frame")
  38. local UICorner_11 = Instance.new("UICorner")
  39. local UIPadding_3 = Instance.new("UIPadding")
  40. local TopBar_2 = Instance.new("TextLabel")
  41. local Close_2 = Instance.new("TextButton")
  42. local UIAspectRatioConstraint_6 = Instance.new("UIAspectRatioConstraint")
  43. local UICorner_12 = Instance.new("UICorner")
  44. local ScrollingFrame = Instance.new("ScrollingFrame")
  45. local UIListLayout_2 = Instance.new("UIListLayout")
  46. local PrintLabel = Instance.new("TextLabel")
  47. local Notif = Instance.new("Frame")
  48. local UICorner_13 = Instance.new("UICorner")
  49. local UIPadding_4 = Instance.new("UIPadding")
  50. local TopBar_3 = Instance.new("TextLabel")
  51. local Close_3 = Instance.new("TextButton")
  52. local UIAspectRatioConstraint_7 = Instance.new("UIAspectRatioConstraint")
  53. local UICorner_14 = Instance.new("UICorner")
  54. local TextLabel = Instance.new("TextLabel")
  55.  
  56. --Properties:
  57.  
  58. ScriptHelper.Name = "ScriptHelper"
  59. ScriptHelper.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  60. ScriptHelper.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  61.  
  62. Sidebar.Name = "Sidebar"
  63. Sidebar.Parent = ScriptHelper
  64. Sidebar.BackgroundColor3 = Color3.fromRGB(74, 74, 74)
  65. Sidebar.Position = UDim2.new(0, -32, 0.164000005, 0)
  66. Sidebar.Size = UDim2.new(0.100000001, 0, 0.66989243, 0)
  67.  
  68. UICorner.CornerRadius = UDim.new(0, 32)
  69. UICorner.Parent = Sidebar
  70.  
  71. UIPadding.Parent = Sidebar
  72. UIPadding.PaddingBottom = UDim.new(0, 10)
  73. UIPadding.PaddingLeft = UDim.new(0, 42)
  74. UIPadding.PaddingRight = UDim.new(0, 10)
  75. UIPadding.PaddingTop = UDim.new(0, 10)
  76.  
  77. UIListLayout.Parent = Sidebar
  78. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  79. UIListLayout.Padding = UDim.new(0, 10)
  80.  
  81. UIAspectRatioConstraint.Parent = Sidebar
  82. UIAspectRatioConstraint.AspectRatio = 0.340
  83.  
  84. Executor.Name = "Executor"
  85. Executor.Parent = Sidebar
  86. Executor.BackgroundColor3 = Color3.fromRGB(118, 118, 118)
  87. Executor.Size = UDim2.new(1, 0, 1, 0)
  88. Executor.Image = "rbxassetid://13621204682"
  89.  
  90. UIAspectRatioConstraint_2.Parent = Executor
  91.  
  92. UICorner_2.CornerRadius = UDim.new(0, 32)
  93. UICorner_2.Parent = Executor
  94.  
  95. Output.Name = "Output"
  96. Output.Parent = Sidebar
  97. Output.BackgroundColor3 = Color3.fromRGB(118, 118, 118)
  98. Output.Size = UDim2.new(1, 0, 1, 0)
  99. Output.Image = "rbxassetid://13621223490"
  100.  
  101. UIAspectRatioConstraint_3.Parent = Output
  102.  
  103. UICorner_3.CornerRadius = UDim.new(0, 32)
  104. UICorner_3.Parent = Output
  105.  
  106. ScriptPackage.Name = "ScriptPackage"
  107. ScriptPackage.Parent = Sidebar
  108. ScriptPackage.BackgroundColor3 = Color3.fromRGB(118, 118, 118)
  109. ScriptPackage.Size = UDim2.new(1, 0, 1, 0)
  110. ScriptPackage.Image = "http://www.roblox.com/asset/?id=13622585393"
  111.  
  112. UIAspectRatioConstraint_4.Parent = ScriptPackage
  113.  
  114. UICorner_4.CornerRadius = UDim.new(0, 32)
  115. UICorner_4.Parent = ScriptPackage
  116.  
  117. Executor_2.Name = "Executor"
  118. Executor_2.Parent = ScriptHelper
  119. Executor_2.BackgroundColor3 = Color3.fromRGB(74, 74, 74)
  120. Executor_2.Position = UDim2.new(0.434841335, 0, 0.305683553, 0)
  121. Executor_2.Size = UDim2.new(0.325523317, 0, 0.437941641, 0)
  122. Executor_2.Visible = false
  123.  
  124. UICorner_5.CornerRadius = UDim.new(0, 32)
  125. UICorner_5.Parent = Executor_2
  126.  
  127. UIPadding_2.Parent = Executor_2
  128. UIPadding_2.PaddingBottom = UDim.new(0, 10)
  129. UIPadding_2.PaddingLeft = UDim.new(0, 10)
  130. UIPadding_2.PaddingRight = UDim.new(0, 10)
  131. UIPadding_2.PaddingTop = UDim.new(0, 10)
  132.  
  133. TopBar.Name = "TopBar"
  134. TopBar.Parent = Executor_2
  135. TopBar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  136. TopBar.BackgroundTransparency = 1.000
  137. TopBar.Position = UDim2.new(0, -10, 0, -10)
  138. TopBar.Size = UDim2.new(1, 20, 0.100000001, 15)
  139. TopBar.Font = Enum.Font.SourceSans
  140. TopBar.Text = "    Executor"
  141. TopBar.TextColor3 = Color3.fromRGB(255, 255, 255)
  142. TopBar.TextScaled = true
  143. TopBar.TextSize = 14.000
  144. TopBar.TextWrapped = true
  145. TopBar.TextXAlignment = Enum.TextXAlignment.Left
  146.  
  147. Close.Name = "Close"
  148. Close.Parent = Executor_2
  149. Close.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  150. Close.Position = UDim2.new(0.936029613, 0, 0.0113164634, 0)
  151. Close.Size = UDim2.new(0.100000001, 0, 0.100000001, 0)
  152. Close.Font = Enum.Font.SourceSans
  153. Close.Text = "X"
  154. Close.TextColor3 = Color3.fromRGB(255, 255, 255)
  155. Close.TextScaled = true
  156. Close.TextSize = 14.000
  157. Close.TextWrapped = true
  158.  
  159. UIAspectRatioConstraint_5.Parent = Close
  160.  
  161. UICorner_6.CornerRadius = UDim.new(1, 0)
  162. UICorner_6.Parent = Close
  163.  
  164. Execute.Name = "Execute"
  165. Execute.Parent = Executor_2
  166. Execute.BackgroundColor3 = Color3.fromRGB(118, 118, 118)
  167. Execute.Position = UDim2.new(0, 0, 0.167999998, 0)
  168. Execute.Size = UDim2.new(0.171413064, 0, 0.100000009, 0)
  169. Execute.Font = Enum.Font.SourceSans
  170. Execute.Text = "Execute"
  171. Execute.TextColor3 = Color3.fromRGB(255, 255, 255)
  172. Execute.TextScaled = true
  173. Execute.TextSize = 14.000
  174. Execute.TextWrapped = true
  175.  
  176. UICorner_7.CornerRadius = UDim.new(1, 0)
  177. UICorner_7.Parent = Execute
  178.  
  179. Script.Name = "Script"
  180. Script.Parent = Executor_2
  181. Script.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
  182. Script.Position = UDim2.new(0, 0, 0.316000015, 0)
  183. Script.Size = UDim2.new(1, 0, 0.649999976, 0)
  184. Script.ClearTextOnFocus = false
  185. Script.Font = Enum.Font.SourceSans
  186. Script.MultiLine = true
  187. Script.Text = "cprint(\"Henlo, World!\") --this will put \"Henlo, World!\" into the console window."
  188. Script.TextColor3 = Color3.fromRGB(255, 255, 255)
  189. Script.TextSize = 14.000
  190. Script.TextXAlignment = Enum.TextXAlignment.Left
  191. Script.TextYAlignment = Enum.TextYAlignment.Top
  192.  
  193. Save.Name = "Save"
  194. Save.Parent = Executor_2
  195. Save.BackgroundColor3 = Color3.fromRGB(118, 118, 118)
  196. Save.Position = UDim2.new(0.826660812, 0, 0.167999998, 0)
  197. Save.Size = UDim2.new(0.171413064, 0, 0.100000009, 0)
  198. Save.Font = Enum.Font.SourceSans
  199. Save.Text = "Save"
  200. Save.TextColor3 = Color3.fromRGB(255, 255, 255)
  201. Save.TextScaled = true
  202. Save.TextSize = 14.000
  203. Save.TextWrapped = true
  204.  
  205. UICorner_8.CornerRadius = UDim.new(1, 0)
  206. UICorner_8.Parent = Save
  207.  
  208. Load.Name = "Load"
  209. Load.Parent = Executor_2
  210. Load.BackgroundColor3 = Color3.fromRGB(118, 118, 118)
  211. Load.Position = UDim2.new(0.634061813, 0, 0.167999998, 0)
  212. Load.Size = UDim2.new(0.171413064, 0, 0.100000009, 0)
  213. Load.Font = Enum.Font.SourceSans
  214. Load.Text = "Load"
  215. Load.TextColor3 = Color3.fromRGB(255, 255, 255)
  216. Load.TextScaled = true
  217. Load.TextSize = 14.000
  218. Load.TextWrapped = true
  219.  
  220. UICorner_9.CornerRadius = UDim.new(1, 0)
  221. UICorner_9.Parent = Load
  222.  
  223. FileName.Name = "FileName"
  224. FileName.Parent = Executor_2
  225. FileName.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
  226. FileName.Position = UDim2.new(0.18592228, 0, 0.167517275, 0)
  227. FileName.Size = UDim2.new(0.428933024, 0, 0.100000009, 0)
  228. FileName.Font = Enum.Font.SourceSans
  229. FileName.PlaceholderText = "FileName"
  230. FileName.Text = ""
  231. FileName.TextColor3 = Color3.fromRGB(0, 0, 0)
  232. FileName.TextSize = 14.000
  233.  
  234. UICorner_10.CornerRadius = UDim.new(1, 0)
  235. UICorner_10.Parent = FileName
  236.  
  237. Output_2.Name = "Output"
  238. Output_2.Parent = ScriptHelper
  239. Output_2.BackgroundColor3 = Color3.fromRGB(74, 74, 74)
  240. Output_2.Position = UDim2.new(0.118163407, 0, 0.196620584, 0)
  241. Output_2.Size = UDim2.new(0.325523317, 0, 0.437941641, 0)
  242. Output_2.Visible = false
  243.  
  244. UICorner_11.CornerRadius = UDim.new(0, 32)
  245. UICorner_11.Parent = Output_2
  246.  
  247. UIPadding_3.Parent = Output_2
  248. UIPadding_3.PaddingBottom = UDim.new(0, 10)
  249. UIPadding_3.PaddingLeft = UDim.new(0, 10)
  250. UIPadding_3.PaddingRight = UDim.new(0, 10)
  251. UIPadding_3.PaddingTop = UDim.new(0, 10)
  252.  
  253. TopBar_2.Name = "TopBar"
  254. TopBar_2.Parent = Output_2
  255. TopBar_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  256. TopBar_2.BackgroundTransparency = 1.000
  257. TopBar_2.Position = UDim2.new(0, -10, 0, -10)
  258. TopBar_2.Size = UDim2.new(1, 20, 0.100000001, 15)
  259. TopBar_2.Font = Enum.Font.SourceSans
  260. TopBar_2.Text = "    Output"
  261. TopBar_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  262. TopBar_2.TextScaled = true
  263. TopBar_2.TextSize = 14.000
  264. TopBar_2.TextWrapped = true
  265. TopBar_2.TextXAlignment = Enum.TextXAlignment.Left
  266.  
  267. Close_2.Name = "Close"
  268. Close_2.Parent = Output_2
  269. Close_2.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  270. Close_2.Position = UDim2.new(0.936029613, 0, 0.0113164634, 0)
  271. Close_2.Size = UDim2.new(0.100000001, 0, 0.100000001, 0)
  272. Close_2.Font = Enum.Font.SourceSans
  273. Close_2.Text = "X"
  274. Close_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  275. Close_2.TextScaled = true
  276. Close_2.TextSize = 14.000
  277. Close_2.TextWrapped = true
  278.  
  279. UIAspectRatioConstraint_6.Parent = Close_2
  280.  
  281. UICorner_12.CornerRadius = UDim.new(1, 0)
  282. UICorner_12.Parent = Close_2
  283.  
  284. ScrollingFrame.Parent = Output_2
  285. ScrollingFrame.Active = true
  286. ScrollingFrame.BackgroundColor3 = Color3.fromRGB(47, 47, 47)
  287. ScrollingFrame.Position = UDim2.new(0, 0, 0.116937004, 0)
  288. ScrollingFrame.Size = UDim2.new(1, 0, 0.850000024, 0)
  289. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
  290.  
  291. UIListLayout_2.Parent = ScrollingFrame
  292. UIListLayout_2.SortOrder = Enum.SortOrder.LayoutOrder
  293.  
  294. PrintLabel.Name = "PrintLabel"
  295. PrintLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  296. PrintLabel.BackgroundTransparency = 1.000
  297. PrintLabel.Size = UDim2.new(1, 0, 0, 14)
  298. PrintLabel.Font = Enum.Font.SourceSans
  299. PrintLabel.Text = "Henlo, World!"
  300. PrintLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  301. PrintLabel.TextSize = 14.000
  302. PrintLabel.TextXAlignment = Enum.TextXAlignment.Left
  303.  
  304. Notif.Name = "Notif"
  305. Notif.BackgroundColor3 = Color3.fromRGB(74, 74, 74)
  306. Notif.Position = UDim2.new(0.336934507, 0, 0.196620584, 0)
  307. Notif.Size = UDim2.new(0.325523317, 0, 0.437941641, 0)
  308.  
  309. UICorner_13.CornerRadius = UDim.new(0, 32)
  310. UICorner_13.Parent = Notif
  311.  
  312. UIPadding_4.Parent = Notif
  313. UIPadding_4.PaddingBottom = UDim.new(0, 10)
  314. UIPadding_4.PaddingLeft = UDim.new(0, 10)
  315. UIPadding_4.PaddingRight = UDim.new(0, 10)
  316. UIPadding_4.PaddingTop = UDim.new(0, 10)
  317.  
  318. TopBar_3.Name = "TopBar"
  319. TopBar_3.Parent = Notif
  320. TopBar_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  321. TopBar_3.BackgroundTransparency = 1.000
  322. TopBar_3.Position = UDim2.new(0, -10, 0, -10)
  323. TopBar_3.Size = UDim2.new(1, 20, 0.100000001, 15)
  324. TopBar_3.Font = Enum.Font.SourceSans
  325. TopBar_3.Text = "    Notification"
  326. TopBar_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  327. TopBar_3.TextScaled = true
  328. TopBar_3.TextSize = 14.000
  329. TopBar_3.TextWrapped = true
  330. TopBar_3.TextXAlignment = Enum.TextXAlignment.Left
  331.  
  332. Close_3.Name = "Close"
  333. Close_3.Parent = Notif
  334. Close_3.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  335. Close_3.Position = UDim2.new(0.936029613, 0, 0.0113164634, 0)
  336. Close_3.Size = UDim2.new(0.100000001, 0, 0.100000001, 0)
  337. Close_3.Font = Enum.Font.SourceSans
  338. Close_3.Text = "X"
  339. Close_3.TextColor3 = Color3.fromRGB(255, 255, 255)
  340. Close_3.TextScaled = true
  341. Close_3.TextSize = 14.000
  342. Close_3.TextWrapped = true
  343.  
  344. UIAspectRatioConstraint_7.Parent = Close_3
  345.  
  346. UICorner_14.CornerRadius = UDim.new(1, 0)
  347. UICorner_14.Parent = Close_3
  348.  
  349. TextLabel.Parent = Notif
  350. TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  351. TextLabel.BackgroundTransparency = 1.000
  352. TextLabel.Position = UDim2.new(0, 0, 0.116999999, 0)
  353. TextLabel.Size = UDim2.new(1, 0, 0.899999976, 0)
  354. TextLabel.Font = Enum.Font.SourceSans
  355. TextLabel.Text = "uhh hi there the notif broke i think"
  356. TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  357. TextLabel.TextScaled = true
  358. TextLabel.TextSize = 14.000
  359. TextLabel.TextWrapped = true
  360.  
  361. -- Module Scripts:
  362.  
  363. local fake_module_scripts = {}
  364.  
  365. do -- ScriptHelper.Module
  366.     local script = Instance.new('ModuleScript', ScriptHelper)
  367.     script.Name = "Module"
  368.     local function module_script()
  369.         local module = {}
  370.        
  371.         function module:print(text, color)
  372.             local clone = PrintLabel:Clone()
  373.             clone.Text = text
  374.             clone.TextColor3 = color
  375.             clone.Parent = script.Parent.Output.ScrollingFrame
  376.         end
  377.        
  378.         function module:notif(text)
  379.             local clone = Notif:Clone()
  380.             clone.TextLabel.Text = text
  381.             clone.Parent = script.Parent
  382.         end
  383.        
  384.         return module
  385.     end
  386.     fake_module_scripts[script] = module_script
  387. end
  388.  
  389.  
  390. -- Scripts:
  391.  
  392. local function GKOK_fake_script() -- Sidebar.LocalScript
  393.     local script = Instance.new('LocalScript', Sidebar)
  394.     local req = require
  395.     local require = function(obj)
  396.         local fake = fake_module_scripts[obj]
  397.         if fake then
  398.             return fake()
  399.         end
  400.         return req(obj)
  401.     end
  402.  
  403.     script.Parent.Executor.MouseButton1Click:Connect(function()
  404.         script.Parent.Parent.Executor.Visible = true
  405.     end)
  406.    
  407.     script.Parent.Output.MouseButton1Click:Connect(function()
  408.         script.Parent.Parent.Output.Visible = true
  409.     end)
  410.    
  411.     script.Parent.ScriptPackage.MouseButton1Click:Connect(function()
  412.         loadstring(game:HttpGet("https://pastebin.com/raw/XZu4VMFe"))()
  413.     end)
  414. end
  415. coroutine.wrap(GKOK_fake_script)()
  416. local function QFDRO_fake_script() -- Executor_2.DragScript
  417.     local script = Instance.new('LocalScript', Executor_2)
  418.     local req = require
  419.     local require = function(obj)
  420.         local fake = fake_module_scripts[obj]
  421.         if fake then
  422.             return fake()
  423.         end
  424.         return req(obj)
  425.     end
  426.  
  427.     local UIS = game:GetService("UserInputService")
  428.    
  429.     local MainFrame = script.Parent
  430.     local TopBar = MainFrame.TopBar
  431.    
  432.     local Camera = workspace:WaitForChild("Camera")
  433.    
  434.     local DragMousePosition
  435.     local FramePosition
  436.    
  437.     local Draggable = false
  438.    
  439.     TopBar.InputBegan:Connect(function(input)
  440.         if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  441.             Draggable = true
  442.             DragMousePosition = Vector2.new(input.Position.X, input.Position.Y)
  443.             FramePosition = Vector2.new(MainFrame.Position.X.Scale,MainFrame.Position.Y.Scale)
  444.         end
  445.     end)
  446.    
  447.     TopBar.InputEnded:Connect(function(input)
  448.         if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  449.             Draggable = false
  450.         end
  451.     end)
  452.    
  453.     UIS.InputChanged:Connect(function(input)
  454.         if Draggable == true then
  455.             local NewPosition = FramePosition + ((Vector2.new(input.Position.X, input.Position.Y) - DragMousePosition) / Camera.ViewportSize)
  456.             MainFrame.Position = UDim2.new(NewPosition.X, 0, NewPosition.Y, 0)
  457.         end
  458.     end)
  459. end
  460. coroutine.wrap(QFDRO_fake_script)()
  461. local function XRLRE_fake_script() -- Executor_2.LocalScript
  462.     local script = Instance.new('LocalScript', Executor_2)
  463.     local req = require
  464.     local require = function(obj)
  465.         local fake = fake_module_scripts[obj]
  466.         if fake then
  467.             return fake()
  468.         end
  469.         return req(obj)
  470.     end
  471.  
  472.     local customFunctions = [[
  473.     function cprint(text)
  474.         require(script.Parent.Parent.Module):print(text, Color3.New(255,255,255))
  475.     end
  476.     function cwarn(text)
  477.         require(script.Parent.Parent.Module):print(text, Color3.New(0,255,0))
  478.     end
  479.     function cerror(text)
  480.         require(script.Parent.Parent.Module):print(text, Color3.New(255,0,0))
  481.     end
  482.     function notify(text)
  483.         require(script.Parent.Parent.Module):notif(text)
  484.     end
  485.     ]]
  486.    
  487.     script.Parent.Execute.MouseButton1Click:Connect(function()
  488.         if game:GetService("RunService"):IsStudio() then
  489.             game.ReplicatedStorage.runCode:FireServer(customFunctions.."\n"..script.Parent.Script.Text)
  490.         else
  491.             loadstring(customFunctions.."\n"..script.Parent.Script.Text)()
  492.         end
  493.     end)
  494.    
  495.     script.Parent.Load.MouseButton1Click:Connect(function()
  496.         if (readfile and isfolder and makefolder) then
  497.             if not isfolder("ScriptHelper") then
  498.                 makefolder("ScriptHelper")
  499.             end
  500.             if not isfolder("ScriptHelper//SavedScripts") then
  501.                 makefolder("ScriptHelper//SavedScripts")
  502.             end
  503.             if isfile("ScriptHelper//SavedScripts//"..script.Parent.FileName.Text..".lua") then
  504.                 script.Parent.Script.Text = readfile("ScriptHelper//SavedScripts//"..script.Parent.FileName.Text..".lua")
  505.             else
  506.                 print("ScriptHelper: Sorry, but we couldn't find the file you were looking for.")
  507.             end
  508.         else
  509.             print("ScriptHelper: Sorry, but your executor does not support loading.")
  510.         end
  511.     end)
  512.    
  513.     script.Parent.Save.MouseButton1Click:Connect(function()
  514.         if (writefile and isfolder and makefolder) then
  515.             if not isfolder("ScriptHelper") then
  516.                 makefolder("ScriptHelper")
  517.             end
  518.             if not isfolder("ScriptHelper//SavedScripts") then
  519.                 makefolder("ScriptHelper//SavedScripts")
  520.             end
  521.             writefile("ScriptHelper//SavedScripts//"..script.Parent.FileName.Text..".lua", script.Parent.Script.Text)
  522.         else
  523.             print("ScriptHelper: Sorry, but your executor does not support saving.")
  524.         end
  525.     end)
  526.    
  527.     script.Parent.Close.MouseButton1Click:Connect(function()
  528.         script.Parent.Visible = false
  529.     end)
  530. end
  531. coroutine.wrap(XRLRE_fake_script)()
  532. local function IZOCTRO_fake_script() -- Output_2.DragScript
  533.     local script = Instance.new('LocalScript', Output_2)
  534.     local req = require
  535.     local require = function(obj)
  536.         local fake = fake_module_scripts[obj]
  537.         if fake then
  538.             return fake()
  539.         end
  540.         return req(obj)
  541.     end
  542.  
  543.     local UIS = game:GetService("UserInputService")
  544.    
  545.     local MainFrame = script.Parent
  546.     local TopBar = MainFrame.TopBar
  547.    
  548.     local Camera = workspace:WaitForChild("Camera")
  549.    
  550.     local DragMousePosition
  551.     local FramePosition
  552.    
  553.     local Draggable = false
  554.    
  555.     TopBar.InputBegan:Connect(function(input)
  556.         if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  557.             Draggable = true
  558.             DragMousePosition = Vector2.new(input.Position.X, input.Position.Y)
  559.             FramePosition = Vector2.new(MainFrame.Position.X.Scale,MainFrame.Position.Y.Scale)
  560.         end
  561.     end)
  562.    
  563.     TopBar.InputEnded:Connect(function(input)
  564.         if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  565.             Draggable = false
  566.         end
  567.     end)
  568.    
  569.     UIS.InputChanged:Connect(function(input)
  570.         if Draggable == true then
  571.             local NewPosition = FramePosition + ((Vector2.new(input.Position.X, input.Position.Y) - DragMousePosition) / Camera.ViewportSize)
  572.             MainFrame.Position = UDim2.new(NewPosition.X, 0, NewPosition.Y, 0)
  573.         end
  574.     end)
  575. end
  576. coroutine.wrap(IZOCTRO_fake_script)()
  577. local function JTLSTS_fake_script() -- Output_2.LocalScript
  578.     local script = Instance.new('LocalScript', Output_2)
  579.     local req = require
  580.     local require = function(obj)
  581.         local fake = fake_module_scripts[obj]
  582.         if fake then
  583.             return fake()
  584.         end
  585.         return req(obj)
  586.     end
  587.  
  588.     script.Parent.Close.MouseButton1Click:Connect(function()
  589.         script.Parent.Visible = false
  590.     end)
  591. end
  592. coroutine.wrap(JTLSTS_fake_script)()
  593. local function NXFREJU_fake_script() -- Notif.DragScript
  594.     local script = Instance.new('LocalScript', Notif)
  595.     local req = require
  596.     local require = function(obj)
  597.         local fake = fake_module_scripts[obj]
  598.         if fake then
  599.             return fake()
  600.         end
  601.         return req(obj)
  602.     end
  603.  
  604.     local UIS = game:GetService("UserInputService")
  605.    
  606.     local MainFrame = script.Parent
  607.     local TopBar = MainFrame.TopBar
  608.    
  609.     local Camera = workspace:WaitForChild("Camera")
  610.    
  611.     local DragMousePosition
  612.     local FramePosition
  613.    
  614.     local Draggable = false
  615.    
  616.     TopBar.InputBegan:Connect(function(input)
  617.         if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  618.             Draggable = true
  619.             DragMousePosition = Vector2.new(input.Position.X, input.Position.Y)
  620.             FramePosition = Vector2.new(MainFrame.Position.X.Scale,MainFrame.Position.Y.Scale)
  621.         end
  622.     end)
  623.    
  624.     TopBar.InputEnded:Connect(function(input)
  625.         if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  626.             Draggable = false
  627.         end
  628.     end)
  629.    
  630.     UIS.InputChanged:Connect(function(input)
  631.         if Draggable == true then
  632.             local NewPosition = FramePosition + ((Vector2.new(input.Position.X, input.Position.Y) - DragMousePosition) / Camera.ViewportSize)
  633.             MainFrame.Position = UDim2.new(NewPosition.X, 0, NewPosition.Y, 0)
  634.         end
  635.     end)
  636. end
  637. coroutine.wrap(NXFREJU_fake_script)()
  638. local function FEJDZ_fake_script() -- Notif.LocalScript
  639.     local script = Instance.new('LocalScript', Notif)
  640.     local req = require
  641.     local require = function(obj)
  642.         local fake = fake_module_scripts[obj]
  643.         if fake then
  644.             return fake()
  645.         end
  646.         return req(obj)
  647.     end
  648.  
  649.     script.Parent.Close.MouseButton1Click:Connect(function()
  650.         script.Parent:Destroy()
  651.     end)
  652. end
  653. coroutine.wrap(FEJDZ_fake_script)()
  654.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement