Advertisement
SHRKXXR

FE Require Executor

Sep 1st, 2021
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.51 KB | None | 0 0
  1. local partsWithId = {}
  2. local awaitRef = {}
  3.  
  4. local root = {
  5. ID = 0;
  6. Type = "Frame";
  7. Properties = {
  8. AnchorPoint = Vector2.new(0.5,0.5);
  9. Name = "MainFrame";
  10. Position = UDim2.new(0.49926286935806,0,0.49840271472931,0);
  11. Size = UDim2.new(0,529,0,268);
  12. BorderSizePixel = 0;
  13. BackgroundColor3 = Color3.new(1,1,1);
  14. };
  15. Children = {
  16. {
  17. ID = 1;
  18. Type = "Frame";
  19. Properties = {
  20. AnchorPoint = Vector2.new(0.5,0.5);
  21. Name = "Execute";
  22. Position = UDim2.new(0.5,0,0.5,0);
  23. BackgroundTransparency = 1;
  24. Size = UDim2.new(1,0,1,0);
  25. BackgroundColor3 = Color3.new(1,1,1);
  26. };
  27. Children = {
  28. {
  29. ID = 2;
  30. Type = "ScrollingFrame";
  31. Properties = {
  32. ScrollBarImageColor3 = Color3.new(5/51,163/255,1);
  33. Active = true;
  34. ScrollBarThickness = 4;
  35. AnchorPoint = Vector2.new(0.5,0.5);
  36. Name = "ScriptFrame";
  37. Position = UDim2.new(0.5004033446312,0,0.51270091533661,0);
  38. Size = UDim2.new(0,495,0,161);
  39. BorderSizePixel = 0;
  40. BackgroundColor3 = Color3.new(1,1,1);
  41. };
  42. Children = {
  43. {
  44. ID = 3;
  45. Type = "TextBox";
  46. Properties = {
  47. MultiLine = true;
  48. TextWrapped = true;
  49. TextXAlignment = Enum.TextXAlignment.Left;
  50. TextColor3 = Color3.new(0,0,0);
  51. PlaceholderText = "Script Here";
  52. Text = "- Start Using Scripts";
  53. BackgroundColor3 = Color3.new(1,1,1);
  54. FontSize = Enum.FontSize.Size14;
  55. AnchorPoint = Vector2.new(0.5,0.5);
  56. Font = Enum.Font.SourceSansLight;
  57. BackgroundTransparency = 1;
  58. Position = UDim2.new(0.5,0,0.5,0);
  59. Size = UDim2.new(1,0,1,0);
  60. TextYAlignment = Enum.TextYAlignment.Top;
  61. TextSize = 14;
  62. TextWrap = true;
  63. };
  64. Children = {};
  65. };
  66. };
  67. };
  68. {
  69. ID = 4;
  70. Type = "TextButton";
  71. Properties = {
  72. FontSize = Enum.FontSize.Size14;
  73. TextColor3 = Color3.new(0,0,0);
  74. TextWrapped = true;
  75. Text = "Execute";
  76. Size = UDim2.new(0,105,0,21);
  77. TextSize = 14;
  78. AnchorPoint = Vector2.new(0.5,0.5);
  79. Font = Enum.Font.SourceSansLight;
  80. Name = "Execute";
  81. Position = UDim2.new(0.26023164391518,0,0.90913116931915,0);
  82. BackgroundColor3 = Color3.new(1,1,1);
  83. TextScaled = true;
  84. BorderSizePixel = 0;
  85. TextWrap = true;
  86. };
  87. Children = {
  88. {
  89. ID = 5;
  90. Type = "LocalScript";
  91. Properties = {};
  92. Children = {};
  93. };
  94. {
  95. ID = 6;
  96. Type = "RemoteEvent";
  97. Properties = {
  98. Name = "ExecuteScript";
  99. };
  100. Children = {};
  101. };
  102. {
  103. ID = 7;
  104. Type = "Script";
  105. Properties = {};
  106. Children = {
  107. {
  108. ID = 8;
  109. Type = "ModuleScript";
  110. Properties = {
  111. Name = "Loadstring";
  112. };
  113. Children = {
  114. {
  115. ID = 9;
  116. Type = "ModuleScript";
  117. Properties = {
  118. Name = "LuaZ";
  119. };
  120. Children = {};
  121. };
  122. {
  123. ID = 10;
  124. Type = "ModuleScript";
  125. Properties = {
  126. Name = "LuaX";
  127. };
  128. Children = {};
  129. };
  130. {
  131. ID = 11;
  132. Type = "ModuleScript";
  133. Properties = {
  134. Name = "LuaY";
  135. };
  136. Children = {};
  137. };
  138. {
  139. ID = 12;
  140. Type = "ModuleScript";
  141. Properties = {
  142. Name = "LuaK";
  143. };
  144. Children = {};
  145. };
  146. {
  147. ID = 13;
  148. Type = "ModuleScript";
  149. Properties = {
  150. Name = "LuaU";
  151. };
  152. Children = {};
  153. };
  154. {
  155. ID = 14;
  156. Type = "ModuleScript";
  157. Properties = {
  158. Name = "LuaP";
  159. };
  160. Children = {};
  161. };
  162. {
  163. ID = 15;
  164. Type = "ModuleScript";
  165. Properties = {
  166. Name = "Rerubi";
  167. };
  168. Children = {};
  169. };
  170. };
  171. };
  172. };
  173. };
  174. };
  175. };
  176. {
  177. ID = 16;
  178. Type = "TextButton";
  179. Properties = {
  180. FontSize = Enum.FontSize.Size14;
  181. TextColor3 = Color3.new(0,0,0);
  182. TextWrapped = true;
  183. Text = "Clear";
  184. Size = UDim2.new(0,92,0,21);
  185. TextSize = 14;
  186. AnchorPoint = Vector2.new(0.5,0.5);
  187. Font = Enum.Font.SourceSansLight;
  188. Name = "Clear";
  189. Position = UDim2.new(0.72570234537125,0,0.90913116931915,0);
  190. BackgroundColor3 = Color3.new(1,1,1);
  191. TextScaled = true;
  192. BorderSizePixel = 0;
  193. TextWrap = true;
  194. };
  195. Children = {
  196. {
  197. ID = 17;
  198. Type = "LocalScript";
  199. Properties = {};
  200. Children = {};
  201. };
  202. };
  203. };
  204. {
  205. ID = 18;
  206. Type = "TextButton";
  207. Properties = {
  208. FontSize = Enum.FontSize.Size14;
  209. TextColor3 = Color3.new(0,0,0);
  210. TextWrapped = true;
  211. Text = "R6";
  212. Size = UDim2.new(0,147,0,21);
  213. TextSize = 14;
  214. AnchorPoint = Vector2.new(0.5,0.5);
  215. Font = Enum.Font.SourceSansLight;
  216. Name = "R6";
  217. Position = UDim2.new(0.49933180212975,0,0.90913116931915,0);
  218. BackgroundColor3 = Color3.new(1,1,1);
  219. TextScaled = true;
  220. BorderSizePixel = 0;
  221. TextWrap = true;
  222. };
  223. Children = {
  224. {
  225. ID = 19;
  226. Type = "LocalScript";
  227. Properties = {
  228. Name = "CircleClickExample";
  229. };
  230. Children = {
  231. {
  232. ID = 20;
  233. Type = "ImageLabel";
  234. Properties = {
  235. Image = "rbxassetid://266543268";
  236. Name = "Circle";
  237. ImageTransparency = 0.89999997615814;
  238. ZIndex = 10;
  239. BackgroundTransparency = 1;
  240. BackgroundColor3 = Color3.new(1,1,1);
  241. };
  242. Children = {};
  243. };
  244. };
  245. };
  246. {
  247. ID = 21;
  248. Type = "LocalScript";
  249. Properties = {};
  250. Children = {};
  251. };
  252. {
  253. ID = 22;
  254. Type = "RemoteEvent";
  255. Properties = {};
  256. Children = {};
  257. };
  258. {
  259. ID = 23;
  260. Type = "Script";
  261. Properties = {};
  262. Children = {};
  263. };
  264. };
  265. };
  266. };
  267. };
  268. {
  269. ID = 24;
  270. Type = "TextLabel";
  271. Properties = {
  272. FontSize = Enum.FontSize.Size14;
  273. TextXAlignment = Enum.TextXAlignment.Left;
  274. TextColor3 = Color3.new(0,0,0);
  275. BackgroundTransparency = 1;
  276. Text = "SHRKS Coolio Require Panel";
  277. Size = UDim2.new(0,200,0,30);
  278. TextWrapped = true;
  279. AnchorPoint = Vector2.new(0.5,0.5);
  280. Font = Enum.Font.SourceSans;
  281. Name = "Name";
  282. Position = UDim2.new(0.34934782981873,0,0.074686594307423,0);
  283. TextSize = 14;
  284. BackgroundColor3 = Color3.new(1,1,1);
  285. TextScaled = true;
  286. TextWrap = true;
  287. };
  288. Children = {
  289. {
  290. ID = 25;
  291. Type = "LocalScript";
  292. Properties = {
  293. Name = "Rainbower";
  294. };
  295. Children = {};
  296. };
  297. };
  298. };
  299. {
  300. ID = 26;
  301. Type = "LocalScript";
  302. Properties = {
  303. Name = "Drag";
  304. };
  305. Children = {};
  306. };
  307. {
  308. ID = 27;
  309. Type = "ImageLabel";
  310. Properties = {
  311. Image = "http://www.roblox.com/asset/?id=7252790502";
  312. BackgroundTransparency = 9;
  313. Position = UDim2.new(0.031272828578949,0,0.019194826483727,0);
  314. Size = UDim2.new(0,33,0,30);
  315. BackgroundColor3 = Color3.new(1,1,1);
  316. };
  317. Children = {
  318. {
  319. ID = 28;
  320. Type = "Decal";
  321. Properties = {
  322. Name = "LOL face";
  323. Texture = "http://www.roblox.com/asset/?id=274966737";
  324. };
  325. Children = {};
  326. };
  327. {
  328. ID = 29;
  329. Type = "Script";
  330. Properties = {};
  331. Children = {};
  332. };
  333. };
  334. };
  335. };
  336. };
  337.  
  338. local function Scan(item, parent)
  339. local obj = Instance.new(item.Type)
  340. if (item.ID) then
  341. local awaiting = awaitRef[item.ID]
  342. if (awaiting) then
  343. awaiting[1][awaiting[2]] = obj
  344. awaitRef[item.ID] = nil
  345. else
  346. partsWithId[item.ID] = obj
  347. end
  348. end
  349. for p,v in pairs(item.Properties) do
  350. if (type(v) == "string") then
  351. local id = tonumber(v:match("^_R:(%w+)_$"))
  352. if (id) then
  353. if (partsWithId[id]) then
  354. v = partsWithId[id]
  355. else
  356. awaitRef[id] = {obj, p}
  357. v = nil
  358. end
  359. end
  360. end
  361. obj[p] = v
  362. end
  363. for _,c in pairs(item.Children) do
  364. Scan(c, obj)
  365. end
  366. obj.Parent = parent
  367. return obj
  368. end
  369.  
  370. return function() return Scan(root, nil) end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement