Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local partsWithId = {}
- local awaitRef = {}
- local root = {
- ID = 0;
- Type = "Frame";
- Properties = {
- AnchorPoint = Vector2.new(0.5,0.5);
- Name = "MainFrame";
- Position = UDim2.new(0.49926286935806,0,0.49840271472931,0);
- Size = UDim2.new(0,529,0,268);
- BorderSizePixel = 0;
- BackgroundColor3 = Color3.new(1,1,1);
- };
- Children = {
- {
- ID = 1;
- Type = "Frame";
- Properties = {
- AnchorPoint = Vector2.new(0.5,0.5);
- Name = "Execute";
- Position = UDim2.new(0.5,0,0.5,0);
- BackgroundTransparency = 1;
- Size = UDim2.new(1,0,1,0);
- BackgroundColor3 = Color3.new(1,1,1);
- };
- Children = {
- {
- ID = 2;
- Type = "ScrollingFrame";
- Properties = {
- ScrollBarImageColor3 = Color3.new(5/51,163/255,1);
- Active = true;
- ScrollBarThickness = 4;
- AnchorPoint = Vector2.new(0.5,0.5);
- Name = "ScriptFrame";
- Position = UDim2.new(0.5004033446312,0,0.51270091533661,0);
- Size = UDim2.new(0,495,0,161);
- BorderSizePixel = 0;
- BackgroundColor3 = Color3.new(1,1,1);
- };
- Children = {
- {
- ID = 3;
- Type = "TextBox";
- Properties = {
- MultiLine = true;
- TextWrapped = true;
- TextXAlignment = Enum.TextXAlignment.Left;
- TextColor3 = Color3.new(0,0,0);
- PlaceholderText = "Script Here";
- Text = "- Start Using Scripts";
- BackgroundColor3 = Color3.new(1,1,1);
- FontSize = Enum.FontSize.Size14;
- AnchorPoint = Vector2.new(0.5,0.5);
- Font = Enum.Font.SourceSansLight;
- BackgroundTransparency = 1;
- Position = UDim2.new(0.5,0,0.5,0);
- Size = UDim2.new(1,0,1,0);
- TextYAlignment = Enum.TextYAlignment.Top;
- TextSize = 14;
- TextWrap = true;
- };
- Children = {};
- };
- };
- };
- {
- ID = 4;
- Type = "TextButton";
- Properties = {
- FontSize = Enum.FontSize.Size14;
- TextColor3 = Color3.new(0,0,0);
- TextWrapped = true;
- Text = "Execute";
- Size = UDim2.new(0,105,0,21);
- TextSize = 14;
- AnchorPoint = Vector2.new(0.5,0.5);
- Font = Enum.Font.SourceSansLight;
- Name = "Execute";
- Position = UDim2.new(0.26023164391518,0,0.90913116931915,0);
- BackgroundColor3 = Color3.new(1,1,1);
- TextScaled = true;
- BorderSizePixel = 0;
- TextWrap = true;
- };
- Children = {
- {
- ID = 5;
- Type = "LocalScript";
- Properties = {};
- Children = {};
- };
- {
- ID = 6;
- Type = "RemoteEvent";
- Properties = {
- Name = "ExecuteScript";
- };
- Children = {};
- };
- {
- ID = 7;
- Type = "Script";
- Properties = {};
- Children = {
- {
- ID = 8;
- Type = "ModuleScript";
- Properties = {
- Name = "Loadstring";
- };
- Children = {
- {
- ID = 9;
- Type = "ModuleScript";
- Properties = {
- Name = "LuaZ";
- };
- Children = {};
- };
- {
- ID = 10;
- Type = "ModuleScript";
- Properties = {
- Name = "LuaX";
- };
- Children = {};
- };
- {
- ID = 11;
- Type = "ModuleScript";
- Properties = {
- Name = "LuaY";
- };
- Children = {};
- };
- {
- ID = 12;
- Type = "ModuleScript";
- Properties = {
- Name = "LuaK";
- };
- Children = {};
- };
- {
- ID = 13;
- Type = "ModuleScript";
- Properties = {
- Name = "LuaU";
- };
- Children = {};
- };
- {
- ID = 14;
- Type = "ModuleScript";
- Properties = {
- Name = "LuaP";
- };
- Children = {};
- };
- {
- ID = 15;
- Type = "ModuleScript";
- Properties = {
- Name = "Rerubi";
- };
- Children = {};
- };
- };
- };
- };
- };
- };
- };
- {
- ID = 16;
- Type = "TextButton";
- Properties = {
- FontSize = Enum.FontSize.Size14;
- TextColor3 = Color3.new(0,0,0);
- TextWrapped = true;
- Text = "Clear";
- Size = UDim2.new(0,92,0,21);
- TextSize = 14;
- AnchorPoint = Vector2.new(0.5,0.5);
- Font = Enum.Font.SourceSansLight;
- Name = "Clear";
- Position = UDim2.new(0.72570234537125,0,0.90913116931915,0);
- BackgroundColor3 = Color3.new(1,1,1);
- TextScaled = true;
- BorderSizePixel = 0;
- TextWrap = true;
- };
- Children = {
- {
- ID = 17;
- Type = "LocalScript";
- Properties = {};
- Children = {};
- };
- };
- };
- {
- ID = 18;
- Type = "TextButton";
- Properties = {
- FontSize = Enum.FontSize.Size14;
- TextColor3 = Color3.new(0,0,0);
- TextWrapped = true;
- Text = "R6";
- Size = UDim2.new(0,147,0,21);
- TextSize = 14;
- AnchorPoint = Vector2.new(0.5,0.5);
- Font = Enum.Font.SourceSansLight;
- Name = "R6";
- Position = UDim2.new(0.49933180212975,0,0.90913116931915,0);
- BackgroundColor3 = Color3.new(1,1,1);
- TextScaled = true;
- BorderSizePixel = 0;
- TextWrap = true;
- };
- Children = {
- {
- ID = 19;
- Type = "LocalScript";
- Properties = {
- Name = "CircleClickExample";
- };
- Children = {
- {
- ID = 20;
- Type = "ImageLabel";
- Properties = {
- Image = "rbxassetid://266543268";
- Name = "Circle";
- ImageTransparency = 0.89999997615814;
- ZIndex = 10;
- BackgroundTransparency = 1;
- BackgroundColor3 = Color3.new(1,1,1);
- };
- Children = {};
- };
- };
- };
- {
- ID = 21;
- Type = "LocalScript";
- Properties = {};
- Children = {};
- };
- {
- ID = 22;
- Type = "RemoteEvent";
- Properties = {};
- Children = {};
- };
- {
- ID = 23;
- Type = "Script";
- Properties = {};
- Children = {};
- };
- };
- };
- };
- };
- {
- ID = 24;
- Type = "TextLabel";
- Properties = {
- FontSize = Enum.FontSize.Size14;
- TextXAlignment = Enum.TextXAlignment.Left;
- TextColor3 = Color3.new(0,0,0);
- BackgroundTransparency = 1;
- Text = "SHRKS Coolio Require Panel";
- Size = UDim2.new(0,200,0,30);
- TextWrapped = true;
- AnchorPoint = Vector2.new(0.5,0.5);
- Font = Enum.Font.SourceSans;
- Name = "Name";
- Position = UDim2.new(0.34934782981873,0,0.074686594307423,0);
- TextSize = 14;
- BackgroundColor3 = Color3.new(1,1,1);
- TextScaled = true;
- TextWrap = true;
- };
- Children = {
- {
- ID = 25;
- Type = "LocalScript";
- Properties = {
- Name = "Rainbower";
- };
- Children = {};
- };
- };
- };
- {
- ID = 26;
- Type = "LocalScript";
- Properties = {
- Name = "Drag";
- };
- Children = {};
- };
- {
- ID = 27;
- Type = "ImageLabel";
- Properties = {
- Image = "http://www.roblox.com/asset/?id=7252790502";
- BackgroundTransparency = 9;
- Position = UDim2.new(0.031272828578949,0,0.019194826483727,0);
- Size = UDim2.new(0,33,0,30);
- BackgroundColor3 = Color3.new(1,1,1);
- };
- Children = {
- {
- ID = 28;
- Type = "Decal";
- Properties = {
- Name = "LOL face";
- Texture = "http://www.roblox.com/asset/?id=274966737";
- };
- Children = {};
- };
- {
- ID = 29;
- Type = "Script";
- Properties = {};
- Children = {};
- };
- };
- };
- };
- };
- local function Scan(item, parent)
- local obj = Instance.new(item.Type)
- if (item.ID) then
- local awaiting = awaitRef[item.ID]
- if (awaiting) then
- awaiting[1][awaiting[2]] = obj
- awaitRef[item.ID] = nil
- else
- partsWithId[item.ID] = obj
- end
- end
- for p,v in pairs(item.Properties) do
- if (type(v) == "string") then
- local id = tonumber(v:match("^_R:(%w+)_$"))
- if (id) then
- if (partsWithId[id]) then
- v = partsWithId[id]
- else
- awaitRef[id] = {obj, p}
- v = nil
- end
- end
- end
- obj[p] = v
- end
- for _,c in pairs(item.Children) do
- Scan(c, obj)
- end
- obj.Parent = parent
- return obj
- end
- return function() return Scan(root, nil) end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement