Created
July 6, 2021 02:36
-
-
Save brodycritchlow/770fd38e53b2c84ecefe2ec557d500d8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local partsWithId = {} | |
| local awaitRef = {} | |
| local root = { | |
| ID = 0; | |
| Type = "ScreenGui"; | |
| Properties = {}; | |
| Children = { | |
| { | |
| ID = 1; | |
| Type = "ImageLabel"; | |
| Properties = { | |
| ImageColor3 = Color3.new(7/51,7/51,7/51); | |
| ScaleType = Enum.ScaleType.Slice; | |
| Name = "Frame"; | |
| Image = "rbxassetid://3570695787"; | |
| BackgroundTransparency = 1; | |
| Position = UDim2.new(0.029320992529392,0,0.039848193526268,0); | |
| SliceScale = 0.23999999463558; | |
| Size = UDim2.new(0,284,0,202); | |
| BackgroundColor3 = Color3.new(1,1,1); | |
| SliceCenter = Rect.new(Vector2.new(100,100),Vector2.new(100,100)); | |
| }; | |
| Children = { | |
| { | |
| ID = 2; | |
| Type = "TextButton"; | |
| Properties = { | |
| Font = Enum.Font.SourceSans; | |
| FontSize = Enum.FontSize.Size14; | |
| Size = UDim2.new(0,119,0,21); | |
| Position = UDim2.new(0.059859152883291,0,0.18316830694675,0); | |
| TextColor3 = Color3.new(0,0,0); | |
| Text = "Autoclicker"; | |
| TextSize = 14; | |
| BackgroundColor3 = Color3.new(1,1,23/255); | |
| }; | |
| Children = { | |
| { | |
| ID = 3; | |
| Type = "LocalScript"; | |
| Properties = { | |
| Name = "while wait() do\ | |
| workspace.GiveRobux:FireServer()\ | |
| end"; | |
| }; | |
| Children = {}; | |
| }; | |
| }; | |
| }; | |
| { | |
| ID = 4; | |
| Type = "TextButton"; | |
| Properties = { | |
| Font = Enum.Font.SourceSans; | |
| FontSize = Enum.FontSize.Size14; | |
| Size = UDim2.new(0,119,0,21); | |
| Position = UDim2.new(0.51760560274124,0,0.18316830694675,0); | |
| TextColor3 = Color3.new(0,0,0); | |
| Text = "Auto Open "; | |
| TextSize = 14; | |
| BackgroundColor3 = Color3.new(1,1,23/255); | |
| }; | |
| Children = { | |
| { | |
| ID = 5; | |
| Type = "LocalScript"; | |
| Properties = {}; | |
| Children = {}; | |
| }; | |
| }; | |
| }; | |
| { | |
| ID = 6; | |
| Type = "TextButton"; | |
| Properties = { | |
| FontSize = Enum.FontSize.Size14; | |
| TextColor3 = Color3.new(0,0,0); | |
| TextTransparency = 100; | |
| Font = Enum.Font.SourceSans; | |
| BackgroundTransparency = 1; | |
| Position = UDim2.new(0.51760560274124,0,0.36138612031937,0); | |
| Size = UDim2.new(0,119,0,21); | |
| TextSize = 14; | |
| BackgroundColor3 = Color3.new(1,1,23/255); | |
| }; | |
| Children = {}; | |
| }; | |
| { | |
| ID = 7; | |
| Type = "TextButton"; | |
| Properties = { | |
| FontSize = Enum.FontSize.Size14; | |
| TextColor3 = Color3.new(0,0,0); | |
| TextTransparency = 100; | |
| Font = Enum.Font.SourceSans; | |
| BackgroundTransparency = 1; | |
| Position = UDim2.new(0.059859152883291,0,0.36138612031937,0); | |
| Size = UDim2.new(0,119,0,21); | |
| TextSize = 14; | |
| BackgroundColor3 = Color3.new(1,1,23/255); | |
| }; | |
| Children = {}; | |
| }; | |
| { | |
| ID = 8; | |
| Type = "TextButton"; | |
| Properties = { | |
| FontSize = Enum.FontSize.Size14; | |
| TextColor3 = Color3.new(0,0,0); | |
| TextTransparency = 100; | |
| Font = Enum.Font.SourceSans; | |
| BackgroundTransparency = 1; | |
| Position = UDim2.new(0.51760560274124,0,0.71782177686691,0); | |
| Size = UDim2.new(0,119,0,21); | |
| TextSize = 14; | |
| BackgroundColor3 = Color3.new(1,1,23/255); | |
| }; | |
| Children = {}; | |
| }; | |
| { | |
| ID = 9; | |
| Type = "TextButton"; | |
| Properties = { | |
| FontSize = Enum.FontSize.Size14; | |
| TextColor3 = Color3.new(0,0,0); | |
| TextTransparency = 100; | |
| Font = Enum.Font.SourceSans; | |
| BackgroundTransparency = 1; | |
| Position = UDim2.new(0.059859152883291,0,0.71782177686691,0); | |
| Size = UDim2.new(0,119,0,21); | |
| TextSize = 14; | |
| BackgroundColor3 = Color3.new(1,1,23/255); | |
| }; | |
| Children = {}; | |
| }; | |
| { | |
| ID = 10; | |
| Type = "TextButton"; | |
| Properties = { | |
| FontSize = Enum.FontSize.Size14; | |
| TextColor3 = Color3.new(0,0,0); | |
| TextTransparency = 100; | |
| Font = Enum.Font.SourceSans; | |
| BackgroundTransparency = 1; | |
| Position = UDim2.new(0.059859152883291,0,0.53960394859314,0); | |
| Size = UDim2.new(0,119,0,21); | |
| TextSize = 14; | |
| BackgroundColor3 = Color3.new(1,1,23/255); | |
| }; | |
| Children = {}; | |
| }; | |
| { | |
| ID = 11; | |
| Type = "TextButton"; | |
| Properties = { | |
| FontSize = Enum.FontSize.Size14; | |
| TextColor3 = Color3.new(0,0,0); | |
| TextTransparency = 100; | |
| Font = Enum.Font.SourceSans; | |
| BackgroundTransparency = 1; | |
| Position = UDim2.new(0.51760560274124,0,0.53960394859314,0); | |
| Size = UDim2.new(0,119,0,21); | |
| TextSize = 14; | |
| BackgroundColor3 = Color3.new(1,1,23/255); | |
| }; | |
| Children = {}; | |
| }; | |
| { | |
| ID = 12; | |
| Type = "TextLabel"; | |
| Properties = { | |
| Font = Enum.Font.SciFi; | |
| FontSize = Enum.FontSize.Size24; | |
| BackgroundTransparency = 1; | |
| TextColor3 = Color3.new(1,1,23/255); | |
| Size = UDim2.new(0,284,0,28); | |
| Text = "Obvious Hub"; | |
| TextSize = 22; | |
| BackgroundColor3 = Color3.new(1,1,1); | |
| }; | |
| 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment