diff --git a/MainModule/Client/UI/Aero.rbxmx b/MainModule/Client/UI/Aero.rbxmx deleted file mode 100644 index 617f25d51d..0000000000 --- a/MainModule/Client/UI/Aero.rbxmx +++ /dev/null @@ -1,15067 +0,0 @@ - - true - null - nil - - - - Aero - -1 - - - - - - - HelpButton - {AE2B245B-468D-47BC-A0DF-40AF8B4AEA32} - - -1 - - - - - - - Base_Theme - -1 - - Default - - - - - false - - 0 - 0 - - - false - 0 - - 0.0509803966 - 0.0509803966 - 0.0509803966 - - 0.25 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - true - false - 0 - Notification - null - null - null - null - - 0 - 0 - 1 - -65 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -5 - 0 - 60 - - 0 - -1 - 0 - - true - 9 - - - - - Config - -1 - - - - - - - Code - {0CF7425E-ABEA-4B57-BCF3-4404F70BD63D} - - -1 - - - - - - - AllowMultiple - -1 - - true - - - - - - CanKeepAlive - -1 - - true - - - - - - false - - 0 - 0 - - - false - 0 - - 0.0431372561 - 0.0431372561 - 0.0431372561 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - 0 - Frame - null - null - null - null - - 0 - 0 - 0 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - 0 - - 0 - -1 - 0 - - true - 1 - - - - true - - 0 - 0 - - - true - false - 0 - - 0.764705896 - 0.129411772 - 0.137254909 - - 0.5 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/Arial.json - 400 - - rbxasset://fonts/arial.ttf - - 0 - 1 - -1 - false - Close - null - null - null - null - - 1 - -25 - 0 - 5 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 20 - 0 - 20 - - 0 - -1 - 0 - - x - - 0.862745106 - 0.862745106 - 0.862745106 - - false - 22 - - 0.784313798 - 0.784313798 - 0.784313798 - - 0.899999976 - 0 - 0 - true - 2 - 2 - true - 10 - - - - - - 0 - 4 - - UICorner - -1 - - - - - - - 0 1 0.784314 0.784314 0 1 0.764706 0.227451 0.235294 0 - true - UIGradient - - 0 - 0 - - 0 - -1 - - 0 0 0 1 0 0 - - - - - - true - - 0 - 0 - - - true - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - false - Main - null - null - null - null - - 0 - 5 - 0.400000006 - 0 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 0.529999971 - 0 - - 0 - -1 - 0 - - New private message from Sceleratis! Click here to open - - 1 - 1 - 1 - - true - 24 - - 0 - 0 - 0 - - 1 - 0 - 0 - true - 0 - 1 - true - 10 - - - - - 20 - 12 - UITextSizeConstraint - -1 - - - - - - - false - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 600 - - rbxasset://fonts/SourceSansPro-Semibold.ttf - - 0 - 1 - -1 - Title - null - null - null - null - - 0 - 5 - 0 - 5 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 15 - - 0 - -1 - - Notification - - 1 - 1 - 1 - - false - 19 - - 0.784313798 - 0.784313798 - 0.784313798 - - 0.850000024 - 0 - 0 - true - 0 - 1 - true - 10 - - - - - false - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 700 - - rbxasset://fonts/SourceSansPro-Bold.ttf - - 0 - 1 - -1 - Timer - null - null - null - null - - 1 - -60 - 0 - 5 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 30 - 0 - 20 - - 0 - -1 - - 60 - - 1 - 1 - 1 - - false - 18 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 1 - 1 - false - 10 - - - - - false - - 0 - 0 - - - false - 0 - - 0.0862745121 - 0.0862745121 - 0.0862745121 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://1222377259 - - 0.0862745121 - 0.0862745121 - 0.0862745121 - - - 0 - 0 - - - 0 - 0 - - 0.449999988 - 0 - Glass - null - null - null - null - - 0 - 0 - 0 - 0 - - 0 - null - 0 - 4 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 0 - - - - - - - - 0 - 4 - - UICorner - -1 - - - - - - - - false - true - 100 - false - Window - false - null - 1 - 2 - 0 - 0 - 0 - 0 - false - -1 - - 0 - - - - false - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://fonts/families/Arial.json - 400 - - rbxasset://fonts/arial.ttf - - 0 - 1 - -1 - StringEntry - null - null - null - null - - 0 - 0 - 0 - 20 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 0 - 20 - - 0 - -1 - - String: - - 1 - 1 - 1 - - true - 24 - - 0 - 0 - 0 - - 0.800000012 - -7.30156913e-08 - 0 - true - 0 - 0 - false - 2 - - - - true - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - true - false - false - - rbxasset://fonts/families/Arial.json - 400 - - rbxasset://fonts/arial.ttf - - 0 - 1 - -1 - false - Box - null - null - null - null - - 0.699999988 - 0.699999988 - 0.699999988 - - - - 1 - -100 - 0 - 0 - - false - null - 0 - true - 0 - 0 - 0 - 0 - false - null - 0 - true - - 0 - 100 - 1 - 0 - - 0 - -1 - - Text - - 1 - 1 - 1 - - true - false - 18 - - 0 - 0 - 0 - - 1 - 0 - 0 - true - 1 - 1 - true - 2 - - - - - - Desc - -1 - - TestDesc - - - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - 0 - Slider - null - null - null - null - - 0 - 0 - 0.75 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 20 - - 0 - -1 - 0 - - false - 2 - - - - - Percentage - -1 - - 0 - - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - true - 0 - Drag - null - null - null - null - - 0 - -10 - 0.5 - -10 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 20 - 0 - 20 - - 0 - -1 - 0 - - true - 2 - - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - rbxassetid://118129065 - - 0.921568692 - 0.921568692 - 0.921568692 - - - 0 - 0 - - - 0 - 0 - - 0 - 0 - Slider - null - null - null - null - - 0 - -10 - 0.5 - -10 - - 0 - null - 0 - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 20 - 0 - 20 - - 0 - - - 100 - 100 - - - 100 - 100 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 2 - - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - rbxassetid://939118523 - - 1 - 1 - 1 - - - 0 - 0 - - - 0 - 0 - - 0.300000012 - 0 - SliderBar - null - null - null - null - - 0 - 0 - 0.5 - -10 - - 0 - null - 0 - 1 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 20 - - 0 - - - 500 - 100 - - - 500 - 100 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 2 - - - - - - false - - 0 - 0 - - - false - 0 - - 0.325490206 - 0.325490206 - 0.325490206 - - 0 - - 0.325490206 - 0.325490206 - 0.325490206 - - 0 - 2 - false - false - 0 - Desc - null - null - null - null - - 0 - 0 - 0 - 0 - - null - 0 - true - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 110 - 0 - 25 - - 0 - -1 - 0 - - false - 999999 - - - - false - - 0 - 0 - - - false - 0 - - 0 - 0 - 0 - - 1 - - 0.196078449 - 0.196078449 - 0.196078449 - - 0 - 1 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - Label - null - null - null - null - - 0 - 5 - 0 - 5 - - true - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 1 - -10 - - 0 - -1 - - Test Desciption - - 1 - 1 - 1 - - false - 18 - - 0 - 0 - 0 - - 0.5 - 0 - 0 - true - 0 - 0 - true - 999999 - - - - - - false - - 0 - 0 - - - false - 0 - - 0.188235313 - 0.188235313 - 0.188235313 - - 0 - - 0.301960796 - 0.301960796 - 0.301960796 - - 0 - 1 - false - false - 0 - Dropdown - null - null - null - null - - 0.75 - 0 - 0.25 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 150 - 0 - 20 - - 0 - -1 - 0 - - false - 1 - - - - true - - 0 - 0 - - - true - false - 0 - - 1 - 1 - 1 - - 1 - - 0.207843155 - 0.207843155 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 600 - - rbxasset://fonts/SourceSansPro-Semibold.ttf - - 0 - 1 - -1 - false - dSelected - null - null - null - null - - 0 - 0 - 0 - 0 - - false - null - 0 - true - true - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -30 - 1 - 0 - - 0 - -1 - 0 - - Selected Option - - 0.933333397 - 0.933333397 - 0.933333397 - - false - 16 - - 0 - 0 - 0 - - 1 - 0 - 0 - true - 2 - 1 - true - 1 - - - - - true - - 0 - 0 - - - true - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxassetid://1317396937 - - 1 - 1 - 1 - - - 0 - 0 - - - 0 - 0 - - 0 - 0 - false - Down - null - null - null - null - - 1 - -30 - 0.5 - -15 - - - 0 - null - 0 - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 30 - 0 - 30 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - 0 - - - 1 - 0 - 1 - 0 - - true - 1 - - - - - false - - 0 - 0 - - - false - 0 - - 0.129411772 - 0.129411772 - 0.129411772 - - 0 - - 0.301960796 - 0.301960796 - 0.301960796 - - 0 - 0 - false - false - 0 - Menu - null - null - null - null - - 0 - 0 - 1 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 100 - - 0 - -1 - 0 - - true - 1 - - - - - - - Config - -1 - - - - - - CanKeepAlive - -1 - - true - - - - - - AllowMultiple - -1 - - true - - - - - - - Code - {CA23F0F4-6492-4BED-A9F4-1CE75AABC170} - (farXChild.AbsolutePosition.X + farXChild.AbsoluteSize.X) then - farXChild = v - end - - if not farYChild or (v.AbsolutePosition.Y + v.AbsoluteSize.Y) > (farXChild.AbsolutePosition.Y + farXChild.AbsoluteSize.Y) then - farYChild = v - end - end - end - - return ((not farXChild or not farYChild) and UDim2.new(0,0,0,0)) or UDim2.new(farXChild.Position.X.Scale, farXChild.Position.X.Offset + farXChild.AbsoluteSize.X, farYChild.Position.Y.Scale, farYChild.Position.Y.Offset + farYChild.AbsoluteSize.Y) - end - - function LoadChildren(Obj, Children) - if Children then - local runWhenDone = Children.RunWhenDone and functionify(Children.RunWhenDone, Obj) - for class,data in Children do - if type(data) == "table" then - if not data.Parent then data.Parent = Obj end - create(data.Class or data.ClassName or class, data) - elseif type(data) == "function" or type(data) == "string" and not runWhenDone then - runWhenDone = functionify(data, Obj) - end - end - - if runWhenDone then - runWhenDone(Obj) - end - end - end - - function BringToFront() - for i,v in ipairs(Player.PlayerGui:GetChildren()) do - if v:FindFirstChild("__ADONIS_WINDOW") then - v.DisplayOrder = 100 - end - end - - GUI.DisplayOrder = 101 - end - - function addTitleButton(data) - local startPos = 1 - local realPos - local new - local original = Hide - - if Hide.Visible then - startPos = startPos+1 - end - - if Close.Visible then - startPos = startPos+1 - end - - if Refresh.Visible then - startPos = startPos+1 - end - - realPos = UDim2.new(1, -(((30*startPos)+5)+(startPos-1)), 0, 3) - data.Position = data.Position or realPos - data.Size = data.Size or original.Size - data.BackgroundColor3 = data.BackgroundColor3 or original.BackgroundColor3 - data.BackgroundTransparency = data.BackgroundTransparency or original.BackgroundTransparency - data.BorderSizePixel = data.BorderSizePixel or original.BorderSizePixel - data.ZIndex = data.ZIndex or original.ZIndex - data.TextColor3 = data.TextColor3 or original.TextColor3 - data.TextScaled = data.TextScaled or original.TextScaled - data.TextStrokeColor3 = data.TextStrokeColor3 or original.TextStrokeColor3 - data.TextSize = data.TextSize or original.TextSize - data.TextTransparency = data.TextTransparency or original.TextTransparency - data.TextStrokeTransparency = data.TextStrokeTransparency or original.TextStrokeTransparency - data.TextScaled = data.TextScaled or original.TextScaled - data.TextWrapped = data.TextWrapped or original.TextWrapped - --data.TextXAlignment = data.TextXAlignment or original.TextXAlignment - --data.TextYAlignment = data.TextYAlignment or original.TextYAlignment - data.Font = data.Font or original.Font - data.Parent = Drag - - local newTitleButton = create("TextButton", data) - create("UICorner", {CornerRadius = UDim.new(0,4);Parent = newTitleButton}) - - newTitleButton.MouseButton1Down:Connect(function() RippleEffect(newTitleButton) end) - return newTitleButton - end - - function functionify(func, object) - if type(func) == "string" then - if object then - local env = GetEnv() - env.Object = object - return client.Core.LoadCode(func, env) - else - return client.Core.LoadCode(func) - end - else - return func - end - end - - function create(class, dataFound, existing) - local data = dataFound or {} - local class = data.Class or data.ClassName or class - local new = existing or (specialInsts[class] and specialInsts[class]:Clone()) or service.New(class) - local parent = data.Parent or new.Parent - - if dataFound then - data.Parent = nil - - if data.Class or data.ClassName then - data.Class = nil - data.ClassName = nil - end - - if not data.BorderColor3 and checkProperty(new,"BorderColor3") then - new.BorderColor3 = dBorder - end - - if not data.CanvasSize and checkProperty(new,"CanvasSize") then - new.CanvasSize = dCanvasSize - end - - if not data.BorderSizePixel and checkProperty(new,"BorderSizePixel") then - new.BorderSizePixel = dPixelSize - end - - if not data.BackgroundColor3 and checkProperty(new,"BackgroundColor3") then - new.BackgroundColor3 = dBackground - end - - if not data.PlaceholderColor3 and checkProperty(new,"PlaceholderColor3") then - new.PlaceholderColor3 = dPlaceholderColor - end - - if not data.Transparency and not data.BackgroundTransparency and checkProperty(new,"Transparency") then - new.BackgroundTransparency = dTransparency - elseif data.Transparency then - new.BackgroundTransparency = data.Transparency - end - - if not data.TextColor3 and not data.TextColor and checkProperty(new,"TextColor3") then - new.TextColor3 = dTextColor - elseif data.TextColor then - new.TextColor3 = data.TextColor - end - - if not data.Font and checkProperty(new, "Font") then - data.Font = dFont - end - - if not data.TextSize and checkProperty(new, "TextSize") then - data.TextSize = dTextSize - end - - if not data.BottomImage and not data.MidImage and not data.TopImage and class == "ScrollingFrame" then - new.BottomImage = dScrollImage - new.MidImage = dScrollImage - new.TopImage = dScrollImage - end - - if not data.Size and checkProperty(new,"Size") then - new.Size = dSize - end - - if not data.Position and checkProperty(new,"Position") then - new.Position = dPosition - end - - if not data.ZIndex and checkProperty(new,"ZIndex") then - new.ZIndex = dZIndex - if parent and checkProperty(parent, "ZIndex") then - new.ZIndex = parent.ZIndex - end - end - - if data.TextChanged and class == "TextBox" then - local textChanged = functionify(data.TextChanged, new) - new.FocusLost:Connect(function(enterPressed) - textChanged(new.Text, enterPressed, new) - end) - end - - if (data.OnClicked or data.OnClick) and (class == "TextButton" or class == "ImageButton") then - local debounce = false; - local doDebounce = data.Debounce; - local onClick = functionify((data.OnClicked or data.OnClick), new) - new.MouseButton1Down:Connect(function() - if not debounce then - if doDebounce then - debounce = true - end - - RippleEffect(new) - onClick(new); - - debounce = false; - end - end) - end - - if data.Events then - for event,func in data.Events do - local realFunc = functionify(func, new) - Event(new[event], function(...) - realFunc(...) - end) - end - end - - if data.Visible == nil then - data.Visible = true - end - - if data.LabelProps then - data.LabelProperties = data.LabelProps - end - end - - if class == "Entry" then - local label = new.Text - local dots = new.Dots - local desc = new.Desc - - label.ZIndex = data.ZIndex or new.ZIndex - dots.ZIndex = data.ZIndex or new.ZIndex - - if data.Text then - new.Text.Text = data.Text - new.Text.Visible = true - data.Text = nil - end - - if data.Desc or data.ToolTip then - new.Desc.Value = data.Desc or data.ToolTip - data.Desc = nil - end - - Expand(new, Tooltip) - else - if data.ToolTip then - Expand(new, Tooltip, data.ToolTip) - end - end - - if class == "ButtonEntry" then - local button = new.Button - local debounce = false - local onClicked = functionify(data.OnClicked, button) - - new:SetSpecial("DoClick",function() - if not debounce then - debounce = true - if onClicked then - onClicked(button) - end - debounce = false - end - end) - - new.Text = data.Text or new.Text - button.ZIndex = data.ZIndex or new.ZIndex - button.MouseButton1Down:Connect(function() - clickSound:Play() - RippleEffect(new) - new.DoClick() - end) - end - - if class == "Boolean" then - local enabled = data.Enabled - local debounce = false - local onToggle = functionify(data.OnToggle, new) - local function toggle(isEnabled) - if not debounce then - debounce = true - if (isEnabled ~= nil and isEnabled) or (isEnabled == nil and enabled) then - enabled = false - new.Text = "Disabled" - elseif (isEnabled ~= nil and isEnabled == false) or (isEnabled == nil and not enabled) then - enabled = true - new.Text = "Enabled" - end - - if onToggle then - onToggle(enabled, new) - end - debounce = false - end - end - - --new.ZIndex = data.ZIndex - new.Text = (enabled and "Enabled") or "Disabled" - new.MouseButton1Down:Connect(function() - if onToggle then - clickSound:Play() - RippleEffect(new) - toggle() - end - end) - - new:SetSpecial("Toggle",function(ignore, isEnabled) toggle(isEnabled) end) - end - - if class == "StringEntry" then - local box = new.Box - local ignore - - new.Text = data.Text or new.Text - box.ZIndex = data.ZIndex or new.ZIndex - - if data.BoxText then - box.Text = data.BoxText - end - - if data.BoxProperties then - for i,v in data.BoxProperties do - if checkProperty(box, i) then - box[i] = v - end - end - end - - if data.TextChanged then - local textChanged = functionify(data.TextChanged, box) - box.Changed:Connect(function(p) - if p == "Text" and not ignore then - textChanged(box.Text) - end - end) - - box.FocusLost:Connect(function(enter) - local change = textChanged(box.Text, true, enter) - if change then - ignore = true - box.Text = change - ignore = false - end - end) - end - - new:SetSpecial("SetValue",function(ignore, newValue) box.Text = newValue end) - end - - if class == "Slider" then - local mouseIsIn = false - local posValue = new.Percentage - local slider = new.Slider - local bar = new.SliderBar - local drag = new.Drag - local moving = false - local value = 0 - local onSlide = functionify(data.OnSlide, new) - - bar.ZIndex = data.ZIndex or new.ZIndex - slider.ZIndex = bar.ZIndex+1 - drag.ZIndex = slider.ZIndex+1 - drag.Active = true - - if data.Value then - slider.Position = UDim2.new(0.5, -10, 0.5, -10) - drag.Position = slider.Position - end - - bar.InputBegan:Connect(function(input) - if not moving and (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then - value = ((input.Position.X) - (new.AbsolutePosition.X)) / (new.AbsoluteSize.X) - - if value < 0 then - value = 0 - elseif value > 1 then - value = 1 - end - - slider.Position = UDim2.new(value, -10, 0.5, -10) - drag.Position = slider.Position - posValue.Value = value - - if onSlide then - onSlide(value) - end - end - end) - - drag.DragBegin:Connect(function() - moving = true - end) - - drag.DragStopped:Connect(function() - moving = false - drag.Position = slider.Position - end) - - drag.Changed:Connect(function() - if moving then - value = ((Mouse.X)-(new.AbsolutePosition.X))/(new.AbsoluteSize.X) - - if value < 0 then - value = 0 - elseif value > 1 then - value = 1 - end - - slider.Position = UDim2.new(value, -10, 0.5, -10) - posValue.Value = value - - if onSlide then - onSlide(value) - end - end - end) - - new:SetSpecial("SetValue",function(ignore, newValue) - if newValue and tonumber(newValue) then - value = tonumber(newValue) - posValue.Value = value - slider.Position = UDim2.new(value, -10, 0.5, -10) - drag.Position = slider.Position - end - end) - end - - if class == "Dropdown" then - local menu = new.Menu - local downImg = new.Down - local selected = new.dSelected - local options = data.Options - local curSelected = data.Selected or data.Selection - local onSelect = functionify(data.OnSelection or data.OnSelect or function()end) - local textProps = data.TextProperties - local scroller = create("ScrollingFrame", { - Parent = menu; - Size = UDim2.new(1, 0, 1, 0); - Position = UDim2.new(0, 0, 0, 0); - BackgroundTransparency = 1; - ZIndex = 100; - }) - - menu.ZIndex = scroller.ZIndex - menu.Parent = GUI - menu.Visible = false - menu.Size = UDim2.new(0, new.AbsoluteSize.X, 0, 100); - menu.BackgroundColor3 = data.BackgroundColor3 or new.BackgroundColor3 - - if data.TextAlignment then - selected.TextXAlignment = data.TextAlignment - selected.Position = UDim2.new(0, 30, 0, 0); - end - - if data.NoArrow then - downImg.Visible = false - end - - new:SetSpecial("MenuContainer", menu) - - new.Changed:Connect(function(p) - if p == "AbsolutePosition" and menu.Visible then - menu.Position = UDim2.new(0, new.AbsolutePosition.X, 0, new.AbsolutePosition.Y+new.AbsoluteSize.Y) - elseif p == "AbsoluteSize" or p == "Parent" then - downImg.Size = UDim2.new(0, new.AbsoluteSize.Y, 1, 0); - if data.TextAlignment == "Right" then - downImg.Position = UDim2.new(0, 0, 0.5, -(downImg.AbsoluteSize.X/2)) - selected.Position = UDim2.new(0, new.AbsoluteSize.Y, 0, 0); - else - downImg.Position = UDim2.new(1, -downImg.AbsoluteSize.X, 0.5, -(downImg.AbsoluteSize.X/2)) - end - - selected.Size = UDim2.new(1, -downImg.AbsoluteSize.X, 1, 0); - - if options and #options <= 6 then - menu.Size = UDim2.new(0, new.AbsoluteSize.X, 0, 30*#options); - else - menu.Size = UDim2.new(0, new.AbsoluteSize.X, 0, 30*6); - scroller:ResizeCanvas(false, true); - end - end - end) - - selected.ZIndex = new.ZIndex - downImg.ZIndex = new.ZIndex - - if textProps then - for i,v in textProps do - selected[i] = v - end - end - - if options then - for i,v in options do - local button = scroller:Add("TextButton", { - Text = ` {v}`; - Size = UDim2.new(1, -10, 0, 30); - Position = UDim2.new(0, 5, 0, 30*(i-1)); - ZIndex = menu.ZIndex; - BackgroundTransparency = 1; - OnClick = function() - selected.Text = v; - onSelect(v, new); - menu.Visible = false - end - }) - - if textProps then - for i,v in textProps do - button[i] = v - end - end - end - - if curSelected then - selected.Text = curSelected - else - selected.Text = "No Selection" - end - - local function showMenu() - menu.Position = UDim2.new(0, new.AbsolutePosition.X, 0, new.AbsolutePosition.Y+new.AbsoluteSize.Y) - menu.Visible = not menu.Visible - end - - selected.MouseButton1Down:Connect(function() clickSound:Play() RippleEffect(selected) showMenu() end) - downImg.MouseButton1Down:Connect(function() RippleEffect(selected) showMenu() end) - end - end - - if class == "TabFrame" then - local buttonsTab = {}; - local buttons = create("ScrollingFrame", nil, new.Buttons) - local frames = new.Frames - local numTabs = 0 - local buttonSize = data.ButtonSize or 60 - - new.BackgroundTransparency = data.BackgroundTransparency or 1 - buttons.ZIndex = data.ZIndex or new.ZIndex - frames.ZIndex = buttons.ZIndex - - new:SetSpecial("GetTab", function(ignore, name) - return frames:FindFirstChild(name) - end) - - new:SetSpecial("NewTab", function(ignore, name, data) - local data = data or {} - --local numChildren = #frames:GetChildren() - local nextPos = getNextPos(buttons); - local textSize = service.TextService:GetTextSize(data.Text or name, dTextSize, dFont, buttons.AbsoluteSize) - local oTextTrans = data.TextTransparency - local isOpen = false - local disabled = false - local tabFrame = create("ScrollingFrame",{ - Name = name; - Size = UDim2.new(1, 0, 1, 0); - Position = UDim2.new(0, 0, 0, 0); - BorderSizePixel = 0; - BackgroundTransparency = data.FrameTransparency or data.Transparency; - BackgroundColor3 = data.Color or dSecondaryBackground; - ZIndex = buttons.ZIndex; - Visible = false; - }) - - local tabButton = create("TextButton",{ - Name = name; - Text = data.Text or name; - Size = UDim2.new(0, textSize.X+20, 1, 0); - ZIndex = buttons.ZIndex; - Position = UDim2.new(0, (nextPos.X.Offset > 0 and nextPos.X.Offset+5) or 0, 0, 0); - TextColor3 = data.TextColor; - BackgroundTransparency = 0.7; - TextTransparency = data.TextTransparency; - BackgroundColor3 = data.Color or dSecondaryBackground; - BorderSizePixel = 0; - }) - - tabFrame:SetSpecial("FocusTab",function() - for i,v in buttonsTab do - if isGui(v) then - v.BackgroundTransparency = (v:IsDisabled() and 0.9) or 0.7 - v.TextTransparency = (v:IsDisabled() and 0.9) or 0.7 - end - end - - for i,v in frames:GetChildren() do - if isGui(v) then - v.Visible = false - end - end - - tabButton.BackgroundTransparency = data.Transparency or 0 - tabButton.TextTransparency = data.TextTransparency or 0 - tabFrame.Visible = true - - if data.OnFocus then - data.OnFocus(true) - end - end) - - if numTabs == 0 then - tabFrame.Visible = true - tabButton.BackgroundTransparency = data.Transparency or 0 - end - - tabButton.MouseButton1Down:Connect(function() - if not disabled then - tabFrame:FocusTab() - end - end) - - tabButton.Parent = buttons - tabFrame.Parent = frames - buttons:ResizeCanvas(true, false) - - tabFrame:SetSpecial("Disable", function() - disabled = true; - tabButton.BackgroundTransparency = 0.9; - tabButton.TextTransparency = 0.9 - end) - - tabFrame:SetSpecial("Enable", function() - disabled = false; - tabButton.BackgroundTransparency = 0.7; - tabButton.TextTransparency = data.TextTransparency or 0; - end) - - tabButton:SetSpecial("IsDisabled", function() - return disabled; - end) - - table.insert(buttonsTab, tabButton); - - numTabs = numTabs+1; - - return tabFrame,tabButton - end) - end - - if class == "ScrollingFrame" then - local genning = false - if not data.ScrollBarThickness then - data.ScrollBarThickness = dScrollBar - end - - new:SetSpecial("GenerateList", function(obj, list, labelProperties, bottom) - local list = list or obj; - local genHold = {} - local entProps = labelProperties or {} - - genning = genHold - new:ClearAllChildren() - - local num = 0 - for i,v in list do - local text = v; - local desc; - local color - local richText; - - if type(v) == "table" then - text = v.Text - desc = v.Desc - color = v.Color - - if v.RichTextAllowed or entProps.RichTextAllowed then - richText = true - end - end - - local label = create("TextLabel",{ - Text = ` {text}`; - ToolTip = desc; - Size = UDim2.new(1,-5,0,(entProps.ySize or 20)); - Visible = true; - BackgroundTransparency = 1; - Font = "SourceSans"; - TextSize = 18; - TextStrokeTransparency = 0.8; - TextXAlignment = "Left"; - Position = UDim2.new(0,0,0,num*(entProps.ySize or 20)); - RichText = richText or false; - }) - - if color then - label.TextColor3 = color - end - - if labelProperties then - for i,v in entProps do - if checkProperty(label, i) then - label[i] = v - end - end - end - - if genning == genHold then - label.Parent = new; - else - label:Destroy() - break - end - - num = num+1 - - if data.Delay then - if type(data.Delay) == "number" then - task.wait(data.Delay) - elseif i%100 == 0 then - task.wait(0.1) - end - end - end - - new:ResizeCanvas(false, true, false, bottom, 5, 5, 50) - genning = nil - end) - - new:SetSpecial("ResizeCanvas", function(ignore, onX, onY, xMax, yMax, xPadding, yPadding, modBreak) - local xPadding,yPadding = data.xPadding or 5, data.yPadding or 5 - local newY, newX = 0,0 - - if not onX and not onY then onX = false onY = true end - for i,v in new:GetChildren() do - if v:IsA("GuiObject") then - if onY then - v.Size = UDim2.new(v.Size.X.Scale, v.Size.X.Offset, 0, v.AbsoluteSize.Y) - v.Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset, 0, v.AbsolutePosition.Y-new.AbsolutePosition.Y) - end - - if onX then - v.Size = UDim2.new(0, v.AbsoluteSize.X, v.Size.Y.Scale, v.Size.Y.Offset) - v.Position = UDim2.new(0, v.AbsolutePosition.X-new.AbsolutePosition.X, v.Position.Y.Scale, v.Position.Y.Offset) - end - - local yLower = v.Position.Y.Offset + v.Size.Y.Offset - local xLower = v.Position.X.Offset + v.Size.X.Offset - newY = math.max(newY, yLower) - newX = math.max(newX, xLower) - if modBreak then - if i%modBreak == 0 then - task.wait(1/60) - end - end - end - end - - if onY then - new.CanvasSize = UDim2.new(new.CanvasSize.X.Scale, new.CanvasSize.X.Offset, 0, newY+yPadding) - end - - if onX then - new.CanvasSize = UDim2.new(0, newX + xPadding, new.CanvasSize.Y.Scale, new.CanvasSize.Y.Offset) - end - - if xMax then - new.CanvasPosition = Vector2.new((newX + xPadding)-new.AbsoluteSize.X, new.CanvasPosition.Y) - end - - if yMax then - new.CanvasPosition = Vector2.new(new.CanvasPosition.X, (newY+yPadding)-new.AbsoluteSize.Y) - end - end) - - if data.List then new:GenerateList(data.List) data.List = nil end - end - - LoadChildren(new, data.Content or data.Children) - - data.Children = nil - data.Content = nil - - for i,v in data do - if checkProperty(new, i) then - new[i] = v - end - end - - new.Parent = parent - - return apiIfy(new, data, class),data - end - - function apiIfy(gui, data, class) - local newGui = service.Wrap(gui) - gui:SetSpecial("Object", gui) - gui:SetSpecial("SetPosition", function(ignore, newPos) gui.Position = newPos end) - gui:SetSpecial("SetSize", function(ingore, newSize) gui.Size = newSize end) - gui:SetSpecial("Add", function(ignore, class, data) - if not data then data = class class = ignore end - local new = create(class,data); - new.Parent = gui; - return apiIfy(new, data, class) - end) - - gui:SetSpecial("Copy", function(ignore, class, gotData) - local newData = {} - local new - - for i,v in data do - newData[i] = v - end - - for i,v in gotData do - newData[i] = v - end - - new = create(class or data.Class or gui.ClassName, newData); - new.Parent = gotData.Parent or gui.Parent; - return apiIfy(new, data, class) - end) - - return newGui - end - - function doClose() - if not isClosed then - isClosed = true - for _, thing in Drag:GetChildren() do - if thing ~= Main then - thing:Destroy() - end - end - Drag:TweenSize(UDim2.new(0,0,0,0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.15) - Main.ClipsDescendants = true - Main:TweenSize(UDim2.new(0,0,0,0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.15) - task.wait(0.12) - gTable:Destroy() - end - end - - function isVisible() - return Main.Visible - end - - local hideLabel = Hide:FindFirstChild("TextLabel") - function doHide(doHide) - local origLH = Hide.LineHeight - if doHide or (doHide == nil and Main.Visible) then - dragSize = Drag.Size - Main.Visible = false - Main.Glass.Parent = Drag - Drag.BackgroundTransparency = Main.BackgroundTransparency - Drag.BackgroundColor3 = Main.BackgroundColor3 - Drag.Size = UDim2.new(0, 200, Drag.Size.Y.Scale, Drag.Size.Y.Offset) - - if hideLabel then - hideLabel.Icon.Image = "rbxassetid://3523249191" - else - Hide.Icon.Image = "rbxassetid://3523249191" - end - - Hide.LineHeight = origLH - gTable.Minimized = true - elseif doHide == false or (doHide == nil and not Main.Visible) then - Main.Visible = true - Drag.Glass.Parent = Main - Drag.BackgroundTransparency = 1 - Drag.Size = dragSize or Drag.Size - - if hideLabel then - hideLabel.Icon.Image = "rbxassetid://3523250728" - else - Hide.Icon.Image = "rbxassetid://3523250728" - end - - Hide.LineHeight = origLH - gTable.Minimized = false - end - - if onMinimize then - onMinimize(Main.Visible) - end - - if Walls then - wallPosition() - end - end - - function isInFrame(x, y, frame) - if x > frame.AbsolutePosition.X and x < (frame.AbsolutePosition.X+frame.AbsoluteSize.X) and y > frame.AbsolutePosition.Y and y < (frame.AbsolutePosition.Y+frame.AbsoluteSize.Y) then - return true - else - return false - end - end - - function wallPosition() - if gTable.Active then - local x,y = Drag.AbsolutePosition.X, Drag.AbsolutePosition.Y - local abx, gx, gy = Drag.AbsoluteSize.X, GUI.AbsoluteSize.X, GUI.AbsoluteSize.Y - local ySize = (Main.Visible and Main.AbsoluteSize.Y) or Drag.AbsoluteSize.Y - - if x < 0 then - Drag.Position = UDim2.new(0, 0, Drag.Position.Y.Scale, Drag.Position.Y.Offset) - end - - if y < 0 then - Drag.Position = UDim2.new(Drag.Position.X.Scale, Drag.Position.X.Offset, 0, 0) - end - - if x + abx > gx then - Drag.Position = UDim2.new(0, GUI.AbsoluteSize.X - Drag.AbsoluteSize.X, Drag.Position.Y.Scale, Drag.Position.Y.Offset) - end - - if y + ySize > gy then - Drag.Position = UDim2.new(Drag.Position.X.Scale, Drag.Position.X.Offset, 0, GUI.AbsoluteSize.Y - ySize) - end - end - end - - function setSize(newSize) - if newSize and type(newSize) == "table" then - if newSize[1] < 50 then newSize[1] = 50 end - if newSize[2] < 50 then newSize[2] = 50 end - - Drag.Size = UDim2.new(0,newSize[1],Drag.Size.Y.Scale,Drag.Size.Y.Offset) - Main.Size = UDim2.new(1,0,0,newSize[2]) - end - end - - function setPosition(newPos) - if newPos and typeof(newPos) == "UDim2" then - Drag.Position = newPos - elseif newPos and type(newPos) == "table" then - Drag.Position = UDim2.new(0, newPos[1], 0, newPos[2]) - elseif Size and not newPos then - Drag.Position = UDim2.new(0.5, -Drag.AbsoluteSize.X/2, 0.5, -Main.AbsoluteSize.Y/2) - end - end - - if Name then - gTable.Name = Name - if data.AllowMultiple ~= nil and data.AllowMultiple == false then - local found, num = client.UI.Get(Name, GUI, true) - if found then - doClose() - return nil - end - end - end - - if Size then - setSize(Size) - end - - if Position then - setPosition(Position) - end - - if Title then - Titlef.Text = Title - end - - if CanKeepAlive or not ResetOnSpawn then - gTable.CanKeepAlive = true - GUI.ResetOnSpawn = false - elseif ResetOnSpawn then - gTable.CanKeepAlive = false - GUI.ResetOnSpawn = true - end - - if Icon then - Iconf.Visible = true - Iconf.Image = Icon - end - - if CanvasSize then - ScrollFrame.CanvasSize = CanvasSize - end - - if noClose then - Close.Visible = false - Refresh.Position = Hide.Position - Hide.Position = Close.Position - end - - if noHide then - Hide.Visible = false - Refresh.Position = Hide.Position - end - - if Walls then - Drag.DragStopped:Connect(function() - wallPosition() - end) - end - - if onRefresh then - local debounce = false - function DoRefresh() - if not Refreshing then - local done = false - Refreshing = true - - task.spawn(function() - while gTable.Active and not done do - for i = 0,180,10 do - rSpinner.Rotation = -i - task.wait(1/60) - end - end - end) - - onRefresh() - task.wait(1) - done = true - Refreshing = false - end - end - - Refresh.MouseButton1Down:Connect(function() - clickSound:Play() - RippleEffect(Refresh) - if not debounce then - debounce = true - DoRefresh() - debounce = false - end - end) - - Titlef.Size = UDim2.new(1, -130, Titlef.Size.Y.Scale, Titlef.Size.Y.Offset) - else - Refresh.Visible = false - end - - if iconClicked then - Iconf.MouseButton1Down(function() - clickSound:Play() - RippleEffect(Iconf) - iconClicked(data, GUI, Iconf) - end) - end - - if Menu then - data.Menu.Text = "" - data.Menu.Parent = Main - data.Menu.Size = UDim2.new(1,-10,0,25) - data.Menu.Position = UDim2.new(0,5,0,25) - ScrollFrame.Size = UDim2.new(1,-10,1,-55) - ScrollFrame.Position = UDim2.new(0,5,0,50) - data.Menu.BackgroundColor3 = Color3.fromRGB(216, 216, 216) - data.Menu.BorderSizePixel = 0 - create("TextLabel",data.Menu) - end - - if not SizeLocked then - local startXPos = Drag.AbsolutePosition.X - local startYPos = Drag.AbsolutePosition.Y - local startXSize = Drag.AbsoluteSize.X - local startYSize = Drag.AbsoluteSize.Y - local vars = client.Variables - local newIcon - local inFrame - local ReallyInFrame - - local function readify(obj) - obj.MouseEnter:Connect(function() - ReallyInFrame = obj - end) - - obj.MouseLeave:Connect(function() - if ReallyInFrame == obj then - ReallyInFrame = nil - end - end) - end - - --[[ - readify(Drag) - readify(ScrollFrame) - readify(TopRight) - readify(TopLeft) - readify(RightCorner) - readify(LeftCorner) - readify(RightSide) - readify(LeftSide) - readify(Bottom) - readify(Top) - --]] - - function checkMouse(x, y) --// Update later to remove frame by frame pos checking - if gTable.Active and Main.Visible then - if isInFrame(x, y, Drag) or isInFrame(x, y, ScrollFrame) then - inFrame = nil - newIcon = nil - elseif isInFrame(x, y, TopRight) then - inFrame = "TopRight" - newIcon = MouseIcons.TopRight - elseif isInFrame(x, y, TopLeft) then - inFrame = "TopLeft" - newIcon = MouseIcons.TopLeft - elseif isInFrame(x, y, RightCorner) then - inFrame = "RightCorner" - newIcon = MouseIcons.RightCorner - elseif isInFrame(x, y, LeftCorner) then - inFrame = "LeftCorner" - newIcon = MouseIcons.LeftCorner - elseif isInFrame(x, y, RightSide) then - inFrame = "RightSide" - newIcon = MouseIcons.Horizontal - elseif isInFrame(x, y, LeftSide) then - inFrame = "LeftSide" - newIcon = MouseIcons.Horizontal - elseif isInFrame(x, y, Bottom) then - inFrame = "Bottom" - newIcon = MouseIcons.Vertical - elseif isInFrame(x, y, Top) then - inFrame = "Top" - newIcon = MouseIcons.Vertical - else - inFrame = nil - newIcon = nil - end - else - inFrame = nil - end - - if (not client.Variables.MouseLockedBy) or client.Variables.MouseLockedBy == gTable then - if inFrame and newIcon then - Mouse.Icon = newIcon - client.Variables.MouseLockedBy = gTable - elseif client.Variables.MouseLockedBy == gTable then - Mouse.Icon = curIcon - client.Variables.MouseLockedBy = nil - end - end - end - - local function inputStart(x, y) - checkMouse(x, y) - if gTable.Active and inFrame and not Resizing and not isInFrame(x, y, ScrollFrame) and not isInFrame(x, y, Drag) then - Resizing = inFrame - startXPos = Drag.AbsolutePosition.X - startYPos = Drag.AbsolutePosition.Y - startXSize = Drag.AbsoluteSize.X - startYSize = Main.AbsoluteSize.Y - end - end - - local function inputEnd() - if gTable.Active then - if Resizing and onResize then - onResize(UDim2.new(Drag.Size.X.Scale, Drag.Size.X.Offset, Main.Size.Y.Scale, Main.Size.Y.Offset)) - end - - Resizing = nil - Mouse.Icon = curIcon - --DragEnabled = true - --if Walls then - -- wallPosition() - --end - end - end - - local function inputMoved(x, y) - if gTable.Active then - if Mouse.Icon ~= MouseIcons.TopRight and Mouse.Icon ~= MouseIcons.TopLeft and Mouse.Icon ~= MouseIcons.RightCorner and Mouse.Icon ~= MouseIcons.LeftCorner and Mouse.Icon ~= MouseIcons.Horizontal and Mouse.Icon ~= MouseIcons.Vertical then - curIcon = Mouse.Icon - end - - if Resizing then - local moveX = false - local moveY = false - local newPos = Drag.Position - local xPos, yPos = x, y - local newX, newY = startXSize, startYSize - - --DragEnabled = false - - if Resizing == "TopRight" then - newX = (xPos - startXPos) + 3 - newY = (startYPos - yPos) + startYSize -1 - moveY = true - elseif Resizing == "TopLeft" then - newX = (startXPos - xPos) + startXSize -1 - newY = (startYPos - yPos) + startYSize -1 - moveY = true - moveX = true - elseif Resizing == "RightCorner" then - newX = (xPos - startXPos) + 3 - newY = (yPos - startYPos) + 3 - elseif Resizing == "LeftCorner" then - newX = (startXPos - xPos) + startXSize + 3 - newY = (yPos - startYPos) + 3 - moveX = true - elseif Resizing == "LeftSide" then - newX = (startXPos - xPos) + startXSize + 3 - newY = startYSize - moveX = true - elseif Resizing == "RightSide" then - newX = (xPos - startXPos) + 3 - newY = startYSize - elseif Resizing == "Bottom" then - newX = startXSize - newY = (yPos - startYPos) + 3 - elseif Resizing == "Top" then - newX = startXSize - newY = (startYPos - yPos) + startYSize - 1 - moveY = true - end - - if newX < MinSize[1] then newX = MinSize[1] end - if newY < MinSize[2] then newY = MinSize[2] end - if newX > MaxSize[1] then newX = MaxSize[1] end - if newY > MaxSize[2] then newY = MaxSize[2] end - - if moveX then - newPos = UDim2.new(0, (startXPos+startXSize)-newX, newPos.Y.Scale, newPos.Y.Offset) - end - - if moveY then - newPos = UDim2.new(newPos.X.Scale, newPos.X.Offset, 0, (startYPos+startYSize)-newY) - end - - Drag.Position = newPos - Drag.Size = UDim2.new(0, newX, Drag.Size.Y.Scale, Drag.Size.Y.Offset) - Main.Size = UDim2.new(Main.Size.X.Scale, Main.Size.X.Offset, 0, newY) - - if not Titlef.TextFits then - Titlef.Visible = false - else - Titlef.Visible = true - end - else - checkMouse(x, y) - end - end - end - - Event(InputService.InputBegan, function(input, gameHandled) - if not gameHandled and (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then - local Position = input.Position - inputStart(Position.X, Position.Y) - end - end) - - Event(InputService.InputChanged, function(input, gameHandled) - if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then - local Position = input.Position - inputMoved(Position.X, Position.Y) - end - end) - - Event(InputService.InputEnded, function(input, gameHandled) - if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then - inputEnd() - end - end) - - --[[Event(Mouse.Button1Down, function() - if gTable.Active and inFrame and not Resizing and not isInFrame(Mouse.X, Mouse.Y, ScrollFrame) and not isInFrame(Mouse.X, Mouse.Y, Drag) then - Resizing = inFrame - startXPos = Drag.AbsolutePosition.X - startYPos = Drag.AbsolutePosition.Y - startXSize = Drag.AbsoluteSize.X - startYSize = Main.AbsoluteSize.Y - checkMouse() - end - end) - - Event(Mouse.Button1Up, function() - if gTable.Active then - if Resizing and onResize then - onResize(UDim2.new(Drag.Size.X.Scale, Drag.Size.X.Offset, Main.Size.Y.Scale, Main.Size.Y.Offset)) - end - - Resizing = nil - Mouse.Icon = curIcon - --if Walls then - -- wallPosition() - --end - end - end)--]] - else - LeftSizeIcon.Visible = false - RightSizeIcon.Visible = false - end - - - Close.MouseButton1Click:Connect(function() clickSound:Play() doClose() end) - Hide.MouseButton1Click:Connect(function() clickSound:Play() doHide() end) - - Close.MouseButton1Down:Connect(function() RippleEffect(Close) end) - Hide.MouseButton1Down:Connect(function() RippleEffect(Hide) end) - - gTable.CustomDestroy = function() - service.UnWrap(GUI):Destroy() - if client.Variables.MouseLockedBy == gTable then - Mouse.Icon = curIcon - client.Variables.MouseLockedBy = nil - end - - if not isClosed then - isClosed = true - if onClose then - onClose() - end - end - end - - for i,child in GUI:GetChildren() do - if child.Name ~= "Desc" and child.Name ~= "Drag" then - specialInsts[child.Name] = child - child.Parent = nil - end - end - - --// Drag & DisplayOrder Handler - do - local windowValue = Instance.new("BoolValue", GUI) - local dragDragging = false - local dragOffset - local inFrame - - windowValue.Name = "__ADONIS_WINDOW" - - Event(Main.InputBegan, function(input) - if gTable.Active and (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then - BringToFront() - end - end) - - Event(Drag.InputBegan, function(input) - if gTable.Active then - inFrame = true - - if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then - BringToFront() - end - end - end) - - Event(Drag.InputChanged, function(input) - if gTable.Active then - inFrame = true - end - end) - - Event(Drag.InputEnded, function(input) - inFrame = false - end) - - Event(InputService.InputBegan, function(input) - if inFrame and GUI.DisplayOrder == 101 and not dragDragging and (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then--isInFrame(input.Position.X, input.Position.Y, object) then - dragDragging = true - BringToFront() - dragOffset = Vector2.new(Drag.AbsolutePosition.X - input.Position.X, Drag.AbsolutePosition.Y - input.Position.Y) - end - end) - - Event(InputService.InputChanged, function(input) - if dragDragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then - Drag.Position = UDim2.new(0, dragOffset.X + input.Position.X, 0, dragOffset.Y + input.Position.Y) - end - end) - - Event(InputService.InputEnded, function(input) - if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then - dragDragging = false - end - end) - end - - --// Finishing up - local api = apiIfy(ScrollFrame, data) - local meta = api:GetMetatable() - local oldNewIndex = meta.__newindex - local oldIndex = meta.__index - - create("ScrollingFrame", nil, ScrollFrame) - LoadChildren(api, Content) - - api:SetSpecial("gTable", gTable) - api:SetSpecial("Window", GUI) - api:SetSpecial("Main", Main) - api:SetSpecial("Title", Titlef) - api:SetSpecial("Dragger", Drag) - api:SetSpecial("Destroy", doClose) - api:SetSpecial("Close", doClose) - api:SetSpecial("Object", ScrollFrame) - api:SetSpecial("Refresh", DoRefresh) - api:SetSpecial("AddTitleButton", function(ignore, data) if type(ignore) == "table" and not data then data = ignore end return addTitleButton(data) end) - api:SetSpecial("Ready", function() if onReady then onReady() end gTable.Ready() BringToFront() end) - api:SetSpecial("BindEvent", function(ignore, ...) Event(...) end) - api:SetSpecial("Hide", function(ignore, hide) doHide(hide) end) - api:SetSpecial("SetTitle", function(ignore, newTitle) Titlef.Text = newTitle end) - api:SetSpecial("SetPosition", function(ignore, newPos) setPosition(newPos) end) - api:SetSpecial("SetSize", function(ignore, newSize) setSize(newSize) end) - api:SetSpecial("GetPosition", function() return Drag.AbsolutePosition end) - api:SetSpecial("GetSize", function() return Main.AbsoluteSize end) - api:SetSpecial("IsVisible", isVisible) - api:SetSpecial("IsClosed", isClosed) - - meta.__index = function(tab, ind) - if ind == "IsVisible" then - return isVisible() - elseif ind == "Closed" then - return isClosed - else - return oldIndex(tab, ind) - end - end - - setSize(Size) - setPosition(Position) - - if Ready then - gTable:Ready() - BringToFront() - end - - return api,GUI -end -]]> - -1 - - - - - - - false - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://fonts/families/Arial.json - 400 - - rbxasset://fonts/arial.ttf - - 0 - 1 - -1 - ColorEntry - null - null - null - null - - 0 - 0 - 0 - 60 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 0 - 20 - - 0 - -1 - - Color: - - 1 - 1 - 1 - - true - 24 - - 0 - 0 - 0 - - 0.800000012 - 0 - 0 - true - 0 - 0 - false - 2 - - - - true - - 0 - 0 - - - true - false - 0 - - 0.270588249 - 0.24313727 - 0.545098066 - - 0 - - 1 - 1 - 1 - - 0 - 1 - false - false - - rbxasset://fonts/families/Arial.json - 400 - - rbxasset://fonts/arial.ttf - - 0 - 1 - -1 - false - Button - null - null - null - null - - 1 - -50 - 0 - 0 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 50 - 0 - 20 - - 0 - -1 - 0 - - - - 1 - 1 - 1 - - false - 18 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 1 - 1 - true - 2 - - - - - - Desc - -1 - - TestDesc - - - - - - false - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://fonts/families/Arial.json - 400 - - rbxasset://fonts/arial.ttf - - 0 - 1 - -1 - BooleanEntry - null - null - null - null - - 0 - 0 - 0 - 20 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 0 - 20 - - 0 - -1 - - Boolean: - - 1 - 1 - 1 - - true - 24 - - 0 - 0 - 0 - - 0.800000012 - -7.30156913e-08 - 0 - true - 0 - 0 - false - 2 - - - - true - - 0 - 0 - - - true - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/Arial.json - 400 - - rbxasset://fonts/arial.ttf - - 0 - 1 - -1 - false - Button - null - null - null - null - - 1 - -100 - 0 - 0 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 100 - 0 - 20 - - 0 - -1 - 0 - - Disabled - - 1 - 1 - 1 - - false - 18 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 1 - 1 - true - 2 - - - - - - Desc - -1 - - TestDesc - - - - - - true - - 0 - 0 - - - false - false - 0 - - 0.121568635 - 0.121568635 - 0.121568635 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/LegacyArial.json - 400 - - rbxasset://fonts/arial.ttf - - 0 - 1 - -1 - false - Drag - null - null - null - null - - 0 - 400 - 0.5 - -100 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 400 - 0 - 27 - - 0 - -1 - 0 - - - - 0.105882362 - 0.164705887 - 0.207843155 - - false - 8 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 2 - 1 - true - 1 - - - - true - - 0 - 0 - - - true - false - 0 - - 0 - 0 - 0 - - 0.5 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/Arial.json - 700 - - rbxasset://fonts/arialbd.ttf - - 0 - 1 - -1 - false - Refresh - null - null - null - null - - 1 - -97 - 0 - 3 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 30 - 0 - 20 - - 0 - -1 - 0 - - - - 1 - 1 - 1 - - false - 12 - - 0 - 0 - 0 - - 0.899999976 - 0 - 0 - false - 2 - 1 - true - 2 - - - - true - - 0.5 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - rbxassetid://69395121 - - 1 - 1 - 1 - - - 0 - 0 - - - 0 - 0 - - 0.100000001 - 0 - Spinner - null - null - null - null - - 0.5 - 0 - 0 - 3 - - 0 - null - 0 - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 14 - 0 - 14 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 10 - - - - - - - 0 - 4 - - UICorner - -1 - - - - - - - true - - 0 - 0 - - - true - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://textures/ui/Menu/Hamburger.png - - 1 - 1 - 1 - - - 0 - 0 - - - 0 - 0 - - 0.300000012 - 0 - false - Icon - null - null - null - null - - 0 - 6 - 0 - 6 - - - 0 - null - 0 - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 14 - 0 - 14 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - 0 - - - 1 - 0 - 1 - 0 - - true - 2 - - - - - true - - 0 - 0 - - - true - false - 0 - - 0 - 0 - 0 - - 0.5 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/Arial.json - 700 - - rbxasset://fonts/arialbd.ttf - - 0 - 1 - -1 - false - Hide - null - null - null - null - - 1 - -66 - 0 - 3 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 30 - 0 - 20 - - 0 - -1 - 0 - - - - 1 - 1 - 1 - - false - 12 - - 0 - 0 - 0 - - 0.899999976 - 0 - 0 - false - 2 - 1 - true - 2 - - - - - - 0 - 4 - - UICorner - -1 - - - - - - true - - 0.5 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - rbxassetid://3523250728 - - 1 - 1 - 1 - - - 0 - 0 - - - 0 - 0 - - 0.100000001 - 0 - Icon - null - null - null - null - - 0.5 - 0 - 0 - 3 - - 0 - null - 0 - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 14 - 0 - 14 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 10 - - - - - - true - - 0 - 0 - - - true - false - 0 - - 0.764705956 - 0.129411772 - 0.137254909 - - 0.25 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/Arial.json - 400 - - rbxasset://fonts/arial.ttf - - 0 - 1 - -1 - false - Close - null - null - null - null - - 1 - -35 - 0 - 3 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 30 - 0 - 20 - - 0 - -1 - 0 - - x - - 0.862745106 - 0.862745106 - 0.862745106 - - false - 18 - - 0 - 0 - 0 - - 0.899999976 - 0 - 0 - true - 2 - 0 - true - 2 - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://fonts/families/Arial.json - 400 - - rbxasset://fonts/arial.ttf - - 0 - 1 - -1 - TextLabel - null - null - null - null - - 0.5 - 0 - 0.5 - -1 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 0 - 0 - 0 - - 0 - -1 - - x - - 0.870588303 - 0.870588303 - 0.870588303 - - false - 22 - - 0 - 0 - 0 - - 0.899999976 - 0 - 0 - true - 2 - 1 - true - 10 - - - - - - - 0 - 4 - - UICorner - -1 - - - - - - - 0 1 0.784314 0.784314 0 1 0.764706 0.129412 0.137255 0 - true - UIGradient - - 0 - 0 - - 0 - -1 - - 0 0 0 1 0 0 - - - - - - false - - 0 - 0 - - - false - 0 - - 0.101960793 - 0.113725498 - 0.164705887 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - true - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - Title - null - null - null - null - - 0 - 26 - 0 - 0 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -100 - 1 - -3 - - 0 - -1 - - Window Title - - 1 - 1 - 1 - - false - 18 - - 0.784313798 - 0.784313798 - 0.784313798 - - 0.699999988 - 0 - 0 - true - 0 - 1 - true - 9 - - - - - false - - 0 - 0 - - - false - 0 - - 0.333333343 - 0.333333343 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - 0 - Main - null - null - null - null - - 0 - 0 - 0 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 230 - - 0 - -1 - 0 - - true - 1 - - - - false - - 0 - 0 - - - false - false - 0 - - 1 - 0.835294187 - 0 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxassetid://334991942 - - 0.647058845 - 0.647058845 - 0.647058845 - - - 0 - 0 - - - 0 - 0 - - 1 - 0 - false - Bottom - null - null - null - null - - 0 - 20 - 1 - -5 - - - 0 - null - 0 - 0 - false - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -40 - 0 - 10 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - 0 - - - 1 - 0 - 1 - 0 - - false - 1 - - - - - false - - 0 - 0 - - - false - false - 0 - - 0.184313729 - 0.427451015 - 1 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxassetid://334991942 - - 0.647058845 - 0.647058845 - 0.647058845 - - - 0 - 0 - - - 0 - 0 - - 1 - 0 - false - RightSide - null - null - null - null - - 1 - -5 - 0 - 20 - - - 0 - null - 0 - 0 - false - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 10 - 1 - -40 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - 0 - - - 1 - 0 - 1 - 0 - - false - 1 - - - - - false - - 0 - 0 - - - false - 0 - - 0.454901993 - 0.454901993 - 0.454901993 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://334991942 - - 0.647058845 - 0.647058845 - 0.647058845 - - - 0 - 0 - - - 0 - 0 - - 0.5 - 0 - RightResizeIcon - null - null - null - null - - 1 - -20 - 1 - -20 - - 0 - null - 0 - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 20 - 0 - 20 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - false - 1 - - - - - false - - 0 - 0 - - - false - 0 - - 0.454901993 - 0.454901993 - 0.454901993 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://334991942 - - 0.647058845 - 0.647058845 - 0.647058845 - - - 0 - 0 - - - 0 - 0 - - 0.5 - 0 - LeftResizeIcon - null - null - null - null - - 0 - 0 - 1 - -20 - - 0 - null - 0 - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 20 - 0 - 20 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - false - 1 - - - - - false - - 0 - 0 - - - false - false - 0 - - 0.184313729 - 0.427451015 - 1 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxassetid://334991942 - - 0.647058845 - 0.647058845 - 0.647058845 - - - 0 - 0 - - - 0 - 0 - - 1 - 0 - false - LeftSide - null - null - null - null - - 0 - -5 - 0 - 20 - - - 0 - null - 0 - 0 - false - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 10 - 1 - -40 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - 0 - - - 1 - 0 - 1 - 0 - - false - 1 - - - - - false - - 0 - 0 - - - false - false - 0 - - 1 - 0 - 0 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxassetid://334991942 - - 0.647058845 - 0.647058845 - 0.647058845 - - - 0 - 0 - - - 0 - 0 - - 1 - 0 - false - RightCorner - null - null - null - null - - 1 - -20 - 1 - -20 - - - 0 - null - 0 - 0 - false - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 25 - 0 - 25 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - 0 - - - 1 - 0 - 1 - 0 - - false - 1 - - - - - false - - 0 - 0 - - - false - false - 0 - - 1 - 0.215686291 - 0.988235354 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxassetid://334991942 - - 0.647058845 - 0.647058845 - 0.647058845 - - - 0 - 0 - - - 0 - 0 - - 1 - 0 - false - Top - null - null - null - null - - 0 - 20 - 0 - -5 - - - 0 - null - 0 - 0 - false - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -40 - 0 - 10 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - 0 - - - 1 - 0 - 1 - 0 - - false - 1 - - - - - false - - 0 - 0 - - - false - false - 0 - - 1 - 0.180392161 - 0.192156881 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxassetid://334991942 - - 0.647058845 - 0.647058845 - 0.647058845 - - - 0 - 0 - - - 0 - 0 - - 1 - 0 - false - LeftCorner - null - null - null - null - - 0 - -5 - 1 - -20 - - - 0 - null - 0 - 0 - false - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 25 - 0 - 25 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - 0 - - - 1 - 0 - 1 - 0 - - false - 1 - - - - - false - - 0 - 0 - - - false - false - 0 - - 1 - 0.180392161 - 0.192156881 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxassetid://334991942 - - 0.647058845 - 0.647058845 - 0.647058845 - - - 0 - 0 - - - 0 - 0 - - 1 - 0 - false - TopLeft - null - null - null - null - - 0 - -5 - 0 - -5 - - - 0 - null - 0 - 0 - false - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 25 - 0 - 25 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - 0 - - - 1 - 0 - 1 - 0 - - false - 1 - - - - - false - - 0 - 0 - - - false - false - 0 - - 1 - 0 - 0 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxassetid://334991942 - - 0.647058845 - 0.647058845 - 0.647058845 - - - 0 - 0 - - - 0 - 0 - - 1 - 0 - false - TopRight - null - null - null - null - - 1 - -20 - 0 - -5 - - - 0 - null - 0 - 0 - false - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 25 - 0 - 25 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - 0 - - - 1 - 0 - 1 - 0 - - false - 1 - - - - - true - - 0 - 0 - - - false - 0 - 0 - - 0.0862745121 - 0.0862745121 - 0.0862745121 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - http://roblox.com/asset?id=158348114 - - 0 - 0 - - - 0 - 0 - 0 - 0 - - true - false - 0 - 0 - 0 - http://roblox.com/asset?id=158348114 - ScrollingFrame - null - null - null - null - - 0 - 5 - 0 - 26 - - null - 0 - - 1 - 1 - 1 - - 0 - 5 - 2 - true - true - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 1 - -31 - - 0 - -1 - - http://roblox.com/asset?id=158348114 - 0 - 0 - true - 1 - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://143854846 - - 1 - 1 - 1 - - - 0 - 0 - - - 0 - 0 - - 0 - 0 - Blur - null - null - null - null - - 0 - 0 - 0 - 0 - - 0 - null - 0 - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 1 - - - - - - false - - 0 - 0 - - - false - 0 - - 0.333333343 - 0.333333343 - 1 - - 0.400000006 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://1222377259 - - 0.333333343 - 0.333333343 - 1 - - - 0 - 0 - - - 0 - 0 - - 0.300000012 - 0 - Glass - null - null - null - null - - 0 - 0 - 0 - 0 - - 0 - null - 0 - 2 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 0 - - - - - - 0 - 4 - - UICorner - -1 - - - - - - - false - - 0 - 0 - - - false - 0 - - 0.0862745121 - 0.0862745121 - 0.0862745121 - - 0.200000003 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - 0 - Frame - null - null - null - null - - 0 - 5 - 0 - 26 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 1 - -31 - - 0 - -1 - 0 - - true - 1 - - - - - - 0 - 4 - - UICorner - -1 - - - - - - - false - - 0.5 - 0.5 - - - false - 0 - - 0.333333343 - 0.333333343 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://6805220123 - - 0.784313798 - 0.784313798 - 0.784313798 - - - 0 - 0 - - - 0 - 0 - - 0.699999988 - 0 - Edge - null - null - null - null - - 0.5 - 0 - 0.5 - 0 - - 0 - null - 0 - 2 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 6 - 1 - 6 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 0 - - - - - - 0 - 4 - - UICorner - -1 - - - - - - - - - - Check - -1 - - true - - - - - false - - 0 - 0 - - - false - 0 - - 0.274509817 - 0.274509817 - 0.274509817 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - 0 - TabFrame - null - null - null - null - - 0 - 5 - 0 - 5 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 1 - -10 - - 0 - -1 - 0 - - false - 1 - - - - false - - 0 - 0 - - - false - 0 - 0 - - 0.192156881 - 0.192156881 - 0.192156881 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - rbxasset://textures/ui/Scroll/scroll-middle.png - - 0 - 0 - - - 0 - 0 - 0 - 0 - - true - false - 0 - 0 - 0 - rbxasset://textures/ui/Scroll/scroll-middle.png - Buttons - null - null - null - null - - 0 - 0 - 0 - 0 - - null - 0 - - 1 - 1 - 1 - - 0 - 3 - 2 - true - true - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 25 - - 0 - -1 - - rbxasset://textures/ui/Scroll/scroll-middle.png - 0 - 0 - true - 1 - - - - - false - - 0 - 0 - - - false - 0 - - 0.192156881 - 0.192156881 - 0.192156881 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - 0 - Frames - null - null - null - null - - 0 - 0 - 0 - 25 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - -25 - - 0 - -1 - 0 - - true - 1 - - - - - - false - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://fonts/families/Arial.json - 400 - - rbxasset://fonts/arial.ttf - - 0 - 1 - -1 - ButtonEntry - null - null - null - null - - 0 - 0 - 0 - 20 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 0 - 20 - - 0 - -1 - - Button: - - 1 - 1 - 1 - - true - 24 - - 0 - 0 - 0 - - 0.800000012 - -7.30156913e-08 - 0 - true - 0 - 0 - false - 2 - - - - true - - 0 - 0 - - - true - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/Arial.json - 400 - - rbxasset://fonts/arial.ttf - - 0 - 1 - -1 - false - Button - null - null - null - null - - 1 - -100 - 0 - 0 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 100 - 0 - 20 - - 0 - -1 - 0 - - Open - - 1 - 1 - 1 - - false - 18 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 1 - 1 - true - 2 - - - - - - Desc - -1 - - TestDesc - - - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - 0 - Entry - null - null - null - null - - 0 - 0 - 0 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -5 - 0 - 15 - - 0 - -1 - 0 - - false - 2 - - - - - Desc - -1 - - TestDesc - - - - - false - - 0 - 0 - - - false - 0 - - 0.541176498 - 0.53725493 - 0.545098066 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - true - false - - rbxasset://fonts/families/Arial.json - 400 - - rbxasset://fonts/arial.ttf - - 0 - 1 - -1 - Text - null - null - null - null - - 0 - 5 - 0 - 0 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -15 - 1 - 0 - - 0 - -1 - - The quick brown fox jumps over the lazy dog - - 1 - 1 - 1 - - false - 14 - - 0 - 0 - 0 - - 0.800000012 - -7.30156913e-08 - 0 - false - 0 - 2 - true - 2 - - - - - false - - 0 - 0 - - - false - 0 - - 0.541176498 - 0.53725493 - 0.545098066 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - Dots - null - null - null - null - - 1 - -10 - 0 - 0 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 10 - 1 - 0 - - 0 - -1 - - .. - - 1 - 1 - 1 - - false - 14 - - 0 - 0 - 0 - - 0.800000012 - -7.30156913e-08 - 0 - false - 0 - 2 - false - 2 - - - - - - true - - 0 - 0 - - - true - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/Arial.json - 400 - - rbxasset://fonts/arial.ttf - - 0 - 1 - -1 - false - Boolean - null - null - null - null - - 1 - -100 - 0 - 0 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 100 - 0 - 20 - - 0 - -1 - 0 - - Disabled - - 1 - 1 - 1 - - false - 18 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 2 - 1 - true - 2 - - - - - - - false - true - 0 - false - Notify - false - null - 1 - 2 - 0 - 0 - 0 - 0 - false - -1 - - 0 - - - - - Config - -1 - - - - - - - Code - {B8025F9E-65C7-4450-92A8-7828E92C095F} - - -1 - - - - - - - AllowMultiple - -1 - - true - - - - - - CanKeepAlive - -1 - - true - - - - - - false - - 0.5 - 0 - - - false - 0 - - 0.333333343 - 0.333333343 - 1 - - 1 - - 0.223529428 - 0.356862754 - 0.43921572 - - 0 - 0 - true - false - 0 - Frame - null - null - null - null - - 0.5 - 0 - 0.25 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 0 - 0 - 150 - - 0 - -1 - 0 - - true - 9 - - - - false - - 0 - 0 - - - false - 0 - - 0 - 0 - 0 - - 0.400000006 - - 0.223529428 - 0.356862754 - 0.43921572 - - 0 - 0 - true - false - 0 - Frame - null - null - null - null - - 0 - 5 - 0 - 5 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 1 - -10 - - 0 - -1 - 0 - - true - 9 - - - - false - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 600 - - rbxasset://fonts/SourceSansPro-Semibold.ttf - - 0 - 1 - -1 - Title - null - null - null - null - - 0 - 10 - 0 - 10 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -20 - 0 - 20 - - 0 - -1 - - Message from Player1 - - 1 - 1 - 1 - - false - 18 - - 0.713725507 - 0.713725507 - 0.713725507 - - 0.800000012 - 0.100000001 - 0 - true - 2 - 1 - true - 9 - - - - - false - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 300 - - rbxasset://fonts/SourceSansPro-Light.ttf - - 0 - 1 - -1 - Message - null - null - null - null - - 0 - 10 - 0 - 30 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -20 - 1 - -40 - - 0 - -1 - - Everyone report to high command. - - 1 - 1 - 1 - - false - 22 - - 0.784313798 - 0.784313798 - 0.784313798 - - 0.800000012 - 0 - 0 - true - 2 - 1 - true - 9 - - - - - - - 0 - 6 - - UICorner - -1 - - - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://143854846 - - 1 - 1 - 1 - - - 0 - 0 - - - 0 - 0 - - 0 - 0 - Blur - null - null - null - null - - 0 - 0 - 0 - 0 - - 0 - null - 0 - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 1 - - - - - - false - - 0 - 0 - - - false - 0 - - 0.333333343 - 0.333333343 - 1 - - 0.5 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://1222377259 - - 0.333333343 - 0.333333343 - 1 - - - 0 - 0 - - - 0 - 0 - - 0.5 - 0 - Glass - null - null - null - null - - 0 - 0 - 0 - 0 - - 0 - null - 0 - 2 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 0 - - - - - - 0 - 6 - - UICorner - -1 - - - - - - - false - - 0.5 - 0.5 - - - false - 0 - - 0.333333343 - 0.333333343 - 1 - - 0.899999976 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://6805220123 - - 0.784313798 - 0.784313798 - 0.784313798 - - - 0 - 0 - - - 0 - 0 - - 0.699999988 - 0 - Edge - null - null - null - null - - 0.5 - 0 - 0.5 - 0 - - 0 - null - 0 - 2 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 4 - 1 - 4 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 0 - - - - - - 0 - 4 - - UICorner - -1 - - - - - - - - - false - - 0 - 0 - - - false - 0 - - 0.227450997 - 0.227450997 - 0.227450997 - - 0.699999988 - - 1 - 1 - 1 - - 0 - 0 - false - false - 0 - Hint - null - null - null - null - - 0 - 0 - 0 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 30 - - 0 - -1 - 0 - - true - 1 - - - - false - - 0 - 0 - - - false - 0 - - 0.0705882385 - 0.0705882385 - 0.0705882385 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - 0 - Frame - null - null - null - null - - 0 - 0 - 0 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 28 - - 0 - -1 - 0 - - true - 1 - - - - false - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - true - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - msg - null - null - null - null - - 0 - 5 - 0 - 5 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 1 - -10 - - 0 - -1 - - I need everyone who is testing to test like you have never tested before - - 1 - 1 - 1 - - false - 18 - - 1 - 1 - 1 - - 0.899999976 - 0.100000001 - 0 - true - 2 - 1 - true - 1 - - - - - false - - 0 - 0 - - - false - 0 - - 0.333333343 - 0.333333343 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://3131144254 - - 0.333333343 - 0.333333343 - 1 - - - 0 - 0 - - - 0 - 0 - - 0.600000024 - 0 - Gradient - null - null - null - null - - 0 - 0 - 0 - 0 - - 0 - null - 0 - 2 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 0 - - - - - false - - 0 - 0 - - - false - 0 - - 0.333333343 - 0.333333343 - 1 - - 0.800000012 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://1222377259 - - 0.333333343 - 0.333333343 - 1 - - - 0 - 0 - - - 0 - 0 - - 0.600000024 - 0 - Glass - null - null - null - null - - 0 - 0 - 0 - 0 - - 0 - null - 0 - 4 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 0 - - - - - - - Config - -1 - - - - - - - Code - {50030479-DCBC-4CC1-9EDF-B518421F939C} - 5 then lom = -2 end - UDim2.new(0,0,0,(#container:GetChildren()+lom)*28) - moveGuis(-1) - --gui:TweenPosition(UDim2.new(0,0,0,(#container:GetChildren()+lom)*28),nil,nil,0.3,true,function() if gui and gui.Parent then moveGuis(-1) end end) - - if #container:GetChildren()>5 then - local gui = container:GetChildren()[1] - moveGuis(-2,gui) - gui:Destroy() - --gui:TweenPosition(UDim2.new(0,0,0,-100),nil,nil,0.2,true,function() if gui and gui.Parent then gui:Destroy() end end) - end - - task.wait(data.Time or 5) - - if gui and gui.Parent then - moveGuis(-2,gui) - gui:Destroy() - --gui:TweenPosition(UDim2.new(0,0,0,-100),nil,nil,0.2,true,function() if gui and gui.Parent then gui:Destroy() end end) - end -end]]> - -1 - - - - - - - AllowMultiple - -1 - - true - - - - - - CanKeepAlive - -1 - - true - - - - - - - - false - true - 0 - false - Notif - true - null - 1 - 2 - 0 - 0 - 0 - 0 - false - -1 - - 0 - - - - - Config - -1 - - - - - - - Code - {7FAF7F51-BFCF-48C7-ADAE-8F50DCAA1FB3} - - -1 - - - - - - - AllowMultiple - -1 - - true - - - - - - CanKeepAlive - -1 - - false - - - - - - false - - 0 - 0 - - - false - 0 - - 0 - 0 - 0 - - 0.600000024 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - LABEL - null - null - null - null - - 0 - 0 - 0 - 0 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 30 - - 0 - -1 - - Label - - 1 - 1 - 1 - - false - 18 - - 0.784313798 - 0.784313798 - 0.784313798 - - 0.850000024 - 0 - 0 - true - 2 - 1 - true - 1 - - - - false - - 0 - 0 - - - false - 0 - - 0.333333343 - 0.333333343 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://3131144254 - - 0 - 0 - 0 - - - 0 - 0 - - - 0 - 0 - - 0.5 - 0 - Gradient - null - null - null - null - - 0 - 0 - 0 - 0 - - 0 - null - 0 - 2 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 0 - - - - - - - - false - true - 0 - false - Message - false - null - 1 - 2 - 0 - 0 - 0 - 0 - false - -1 - - 0 - - - - - Config - -1 - - - - - - - Code - {6F347222-5B55-4E8F-BAF3-24DB719CE3C1} - textFade then - msg.TextTransparency = msg.TextTransparency-textStep - ttl.TextTransparency = ttl.TextTransparency-textStep - end - if msg.TextStrokeTransparency>strokeFade then - msg.TextStrokeTransparency = msg.TextStrokeTransparency-strokeStep - ttl.TextStrokeTransparency = ttl.TextStrokeTransparency-strokeStep - end - if frame.BackgroundTransparency>frameFade then - frame.BackgroundTransparency = frame.BackgroundTransparency-frameStep - end - task.wait(1/60) - end - end - end - - local function fadeOut() - if not gone then - for i = 1,fadeSteps do - if blur.Size>0 then - blur.Size = blur.Size-blurStep - end - if msg.TextTransparency<1 then - msg.TextTransparency = msg.TextTransparency+textStep - ttl.TextTransparency = ttl.TextTransparency+textStep - end - if msg.TextStrokeTransparency<1 then - msg.TextStrokeTransparency = msg.TextStrokeTransparency+strokeStep - ttl.TextStrokeTransparency = ttl.TextStrokeTransparency+strokeStep - end - if frame.BackgroundTransparency<1 then - frame.BackgroundTransparency = frame.BackgroundTransparency+frameStep - end - task.wait(1/60) - end - blur.Enabled = false - blur:Destroy() - service.UnWrap(gui):Destroy() - gone = true - end - end - - gTable.CustomDestroy = function() - if not gone then - gone = true - pcall(fadeOut) - end - - pcall(function() service.UnWrap(gui):Destroy() end) - pcall(function() blur:Destroy() end) - end - - - --[[if not scroll then - msg.Text = message - else - Routine(function() - task.wait(0.5) - for i = 1, #message do - msg.Text = msg.Text .. message:sub(i,i) - task.wait(0.05) - end - end) - end--]] -- For now? - - fadeIn() - task.wait(tim or 5) - if not gone then - fadeOut() - end - - --[[ - - frame.Position = UDim2.new(0.5,-175,-1.5,0) - - gui.Parent = playergui - - frame:TweenPosition(UDim2.new(0.5,-175,0.25,0),nil,nil,0.5) - - if not scroll then - msg.Text = message - task.wait(tim or 10) - else - task.wait(0.5) - for i = 1, #message do - msg.Text = msg.Text .. message:sub(i,i) - task.wait(0.05) - end - task.wait(tim or 5) - end - - if frame then - frame:TweenPosition(UDim2.new(0.5,-175,-1.5,0),nil,nil,0.5) - task.wait(1) - gui:Destroy() - end - --]] -end]]> - -1 - - - - - - - AllowMultiple - -1 - - true - - - - - - CanKeepAlive - -1 - - true - - - - - - false - - 0 - 0 - - - false - 0 - - 0.333333343 - 0.333333343 - 1 - - 0.200000003 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - true - false - rbxassetid://1222377259 - - 0.333333343 - 0.333333343 - 1 - - - 0 - 0 - - - 0 - 0 - - 0.5 - 0 - Frame - null - null - null - null - - 0 - 0 - 0 - -50 - - 0 - null - 0 - 2 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - 50 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 0 - - - - - - 0 - 4 - - UICorner - -1 - - - - - - false - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - Message - null - null - null - null - - 0 - 10 - 0 - 95 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -20 - 1 - -105 - - 0 - -1 - - Everyone report to high command. - - 1 - 1 - 1 - - false - 28 - - 0.313725501 - 0.313725501 - 0.313725501 - - 0.5 - 0 - 0 - true - 2 - 1 - true - 7 - - - - - false - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 700 - - rbxasset://fonts/SourceSansPro-Bold.ttf - - 0 - 1 - -1 - Title - null - null - null - null - - 0 - 10 - 0 - 60 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -20 - 0 - 30 - - 0 - -1 - - Message from Player1 - - 1 - 1 - 1 - - false - 24 - - 0.207843155 - 0.207843155 - 0.207843155 - - 0.5 - 0.100000001 - 0 - true - 2 - 1 - true - 7 - - - - - - - - false - true - 900000 - false - Chat - true - null - 1 - 2 - 0 - 0 - 0 - 0 - false - -1 - - 0 - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - 0 - Bubble - null - null - null - null - - 0.200000003 - 0 - 0.5 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 200 - 0 - 50 - - 0 - -1 - 0 - - false - 1 - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - rbxassetid://346048879 - - 1 - 1 - 1 - - - 0 - 0 - - - 0 - 0 - - 0 - 0 - ImageLabel - null - null - null - null - - 0 - 0 - 0 - 5 - - 0 - null - 0 - 1 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - -10 - - 0 - - - 2 - 2 - - - 2 - 2 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 1 - - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - TextLabel - null - null - null - null - - 0 - 5 - 0 - 5 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 1 - -10 - - 0 - -1 - - Yolo lol - - 0 - 0 - 0 - - false - 18 - - 0 - 0 - 0 - - 1 - 0 - 0 - true - 2 - 1 - true - 1 - - - - - - true - - 0 - 0 - - - false - 0 - - 0.588235319 - 0.223529428 - 0.690196097 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - true - 0 - Drag - null - null - null - null - - 0 - 0 - 0 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 350 - 0 - 30 - - 0 - -1 - 0 - - true - 1 - - - - false - - 0 - 0 - - - false - 0 - - 0.105882362 - 0.105882362 - 0.105882362 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - 0 - Frame - null - null - null - null - - 0 - 0 - 0 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 170 - - 0 - -1 - 0 - - true - 1 - - - - false - - 0 - 0 - - - false - 0 - - 0.0705882385 - 0.0705882385 - 0.0705882385 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - 0 - Frame - null - null - null - null - - 0 - 5 - 0 - 30 - - null - 0 - true - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 1 - -60 - - 0 - -1 - 0 - - true - 1 - - - - false - - 0 - 0 - - - false - 0 - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - http://roblox.com/asset?id=158348114 - - 0 - 0 - - - 0 - 0 - 0 - 200 - - true - false - 0 - 0 - 0 - http://roblox.com/asset?id=158348114 - Global - null - null - null - null - - 0 - 5 - 0 - 5 - - null - 0 - - 1 - 1 - 1 - - 0 - 2 - 2 - true - true - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 1 - -10 - - 0 - -1 - - http://roblox.com/asset?id=158348114 - 0 - 0 - true - 2 - - - - - false - - 0 - 0 - - - false - 0 - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - http://roblox.com/asset?id=158348114 - - 0 - 0 - - - 0 - 0 - 2 - 0 - - true - false - 0 - 0 - 0 - http://roblox.com/asset?id=158348114 - Admins - null - null - null - null - - 0 - 5 - 0 - 5 - - null - 0 - - 1 - 1 - 1 - - 0 - 2 - 2 - true - true - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 1 - -10 - - 0 - -1 - - http://roblox.com/asset?id=158348114 - 0 - 0 - false - 2 - - - - - false - - 0 - 0 - - - false - 0 - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - http://roblox.com/asset?id=158348114 - - 0 - 0 - - - 0 - 0 - 2 - 0 - - true - false - 0 - 0 - 0 - http://roblox.com/asset?id=158348114 - Local - null - null - null - null - - 0 - 5 - 0 - 5 - - null - 0 - - 1 - 1 - 1 - - 0 - 2 - 2 - true - true - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 1 - -10 - - 0 - -1 - - http://roblox.com/asset?id=158348114 - 0 - 0 - false - 2 - - - - - false - - 0 - 0 - - - false - 0 - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - http://roblox.com/asset?id=158348114 - - 0 - 0 - - - 0 - 0 - 2 - 0 - - true - false - 0 - 0 - 0 - http://roblox.com/asset?id=158348114 - Team - null - null - null - null - - 0 - 5 - 0 - 5 - - null - 0 - - 1 - 1 - 1 - - 0 - 2 - 2 - true - true - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 1 - -10 - - 0 - -1 - - http://roblox.com/asset?id=158348114 - 0 - 0 - false - 2 - - - - - false - - 0 - 0 - - - false - 0 - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - http://roblox.com/asset?id=158348114 - - 0 - 0 - - - 0 - 0 - 2 - 0 - - true - false - 0 - 0 - 0 - http://roblox.com/asset?id=158348114 - Cross - null - null - null - null - - 0 - 5 - 0 - 5 - - null - 0 - - 1 - 1 - 1 - - 0 - 2 - 2 - true - true - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 1 - -10 - - 0 - -1 - - http://roblox.com/asset?id=158348114 - 0 - 0 - false - 2 - - - - - - true - - 0 - 0 - - - false - 0 - - 0.0705882385 - 0.0705882385 - 0.0705882385 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - true - true - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - false - Chat - null - null - null - null - - 0.699999988 - 0.699999988 - 0.699999988 - - - - 0 - 5 - 1 - -30 - - false - null - 0 - true - 0 - 0 - 0 - 0 - false - null - 0 - true - - 1 - -10 - 0 - 25 - - 0 - -1 - - Click here or press "/" to start chatting - - 1 - 1 - 1 - - true - false - 14 - - 0 - 0 - 0 - - 0.699999988 - 0 - 0 - true - 0 - 1 - true - 1 - - - - - UIPadding - - 0 - 0 - - - 0 - 4 - - - 0 - 0 - - - 0 - 0 - - -1 - - - - - - - false - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - rbxassetid://334991942 - - 0.294117659 - 0.294117659 - 0.294117659 - - - 0 - 0 - - - 0 - 0 - - 0 - 0 - FakeDragger - null - null - null - null - - 1 - -20 - 1 - -20 - - 0 - null - 0 - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 20 - 0 - 20 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 1 - - - - - true - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - true - 0 - Dragger - null - null - null - null - - 1 - -20 - 1 - -20 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 20 - 0 - 20 - - 0 - -1 - 0 - - true - 2 - - - - - true - - 0 - 0 - - - true - false - 0 - - 0.0705882385 - 0.0705882385 - 0.0705882385 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - false - Global - null - null - null - null - - 0 - 5 - 0 - 10 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 60 - 0 - 20 - - 0 - -1 - 0 - - Global - - 1 - 1 - 1 - - false - 14 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 2 - 1 - true - 1 - - - - - true - - 0 - 0 - - - true - false - 0 - - 0.0705882385 - 0.0705882385 - 0.0705882385 - - 0.5 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - false - Local - null - null - null - null - - 0 - 75 - 0 - 10 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 50 - 0 - 20 - - 0 - -1 - 0 - - Local - - 1 - 1 - 1 - - false - 14 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 2 - 1 - true - 1 - - - - - true - - 0 - 0 - - - true - false - 0 - - 0.0705882385 - 0.0705882385 - 0.0705882385 - - 0.5 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - false - Cross - null - null - null - null - - 0 - 265 - 0 - 10 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 60 - 0 - 20 - - 0 - -1 - 0 - - Cross - - 1 - 1 - 1 - - false - 14 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 2 - 1 - true - 1 - - - - - true - - 0 - 0 - - - true - false - 0 - - 0.0705882385 - 0.0705882385 - 0.0705882385 - - 0.5 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - false - Team - null - null - null - null - - 0 - 135 - 0 - 10 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 50 - 0 - 20 - - 0 - -1 - 0 - - Team - - 1 - 1 - 1 - - false - 14 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 2 - 1 - true - 1 - - - - - true - - 0 - 0 - - - true - false - 0 - - 0.0705882385 - 0.0705882385 - 0.0705882385 - - 0.5 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - false - Admins - null - null - null - null - - 0 - 195 - 0 - 10 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 60 - 0 - 20 - - 0 - -1 - 0 - - Admins - - 1 - 1 - 1 - - false - 14 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 2 - 1 - true - 1 - - - - - false - - 0 - 0 - - - false - 0 - - 0.333333343 - 0.333333343 - 1 - - 0.400000006 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://1222377259 - - 0.333333343 - 0.333333343 - 1 - - - 0 - 0 - - - 0 - 0 - - 0.5 - 0 - Glass - null - null - null - null - - 0 - 0 - 0 - 0 - - 0 - null - 0 - 2 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 0 - - - - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - 0 - Entry - null - null - null - null - - 0 - 0 - 0 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 0 - 20 - - 0 - -1 - 0 - - false - 1 - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - Message - null - null - null - null - - 0 - 95 - 0 - 0 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -105 - 1 - 0 - - 0 - -1 - - asdfertyuiopkjhgdfsbvncmxhfgmn234234 - - 1 - 1 - 1 - - false - 18 - - 0 - 0 - 0 - - 0.699999988 - 0 - 0 - true - 0 - 0 - true - 1 - - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 700 - - rbxasset://fonts/SourceSansPro-Bold.ttf - - 0 - 1 - -1 - Nameb - null - null - null - null - - 0 - 0 - 0 - 0 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 90 - 0 - 20 - - 0 - -1 - - Sceleratis: - - 0.662745118 - 0.815686345 - 1 - - true - 18 - - 0 - 0 - 0 - - 0.800000012 - 0 - 0 - true - 0 - 0 - true - 1 - - - - - - Desc - -1 - - TestDesc - - - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - BoundTest - null - null - null - null - - 0 - 0 - 0 - 0 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 500 - 0 - 30 - - 0 - -1 - - wizle - - 0.105882362 - 0.164705887 - 0.207843155 - - false - 18 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 2 - 1 - false - 1 - - - - - - Config - -1 - - - - - - AllowMultiple - -1 - - false - - - - - - CanKeepAlive - -1 - - false - - - - - - - Code - {683A92C5-C02E-43C2-A6B6-CBB41BA34C54} - 100 then - naml = 100 - end - - tester.Text = v.Message - local mesl = tester.TextBounds.X - - clone.Message.Position = UDim2.new(0, naml, 0, 0) - clone.Message.Size = UDim2.new(1, -(naml + 10), 1, 0) - clone.Nameb.Size = UDim2.new(0, naml, 0, 20) - - clone.Visible = false - clone.Parent = globalTab - - local rows = math.floor((mesl + naml) / clone.AbsoluteSize.X) - rows = rows + 1 - if rows < 1 then - rows = 1 - end - if rows > 3 then - rows = 3 - end - --rows = rows+1 - - clone.Parent = nil - clone.Visible = true - - clone.Size = UDim2.new(1, 0, 0, rows * 20) - - if v.Private then - clone.Nameb.TextColor3 = Color3.new(0.58823529411765, 0.22352941176471, 0.69019607843137) - end - - if v.Mode == "Global" then - clone.Position = UDim2.new(0, 0, 0, globalNum * 20) - globalNum = globalNum + 1 - if rows > 1 then - globalNum = globalNum + rows - 1 - end - clone.Parent = globalTab - elseif v.Mode == "Team" then - clone.Position = UDim2.new(0, 0, 0, teamNum * 20) - teamNum = teamNum + 1 - if rows > 1 then - teamNum = teamNum + rows - 1 - end - clone.Parent = teamTab - elseif v.Mode == "Local" then - clone.Position = UDim2.new(0, 0, 0, localNum * 20) - localNum = localNum + 1 - if rows > 1 then - localNum = localNum + rows - 1 - end - clone.Parent = localTab - elseif v.Mode == "Admins" then - clone.Position = UDim2.new(0, 0, 0, adminsNum * 20) - adminsNum = adminsNum + 1 - if rows > 1 then - adminsNum = adminsNum + rows - 1 - end - clone.Parent = adminsTab - elseif v.Mode == "Cross" then - clone.Position = UDim2.new(0, 0, 0, crossNum * 20) - crossNum = crossNum + 1 - if rows > 1 then - crossNum = crossNum + rows - 1 - end - clone.Parent = crossTab - end - end - - globalTab.CanvasSize = UDim2.new(0, 0, 0, ((globalNum) * 20)) - teamTab.CanvasSize = UDim2.new(0, 0, 0, ((teamNum) * 20)) - localTab.CanvasSize = UDim2.new(0, 0, 0, ((localNum) * 20)) - adminsTab.CanvasSize = UDim2.new(0, 0, 0, ((adminsNum) * 20)) - crossTab.CanvasSize = UDim2.new(0, 0, 0, ((crossNum) * 20)) - - local glob = (((globalNum) * 20) - globalTab.AbsoluteWindowSize.Y) - local tea = (((teamNum) * 20) - teamTab.AbsoluteWindowSize.Y) - local loc = (((localNum) * 20) - localTab.AbsoluteWindowSize.Y) - local adm = (((adminsNum) * 20) - adminsTab.AbsoluteWindowSize.Y) - local cro = (((crossNum) * 20) - crossTab.AbsoluteWindowSize.Y) - - if glob < 0 then - glob = 0 - end - if tea < 0 then - tea = 0 - end - if loc < 0 then - loc = 0 - end - if adm < 0 then - adm = 0 - end - if cro < 0 then - cro = 0 - end - - globalTab.CanvasPosition = Vector2.new(0, glob) - teamTab.CanvasPosition = Vector2.new(0, tea) - localTab.CanvasPosition = Vector2.new(0, loc) - adminsTab.CanvasPosition = Vector2.new(0, adm) - crossTab.CanvasPosition = Vector2.new(0, cro) - end - end - - if not storedChats then - client.Variables.StoredChats = {} - storedChats = client.Variables.StoredChats - end - - gTable:Ready() - - local bubble = gui.Bubble - local toggle = gui.Toggle - local drag = gui.Drag - local frame = gui.Drag.Frame - local frame2 = gui.Drag.Frame.Frame - local box = gui.Drag.Frame.Chat - - local globalTab = gui.Drag.Frame.Frame.Global - local teamTab = gui.Drag.Frame.Frame.Team - local localTab = gui.Drag.Frame.Frame.Local - local adminsTab = gui.Drag.Frame.Frame.Admins - local crossTab = gui.Drag.Frame.Frame.Cross - - local global = gui.Drag.Frame.Global - local team = gui.Drag.Frame.Team - local localb = gui.Drag.Frame.Local - local admins = gui.Drag.Frame.Admins - local cross = gui.Drag.Frame.Cross - - if not nohide then - client.Variables.CustomChat = true - client.Variables.ChatEnabled = false - service.StarterGui:SetCoreGuiEnabled('Chat', false) - else - drag.Position = UDim2.new(0, 10, 1, -180) - end - - local dragger = gui.Drag.Frame.Dragger - local fakeDrag = gui.Drag.Frame.FakeDragger - - local boxFocused = false - local mode = "Global" - - local lastChat = 0 - local lastClick = 0 - local isAdmin = client.Remote.Get("CheckAdmin") - - if not isAdmin then - admins.BackgroundTransparency = 0.8 - admins.TextTransparency = 0.8 - cross.BackgroundTransparency = 0.8 - cross.TextTransparency = 0.8 - end - - if client.UI.Get("HelpButton") then - toggle.Position = UDim2.new(1, -90, 1, -45) - end - - local function openGlobal() - globalTab.Visible = true - teamTab.Visible = false - localTab.Visible = false - adminsTab.Visible = false - crossTab.Visible = false - - global.Text = "Global" - mode = "Global" - - global.BackgroundTransparency = 0 - team.BackgroundTransparency = 0.5 - localb.BackgroundTransparency = 0.5 - if isAdmin then - admins.BackgroundTransparency = 0.5 - admins.TextTransparency = 0 - cross.BackgroundTransparency = 0.5 - cross.TextTransparency = 0 - else - admins.BackgroundTransparency = 0.8 - admins.TextTransparency = 0.8 - cross.BackgroundTransparency = 0.8 - cross.TextTransparency = 0.8 - end - end - - local function openTeam() - globalTab.Visible = false - teamTab.Visible = true - localTab.Visible = false - adminsTab.Visible = false - crossTab.Visible = false - - team.Text = "Team" - mode = "Team" - - global.BackgroundTransparency = 0.5 - team.BackgroundTransparency = 0 - localb.BackgroundTransparency = 0.5 - admins.BackgroundTransparency = 0.5 - if isAdmin then - admins.BackgroundTransparency = 0.5 - admins.TextTransparency = 0 - cross.BackgroundTransparency = 0.5 - cross.TextTransparency = 0 - else - admins.BackgroundTransparency = 0.8 - admins.TextTransparency = 0.8 - cross.BackgroundTransparency = 0.8 - cross.TextTransparency = 0.8 - end - end - - local function openLocal() - globalTab.Visible = false - teamTab.Visible = false - localTab.Visible = true - adminsTab.Visible = false - crossTab.Visible = false - - localb.Text = "Local" - mode = "Local" - - global.BackgroundTransparency = 0.5 - team.BackgroundTransparency = 0.5 - localb.BackgroundTransparency = 0 - admins.BackgroundTransparency = 0.5 - if isAdmin then - admins.BackgroundTransparency = 0.5 - admins.TextTransparency = 0 - cross.BackgroundTransparency = 0.5 - cross.TextTransparency = 0 - else - admins.BackgroundTransparency = 0.8 - admins.TextTransparency = 0.8 - cross.BackgroundTransparency = 0.8 - cross.TextTransparency = 0.8 - end - end - - local function openAdmins() - globalTab.Visible = false - teamTab.Visible = false - localTab.Visible = false - adminsTab.Visible = true - crossTab.Visible = false - - admins.Text = "Admins" - mode = "Admins" - - global.BackgroundTransparency = 0.5 - team.BackgroundTransparency = 0.5 - localb.BackgroundTransparency = 0.5 - if isAdmin then - admins.BackgroundTransparency = 0 - admins.TextTransparency = 0 - cross.BackgroundTransparency = 0.5 - cross.TextTransparency = 0 - else - admins.BackgroundTransparency = 0.8 - admins.TextTransparency = 0.8 - cross.BackgroundTransparency = 0.8 - cross.TextTransparency = 0.8 - end - end - - local function openCross() - globalTab.Visible = false - teamTab.Visible = false - localTab.Visible = false - adminsTab.Visible = false - crossTab.Visible = true - - cross.Text = "Cross" - mode = "Cross" - - global.BackgroundTransparency = 0.5 - team.BackgroundTransparency = 0.5 - localb.BackgroundTransparency = 0.5 - if isAdmin then - admins.BackgroundTransparency = 0.5 - admins.TextTransparency = 0 - cross.BackgroundTransparency = 0 - cross.TextTransparency = 0 - else - admins.BackgroundTransparency = 0.8 - admins.TextTransparency = 0.8 - cross.BackgroundTransparency = 0.8 - cross.TextTransparency = 0.8 - end - end - - local function fadeIn() - --[[ - frame.BackgroundTransparency = 0.5 - frame2.BackgroundTransparency = 0.5 - box.BackgroundTransparency = 0.5 - for i=0.1,0.5,0.1 do - --wait(0.1) - frame.BackgroundTransparency = 0.5-i - frame2.BackgroundTransparency = 0.5-i - box.BackgroundTransparency = 0.5-i - end-- Disabled ]] - frame.BackgroundTransparency = 0 - frame2.BackgroundTransparency = 0 - box.BackgroundTransparency = 0 - fakeDrag.Visible = true - end - - local function fadeOut() - --[[ - frame.BackgroundTransparency = 0 - frame2.BackgroundTransparency = 0 - box.BackgroundTransparency = 0 - for i=0.1,0.5,0.1 do - --wait(0.1) - frame.BackgroundTransparency = i - frame2.BackgroundTransparency = i - box.BackgroundTransparency = i - end-- Disabled ]] - frame.BackgroundTransparency = 0.7 - frame2.BackgroundTransparency = 1 - box.BackgroundTransparency = 1 - fakeDrag.Visible = false - end - - fadeOut() - - frame.MouseEnter:Connect(function() - fadeIn() - end) - - frame.MouseLeave:Connect(function() - if not boxFocused then - fadeOut() - end - end) - - toggle.MouseButton1Click:Connect(function() - if drag.Visible then - drag.Visible = false - toggle.Image = "rbxassetid://417301749"--417285299" - else - drag.Visible = true - toggle.Image = "rbxassetid://417301773"--417285351" - end - end) - - global.MouseButton1Click:Connect(function() - openGlobal() - end) - - team.MouseButton1Click:Connect(function() - openTeam() - end) - - localb.MouseButton1Click:Connect(function() - openLocal() - end) - - admins.MouseButton1Click:Connect(function() - if isAdmin or os.clock() - lastClick > 5 then - isAdmin = client.Remote.Get("CheckAdmin") - if isAdmin then - openAdmins() - else - admins.BackgroundTransparency = 0.8 - admins.TextTransparency = 0.8 - end - lastClick = os.clock() - end - end) - - cross.MouseButton1Click:Connect(function() - if isAdmin or os.clock() - lastClick > 5 then - isAdmin = client.Remote.Get("CheckAdmin") - if isAdmin then - openCross() - else - cross.BackgroundTransparency = 0.8 - cross.TextTransparency = 0.8 - end - lastClick = os.clock() - end - end) - - box.FocusLost:Connect(function(enterPressed) - boxFocused = false - if enterPressed and not client.Variables.Muted then - if box.Text ~= '' and ((mode ~= "Cross" and os.clock() - lastChat >= 0.5) or (mode == "Cross" and os.clock() - lastChat >= 10)) then - if not client.Variables.Muted then - client.Remote.Send('ProcessCustomChat', box.Text, mode) - lastChat = os.clock() - end - elseif not ((mode ~= "Cross" and os.clock() - lastChat >= 0.5) or (mode == "Cross" and os.clock() - lastChat >= 10)) then - local tim - if mode == "Cross" then - tim = 10 - (os.clock() - lastChat) - else - tim = 0.5 - (os.clock() - lastChat) - end - tim = string.sub(tostring(tim), 1, 3) - client.Handlers.ChatHandler("SpamBot", `Sending too fast! Please wait {tim} seconds.`, "System") - end - box.Text = "Click here or press the '/' key to chat" - fadeOut() - if mode ~= "Cross" then - lastChat = os.clock() - end - end - end) - - box.Focused:Connect(function() - boxFocused = true - if box.Text == "Click here or press the '/' key to chat" then - box.Text = '' - end - fadeIn() - end) - - if not nohide then - service.UserInputService.InputBegan:Connect(function(InputObject) - local textbox = service.UserInputService:GetFocusedTextBox() - if not (textbox) and InputObject.UserInputType == Enum.UserInputType.Keyboard and InputObject.KeyCode == Enum.KeyCode.Slash then - if box.Text == "Click here or press the '/' key to chat" then - box.Text = '' - end - service.RunService.RenderStepped:Wait() - box:CaptureFocus() - end - end) - end - - local dragging = false - - local nx, ny = drag.AbsoluteSize.X, frame.AbsoluteSize.Y --450,200 - local defx, defy = nx, ny - mouse.Move:Connect(function(x, y) - if dragging then - nx = math.clamp(defx + (dragger.Position.X.Offset + 20), 1, 260) - ny = math.clamp(defy + (dragger.Position.Y.Offset + 20), 1, 100) - - frame.Size = UDim2.new(1, 0, 0, ny) - drag.Size = UDim2.new(0, nx, 0, 30) - end - end) - dragger.DragBegin:Connect(function(init) - dragging = true - end) - dragger.DragStopped:Connect(function(x, y) - dragging = false - defx = nx - defy = ny - dragger.Position = UDim2.new(1, -20, 1, -20) - UpdateChat() - end) - - UpdateChat() - ---[[ -if not service.UserInputService.KeyboardEnabled then - warn("User is on mobile :: CustomChat Disabled") - chatenabled = true - drag.Visible = false - service.StarterGui:SetCoreGuiEnabled('Chat',true) -end ---]] - - client.Handlers.RemoveCustomChat = function() - local chat = gui - if chat then - chat:Destroy() - client.Variables.ChatEnabled = true - service.StarterGui:SetCoreGuiEnabled('Chat', true) - end - end - - client.Handlers.ChatHandler = function(plr, message, mode) - if not message then - return - end - if string.sub(message, 1, 2) == '/e' then - return - end - if gui then - local player - - if plr and type(plr) == "userdata" then - player = plr - else - player = { - Name = tostring(plr or "System"), - TeamColor = BrickColor.White() - } - end - - if #message > 150 then - message = `{string.sub(message, 1, 150)}...` - end - - if mode then - if mode == "Private" or mode == "System" then - table.insert(storedChats, { - Color = player.TeamColor or BrickColor.White(), - Player = player.Name, - Message = message, - Mode = "Global", - Private = true - }) - table.insert(storedChats, { - Color = player.TeamColor or BrickColor.White(), - Player = player.Name, - Message = message, - Mode = "Team", - Private = true - }) - table.insert(storedChats, { - Color = player.TeamColor or BrickColor.White(), - Player = player.Name, - Message = message, - Mode = "Local", - Private = true - }) - table.insert(storedChats, { - Color = player.TeamColor or BrickColor.White(), - Player = player.Name, - Message = message, - Mode = "Admins", - Private = true - }) - table.insert(storedChats, { - Color = player.TeamColor or BrickColor.White(), - Player = player.Name, - Message = message, - Mode = "Cross", - Private = true - }) - else - local plr = player.Name - table.insert(storedChats, { - Color = player.TeamColor or BrickColor.White(), - Player = plr, - Message = message, - Mode = mode - }) - end - else - local plr = player.Name - table.insert(storedChats, { - Color = player.TeamColor or BrickColor.White(), - Player = plr, - Message = message, - Mode = "Global" - }) - end - - if mode == "Local" then - if not localTab.Visible then - localb.Text = "Local*" - end - elseif mode == "Team" then - if not teamTab.Visible then - team.Text = "Team*" - end - elseif mode == "Admins" then - if not adminsTab.Visible then - admins.Text = "Admins*" - end - elseif mode == "Cross" then - if not crossTab.Visible then - cross.Text = "Cross*" - end - else - if not globalTab.Visible then - global.Text = "Global*" - end - end - - if #storedChats >= 50 then - table.remove(storedChats, 1) - end - - UpdateChat() - - if not nohide then - if player and type(player) == "userdata" then - local char = player.Character - local head = char:FindFirstChild("Head") - - if head then - local cont = service.LocalContainer():FindFirstChild(`{player.Name}Bubbles`) - if not cont then - cont = Instance.new("BillboardGui", service.LocalContainer()) - cont.Name = `{player.Name}Bubbles` - cont.StudsOffset = Vector3.new(0, 2, 0) - cont.SizeOffset = Vector2.new(0, 0.5) - cont.Size = UDim2.new(0, 200, 0, 150) - end - - cont.Adornee = head - - local clone = bubble:Clone() - clone.TextLabel.Text = message - clone.Parent = cont - - local xsize = clone.TextLabel.TextBounds.X + 40 - if xsize > 400 then - xsize = 400 - end - clone.Size = UDim2.new(0, xsize, 0, 50) - - - if #cont:GetChildren() > 3 then - cont:GetChildren()[1]:Destroy() - end - - for i, v in cont:GetChildren() do - local xsize = v.TextLabel.TextBounds.X + 40 - if xsize > 400 then - xsize = 400 - end - v.Position = UDim2.new(0.5, -xsize / 2, 1, -(math.abs((i - 1) - #cont:GetChildren()) * 50)) - end - - local cam = workspace.CurrentCamera - local char = player.Character - local head = char:FindFirstChild("Head") - - Routine(function() - repeat - if not head then - break - end - local dist = (head.Position - cam.CFrame.p).Magnitude - if dist <= 50 then - clone.Visible = true - else - clone.Visible = false - end - task.wait(0.1) - until not clone.Parent or not clone or not head or not head.Parent or not char - end) - - task.wait(10) - - if clone then - clone:Destroy() - end - end - end - end - end - end - - local textbox = service.UserInputService:GetFocusedTextBox() - if textbox then - textbox:ReleaseFocus() - end -end]]> - -1 - - - - - - - true - - 0 - 0 - - - true - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxassetid://417301773 - - 1 - 1 - 1 - - - 0 - 0 - - - 0 - 0 - - 0.5 - 0 - false - Toggle - null - null - null - null - - 1 - -45 - 1 - -45 - - - 0 - null - 0 - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 40 - 0 - 40 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - 0 - - - 1 - 0 - 1 - 0 - - true - 1 - - - - - false - - 0 - 0 - - - false - 0 - - 0.227450997 - 0.227450997 - 0.227450997 - - 0 - - 0.196078449 - 0.196078449 - 0.196078449 - - 0 - 1 - false - false - - rbxasset://fonts/families/Arial.json - 400 - - rbxasset://fonts/arial.ttf - - 0 - 1 - -1 - Desc - null - null - null - null - - 1 - 150 - 0 - 10 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 110 - 0 - 20 - - 0 - -1 - - Test Desciption - - 1 - 1 - 1 - - false - 18 - - 0 - 0 - 0 - - 0.5 - 0 - 0 - true - 0 - 0 - false - 10 - - - - - - - false - true - 9000000 - false - Console - true - null - 1 - 2 - 0 - 0 - 0 - 0 - false - -1 - - 0 - - - - false - - 0 - 0 - - - false - 0 - - 0.0862745121 - 0.0862745121 - 0.0862745121 - - 1 - - 0 - 0 - 0 - - 0 - 0 - false - false - 0 - Frame - null - null - null - null - - 0 - 0 - 0 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 140 - - 0 - -1 - 0 - - true - 1 - - - - false - - 0 - 0 - - - false - 0 - 0 - - 0.164705887 - 0.164705887 - 0.164705887 - - 1 - - 0 - 0 - 0 - - 0 - 0 - http://roblox.com/asset?id=158348114 - - 0 - 0 - - - 0 - 0 - 0 - 1000 - - true - false - 0 - 0 - 0 - http://roblox.com/asset?id=158348114 - PlayerList - null - null - null - null - - 1 - -125 - 0 - 35 - - null - 0 - - 1 - 1 - 1 - - 0 - 0 - 2 - true - true - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 120 - 0 - 100 - - 0 - -1 - - http://roblox.com/asset?id=158348114 - 0 - 0 - true - 2 - - - - - true - - 0 - 0 - - - false - 0 - - 0.0862745121 - 0.0862745121 - 0.0862745121 - - 1 - - 0.0862745121 - 0.0862745121 - 0.0862745121 - - 0 - 5 - false - false - false - - rbxasset://fonts/families/SourceSansPro.json - 600 - - rbxasset://fonts/SourceSansPro-Semibold.ttf - - 0 - 1 - -1 - false - TextBox - null - null - null - null - - 0.699999988 - 0.699999988 - 0.699999988 - - - - 0 - 5 - 0 - 5 - - false - null - 0 - true - 0 - 0 - 0 - 0 - false - null - 0 - true - - 1 - -10 - 0 - 30 - - 0 - -1 - - - - 1 - 1 - 1 - - true - false - 22 - - 0 - 0 - 0 - - 0.5 - 0 - 0 - true - 0 - 1 - true - 1 - - - - - false - - 0 - 0 - - - false - 0 - - 0.0862745121 - 0.0862745121 - 0.0862745121 - - 0.100000001 - - 0 - 0 - 0 - - 0 - 0 - true - false - 0 - TopBar - null - null - null - null - - 0 - 0 - 0 - -40 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 40 - - 0 - -1 - 0 - - true - 5 - - - - - false - - 0 - 0 - - - false - 0 - 0 - - 0.0862745121 - 0.0862745121 - 0.0862745121 - - 1 - - 0 - 0 - 0 - - 0 - 0 - http://roblox.com/asset?id=158348114 - - 0 - 0 - - - 0 - 0 - 0 - 1000 - - true - false - 0 - 0 - 0 - http://roblox.com/asset?id=158348114 - ScrollingFrame - null - null - null - null - - 0 - 5 - 0 - 35 - - null - 0 - - 1 - 1 - 1 - - 0 - 0 - 2 - true - true - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -130 - 0 - 100 - - 0 - -1 - - http://roblox.com/asset?id=158348114 - 0 - 0 - true - 2 - - - - - false - - 0 - 0 - - - false - 0 - - 0.0862745121 - 0.0862745121 - 0.0862745121 - - 0.300000012 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://1222377259 - - 0.0862745121 - 0.0862745121 - 0.0862745121 - - - 0 - 0 - - - 0 - 0 - - 0.5 - 0 - Glass - null - null - null - null - - 0 - 0 - 0 - 0 - - 0 - null - 0 - 4 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 0 - - - - - - true - - 0 - 0 - - - true - false - 0 - - 0.227450997 - 0.258823544 - 0.36470589 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - false - Entry - null - null - null - null - - 0 - 0 - 0 - 0 - - false - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 0 - 20 - - 0 - -1 - 0 - - :ff <player> - - 1 - 1 - 1 - - false - 18 - - 1 - 1 - 1 - - 0.899999976 - 0 - 0 - false - 0 - 1 - false - 3 - - - - - - Config - -1 - - - - - - CanKeepAlive - -1 - - false - - - - - - - Code - {E4E59A50-D56E-4FA1-8189-62846C708FB8} - 1 then - task.spawn(function() - local sound = Instance.new("Sound",service.LocalContainer()) - sound.SoundId = "rbxassetid://669596713" - sound.Volume = 0.2 - sound:Play() - task.wait(0.5) - sound:Destroy() - end) - client.Remote.Send('ProcessCommand',text.Text) - end - end - - close() - end) - - text.Changed:Connect(function(c) - if c == 'Text' and text.Text ~= '' and open then - if string.sub(text.Text, string.len(text.Text)) == " " then - if players:FindFirstChild("Entry 0") then - text.Text = `{string.sub(text.Text, 1, (string.len(text.Text) - 1))}{players["Entry 0"].Text} ` - elseif scroll:FindFirstChild("Entry 0") then - text.Text = string.split(scroll["Entry 0"].Text, "<")[1] - else - text.Text = text.Text..prefix - end - text.CursorPosition = string.len(text.Text) + 1 - text.Text = string.gsub(text.Text, " ", "") - end - scroll:ClearAllChildren() - players:ClearAllChildren() - - local nText = text.Text - if string.match(nText,`.*{batchKey}([^']+)`) then - nText = string.match(nText,`.*{batchKey}([^']+)`) - nText = string.match(nText,"^%s*(.-)%s*$") - end - - local pNum = 0 - local pMatch = string.match(nText,`.+{splitKey}(.*)$`) - for i,v in service.Players:GetPlayers() do - if (pMatch and string.sub(string.lower(tostring(v)),1,#pMatch) == string.lower(pMatch)) or string.match(nText,`{splitKey}$`) then - local new = entry:Clone() - new.Text = tostring(v) - new.Name = `Entry {pNum}` - new.TextXAlignment = "Right" - new.Visible = true - new.Parent = players - new.Position = UDim2.new(0,0,0,20*pNum) - new.MouseButton1Down:Connect(function() - text.Text = text.Text..tostring(v) - text:CaptureFocus() - end) - pNum = pNum+1 - end - end - - players.CanvasSize = UDim2.new(0,0,0,pNum*20) - - local num = 0 - for i,v in commands do - if string.sub(string.lower(v),1,#nText) == string.lower(nText) or string.find(string.lower(v), string.match(string.lower(nText),`^(.-){splitKey}`) or string.lower(nText), 1, true) then - if not scrollOpen then - scrollOpenTween:Play(); - --frame.Size = UDim2.new(1,0,0,140) - scroll.Visible = true - players.Visible = true - scrollOpen = true - end - local b = entry:Clone() - b.Visible = true - b.Parent = scroll - b.Text = v - b.Name = `Entry {num}` - b.Position = UDim2.new(0,0,0,20*num) - b.MouseButton1Down:Connect(function() - text.Text = b.Text - text:CaptureFocus() - end) - num = num+1 - end - end - frame.Size = UDim2.new(1, 0, 0, math.clamp((num*20)+40, 40, 140)) - scroll.CanvasSize = UDim2.new(0,0,0,num*20) - elseif c == 'Text' and text.Text == '' and opened then - scrollCloseTween:Play(); - --service.SafeTweenSize(frame,UDim2.new(1,0,0,40),nil,nil,0.3,nil,function() if scrollOpen then frame.Size = UDim2.new(1,0,0,140) end end) - scroll.Visible = false - players.Visible = false - scrollOpen = false - scroll:ClearAllChildren() - scroll.CanvasSize = UDim2.new(0,0,0,0) - end - end) - - BindEvent(service.UserInputService.InputBegan, function(InputObject) - local textbox = service.UserInputService:GetFocusedTextBox() - if not (textbox) and rawequal(InputObject.UserInputType, Enum.UserInputType.Keyboard) and InputObject.KeyCode.Name == (client.Variables.CustomConsoleKey or consoleKey) then - if opened then - close() - else - open() - end - client.Variables.ConsoleOpen = opened - end - end) - - gTable:Ready() -end]]> - -1 - - - - - - - AllowMultiple - -1 - - false - - - - - - - - false - true - 0 - false - Output - false - null - 1 - 2 - 0 - 0 - 0 - 0 - false - -1 - - 0 - - - - false - - 0 - 0 - - - false - 0 - - 0.333333343 - 0.333333343 - 1 - - 0.300000012 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - 0 - Main - null - null - null - null - - 0 - 0 - 0.349999994 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 50 - - 0 - -1 - 0 - - true - 10 - - - - false - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - Title - null - null - null - null - - 0 - 0 - 0 - 5 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 15 - - 0 - -1 - - An error occured! - - 1 - 1 - 1 - - false - 18 - - 0 - 0 - 0 - - 1 - 0 - 0 - true - 2 - 1 - false - 10 - - - - - false - - 0 - 0 - - - false - 0 - - 0 - 0 - 0 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - Message - null - null - null - null - - 0 - 0 - 0 - 4 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - -8 - - 0 - -1 - - Error: Message missing - - 1 - 0.450980395 - 0.450980395 - - false - 24 - - 1 - 0.450980395 - 0.450980395 - - 0.699999988 - 0 - 0 - true - 2 - 1 - true - 10 - - - - - - - Config - -1 - - - - - - - Code - {A01C056B-1941-47DD-ABC4-F26BC1C33072} - - -1 - - - - - - - AllowMultiple - -1 - - true - - - - - - CanKeepAlive - -1 - - true - - - - - - - - false - true - 900000 - false - PlayerList - true - null - 1 - 2 - 0 - 0 - 0 - 0 - false - -1 - - 0 - - - - - Config - -1 - - - - - - AllowMultiple - -1 - - false - - - - - - - Code - {03B045CB-1E47-4A96-8B09-DCF4D3BA16B1} - 1 then - local team = entry:Clone() - team.Visible = true - team.Position = UDim2.new(0,0,0,numEntries*25) - team.Nameb.Text = i - team.BackgroundTransparency = 0.5 - team.BackgroundColor3 = v.Color.Color - team.ImageLabel.Visible = false - team.Parent = list - if string.len(i)>15 then - team.Nameb.TextScaled = true - end - if #v.StatNames>0 then - team.Stats.Visible = true - team.Stats.Size = UDim2.new(0,70*(#v.Stats-1),1,0) - local statEnt = team.Stat - for stat,k in v.StatNames do - local new = statEnt:Clone() - new.Parent = team.Stats - new.Visible = true - local val = v.Stats[k] - if val and type(val)=="number" then - new.Text = val - else - new.Text = "" - end - new.Position = UDim2.new(0,(#team.Stats:GetChildren()-1)*70,0,0) - end - else - team.Stats.Visible = false - end - numEntries = numEntries+1 - end - for k,p in v.Players do - local player = entry:Clone() - player.Visible = true - player.Position = UDim2.new(0,0,0,numEntries*25) - - local image = player:FindFirstChild("ImageLabel") - local pstats = player:FindFirstChild("Stats") - local nameb = player:FindFirstChild("Nameb") - local pstat = player:FindFirstChild("Stat") - - if nameb then - nameb.Text = p.Name - end - - player.Parent = list - - if string.len(p.Name)>15 then - nameb.TextScaled = true - end - - local custom = specialPeople[tostring(p.UserId)] - if image then - if custom then - image.Image = `http://www.roblox.com/asset/?id={custom}` - image.Visible = true - elseif p.UserId==game.CreatorId then - image.Image = 'rbxasset://textures/ui/icon_placeowner.png' - image.Visible = true - elseif p:IsInGroup(1200769) then - image.Image = 'http://www.roblox.com/asset/?id=99727663' - image.Visible = true - elseif localplayer:IsFriendsWith(p.UserId) and p~=localplayer then - image.Image = 'http://www.roblox.com/asset/?id=99749771' - image.Visible = true - elseif p.MembershipType==Enum.MembershipType.BuildersClub then - image.Image = 'rbxasset://textures/ui/TinyBcIcon.png' - image.Visible = true - elseif p.MembershipType==Enum.MembershipType.TurboBuildersClub then - image.Image = 'rbxasset://textures/ui/TinyTbcIcon.png' - image.Visible = true - elseif p.MembershipType==Enum.MembershipType.OutrageousBuildersClub then - image.Image = 'rbxasset://textures/ui/TinyObcIcon.png' - image.Visible = true - else - image.Visible = false - end - end - - local stats = p:FindFirstChild("leaderstats") - if stats and pstats and pstat then - stats = stats:GetChildren() - pstats.Visible = true - local statEnt = pstat - for stat,k in stats do - local new = statEnt:Clone() - new.Visible = true - new.Parent = pstats - new.Text = k.Value - --[[ - local event - event = k.Changed:Connect(function() - if k and k.Parent and new and new.Parent then - --new.Text = k.Value - populate() - else - event:Disconnect() - end - end) - --]] - new.Position = UDim2.new(0,(#pstats:GetChildren()-1)*70,0,0) - end - elseif pstats then - pstats.Visible = false - end - numEntries = numEntries+1 - end - end - - if not dontSize then - local noomis = numEntries - if noomis>10 then - noomis=10 - end - local newy = (noomis*25)+30 - ny = newy - defy = newy - frame.Size = UDim2.new(0,nx,0,newy) - end - - list.CanvasSize = UDim2.new(0, 0, 0, ((numEntries)*20)) - end - - drag.Position = UDim2.new(1,-nx,0,0) - - fadeOut() - - frame.MouseEnter:Connect(function() - fadeIn() - end) - - frame.MouseLeave:Connect(function() - fadeOut() - end) - - service.UserInputService.InputBegan:Connect(function(InputObject) - local textbox = service.UserInputService:GetFocusedTextBox() - if not (textbox) and InputObject.UserInputType==Enum.UserInputType.Keyboard and InputObject.KeyCode == Enum.KeyCode.Tab then - if drag.Visible then - drag.Visible = false - else - drag.Visible = true - end - end - end) - - mouse.Move:Connect(function(x,y) - if dragging then - np=defp+(dragger.Position.X.Offset) - nx=defx-(dragger.Position.X.Offset) - ny=defy+(dragger.Position.Y.Offset+20) - - if nx<100 then - nx=100 - end - - if ny<50 then - ny=50 - end - - frame.Size=UDim2.new(1, 0, 0, ny) - drag.Size=UDim2.new(0, nx, 0, 30) - - if nx>100 then - drag.Position=UDim2.new(drag.Position.X.Scale,np,drag.Position.Y.Scale,drag.Position.Y.Offset) - end - end - end) - - dragger.DragBegin:Connect(function(init) - defp = drag.Position.X.Offset - dragging = true - dontSize = true - end) - - dragger.DragStopped:Connect(function(x,y) - dragging = false - nx,ny,np=drag.AbsoluteSize.X,frame.AbsoluteSize.Y,nil--350,300 - defx,defy,defp=nx,ny,drag.Position.X.Offset - dragger.Position = UDim2.new(0,0,1,-20) - --populate() - end) - - --[[ - for k,p in service.Players:GetPlayers() do - p.Changed:Connect(populate) - p.ChildAdded:Connect(function(c) - populate() - if c.Name=="leaderstats" then - c.ChildAdded:Connect(populate) - end - end) - end - - service.Players.PlayerAdded:Connect(function(p) - populate() - p.Changed:Connect(populate) - p.ChildAdded:Connect(function(c) - if c.Name=="leaderstats" then - c.ChildAdded:Connect(populate) - end - end) - task.wait(0.5) - populate() - end) - - service.Teams.ChildAdded:Connect(populate) - service.Teams.ChildRemoved:Connect(populate) - - task.wait(0.5) - populate() - --]] - - while wait(0.5) do - populate() - end -end]]> - -1 - - - - - - - CanKeepAlive - -1 - - false - - - - - - true - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - true - 0 - Drag - null - null - null - null - - 1 - -160 - 0 - 10 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 150 - 0 - 25 - - 0 - -1 - 0 - - true - 1 - - - - false - - 0 - 0 - - - false - 0 - - 0.274509817 - 0.274509817 - 0.831372619 - - 0.5 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - 0 - Frame - null - null - null - null - - 0 - 0 - 0 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 300 - - 0 - -1 - 0 - - true - 1 - - - - false - - 0 - 0 - - - false - 0 - 0 - - 0.0862745121 - 0.0862745121 - 0.0862745121 - - 0.5 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - http://roblox.com/asset?id=158348114 - - 0 - 0 - - - 0 - 0 - 2 - 0 - - true - false - 0 - 0 - 0 - http://roblox.com/asset?id=158348114 - List - null - null - null - null - - 0 - 5 - 0 - 25 - - null - 0 - - 1 - 1 - 1 - - 0 - 5 - 2 - true - true - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -10 - 1 - -30 - - 0 - -1 - - http://roblox.com/asset?id=158348114 - 0 - 0 - true - 2 - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://143854846 - - 1 - 1 - 1 - - - 0 - 0 - - - 0 - 0 - - 0 - 0 - Blur - null - null - null - null - - 0 - 0 - 0 - 0 - - 0 - null - 0 - 4 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 1 - - - - - - true - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - true - 0 - Dragger - null - null - null - null - - 0 - 0 - 1 - -20 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 20 - 0 - 20 - - 0 - -1 - 0 - - true - 2 - - - - - false - - 0 - 0 - - - false - 0 - - 0.639215708 - 0.635294139 - 0.647058845 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - rbxassetid://334991942 - - 0.380392194 - 0.380392194 - 0.380392194 - - - 0 - 0 - - - 0 - 0 - - 0.5 - 0 - FakeDragger - null - null - null - null - - 0 - 0 - 1 - -20 - - 0 - null - 90 - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 20 - 0 - 20 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 1 - - - - - false - - 0 - 0 - - - false - 0 - - 0.333333343 - 0.333333343 - 1 - - 0.400000006 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://1222377259 - - 0.333333343 - 0.333333343 - 1 - - - 0 - 0 - - - 0 - 0 - - 0.300000012 - 0 - Glass - null - null - null - null - - 0 - 0 - 0 - 0 - - 0 - null - 0 - 4 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 0 - - - - - - 0 - 4 - - UICorner - -1 - - - - - - - false - - 0.5 - 0.5 - - - false - 0 - - 0.333333343 - 0.333333343 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - rbxassetid://6805220123 - - 0.784313798 - 0.784313798 - 0.784313798 - - - 0 - 0 - - - 0 - 0 - - 0.699999988 - 0 - Edge - null - null - null - null - - 0.5 - 0 - 0.5 - 0 - - 0 - null - 0 - 2 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 6 - 1 - 6 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 0 - - - - - - 0 - 4 - - UICorner - -1 - - - - - - - - - 0 - 6 - - UICorner - -1 - - - - - - - - false - - 0 - 0 - - - false - 0 - - 1 - 0.00784313772 - 0.00784313772 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - true - false - 0 - Entry - null - null - null - null - - 0 - 0 - 0 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 25 - - 0 - -1 - 0 - - false - 2 - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - true - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - Stat - null - null - null - null - - 0 - 0 - 0 - 0 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 70 - 1 - 0 - - 0 - -1 - - 50 - - 1 - 1 - 1 - - false - 18 - - 0.784313798 - 0.784313798 - 0.784313798 - - 0.899999976 - 0 - 0 - true - 1 - 0 - false - 2 - - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - - rbxasset://fonts/families/SourceSansPro.json - 400 - - rbxasset://fonts/SourceSansPro-Regular.ttf - - 0 - 1 - -1 - Nameb - null - null - null - null - - 0 - 30 - 0 - 2 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 100 - 1 - -4 - - 0 - -1 - - Sceleratis - - 1 - 1 - 1 - - false - 18 - - 0.784313798 - 0.784313798 - 0.784313798 - - 0.850000024 - 0 - 0 - true - 0 - 1 - true - 2 - - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - http://www.roblox.com/asset/?id=355277187 - - 1 - 1 - 1 - - - 0 - 0 - - - 0 - 0 - - 0 - 0 - ImageLabel - null - null - null - null - - 0 - 3 - 0 - 3 - - 0 - null - 0 - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 20 - 0 - 20 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - - - 1 - 0 - 1 - 0 - - true - 2 - - - - - false - - 0 - 0 - - - false - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - 0 - Stats - null - null - null - null - - 0 - 120 - 0 - 3 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - -125 - 1 - -4 - - 0 - -1 - 0 - - true - 2 - - - - - - - - NoEnv - -1 - - true - - - - diff --git a/MainModule/Client/UI/Aero/Base_Theme.rbxmx b/MainModule/Client/UI/Aero/Base_Theme.rbxmx new file mode 100644 index 0000000000..b73c0e3575 --- /dev/null +++ b/MainModule/Client/UI/Aero/Base_Theme.rbxmx @@ -0,0 +1,16 @@ + + true + null + nil + + + + 0 + false + Base_Theme + -1 + + Default + + + \ No newline at end of file diff --git a/MainModule/Client/UI/Aero/Chat.rbxmx b/MainModule/Client/UI/Aero/Chat.rbxmx new file mode 100644 index 0000000000..6c60a7c5d3 --- /dev/null +++ b/MainModule/Client/UI/Aero/Chat.rbxmx @@ -0,0 +1,3154 @@ + + true + null + nil + + + + false + 0 + true + false + 900000 + false + Chat + true + null + 1 + 2 + 0 + 0 + 0 + 0 + false + -1 + + 0 + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + true + 0 + Bubble + null + null + null + null + + 0.200000003 + 0 + 0.5 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 200 + 0 + 50 + + 0 + -1 + 0 + + false + 1 + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + rbxassetid://346048879 + + 1 + 1 + 1 + + + 0 + 0 + + + 0 + 0 + + 0 + true + 0 + ImageLabel + null + null + null + null + + 0 + 0 + 0 + 5 + + 0 + null + 0 + 1 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + -10 + + 0 + + + 2 + 2 + + + 2 + 2 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 1 + + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + TextLabel + null + null + null + null + + 0 + 5 + 0 + 5 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 1 + -10 + + 0 + -1 + + Yolo lol + + 0 + 0 + 0 + + 0 + false + 18 + + 0 + 0 + 0 + + 1 + 0 + 0 + true + 2 + 1 + true + 1 + + + + + + true + + 0 + 0 + + + false + 0 + + 0.588235319 + 0.223529428 + 0.690196097 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + true + true + 0 + Drag + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 350 + 0 + 30 + + 0 + -1 + 0 + + true + 1 + + + + false + + 0 + 0 + + + false + 0 + + 0.105882362 + 0.105882362 + 0.105882362 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + true + 0 + Frame + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 170 + + 0 + -1 + 0 + + true + 1 + + + + false + + 0 + 0 + + + false + 0 + + 0.0705882385 + 0.0705882385 + 0.0705882385 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + true + 0 + Frame + null + null + null + null + + 0 + 5 + 0 + 30 + + null + 0 + true + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 1 + -60 + + 0 + -1 + 0 + + true + 1 + + + + false + + 0 + 0 + + + false + 0 + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + http://roblox.com/asset?id=158348114 + + 0 + 0 + + + 0 + 0 + 0 + 200 + + 0 + true + false + false + 0 + 0 + true + 0 + http://roblox.com/asset?id=158348114 + Global + null + null + null + null + + 0 + 5 + 0 + 5 + + null + 0 + + 1 + 1 + 1 + + 0 + 2 + 2 + true + true + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 1 + -10 + + 0 + -1 + + http://roblox.com/asset?id=158348114 + 0 + 0 + true + 2 + + + + + false + + 0 + 0 + + + false + 0 + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + http://roblox.com/asset?id=158348114 + + 0 + 0 + + + 0 + 0 + 2 + 0 + + 0 + true + false + false + 0 + 0 + true + 0 + http://roblox.com/asset?id=158348114 + Admins + null + null + null + null + + 0 + 5 + 0 + 5 + + null + 0 + + 1 + 1 + 1 + + 0 + 2 + 2 + true + true + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 1 + -10 + + 0 + -1 + + http://roblox.com/asset?id=158348114 + 0 + 0 + false + 2 + + + + + false + + 0 + 0 + + + false + 0 + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + http://roblox.com/asset?id=158348114 + + 0 + 0 + + + 0 + 0 + 2 + 0 + + 0 + true + false + false + 0 + 0 + true + 0 + http://roblox.com/asset?id=158348114 + Local + null + null + null + null + + 0 + 5 + 0 + 5 + + null + 0 + + 1 + 1 + 1 + + 0 + 2 + 2 + true + true + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 1 + -10 + + 0 + -1 + + http://roblox.com/asset?id=158348114 + 0 + 0 + false + 2 + + + + + false + + 0 + 0 + + + false + 0 + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + http://roblox.com/asset?id=158348114 + + 0 + 0 + + + 0 + 0 + 2 + 0 + + 0 + true + false + false + 0 + 0 + true + 0 + http://roblox.com/asset?id=158348114 + Team + null + null + null + null + + 0 + 5 + 0 + 5 + + null + 0 + + 1 + 1 + 1 + + 0 + 2 + 2 + true + true + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 1 + -10 + + 0 + -1 + + http://roblox.com/asset?id=158348114 + 0 + 0 + false + 2 + + + + + false + + 0 + 0 + + + false + 0 + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + http://roblox.com/asset?id=158348114 + + 0 + 0 + + + 0 + 0 + 2 + 0 + + 0 + true + false + false + 0 + 0 + true + 0 + http://roblox.com/asset?id=158348114 + Cross + null + null + null + null + + 0 + 5 + 0 + 5 + + null + 0 + + 1 + 1 + 1 + + 0 + 2 + 2 + true + true + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 1 + -10 + + 0 + -1 + + http://roblox.com/asset?id=158348114 + 0 + 0 + false + 2 + + + + + + true + + 0 + 0 + + + false + 0 + + 0.0705882385 + 0.0705882385 + 0.0705882385 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + true + true + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + false + Chat + null + null + null + null + + 0.699999988 + 0.699999988 + 0.699999988 + + + + 0 + 5 + 1 + -30 + + false + null + 0 + true + 0 + 0 + 0 + 0 + false + null + 0 + true + + 1 + -10 + 0 + 25 + + 0 + -1 + + Click here or press "/" to start chatting + + 1 + 1 + 1 + + 0 + true + false + 14 + + 0 + 0 + 0 + + 0.699999988 + 0 + 0 + true + 0 + 1 + true + 1 + + + + + 0 + false + UIPadding + + 0 + 0 + + + 0 + 4 + + + 0 + 0 + + + 0 + 0 + + -1 + + + + + + + false + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + rbxassetid://334991942 + + 0.294117659 + 0.294117659 + 0.294117659 + + + 0 + 0 + + + 0 + 0 + + 0 + true + 0 + FakeDragger + null + null + null + null + + 1 + -20 + 1 + -20 + + 0 + null + 0 + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 20 + 0 + 20 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 1 + + + + + true + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + true + true + 0 + Dragger + null + null + null + null + + 1 + -20 + 1 + -20 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 20 + 0 + 20 + + 0 + -1 + 0 + + true + 2 + + + + + true + + 0 + 0 + + + true + false + 0 + + 0.0705882385 + 0.0705882385 + 0.0705882385 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + false + Global + null + null + null + null + + 0 + 5 + 0 + 10 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 60 + 0 + 20 + + 0 + -1 + 0 + + Global + + 1 + 1 + 1 + + 0 + false + 14 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 2 + 1 + true + 1 + + + + + true + + 0 + 0 + + + true + false + 0 + + 0.0705882385 + 0.0705882385 + 0.0705882385 + + 0.5 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + false + Local + null + null + null + null + + 0 + 75 + 0 + 10 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 50 + 0 + 20 + + 0 + -1 + 0 + + Local + + 1 + 1 + 1 + + 0 + false + 14 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 2 + 1 + true + 1 + + + + + true + + 0 + 0 + + + true + false + 0 + + 0.0705882385 + 0.0705882385 + 0.0705882385 + + 0.5 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + false + Cross + null + null + null + null + + 0 + 265 + 0 + 10 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 60 + 0 + 20 + + 0 + -1 + 0 + + Cross + + 1 + 1 + 1 + + 0 + false + 14 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 2 + 1 + true + 1 + + + + + true + + 0 + 0 + + + true + false + 0 + + 0.0705882385 + 0.0705882385 + 0.0705882385 + + 0.5 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + false + Team + null + null + null + null + + 0 + 135 + 0 + 10 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 50 + 0 + 20 + + 0 + -1 + 0 + + Team + + 1 + 1 + 1 + + 0 + false + 14 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 2 + 1 + true + 1 + + + + + true + + 0 + 0 + + + true + false + 0 + + 0.0705882385 + 0.0705882385 + 0.0705882385 + + 0.5 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + false + Admins + null + null + null + null + + 0 + 195 + 0 + 10 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 60 + 0 + 20 + + 0 + -1 + 0 + + Admins + + 1 + 1 + 1 + + 0 + false + 14 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 2 + 1 + true + 1 + + + + + false + + 0 + 0 + + + false + 0 + + 0.333333343 + 0.333333343 + 1 + + 0.400000006 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://1222377259 + + 0.333333343 + 0.333333343 + 1 + + + 0 + 0 + + + 0 + 0 + + 0.5 + true + 0 + Glass + null + null + null + null + + 0 + 0 + 0 + 0 + + 0 + null + 0 + 2 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 0 + + + + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + true + 0 + Entry + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 0 + 20 + + 0 + -1 + 0 + + false + 1 + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + Message + null + null + null + null + + 0 + 95 + 0 + 0 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -105 + 1 + 0 + + 0 + -1 + + asdfertyuiopkjhgdfsbvncmxhfgmn234234 + + 1 + 1 + 1 + + 0 + false + 18 + + 0 + 0 + 0 + + 0.699999988 + 0 + 0 + true + 0 + 0 + true + 1 + + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 700 + + rbxasset://fonts/SourceSansPro-Bold.ttf + + true + 0 + 1 + + + -1 + Nameb + null + null + null + null + + 0 + 0 + 0 + 0 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 90 + 0 + 20 + + 0 + -1 + + Sceleratis: + + 0.662745118 + 0.815686345 + 1 + + 0 + true + 18 + + 0 + 0 + 0 + + 0.800000012 + 0 + 0 + true + 0 + 0 + true + 1 + + + + + + 0 + false + Desc + -1 + + TestDesc + + + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + BoundTest + null + null + null + null + + 0 + 0 + 0 + 0 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 500 + 0 + 30 + + 0 + -1 + + wizle + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + false + 18 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 2 + 1 + false + 1 + + + + + + 0 + false + Config + -1 + + + + + + 0 + false + AllowMultiple + -1 + + false + + + + + + 0 + false + CanKeepAlive + -1 + + false + + + + + + 0 + false + + Code + {683A92C5-C02E-43C2-A6B6-CBB41BA34C54} + 100 then + naml = 100 + end + + tester.Text = v.Message + local mesl = tester.TextBounds.X + + clone.Message.Position = UDim2.new(0, naml, 0, 0) + clone.Message.Size = UDim2.new(1, -(naml + 10), 1, 0) + clone.Nameb.Size = UDim2.new(0, naml, 0, 20) + + clone.Visible = false + clone.Parent = globalTab + + local rows = math.floor((mesl + naml) / clone.AbsoluteSize.X) + rows = rows + 1 + if rows < 1 then + rows = 1 + end + if rows > 3 then + rows = 3 + end + --rows = rows+1 + + clone.Parent = nil + clone.Visible = true + + clone.Size = UDim2.new(1, 0, 0, rows * 20) + + if v.Private then + clone.Nameb.TextColor3 = Color3.new(0.58823529411765, 0.22352941176471, 0.69019607843137) + end + + if v.Mode == "Global" then + clone.Position = UDim2.new(0, 0, 0, globalNum * 20) + globalNum = globalNum + 1 + if rows > 1 then + globalNum = globalNum + rows - 1 + end + clone.Parent = globalTab + elseif v.Mode == "Team" then + clone.Position = UDim2.new(0, 0, 0, teamNum * 20) + teamNum = teamNum + 1 + if rows > 1 then + teamNum = teamNum + rows - 1 + end + clone.Parent = teamTab + elseif v.Mode == "Local" then + clone.Position = UDim2.new(0, 0, 0, localNum * 20) + localNum = localNum + 1 + if rows > 1 then + localNum = localNum + rows - 1 + end + clone.Parent = localTab + elseif v.Mode == "Admins" then + clone.Position = UDim2.new(0, 0, 0, adminsNum * 20) + adminsNum = adminsNum + 1 + if rows > 1 then + adminsNum = adminsNum + rows - 1 + end + clone.Parent = adminsTab + elseif v.Mode == "Cross" then + clone.Position = UDim2.new(0, 0, 0, crossNum * 20) + crossNum = crossNum + 1 + if rows > 1 then + crossNum = crossNum + rows - 1 + end + clone.Parent = crossTab + end + end + + globalTab.CanvasSize = UDim2.new(0, 0, 0, ((globalNum) * 20)) + teamTab.CanvasSize = UDim2.new(0, 0, 0, ((teamNum) * 20)) + localTab.CanvasSize = UDim2.new(0, 0, 0, ((localNum) * 20)) + adminsTab.CanvasSize = UDim2.new(0, 0, 0, ((adminsNum) * 20)) + crossTab.CanvasSize = UDim2.new(0, 0, 0, ((crossNum) * 20)) + + local glob = (((globalNum) * 20) - globalTab.AbsoluteWindowSize.Y) + local tea = (((teamNum) * 20) - teamTab.AbsoluteWindowSize.Y) + local loc = (((localNum) * 20) - localTab.AbsoluteWindowSize.Y) + local adm = (((adminsNum) * 20) - adminsTab.AbsoluteWindowSize.Y) + local cro = (((crossNum) * 20) - crossTab.AbsoluteWindowSize.Y) + + if glob < 0 then + glob = 0 + end + if tea < 0 then + tea = 0 + end + if loc < 0 then + loc = 0 + end + if adm < 0 then + adm = 0 + end + if cro < 0 then + cro = 0 + end + + globalTab.CanvasPosition = Vector2.new(0, glob) + teamTab.CanvasPosition = Vector2.new(0, tea) + localTab.CanvasPosition = Vector2.new(0, loc) + adminsTab.CanvasPosition = Vector2.new(0, adm) + crossTab.CanvasPosition = Vector2.new(0, cro) + end + end + + if not storedChats then + client.Variables.StoredChats = {} + storedChats = client.Variables.StoredChats + end + + gTable:Ready() + + local bubble = gui.Bubble + local toggle = gui.Toggle + local drag = gui.Drag + local frame = gui.Drag.Frame + local frame2 = gui.Drag.Frame.Frame + local box = gui.Drag.Frame.Chat + + local globalTab = gui.Drag.Frame.Frame.Global + local teamTab = gui.Drag.Frame.Frame.Team + local localTab = gui.Drag.Frame.Frame.Local + local adminsTab = gui.Drag.Frame.Frame.Admins + local crossTab = gui.Drag.Frame.Frame.Cross + + local global = gui.Drag.Frame.Global + local team = gui.Drag.Frame.Team + local localb = gui.Drag.Frame.Local + local admins = gui.Drag.Frame.Admins + local cross = gui.Drag.Frame.Cross + + if not nohide then + client.Variables.CustomChat = true + client.Variables.ChatEnabled = false + service.StarterGui:SetCoreGuiEnabled('Chat', false) + else + drag.Position = UDim2.new(0, 10, 1, -180) + end + + local dragger = gui.Drag.Frame.Dragger + local fakeDrag = gui.Drag.Frame.FakeDragger + + local boxFocused = false + local mode = "Global" + + local lastChat = 0 + local lastClick = 0 + local isAdmin = client.Remote.Get("CheckAdmin") + + if not isAdmin then + admins.BackgroundTransparency = 0.8 + admins.TextTransparency = 0.8 + cross.BackgroundTransparency = 0.8 + cross.TextTransparency = 0.8 + end + + if client.UI.Get("HelpButton") then + toggle.Position = UDim2.new(1, -90, 1, -45) + end + + local function openGlobal() + globalTab.Visible = true + teamTab.Visible = false + localTab.Visible = false + adminsTab.Visible = false + crossTab.Visible = false + + global.Text = "Global" + mode = "Global" + + global.BackgroundTransparency = 0 + team.BackgroundTransparency = 0.5 + localb.BackgroundTransparency = 0.5 + if isAdmin then + admins.BackgroundTransparency = 0.5 + admins.TextTransparency = 0 + cross.BackgroundTransparency = 0.5 + cross.TextTransparency = 0 + else + admins.BackgroundTransparency = 0.8 + admins.TextTransparency = 0.8 + cross.BackgroundTransparency = 0.8 + cross.TextTransparency = 0.8 + end + end + + local function openTeam() + globalTab.Visible = false + teamTab.Visible = true + localTab.Visible = false + adminsTab.Visible = false + crossTab.Visible = false + + team.Text = "Team" + mode = "Team" + + global.BackgroundTransparency = 0.5 + team.BackgroundTransparency = 0 + localb.BackgroundTransparency = 0.5 + admins.BackgroundTransparency = 0.5 + if isAdmin then + admins.BackgroundTransparency = 0.5 + admins.TextTransparency = 0 + cross.BackgroundTransparency = 0.5 + cross.TextTransparency = 0 + else + admins.BackgroundTransparency = 0.8 + admins.TextTransparency = 0.8 + cross.BackgroundTransparency = 0.8 + cross.TextTransparency = 0.8 + end + end + + local function openLocal() + globalTab.Visible = false + teamTab.Visible = false + localTab.Visible = true + adminsTab.Visible = false + crossTab.Visible = false + + localb.Text = "Local" + mode = "Local" + + global.BackgroundTransparency = 0.5 + team.BackgroundTransparency = 0.5 + localb.BackgroundTransparency = 0 + admins.BackgroundTransparency = 0.5 + if isAdmin then + admins.BackgroundTransparency = 0.5 + admins.TextTransparency = 0 + cross.BackgroundTransparency = 0.5 + cross.TextTransparency = 0 + else + admins.BackgroundTransparency = 0.8 + admins.TextTransparency = 0.8 + cross.BackgroundTransparency = 0.8 + cross.TextTransparency = 0.8 + end + end + + local function openAdmins() + globalTab.Visible = false + teamTab.Visible = false + localTab.Visible = false + adminsTab.Visible = true + crossTab.Visible = false + + admins.Text = "Admins" + mode = "Admins" + + global.BackgroundTransparency = 0.5 + team.BackgroundTransparency = 0.5 + localb.BackgroundTransparency = 0.5 + if isAdmin then + admins.BackgroundTransparency = 0 + admins.TextTransparency = 0 + cross.BackgroundTransparency = 0.5 + cross.TextTransparency = 0 + else + admins.BackgroundTransparency = 0.8 + admins.TextTransparency = 0.8 + cross.BackgroundTransparency = 0.8 + cross.TextTransparency = 0.8 + end + end + + local function openCross() + globalTab.Visible = false + teamTab.Visible = false + localTab.Visible = false + adminsTab.Visible = false + crossTab.Visible = true + + cross.Text = "Cross" + mode = "Cross" + + global.BackgroundTransparency = 0.5 + team.BackgroundTransparency = 0.5 + localb.BackgroundTransparency = 0.5 + if isAdmin then + admins.BackgroundTransparency = 0.5 + admins.TextTransparency = 0 + cross.BackgroundTransparency = 0 + cross.TextTransparency = 0 + else + admins.BackgroundTransparency = 0.8 + admins.TextTransparency = 0.8 + cross.BackgroundTransparency = 0.8 + cross.TextTransparency = 0.8 + end + end + + local function fadeIn() + --[[ + frame.BackgroundTransparency = 0.5 + frame2.BackgroundTransparency = 0.5 + box.BackgroundTransparency = 0.5 + for i=0.1,0.5,0.1 do + --wait(0.1) + frame.BackgroundTransparency = 0.5-i + frame2.BackgroundTransparency = 0.5-i + box.BackgroundTransparency = 0.5-i + end-- Disabled ]] + frame.BackgroundTransparency = 0 + frame2.BackgroundTransparency = 0 + box.BackgroundTransparency = 0 + fakeDrag.Visible = true + end + + local function fadeOut() + --[[ + frame.BackgroundTransparency = 0 + frame2.BackgroundTransparency = 0 + box.BackgroundTransparency = 0 + for i=0.1,0.5,0.1 do + --wait(0.1) + frame.BackgroundTransparency = i + frame2.BackgroundTransparency = i + box.BackgroundTransparency = i + end-- Disabled ]] + frame.BackgroundTransparency = 0.7 + frame2.BackgroundTransparency = 1 + box.BackgroundTransparency = 1 + fakeDrag.Visible = false + end + + fadeOut() + + frame.MouseEnter:Connect(function() + fadeIn() + end) + + frame.MouseLeave:Connect(function() + if not boxFocused then + fadeOut() + end + end) + + toggle.MouseButton1Click:Connect(function() + if drag.Visible then + drag.Visible = false + toggle.Image = "rbxassetid://417301749"--417285299" + else + drag.Visible = true + toggle.Image = "rbxassetid://417301773"--417285351" + end + end) + + global.MouseButton1Click:Connect(function() + openGlobal() + end) + + team.MouseButton1Click:Connect(function() + openTeam() + end) + + localb.MouseButton1Click:Connect(function() + openLocal() + end) + + admins.MouseButton1Click:Connect(function() + if isAdmin or os.clock() - lastClick > 5 then + isAdmin = client.Remote.Get("CheckAdmin") + if isAdmin then + openAdmins() + else + admins.BackgroundTransparency = 0.8 + admins.TextTransparency = 0.8 + end + lastClick = os.clock() + end + end) + + cross.MouseButton1Click:Connect(function() + if isAdmin or os.clock() - lastClick > 5 then + isAdmin = client.Remote.Get("CheckAdmin") + if isAdmin then + openCross() + else + cross.BackgroundTransparency = 0.8 + cross.TextTransparency = 0.8 + end + lastClick = os.clock() + end + end) + + box.FocusLost:Connect(function(enterPressed) + boxFocused = false + if enterPressed and not client.Variables.Muted then + if box.Text ~= '' and ((mode ~= "Cross" and os.clock() - lastChat >= 0.5) or (mode == "Cross" and os.clock() - lastChat >= 10)) then + if not client.Variables.Muted then + client.Remote.Send('ProcessCustomChat', box.Text, mode) + lastChat = os.clock() + end + elseif not ((mode ~= "Cross" and os.clock() - lastChat >= 0.5) or (mode == "Cross" and os.clock() - lastChat >= 10)) then + local tim + if mode == "Cross" then + tim = 10 - (os.clock() - lastChat) + else + tim = 0.5 - (os.clock() - lastChat) + end + tim = string.sub(tostring(tim), 1, 3) + client.Handlers.ChatHandler("SpamBot", `Sending too fast! Please wait {tim} seconds.`, "System") + end + box.Text = "Click here or press the '/' key to chat" + fadeOut() + if mode ~= "Cross" then + lastChat = os.clock() + end + end + end) + + box.Focused:Connect(function() + boxFocused = true + if box.Text == "Click here or press the '/' key to chat" then + box.Text = '' + end + fadeIn() + end) + + if not nohide then + service.UserInputService.InputBegan:Connect(function(InputObject) + local textbox = service.UserInputService:GetFocusedTextBox() + if not (textbox) and InputObject.UserInputType == Enum.UserInputType.Keyboard and InputObject.KeyCode == Enum.KeyCode.Slash then + if box.Text == "Click here or press the '/' key to chat" then + box.Text = '' + end + service.RunService.RenderStepped:Wait() + box:CaptureFocus() + end + end) + end + + local dragging = false + + local nx, ny = drag.AbsoluteSize.X, frame.AbsoluteSize.Y --450,200 + local defx, defy = nx, ny + mouse.Move:Connect(function(x, y) + if dragging then + nx = math.clamp(defx + (dragger.Position.X.Offset + 20), 1, 260) + ny = math.clamp(defy + (dragger.Position.Y.Offset + 20), 1, 100) + + frame.Size = UDim2.new(1, 0, 0, ny) + drag.Size = UDim2.new(0, nx, 0, 30) + end + end) + dragger.DragBegin:Connect(function(init) + dragging = true + end) + dragger.DragStopped:Connect(function(x, y) + dragging = false + defx = nx + defy = ny + dragger.Position = UDim2.new(1, -20, 1, -20) + UpdateChat() + end) + + UpdateChat() + +--[[ +if not service.UserInputService.KeyboardEnabled then + warn("User is on mobile :: CustomChat Disabled") + chatenabled = true + drag.Visible = false + service.StarterGui:SetCoreGuiEnabled('Chat',true) +end +--]] + + client.Handlers.RemoveCustomChat = function() + local chat = gui + if chat then + chat:Destroy() + client.Variables.ChatEnabled = true + service.StarterGui:SetCoreGuiEnabled('Chat', true) + end + end + + client.Handlers.ChatHandler = function(plr, message, mode) + if not message then + return + end + if string.sub(message, 1, 2) == '/e' then + return + end + if gui then + local player + + if plr and type(plr) == "userdata" then + player = plr + else + player = { + Name = tostring(plr or "System"), + TeamColor = BrickColor.White() + } + end + + if #message > 150 then + message = `{string.sub(message, 1, 150)}...` + end + + if mode then + if mode == "Private" or mode == "System" then + table.insert(storedChats, { + Color = player.TeamColor or BrickColor.White(), + Player = player.Name, + Message = message, + Mode = "Global", + Private = true + }) + table.insert(storedChats, { + Color = player.TeamColor or BrickColor.White(), + Player = player.Name, + Message = message, + Mode = "Team", + Private = true + }) + table.insert(storedChats, { + Color = player.TeamColor or BrickColor.White(), + Player = player.Name, + Message = message, + Mode = "Local", + Private = true + }) + table.insert(storedChats, { + Color = player.TeamColor or BrickColor.White(), + Player = player.Name, + Message = message, + Mode = "Admins", + Private = true + }) + table.insert(storedChats, { + Color = player.TeamColor or BrickColor.White(), + Player = player.Name, + Message = message, + Mode = "Cross", + Private = true + }) + else + local plr = player.Name + table.insert(storedChats, { + Color = player.TeamColor or BrickColor.White(), + Player = plr, + Message = message, + Mode = mode + }) + end + else + local plr = player.Name + table.insert(storedChats, { + Color = player.TeamColor or BrickColor.White(), + Player = plr, + Message = message, + Mode = "Global" + }) + end + + if mode == "Local" then + if not localTab.Visible then + localb.Text = "Local*" + end + elseif mode == "Team" then + if not teamTab.Visible then + team.Text = "Team*" + end + elseif mode == "Admins" then + if not adminsTab.Visible then + admins.Text = "Admins*" + end + elseif mode == "Cross" then + if not crossTab.Visible then + cross.Text = "Cross*" + end + else + if not globalTab.Visible then + global.Text = "Global*" + end + end + + if #storedChats >= 50 then + table.remove(storedChats, 1) + end + + UpdateChat() + + if not nohide then + if player and type(player) == "userdata" then + local char = player.Character + local head = char:FindFirstChild("Head") + + if head then + local cont = service.LocalContainer():FindFirstChild(`{player.Name}Bubbles`) + if not cont then + cont = Instance.new("BillboardGui", service.LocalContainer()) + cont.Name = `{player.Name}Bubbles` + cont.StudsOffset = Vector3.new(0, 2, 0) + cont.SizeOffset = Vector2.new(0, 0.5) + cont.Size = UDim2.new(0, 200, 0, 150) + end + + cont.Adornee = head + + local clone = bubble:Clone() + clone.TextLabel.Text = message + clone.Parent = cont + + local xsize = clone.TextLabel.TextBounds.X + 40 + if xsize > 400 then + xsize = 400 + end + clone.Size = UDim2.new(0, xsize, 0, 50) + + + if #cont:GetChildren() > 3 then + cont:GetChildren()[1]:Destroy() + end + + for i, v in cont:GetChildren() do + local xsize = v.TextLabel.TextBounds.X + 40 + if xsize > 400 then + xsize = 400 + end + v.Position = UDim2.new(0.5, -xsize / 2, 1, -(math.abs((i - 1) - #cont:GetChildren()) * 50)) + end + + local cam = workspace.CurrentCamera + local char = player.Character + local head = char:FindFirstChild("Head") + + Routine(function() + repeat + if not head then + break + end + local dist = (head.Position - cam.CFrame.p).Magnitude + if dist <= 50 then + clone.Visible = true + else + clone.Visible = false + end + task.wait(0.1) + until not clone.Parent or not clone or not head or not head.Parent or not char + end) + + task.wait(10) + + if clone then + clone:Destroy() + end + end + end + end + end + end + + local textbox = service.UserInputService:GetFocusedTextBox() + if textbox then + textbox:ReleaseFocus() + end +end]]> + -1 + + + + + + + true + + 0 + 0 + + + true + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxassetid://417301773 + + 1 + 1 + 1 + + + 0 + 0 + + + 0 + 0 + + 0.5 + true + 0 + false + Toggle + null + null + null + null + + 1 + -45 + 1 + -45 + + + 0 + null + 0 + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 40 + 0 + 40 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + true + 1 + + + + + false + + 0 + 0 + + + false + 0 + + 0.227450997 + 0.227450997 + 0.227450997 + + 0 + + 0.196078449 + 0.196078449 + 0.196078449 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/Arial.json + 400 + + rbxasset://fonts/arial.ttf + + true + 0 + 1 + + + -1 + Desc + null + null + null + null + + 1 + 150 + 0 + 10 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 110 + 0 + 20 + + 0 + -1 + + Test Desciption + + 1 + 1 + 1 + + 0 + false + 18 + + 0 + 0 + 0 + + 0.5 + 0 + 0 + true + 0 + 0 + false + 10 + + + + \ No newline at end of file diff --git a/MainModule/Client/UI/Aero/Console.rbxmx b/MainModule/Client/UI/Aero/Console.rbxmx new file mode 100644 index 0000000000..e2e7de20d9 --- /dev/null +++ b/MainModule/Client/UI/Aero/Console.rbxmx @@ -0,0 +1,957 @@ + + true + null + nil + + + + false + 0 + true + false + 9000000 + false + Console + true + null + 1 + 2 + 0 + 0 + 0 + 0 + false + -1 + + 0 + + + + false + + 0 + 0 + + + false + 0 + + 0.0862745121 + 0.0862745121 + 0.0862745121 + + 1 + + 0 + 0 + 0 + + 0 + 0 + 0 + false + false + false + true + 0 + Frame + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 140 + + 0 + -1 + 0 + + true + 1 + + + + false + + 0 + 0 + + + false + 0 + 0 + + 0.164705887 + 0.164705887 + 0.164705887 + + 1 + + 0 + 0 + 0 + + 0 + 0 + http://roblox.com/asset?id=158348114 + + 0 + 0 + + + 0 + 0 + 0 + 1000 + + 0 + true + false + false + 0 + 0 + true + 0 + http://roblox.com/asset?id=158348114 + PlayerList + null + null + null + null + + 1 + -125 + 0 + 35 + + null + 0 + + 1 + 1 + 1 + + 0 + 0 + 2 + true + true + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 120 + 0 + 100 + + 0 + -1 + + http://roblox.com/asset?id=158348114 + 0 + 0 + true + 2 + + + + + true + + 0 + 0 + + + false + 0 + + 0.0862745121 + 0.0862745121 + 0.0862745121 + + 1 + + 0.0862745121 + 0.0862745121 + 0.0862745121 + + 0 + 5 + 0 + false + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 600 + + rbxasset://fonts/SourceSansPro-Semibold.ttf + + true + 0 + 1 + + + -1 + false + TextBox + null + null + null + null + + 0.699999988 + 0.699999988 + 0.699999988 + + + + 0 + 5 + 0 + 5 + + false + null + 0 + true + 0 + 0 + 0 + 0 + false + null + 0 + true + + 1 + -10 + 0 + 30 + + 0 + -1 + + + + 1 + 1 + 1 + + 0 + true + false + 22 + + 0 + 0 + 0 + + 0.5 + 0 + 0 + true + 0 + 1 + true + 1 + + + + + false + + 0 + 0 + + + false + 0 + + 0.0862745121 + 0.0862745121 + 0.0862745121 + + 0.100000001 + + 0 + 0 + 0 + + 0 + 0 + 0 + true + false + false + true + 0 + TopBar + null + null + null + null + + 0 + 0 + 0 + -40 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 40 + + 0 + -1 + 0 + + true + 5 + + + + + false + + 0 + 0 + + + false + 0 + 0 + + 0.0862745121 + 0.0862745121 + 0.0862745121 + + 1 + + 0 + 0 + 0 + + 0 + 0 + http://roblox.com/asset?id=158348114 + + 0 + 0 + + + 0 + 0 + 0 + 1000 + + 0 + true + false + false + 0 + 0 + true + 0 + http://roblox.com/asset?id=158348114 + ScrollingFrame + null + null + null + null + + 0 + 5 + 0 + 35 + + null + 0 + + 1 + 1 + 1 + + 0 + 0 + 2 + true + true + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -130 + 0 + 100 + + 0 + -1 + + http://roblox.com/asset?id=158348114 + 0 + 0 + true + 2 + + + + + false + + 0 + 0 + + + false + 0 + + 0.0862745121 + 0.0862745121 + 0.0862745121 + + 0.300000012 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://1222377259 + + 0.0862745121 + 0.0862745121 + 0.0862745121 + + + 0 + 0 + + + 0 + 0 + + 0.5 + true + 0 + Glass + null + null + null + null + + 0 + 0 + 0 + 0 + + 0 + null + 0 + 4 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 0 + + + + + + true + + 0 + 0 + + + true + false + 0 + + 0.227450997 + 0.258823544 + 0.36470589 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + false + Entry + null + null + null + null + + 0 + 0 + 0 + 0 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 0 + 20 + + 0 + -1 + 0 + + :ff <player> + + 1 + 1 + 1 + + 0 + false + 18 + + 1 + 1 + 1 + + 0.899999976 + 0 + 0 + false + 0 + 1 + false + 3 + + + + + + 0 + false + Config + -1 + + + + + + 0 + false + CanKeepAlive + -1 + + false + + + + + + 0 + false + + Code + {E4E59A50-D56E-4FA1-8189-62846C708FB8} + 1 then + task.spawn(function() + local sound = Instance.new("Sound",service.LocalContainer()) + sound.SoundId = "rbxassetid://669596713" + sound.Volume = 0.2 + sound:Play() + task.wait(0.5) + sound:Destroy() + end) + client.Remote.Send('ProcessCommand',text.Text) + end + end + + close() + end) + + text.Changed:Connect(function(c) + if c == 'Text' and text.Text ~= '' and open then + if string.sub(text.Text, string.len(text.Text)) == " " then + if players:FindFirstChild("Entry 0") then + text.Text = `{string.sub(text.Text, 1, (string.len(text.Text) - 1))}{players["Entry 0"].Text} ` + elseif scroll:FindFirstChild("Entry 0") then + text.Text = string.split(scroll["Entry 0"].Text, "<")[1] + else + text.Text = text.Text..prefix + end + text.CursorPosition = string.len(text.Text) + 1 + text.Text = string.gsub(text.Text, " ", "") + end + scroll:ClearAllChildren() + players:ClearAllChildren() + + local nText = text.Text + if string.match(nText,`.*{batchKey}([^']+)`) then + nText = string.match(nText,`.*{batchKey}([^']+)`) + nText = string.match(nText,"^%s*(.-)%s*$") + end + + local pNum = 0 + local pMatch = string.match(nText,`.+{splitKey}(.*)$`) + for i,v in service.Players:GetPlayers() do + if (pMatch and string.sub(string.lower(tostring(v)),1,#pMatch) == string.lower(pMatch)) or string.match(nText,`{splitKey}$`) then + local new = entry:Clone() + new.Text = tostring(v) + new.Name = `Entry {pNum}` + new.TextXAlignment = "Right" + new.Visible = true + new.Parent = players + new.Position = UDim2.new(0,0,0,20*pNum) + new.MouseButton1Down:Connect(function() + text.Text = text.Text..tostring(v) + text:CaptureFocus() + end) + pNum = pNum+1 + end + end + + players.CanvasSize = UDim2.new(0,0,0,pNum*20) + + local num = 0 + for i,v in commands do + if string.sub(string.lower(v),1,#nText) == string.lower(nText) or string.find(string.lower(v), string.match(string.lower(nText),`^(.-){splitKey}`) or string.lower(nText), 1, true) then + if not scrollOpen then + scrollOpenTween:Play(); + --frame.Size = UDim2.new(1,0,0,140) + scroll.Visible = true + players.Visible = true + scrollOpen = true + end + local b = entry:Clone() + b.Visible = true + b.Parent = scroll + b.Text = v + b.Name = `Entry {num}` + b.Position = UDim2.new(0,0,0,20*num) + b.MouseButton1Down:Connect(function() + text.Text = b.Text + text:CaptureFocus() + end) + num = num+1 + end + end + frame.Size = UDim2.new(1, 0, 0, math.clamp((num*20)+40, 40, 140)) + scroll.CanvasSize = UDim2.new(0,0,0,num*20) + elseif c == 'Text' and text.Text == '' and opened then + scrollCloseTween:Play(); + --service.SafeTweenSize(frame,UDim2.new(1,0,0,40),nil,nil,0.3,nil,function() if scrollOpen then frame.Size = UDim2.new(1,0,0,140) end end) + scroll.Visible = false + players.Visible = false + scrollOpen = false + scroll:ClearAllChildren() + scroll.CanvasSize = UDim2.new(0,0,0,0) + end + end) + + BindEvent(service.UserInputService.InputBegan, function(InputObject) + local textbox = service.UserInputService:GetFocusedTextBox() + if not (textbox) and rawequal(InputObject.UserInputType, Enum.UserInputType.Keyboard) and InputObject.KeyCode.Name == (client.Variables.CustomConsoleKey or consoleKey) then + if opened then + close() + else + open() + end + client.Variables.ConsoleOpen = opened + end + end) + + gTable:Ready() +end]]> + -1 + + + + + + + 0 + false + AllowMultiple + -1 + + false + + + + + \ No newline at end of file diff --git a/MainModule/Client/UI/Aero/HelpButton.lua b/MainModule/Client/UI/Aero/HelpButton.lua new file mode 100644 index 0000000000..0ce5761b3b --- /dev/null +++ b/MainModule/Client/UI/Aero/HelpButton.lua @@ -0,0 +1,73 @@ +client = nil +cPcall = nil +Pcall = nil +Routine = nil +service = nil +gTable = nil + +--// All global vars will be wiped/replaced except script + +return function(data, env) + if env then + setfenv(1, env) + end + + local playergui = service.PlayerGui + local localplayer = service.Players.LocalPlayer + local gui = service.New("ScreenGui") + local toggle = service.New("ImageButton", gui) + local gTable = client.UI.Register(gui) + + local clickSound = service.New("Sound") + clickSound.Parent = toggle + clickSound.Volume = 0.25 + clickSound.SoundId = "rbxassetid://156286438" + + if client.UI.Get("HelpButton", gui, true) then + gui:Destroy() + gTable:Destroy() + return nil + end + + gTable.Name = "HelpButton" + gTable.CanKeepAlive = false + + toggle.Name = "Toggle" + toggle.BackgroundTransparency = 1 + toggle.Position = UDim2.new(1, -45, 1, -45) + toggle.Size = UDim2.new(0, 40, 0, 40) + toggle.Image = client.HelpButtonImage + toggle.ImageTransparency = 0.35 + toggle.Modal = client.Variables.ModalMode + toggle.ClipsDescendants = true + + --if client.UI.Get("Chat") then + -- toggle.Position = UDim2.new(1, -(45+40),1, -45) + --end + + toggle.MouseButton1Down:Connect(function() + task.spawn(function() + local effect = Instance.new("ImageLabel") + effect.Parent = toggle + effect.AnchorPoint = Vector2.new(0.5, 0.5) + effect.BorderSizePixel = 0 + effect.ZIndex = toggle.ZIndex + 1 + effect.BackgroundTransparency = 1 + effect.ImageTransparency = 0.8 + effect.Image = "rbxasset://textures/whiteCircle.png" + effect.Position = UDim2.new(0.5, 0, 0.5, 0) + effect:TweenSize(UDim2.new(0, toggle.AbsoluteSize.X * 2.5, 0, toggle.AbsoluteSize.X * 2.5), Enum.EasingDirection.Out, Enum.EasingStyle.Linear, 0.2) + task.wait(0.2) + effect:Destroy() + end) + local found = client.UI.Get("UserPanel",nil,true) + if found then + found.Object:Destroy() + else + clickSound:Play() + client.UI.Make("UserPanel",{}) + end + end) + + gTable:Ready() +end diff --git a/MainModule/Client/UI/Aero/Hint.rbxmx b/MainModule/Client/UI/Aero/Hint.rbxmx new file mode 100644 index 0000000000..b6f2be47d6 --- /dev/null +++ b/MainModule/Client/UI/Aero/Hint.rbxmx @@ -0,0 +1,575 @@ + + true + null + nil + + + false + + 0 + 0 + + + false + 0 + + 0.227450997 + 0.227450997 + 0.227450997 + + 0.699999988 + + 1 + 1 + 1 + + 0 + 0 + 0 + false + false + false + true + 0 + Hint + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 30 + + 0 + -1 + 0 + + true + 1 + + + + false + + 0 + 0 + + + false + 0 + + 0.0705882385 + 0.0705882385 + 0.0705882385 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + true + 0 + Frame + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 28 + + 0 + -1 + 0 + + true + 1 + + + + false + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + true + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + msg + null + null + null + null + + 0 + 5 + 0 + 5 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 1 + -10 + + 0 + -1 + + I need everyone who is testing to test like you have never tested before + + 1 + 1 + 1 + + 0 + false + 18 + + 1 + 1 + 1 + + 0.899999976 + 0.100000001 + 0 + true + 2 + 1 + true + 1 + + + + + false + + 0 + 0 + + + false + 0 + + 0.333333343 + 0.333333343 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://3131144254 + + 0.333333343 + 0.333333343 + 1 + + + 0 + 0 + + + 0 + 0 + + 0.600000024 + true + 0 + Gradient + null + null + null + null + + 0 + 0 + 0 + 0 + + 0 + null + 0 + 2 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 0 + + + + + false + + 0 + 0 + + + false + 0 + + 0.333333343 + 0.333333343 + 1 + + 0.800000012 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://1222377259 + + 0.333333343 + 0.333333343 + 1 + + + 0 + 0 + + + 0 + 0 + + 0.600000024 + true + 0 + Glass + null + null + null + null + + 0 + 0 + 0 + 0 + + 0 + null + 0 + 4 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 0 + + + + + + + 0 + false + Config + -1 + + + + + + 0 + false + + Code + {50030479-DCBC-4CC1-9EDF-B518421F939C} + 5 then lom = -2 end + UDim2.new(0,0,0,(#container:GetChildren()+lom)*28) + moveGuis(-1) + --gui:TweenPosition(UDim2.new(0,0,0,(#container:GetChildren()+lom)*28),nil,nil,0.3,true,function() if gui and gui.Parent then moveGuis(-1) end end) + + if #container:GetChildren()>5 then + local gui = container:GetChildren()[1] + moveGuis(-2,gui) + gui:Destroy() + --gui:TweenPosition(UDim2.new(0,0,0,-100),nil,nil,0.2,true,function() if gui and gui.Parent then gui:Destroy() end end) + end + + task.wait(data.Time or 5) + + if gui and gui.Parent then + moveGuis(-2,gui) + gui:Destroy() + --gui:TweenPosition(UDim2.new(0,0,0,-100),nil,nil,0.2,true,function() if gui and gui.Parent then gui:Destroy() end end) + end +end]]> + -1 + + + + + + + 0 + false + AllowMultiple + -1 + + true + + + + + + 0 + false + CanKeepAlive + -1 + + true + + + + + \ No newline at end of file diff --git a/MainModule/Client/UI/Aero/Message.rbxmx b/MainModule/Client/UI/Aero/Message.rbxmx new file mode 100644 index 0000000000..e2b37d3593 --- /dev/null +++ b/MainModule/Client/UI/Aero/Message.rbxmx @@ -0,0 +1,534 @@ + + true + null + nil + + + + false + 0 + true + false + 0 + false + Message + false + null + 1 + 2 + 0 + 0 + 0 + 0 + false + -1 + + 0 + + + + + 0 + false + Config + -1 + + + + + + 0 + false + + Code + {6F347222-5B55-4E8F-BAF3-24DB719CE3C1} + textFade then + msg.TextTransparency = msg.TextTransparency-textStep + ttl.TextTransparency = ttl.TextTransparency-textStep + end + if msg.TextStrokeTransparency>strokeFade then + msg.TextStrokeTransparency = msg.TextStrokeTransparency-strokeStep + ttl.TextStrokeTransparency = ttl.TextStrokeTransparency-strokeStep + end + if frame.BackgroundTransparency>frameFade then + frame.BackgroundTransparency = frame.BackgroundTransparency-frameStep + end + task.wait(1/60) + end + end + end + + local function fadeOut() + if not gone then + for i = 1,fadeSteps do + if blur.Size>0 then + blur.Size = blur.Size-blurStep + end + if msg.TextTransparency<1 then + msg.TextTransparency = msg.TextTransparency+textStep + ttl.TextTransparency = ttl.TextTransparency+textStep + end + if msg.TextStrokeTransparency<1 then + msg.TextStrokeTransparency = msg.TextStrokeTransparency+strokeStep + ttl.TextStrokeTransparency = ttl.TextStrokeTransparency+strokeStep + end + if frame.BackgroundTransparency<1 then + frame.BackgroundTransparency = frame.BackgroundTransparency+frameStep + end + task.wait(1/60) + end + blur.Enabled = false + blur:Destroy() + service.UnWrap(gui):Destroy() + gone = true + end + end + + gTable.CustomDestroy = function() + if not gone then + gone = true + pcall(fadeOut) + end + + pcall(function() service.UnWrap(gui):Destroy() end) + pcall(function() blur:Destroy() end) + end + + + --[[if not scroll then + msg.Text = message + else + Routine(function() + task.wait(0.5) + for i = 1, #message do + msg.Text = msg.Text .. message:sub(i,i) + task.wait(0.05) + end + end) + end--]] -- For now? + + fadeIn() + task.wait(tim or 5) + if not gone then + fadeOut() + end + + --[[ + + frame.Position = UDim2.new(0.5,-175,-1.5,0) + + gui.Parent = playergui + + frame:TweenPosition(UDim2.new(0.5,-175,0.25,0),nil,nil,0.5) + + if not scroll then + msg.Text = message + task.wait(tim or 10) + else + task.wait(0.5) + for i = 1, #message do + msg.Text = msg.Text .. message:sub(i,i) + task.wait(0.05) + end + task.wait(tim or 5) + end + + if frame then + frame:TweenPosition(UDim2.new(0.5,-175,-1.5,0),nil,nil,0.5) + task.wait(1) + gui:Destroy() + end + --]] +end]]> + -1 + + + + + + + 0 + false + AllowMultiple + -1 + + true + + + + + + 0 + false + CanKeepAlive + -1 + + true + + + + + + false + + 0 + 0 + + + false + 0 + + 0.333333343 + 0.333333343 + 1 + + 0.200000003 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + true + false + false + rbxassetid://1222377259 + + 0.333333343 + 0.333333343 + 1 + + + 0 + 0 + + + 0 + 0 + + 0.5 + true + 0 + Frame + null + null + null + null + + 0 + 0 + 0 + -50 + + 0 + null + 0 + 2 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 50 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 0 + + + + + 0 + + 0 + 4 + + false + UICorner + -1 + + + + + + false + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + Message + null + null + null + null + + 0 + 10 + 0 + 95 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -20 + 1 + -105 + + 0 + -1 + + Everyone report to high command. + + 1 + 1 + 1 + + 0 + false + 28 + + 0.313725501 + 0.313725501 + 0.313725501 + + 0.5 + 0 + 0 + true + 2 + 1 + true + 7 + + + + + false + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 700 + + rbxasset://fonts/SourceSansPro-Bold.ttf + + true + 0 + 1 + + + -1 + Title + null + null + null + null + + 0 + 10 + 0 + 60 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -20 + 0 + 30 + + 0 + -1 + + Message from Player1 + + 1 + 1 + 1 + + 0 + false + 24 + + 0.207843155 + 0.207843155 + 0.207843155 + + 0.5 + 0.100000001 + 0 + true + 2 + 1 + true + 7 + + + + + \ No newline at end of file diff --git a/MainModule/Client/UI/Aero/NoEnv.rbxmx b/MainModule/Client/UI/Aero/NoEnv.rbxmx new file mode 100644 index 0000000000..f61d2c1238 --- /dev/null +++ b/MainModule/Client/UI/Aero/NoEnv.rbxmx @@ -0,0 +1,16 @@ + + true + null + nil + + + + 0 + false + NoEnv + -1 + + true + + + \ No newline at end of file diff --git a/MainModule/Client/UI/Aero/Notif.rbxmx b/MainModule/Client/UI/Aero/Notif.rbxmx new file mode 100644 index 0000000000..73ad4ec34b --- /dev/null +++ b/MainModule/Client/UI/Aero/Notif.rbxmx @@ -0,0 +1,292 @@ + + true + null + nil + + + + false + 0 + true + false + 0 + false + Notif + true + null + 1 + 2 + 0 + 0 + 0 + 0 + false + -1 + + 0 + + + + + 0 + false + Config + -1 + + + + + + 0 + false + + Code + {7FAF7F51-BFCF-48C7-ADAE-8F50DCAA1FB3} + + -1 + + + + + + + 0 + false + AllowMultiple + -1 + + true + + + + + + 0 + false + CanKeepAlive + -1 + + false + + + + + + false + + 0 + 0 + + + false + 0 + + 0 + 0 + 0 + + 0.600000024 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + LABEL + null + null + null + null + + 0 + 0 + 0 + 0 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 30 + + 0 + -1 + + Label + + 1 + 1 + 1 + + 0 + false + 18 + + 0.784313798 + 0.784313798 + 0.784313798 + + 0.850000024 + 0 + 0 + true + 2 + 1 + true + 1 + + + + false + + 0 + 0 + + + false + 0 + + 0.333333343 + 0.333333343 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://3131144254 + + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + 0.5 + true + 0 + Gradient + null + null + null + null + + 0 + 0 + 0 + 0 + + 0 + null + 0 + 2 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 0 + + + + + \ No newline at end of file diff --git a/MainModule/Client/UI/Aero/Notification.rbxmx b/MainModule/Client/UI/Aero/Notification.rbxmx new file mode 100644 index 0000000000..d321043d20 --- /dev/null +++ b/MainModule/Client/UI/Aero/Notification.rbxmx @@ -0,0 +1,878 @@ + + true + null + nil + + + false + + 0 + 0 + + + false + 0 + + 0.0509803966 + 0.0509803966 + 0.0509803966 + + 0.25 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + true + false + false + true + 0 + Notification + null + null + null + null + + 0 + 0 + 1 + -65 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -5 + 0 + 60 + + 0 + -1 + 0 + + true + 9 + + + + + 0 + false + Config + -1 + + + + + + 0 + false + + Code + {0CF7425E-ABEA-4B57-BCF3-4404F70BD63D} + + -1 + + + + + + + 0 + false + AllowMultiple + -1 + + true + + + + + + 0 + false + CanKeepAlive + -1 + + true + + + + + + false + + 0 + 0 + + + false + 0 + + 0.0431372561 + 0.0431372561 + 0.0431372561 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + true + 0 + Frame + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 0 + + 0 + -1 + 0 + + true + 1 + + + + true + + 0 + 0 + + + true + false + 0 + + 0.764705896 + 0.129411772 + 0.137254909 + + 0.5 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/Arial.json + 400 + + rbxasset://fonts/arial.ttf + + true + 0 + 1 + + + -1 + false + Close + null + null + null + null + + 1 + -25 + 0 + 5 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 20 + 0 + 20 + + 0 + -1 + 0 + + x + + 0.862745106 + 0.862745106 + 0.862745106 + + 0 + false + 22 + + 0.784313798 + 0.784313798 + 0.784313798 + + 0.899999976 + 0 + 0 + true + 2 + 2 + true + 10 + + + + + 0 + + 0 + 4 + + false + UICorner + -1 + + + + + + + 0 + 0 1 0.784314 0.784314 0 1 0.764706 0.227451 0.235294 0 + false + true + UIGradient + + 0 + 0 + + 0 + -1 + + 0 0 0 1 0 0 + + + + + + true + + 0 + 0 + + + true + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + false + Main + null + null + null + null + + 0 + 5 + 0.400000006 + 0 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 0.529999971 + 0 + + 0 + -1 + 0 + + New private message from Sceleratis! Click here to open + + 1 + 1 + 1 + + 0 + true + 24 + + 0 + 0 + 0 + + 1 + 0 + 0 + true + 0 + 1 + true + 10 + + + + + 0 + false + 20 + 12 + UITextSizeConstraint + -1 + + + + + + + false + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 600 + + rbxasset://fonts/SourceSansPro-Semibold.ttf + + true + 0 + 1 + + + -1 + Title + null + null + null + null + + 0 + 5 + 0 + 5 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 15 + + 0 + -1 + + Notification + + 1 + 1 + 1 + + 0 + false + 19 + + 0.784313798 + 0.784313798 + 0.784313798 + + 0.850000024 + 0 + 0 + true + 0 + 1 + true + 10 + + + + + false + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 700 + + rbxasset://fonts/SourceSansPro-Bold.ttf + + true + 0 + 1 + + + -1 + Timer + null + null + null + null + + 1 + -60 + 0 + 5 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 30 + 0 + 20 + + 0 + -1 + + 60 + + 1 + 1 + 1 + + 0 + false + 18 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 1 + 1 + false + 10 + + + + + false + + 0 + 0 + + + false + 0 + + 0.0862745121 + 0.0862745121 + 0.0862745121 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://1222377259 + + 0.0862745121 + 0.0862745121 + 0.0862745121 + + + 0 + 0 + + + 0 + 0 + + 0.449999988 + true + 0 + Glass + null + null + null + null + + 0 + 0 + 0 + 0 + + 0 + null + 0 + 4 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 0 + + + + + + + 0 + + 0 + 4 + + false + UICorner + -1 + + + + + \ No newline at end of file diff --git a/MainModule/Client/UI/Aero/Notify.rbxmx b/MainModule/Client/UI/Aero/Notify.rbxmx new file mode 100644 index 0000000000..c8b5688dfc --- /dev/null +++ b/MainModule/Client/UI/Aero/Notify.rbxmx @@ -0,0 +1,795 @@ + + true + null + nil + + + + false + 0 + true + false + 0 + false + Notify + false + null + 1 + 2 + 0 + 0 + 0 + 0 + false + -1 + + 0 + + + + + 0 + false + Config + -1 + + + + + + 0 + false + + Code + {B8025F9E-65C7-4450-92A8-7828E92C095F} + + -1 + + + + + + + 0 + false + AllowMultiple + -1 + + true + + + + + + 0 + false + CanKeepAlive + -1 + + true + + + + + + false + + 0.5 + 0 + + + false + 0 + + 0.333333343 + 0.333333343 + 1 + + 1 + + 0.223529428 + 0.356862754 + 0.43921572 + + 0 + 0 + 0 + true + false + false + true + 0 + Frame + null + null + null + null + + 0.5 + 0 + 0.25 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 0 + 0 + 150 + + 0 + -1 + 0 + + true + 9 + + + + false + + 0 + 0 + + + false + 0 + + 0 + 0 + 0 + + 0.400000006 + + 0.223529428 + 0.356862754 + 0.43921572 + + 0 + 0 + 0 + true + false + false + true + 0 + Frame + null + null + null + null + + 0 + 5 + 0 + 5 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 1 + -10 + + 0 + -1 + 0 + + true + 9 + + + + false + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 600 + + rbxasset://fonts/SourceSansPro-Semibold.ttf + + true + 0 + 1 + + + -1 + Title + null + null + null + null + + 0 + 10 + 0 + 10 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -20 + 0 + 20 + + 0 + -1 + + Message from Player1 + + 1 + 1 + 1 + + 0 + false + 18 + + 0.713725507 + 0.713725507 + 0.713725507 + + 0.800000012 + 0.100000001 + 0 + true + 2 + 1 + true + 9 + + + + + false + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 300 + + rbxasset://fonts/SourceSansPro-Light.ttf + + true + 0 + 1 + + + -1 + Message + null + null + null + null + + 0 + 10 + 0 + 30 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -20 + 1 + -40 + + 0 + -1 + + Everyone report to high command. + + 1 + 1 + 1 + + 0 + false + 22 + + 0.784313798 + 0.784313798 + 0.784313798 + + 0.800000012 + 0 + 0 + true + 2 + 1 + true + 9 + + + + + + 0 + + 0 + 6 + + false + UICorner + -1 + + + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://143854846 + + 1 + 1 + 1 + + + 0 + 0 + + + 0 + 0 + + 0 + true + 0 + Blur + null + null + null + null + + 0 + 0 + 0 + 0 + + 0 + null + 0 + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 1 + + + + + + false + + 0 + 0 + + + false + 0 + + 0.333333343 + 0.333333343 + 1 + + 0.5 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://1222377259 + + 0.333333343 + 0.333333343 + 1 + + + 0 + 0 + + + 0 + 0 + + 0.5 + true + 0 + Glass + null + null + null + null + + 0 + 0 + 0 + 0 + + 0 + null + 0 + 2 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 0 + + + + + 0 + + 0 + 6 + + false + UICorner + -1 + + + + + + + false + + 0.5 + 0.5 + + + false + 0 + + 0.333333343 + 0.333333343 + 1 + + 0.899999976 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://6805220123 + + 0.784313798 + 0.784313798 + 0.784313798 + + + 0 + 0 + + + 0 + 0 + + 0.699999988 + true + 0 + Edge + null + null + null + null + + 0.5 + 0 + 0.5 + 0 + + 0 + null + 0 + 2 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 4 + 1 + 4 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 0 + + + + + 0 + + 0 + 4 + + false + UICorner + -1 + + + + + + + \ No newline at end of file diff --git a/MainModule/Client/UI/Aero/Output.rbxmx b/MainModule/Client/UI/Aero/Output.rbxmx new file mode 100644 index 0000000000..762072d8e3 --- /dev/null +++ b/MainModule/Client/UI/Aero/Output.rbxmx @@ -0,0 +1,375 @@ + + true + null + nil + + + + false + 0 + true + false + 0 + false + Output + false + null + 1 + 2 + 0 + 0 + 0 + 0 + false + -1 + + 0 + + + + false + + 0 + 0 + + + false + 0 + + 0.333333343 + 0.333333343 + 1 + + 0.300000012 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + true + 0 + Main + null + null + null + null + + 0 + 0 + 0.349999994 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 50 + + 0 + -1 + 0 + + true + 10 + + + + false + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + Title + null + null + null + null + + 0 + 0 + 0 + 5 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 15 + + 0 + -1 + + An error occured! + + 1 + 1 + 1 + + 0 + false + 18 + + 0 + 0 + 0 + + 1 + 0 + 0 + true + 2 + 1 + false + 10 + + + + + false + + 0 + 0 + + + false + 0 + + 0 + 0 + 0 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + Message + null + null + null + null + + 0 + 0 + 0 + 4 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + -8 + + 0 + -1 + + Error: Message missing + + 1 + 0.450980395 + 0.450980395 + + 0 + false + 24 + + 1 + 0.450980395 + 0.450980395 + + 0.699999988 + 0 + 0 + true + 2 + 1 + true + 10 + + + + + + + 0 + false + Config + -1 + + + + + + 0 + false + + Code + {A01C056B-1941-47DD-ABC4-F26BC1C33072} + + -1 + + + + + + + 0 + false + AllowMultiple + -1 + + true + + + + + + 0 + false + CanKeepAlive + -1 + + true + + + + + \ No newline at end of file diff --git a/MainModule/Client/UI/Aero/PlayerList.rbxmx b/MainModule/Client/UI/Aero/PlayerList.rbxmx new file mode 100644 index 0000000000..e5fc4a29a7 --- /dev/null +++ b/MainModule/Client/UI/Aero/PlayerList.rbxmx @@ -0,0 +1,1585 @@ + + true + null + nil + + + + false + 0 + true + false + 900000 + false + PlayerList + true + null + 1 + 2 + 0 + 0 + 0 + 0 + false + -1 + + 0 + + + + + 0 + false + Config + -1 + + + + + + 0 + false + AllowMultiple + -1 + + false + + + + + + 0 + false + + Code + {03B045CB-1E47-4A96-8B09-DCF4D3BA16B1} + 1 then + local team = entry:Clone() + team.Visible = true + team.Position = UDim2.new(0,0,0,numEntries*25) + team.Nameb.Text = i + team.BackgroundTransparency = 0.5 + team.BackgroundColor3 = v.Color.Color + team.ImageLabel.Visible = false + team.Parent = list + if string.len(i)>15 then + team.Nameb.TextScaled = true + end + if #v.StatNames>0 then + team.Stats.Visible = true + team.Stats.Size = UDim2.new(0,70*(#v.Stats-1),1,0) + local statEnt = team.Stat + for stat,k in v.StatNames do + local new = statEnt:Clone() + new.Parent = team.Stats + new.Visible = true + local val = v.Stats[k] + if val and type(val)=="number" then + new.Text = val + else + new.Text = "" + end + new.Position = UDim2.new(0,(#team.Stats:GetChildren()-1)*70,0,0) + end + else + team.Stats.Visible = false + end + numEntries = numEntries+1 + end + for k,p in v.Players do + local player = entry:Clone() + player.Visible = true + player.Position = UDim2.new(0,0,0,numEntries*25) + + local image = player:FindFirstChild("ImageLabel") + local pstats = player:FindFirstChild("Stats") + local nameb = player:FindFirstChild("Nameb") + local pstat = player:FindFirstChild("Stat") + + if nameb then + nameb.Text = p.Name + end + + player.Parent = list + + if string.len(p.Name)>15 then + nameb.TextScaled = true + end + + local custom = specialPeople[tostring(p.UserId)] + if image then + if custom then + image.Image = `http://www.roblox.com/asset/?id={custom}` + image.Visible = true + elseif p.UserId==game.CreatorId then + image.Image = 'rbxasset://textures/ui/icon_placeowner.png' + image.Visible = true + elseif p:IsInGroup(1200769) then + image.Image = 'http://www.roblox.com/asset/?id=99727663' + image.Visible = true + elseif localplayer:IsFriendsWith(p.UserId) and p~=localplayer then + image.Image = 'http://www.roblox.com/asset/?id=99749771' + image.Visible = true + elseif p.MembershipType==Enum.MembershipType.BuildersClub then + image.Image = 'rbxasset://textures/ui/TinyBcIcon.png' + image.Visible = true + elseif p.MembershipType==Enum.MembershipType.TurboBuildersClub then + image.Image = 'rbxasset://textures/ui/TinyTbcIcon.png' + image.Visible = true + elseif p.MembershipType==Enum.MembershipType.OutrageousBuildersClub then + image.Image = 'rbxasset://textures/ui/TinyObcIcon.png' + image.Visible = true + else + image.Visible = false + end + end + + local stats = p:FindFirstChild("leaderstats") + if stats and pstats and pstat then + stats = stats:GetChildren() + pstats.Visible = true + local statEnt = pstat + for stat,k in stats do + local new = statEnt:Clone() + new.Visible = true + new.Parent = pstats + new.Text = k.Value + --[[ + local event + event = k.Changed:Connect(function() + if k and k.Parent and new and new.Parent then + --new.Text = k.Value + populate() + else + event:Disconnect() + end + end) + --]] + new.Position = UDim2.new(0,(#pstats:GetChildren()-1)*70,0,0) + end + elseif pstats then + pstats.Visible = false + end + numEntries = numEntries+1 + end + end + + if not dontSize then + local noomis = numEntries + if noomis>10 then + noomis=10 + end + local newy = (noomis*25)+30 + ny = newy + defy = newy + frame.Size = UDim2.new(0,nx,0,newy) + end + + list.CanvasSize = UDim2.new(0, 0, 0, ((numEntries)*20)) + end + + drag.Position = UDim2.new(1,-nx,0,0) + + fadeOut() + + frame.MouseEnter:Connect(function() + fadeIn() + end) + + frame.MouseLeave:Connect(function() + fadeOut() + end) + + service.UserInputService.InputBegan:Connect(function(InputObject) + local textbox = service.UserInputService:GetFocusedTextBox() + if not (textbox) and InputObject.UserInputType==Enum.UserInputType.Keyboard and InputObject.KeyCode == Enum.KeyCode.Tab then + if drag.Visible then + drag.Visible = false + else + drag.Visible = true + end + end + end) + + mouse.Move:Connect(function(x,y) + if dragging then + np=defp+(dragger.Position.X.Offset) + nx=defx-(dragger.Position.X.Offset) + ny=defy+(dragger.Position.Y.Offset+20) + + if nx<100 then + nx=100 + end + + if ny<50 then + ny=50 + end + + frame.Size=UDim2.new(1, 0, 0, ny) + drag.Size=UDim2.new(0, nx, 0, 30) + + if nx>100 then + drag.Position=UDim2.new(drag.Position.X.Scale,np,drag.Position.Y.Scale,drag.Position.Y.Offset) + end + end + end) + + dragger.DragBegin:Connect(function(init) + defp = drag.Position.X.Offset + dragging = true + dontSize = true + end) + + dragger.DragStopped:Connect(function(x,y) + dragging = false + nx,ny,np=drag.AbsoluteSize.X,frame.AbsoluteSize.Y,nil--350,300 + defx,defy,defp=nx,ny,drag.Position.X.Offset + dragger.Position = UDim2.new(0,0,1,-20) + --populate() + end) + + --[[ + for k,p in service.Players:GetPlayers() do + p.Changed:Connect(populate) + p.ChildAdded:Connect(function(c) + populate() + if c.Name=="leaderstats" then + c.ChildAdded:Connect(populate) + end + end) + end + + service.Players.PlayerAdded:Connect(function(p) + populate() + p.Changed:Connect(populate) + p.ChildAdded:Connect(function(c) + if c.Name=="leaderstats" then + c.ChildAdded:Connect(populate) + end + end) + task.wait(0.5) + populate() + end) + + service.Teams.ChildAdded:Connect(populate) + service.Teams.ChildRemoved:Connect(populate) + + task.wait(0.5) + populate() + --]] + + while wait(0.5) do + populate() + end +end]]> + -1 + + + + + + + 0 + false + CanKeepAlive + -1 + + false + + + + + + true + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + true + true + 0 + Drag + null + null + null + null + + 1 + -160 + 0 + 10 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 150 + 0 + 25 + + 0 + -1 + 0 + + true + 1 + + + + false + + 0 + 0 + + + false + 0 + + 0.274509817 + 0.274509817 + 0.831372619 + + 0.5 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + true + 0 + Frame + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 300 + + 0 + -1 + 0 + + true + 1 + + + + false + + 0 + 0 + + + false + 0 + 0 + + 0.0862745121 + 0.0862745121 + 0.0862745121 + + 0.5 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + http://roblox.com/asset?id=158348114 + + 0 + 0 + + + 0 + 0 + 2 + 0 + + 0 + true + false + false + 0 + 0 + true + 0 + http://roblox.com/asset?id=158348114 + List + null + null + null + null + + 0 + 5 + 0 + 25 + + null + 0 + + 1 + 1 + 1 + + 0 + 5 + 2 + true + true + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 1 + -30 + + 0 + -1 + + http://roblox.com/asset?id=158348114 + 0 + 0 + true + 2 + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://143854846 + + 1 + 1 + 1 + + + 0 + 0 + + + 0 + 0 + + 0 + true + 0 + Blur + null + null + null + null + + 0 + 0 + 0 + 0 + + 0 + null + 0 + 4 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 1 + + + + + + true + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + true + true + 0 + Dragger + null + null + null + null + + 0 + 0 + 1 + -20 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 20 + 0 + 20 + + 0 + -1 + 0 + + true + 2 + + + + + false + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + rbxassetid://334991942 + + 0.380392194 + 0.380392194 + 0.380392194 + + + 0 + 0 + + + 0 + 0 + + 0.5 + true + 0 + FakeDragger + null + null + null + null + + 0 + 0 + 1 + -20 + + 0 + null + 90 + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 20 + 0 + 20 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 1 + + + + + false + + 0 + 0 + + + false + 0 + + 0.333333343 + 0.333333343 + 1 + + 0.400000006 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://1222377259 + + 0.333333343 + 0.333333343 + 1 + + + 0 + 0 + + + 0 + 0 + + 0.300000012 + true + 0 + Glass + null + null + null + null + + 0 + 0 + 0 + 0 + + 0 + null + 0 + 4 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 0 + + + + + 0 + + 0 + 4 + + false + UICorner + -1 + + + + + + + false + + 0.5 + 0.5 + + + false + 0 + + 0.333333343 + 0.333333343 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://6805220123 + + 0.784313798 + 0.784313798 + 0.784313798 + + + 0 + 0 + + + 0 + 0 + + 0.699999988 + true + 0 + Edge + null + null + null + null + + 0.5 + 0 + 0.5 + 0 + + 0 + null + 0 + 2 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 6 + 1 + 6 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 0 + + + + + 0 + + 0 + 4 + + false + UICorner + -1 + + + + + + + + 0 + + 0 + 6 + + false + UICorner + -1 + + + + + + + + false + + 0 + 0 + + + false + 0 + + 1 + 0.00784313772 + 0.00784313772 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + true + false + false + true + 0 + Entry + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 25 + + 0 + -1 + 0 + + false + 2 + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + true + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + Stat + null + null + null + null + + 0 + 0 + 0 + 0 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 70 + 1 + 0 + + 0 + -1 + + 50 + + 1 + 1 + 1 + + 0 + false + 18 + + 0.784313798 + 0.784313798 + 0.784313798 + + 0.899999976 + 0 + 0 + true + 1 + 0 + false + 2 + + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + Nameb + null + null + null + null + + 0 + 30 + 0 + 2 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 100 + 1 + -4 + + 0 + -1 + + Sceleratis + + 1 + 1 + 1 + + 0 + false + 18 + + 0.784313798 + 0.784313798 + 0.784313798 + + 0.850000024 + 0 + 0 + true + 0 + 1 + true + 2 + + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + http://www.roblox.com/asset/?id=355277187 + + 1 + 1 + 1 + + + 0 + 0 + + + 0 + 0 + + 0 + true + 0 + ImageLabel + null + null + null + null + + 0 + 3 + 0 + 3 + + 0 + null + 0 + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 20 + 0 + 20 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 2 + + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + true + 0 + Stats + null + null + null + null + + 0 + 120 + 0 + 3 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -125 + 1 + -4 + + 0 + -1 + 0 + + true + 2 + + + + + \ No newline at end of file diff --git a/MainModule/Client/UI/Aero/Window.rbxmx b/MainModule/Client/UI/Aero/Window.rbxmx new file mode 100644 index 0000000000..5aad998d65 --- /dev/null +++ b/MainModule/Client/UI/Aero/Window.rbxmx @@ -0,0 +1,6515 @@ + + true + null + nil + + + + false + 0 + true + false + 100 + false + Window + false + null + 1 + 2 + 0 + 0 + 0 + 0 + false + -1 + + 0 + + + + false + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/Arial.json + 400 + + rbxasset://fonts/arial.ttf + + true + 0 + 1 + + + -1 + StringEntry + null + null + null + null + + 0 + 0 + 0 + 20 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 0 + 20 + + 0 + -1 + + String: + + 1 + 1 + 1 + + 0 + true + 24 + + 0 + 0 + 0 + + 0.800000012 + -7.30156913e-08 + 0 + true + 0 + 0 + false + 2 + + + + true + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + true + false + false + false + + rbxasset://fonts/families/Arial.json + 400 + + rbxasset://fonts/arial.ttf + + true + 0 + 1 + + + -1 + false + Box + null + null + null + null + + 0.699999988 + 0.699999988 + 0.699999988 + + + + 1 + -100 + 0 + 0 + + false + null + 0 + true + 0 + 0 + 0 + 0 + false + null + 0 + true + + 0 + 100 + 1 + 0 + + 0 + -1 + + Text + + 1 + 1 + 1 + + 0 + true + false + 18 + + 0 + 0 + 0 + + 1 + 0 + 0 + true + 1 + 1 + true + 2 + + + + + + 0 + false + Desc + -1 + + TestDesc + + + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + true + 0 + Slider + null + null + null + null + + 0 + 0 + 0.75 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 20 + + 0 + -1 + 0 + + false + 2 + + + + + 0 + false + Percentage + -1 + + 0 + + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + true + true + 0 + Drag + null + null + null + null + + 0 + -10 + 0.5 + -10 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 20 + 0 + 20 + + 0 + -1 + 0 + + true + 2 + + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + rbxassetid://118129065 + + 0.921568692 + 0.921568692 + 0.921568692 + + + 0 + 0 + + + 0 + 0 + + 0 + true + 0 + Slider + null + null + null + null + + 0 + -10 + 0.5 + -10 + + 0 + null + 0 + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 20 + 0 + 20 + + 0 + + + 100 + 100 + + + 100 + 100 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 2 + + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + rbxassetid://939118523 + + 1 + 1 + 1 + + + 0 + 0 + + + 0 + 0 + + 0.300000012 + true + 0 + SliderBar + null + null + null + null + + 0 + 0 + 0.5 + -10 + + 0 + null + 0 + 1 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 20 + + 0 + + + 500 + 100 + + + 500 + 100 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 2 + + + + + + false + + 0 + 0 + + + false + 0 + + 0.325490206 + 0.325490206 + 0.325490206 + + 0 + + 0.325490206 + 0.325490206 + 0.325490206 + + 0 + 2 + 0 + false + false + false + true + 0 + Desc + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + true + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 110 + 0 + 25 + + 0 + -1 + 0 + + false + 999999 + + + + false + + 0 + 0 + + + false + 0 + + 0 + 0 + 0 + + 1 + + 0.196078449 + 0.196078449 + 0.196078449 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + Label + null + null + null + null + + 0 + 5 + 0 + 5 + + true + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 1 + -10 + + 0 + -1 + + Test Desciption + + 1 + 1 + 1 + + 0 + false + 18 + + 0 + 0 + 0 + + 0.5 + 0 + 0 + true + 0 + 0 + true + 999999 + + + + + + false + + 0 + 0 + + + false + 0 + + 0.188235313 + 0.188235313 + 0.188235313 + + 0 + + 0.301960796 + 0.301960796 + 0.301960796 + + 0 + 1 + 0 + false + false + false + true + 0 + Dropdown + null + null + null + null + + 0.75 + 0 + 0.25 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 150 + 0 + 20 + + 0 + -1 + 0 + + false + 1 + + + + true + + 0 + 0 + + + true + false + 0 + + 1 + 1 + 1 + + 1 + + 0.207843155 + 0.207843155 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 600 + + rbxasset://fonts/SourceSansPro-Semibold.ttf + + true + 0 + 1 + + + -1 + false + dSelected + null + null + null + null + + 0 + 0 + 0 + 0 + + false + null + 0 + true + true + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -30 + 1 + 0 + + 0 + -1 + 0 + + Selected Option + + 0.933333397 + 0.933333397 + 0.933333397 + + 0 + false + 16 + + 0 + 0 + 0 + + 1 + 0 + 0 + true + 2 + 1 + true + 1 + + + + + true + + 0 + 0 + + + true + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxassetid://1317396937 + + 1 + 1 + 1 + + + 0 + 0 + + + 0 + 0 + + 0 + true + 0 + false + Down + null + null + null + null + + 1 + -30 + 0.5 + -15 + + + 0 + null + 0 + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 30 + 0 + 30 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + true + 1 + + + + + false + + 0 + 0 + + + false + 0 + + 0.129411772 + 0.129411772 + 0.129411772 + + 0 + + 0.301960796 + 0.301960796 + 0.301960796 + + 0 + 0 + 0 + false + false + false + true + 0 + Menu + null + null + null + null + + 0 + 0 + 1 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 100 + + 0 + -1 + 0 + + true + 1 + + + + + + + 0 + false + Config + -1 + + + + + + 0 + false + CanKeepAlive + -1 + + true + + + + + + 0 + false + AllowMultiple + -1 + + true + + + + + + 0 + false + + Code + {CA23F0F4-6492-4BED-A9F4-1CE75AABC170} + (farXChild.AbsolutePosition.X + farXChild.AbsoluteSize.X) then + farXChild = v + end + + if not farYChild or (v.AbsolutePosition.Y + v.AbsoluteSize.Y) > (farXChild.AbsolutePosition.Y + farXChild.AbsoluteSize.Y) then + farYChild = v + end + end + end + + return ((not farXChild or not farYChild) and UDim2.new(0,0,0,0)) or UDim2.new(farXChild.Position.X.Scale, farXChild.Position.X.Offset + farXChild.AbsoluteSize.X, farYChild.Position.Y.Scale, farYChild.Position.Y.Offset + farYChild.AbsoluteSize.Y) + end + + function LoadChildren(Obj, Children) + if Children then + local runWhenDone = Children.RunWhenDone and functionify(Children.RunWhenDone, Obj) + for class,data in Children do + if type(data) == "table" then + if not data.Parent then data.Parent = Obj end + create(data.Class or data.ClassName or class, data) + elseif type(data) == "function" or type(data) == "string" and not runWhenDone then + runWhenDone = functionify(data, Obj) + end + end + + if runWhenDone then + runWhenDone(Obj) + end + end + end + + function BringToFront() + for i,v in ipairs(Player.PlayerGui:GetChildren()) do + if v:FindFirstChild("__ADONIS_WINDOW") then + v.DisplayOrder = 100 + end + end + + GUI.DisplayOrder = 101 + end + + function addTitleButton(data) + local startPos = 1 + local realPos + local new + local original = Hide + + if Hide.Visible then + startPos = startPos+1 + end + + if Close.Visible then + startPos = startPos+1 + end + + if Refresh.Visible then + startPos = startPos+1 + end + + realPos = UDim2.new(1, -(((30*startPos)+5)+(startPos-1)), 0, 3) + data.Position = data.Position or realPos + data.Size = data.Size or original.Size + data.BackgroundColor3 = data.BackgroundColor3 or original.BackgroundColor3 + data.BackgroundTransparency = data.BackgroundTransparency or original.BackgroundTransparency + data.BorderSizePixel = data.BorderSizePixel or original.BorderSizePixel + data.ZIndex = data.ZIndex or original.ZIndex + data.TextColor3 = data.TextColor3 or original.TextColor3 + data.TextScaled = data.TextScaled or original.TextScaled + data.TextStrokeColor3 = data.TextStrokeColor3 or original.TextStrokeColor3 + data.TextSize = data.TextSize or original.TextSize + data.TextTransparency = data.TextTransparency or original.TextTransparency + data.TextStrokeTransparency = data.TextStrokeTransparency or original.TextStrokeTransparency + data.TextScaled = data.TextScaled or original.TextScaled + data.TextWrapped = data.TextWrapped or original.TextWrapped + --data.TextXAlignment = data.TextXAlignment or original.TextXAlignment + --data.TextYAlignment = data.TextYAlignment or original.TextYAlignment + data.Font = data.Font or original.Font + data.Parent = Drag + + local newTitleButton = create("TextButton", data) + create("UICorner", {CornerRadius = UDim.new(0,4);Parent = newTitleButton}) + + newTitleButton.MouseButton1Down:Connect(function() RippleEffect(newTitleButton) end) + return newTitleButton + end + + function functionify(func, object) + if type(func) == "string" then + if object then + local env = GetEnv() + env.Object = object + return client.Core.LoadCode(func, env) + else + return client.Core.LoadCode(func) + end + else + return func + end + end + + function create(class, dataFound, existing) + local data = dataFound or {} + local class = data.Class or data.ClassName or class + local new = existing or (specialInsts[class] and specialInsts[class]:Clone()) or service.New(class) + local parent = data.Parent or new.Parent + + if dataFound then + data.Parent = nil + + if data.Class or data.ClassName then + data.Class = nil + data.ClassName = nil + end + + if not data.BorderColor3 and checkProperty(new,"BorderColor3") then + new.BorderColor3 = dBorder + end + + if not data.CanvasSize and checkProperty(new,"CanvasSize") then + new.CanvasSize = dCanvasSize + end + + if not data.BorderSizePixel and checkProperty(new,"BorderSizePixel") then + new.BorderSizePixel = dPixelSize + end + + if not data.BackgroundColor3 and checkProperty(new,"BackgroundColor3") then + new.BackgroundColor3 = dBackground + end + + if not data.PlaceholderColor3 and checkProperty(new,"PlaceholderColor3") then + new.PlaceholderColor3 = dPlaceholderColor + end + + if not data.Transparency and not data.BackgroundTransparency and checkProperty(new,"Transparency") then + new.BackgroundTransparency = dTransparency + elseif data.Transparency then + new.BackgroundTransparency = data.Transparency + end + + if not data.TextColor3 and not data.TextColor and checkProperty(new,"TextColor3") then + new.TextColor3 = dTextColor + elseif data.TextColor then + new.TextColor3 = data.TextColor + end + + if not data.Font and checkProperty(new, "Font") then + data.Font = dFont + end + + if not data.TextSize and checkProperty(new, "TextSize") then + data.TextSize = dTextSize + end + + if not data.BottomImage and not data.MidImage and not data.TopImage and class == "ScrollingFrame" then + new.BottomImage = dScrollImage + new.MidImage = dScrollImage + new.TopImage = dScrollImage + end + + if not data.Size and checkProperty(new,"Size") then + new.Size = dSize + end + + if not data.Position and checkProperty(new,"Position") then + new.Position = dPosition + end + + if not data.ZIndex and checkProperty(new,"ZIndex") then + new.ZIndex = dZIndex + if parent and checkProperty(parent, "ZIndex") then + new.ZIndex = parent.ZIndex + end + end + + if data.TextChanged and class == "TextBox" then + local textChanged = functionify(data.TextChanged, new) + new.FocusLost:Connect(function(enterPressed) + textChanged(new.Text, enterPressed, new) + end) + end + + if (data.OnClicked or data.OnClick) and (class == "TextButton" or class == "ImageButton") then + local debounce = false; + local doDebounce = data.Debounce; + local onClick = functionify((data.OnClicked or data.OnClick), new) + new.MouseButton1Down:Connect(function() + if not debounce then + if doDebounce then + debounce = true + end + + RippleEffect(new) + onClick(new); + + debounce = false; + end + end) + end + + if data.Events then + for event,func in data.Events do + local realFunc = functionify(func, new) + Event(new[event], function(...) + realFunc(...) + end) + end + end + + if data.Visible == nil then + data.Visible = true + end + + if data.LabelProps then + data.LabelProperties = data.LabelProps + end + end + + if class == "Entry" then + local label = new.Text + local dots = new.Dots + local desc = new.Desc + + label.ZIndex = data.ZIndex or new.ZIndex + dots.ZIndex = data.ZIndex or new.ZIndex + + if data.Text then + new.Text.Text = data.Text + new.Text.Visible = true + data.Text = nil + end + + if data.Desc or data.ToolTip then + new.Desc.Value = data.Desc or data.ToolTip + data.Desc = nil + end + + Expand(new, Tooltip) + else + if data.ToolTip then + Expand(new, Tooltip, data.ToolTip) + end + end + + if class == "ButtonEntry" then + local button = new.Button + local debounce = false + local onClicked = functionify(data.OnClicked, button) + + new:SetSpecial("DoClick",function() + if not debounce then + debounce = true + if onClicked then + onClicked(button) + end + debounce = false + end + end) + + new.Text = data.Text or new.Text + button.ZIndex = data.ZIndex or new.ZIndex + button.MouseButton1Down:Connect(function() + clickSound:Play() + RippleEffect(new) + new.DoClick() + end) + end + + if class == "Boolean" then + local enabled = data.Enabled + local debounce = false + local onToggle = functionify(data.OnToggle, new) + local function toggle(isEnabled) + if not debounce then + debounce = true + if (isEnabled ~= nil and isEnabled) or (isEnabled == nil and enabled) then + enabled = false + new.Text = "Disabled" + elseif (isEnabled ~= nil and isEnabled == false) or (isEnabled == nil and not enabled) then + enabled = true + new.Text = "Enabled" + end + + if onToggle then + onToggle(enabled, new) + end + debounce = false + end + end + + --new.ZIndex = data.ZIndex + new.Text = (enabled and "Enabled") or "Disabled" + new.MouseButton1Down:Connect(function() + if onToggle then + clickSound:Play() + RippleEffect(new) + toggle() + end + end) + + new:SetSpecial("Toggle",function(ignore, isEnabled) toggle(isEnabled) end) + end + + if class == "StringEntry" then + local box = new.Box + local ignore + + new.Text = data.Text or new.Text + box.ZIndex = data.ZIndex or new.ZIndex + + if data.BoxText then + box.Text = data.BoxText + end + + if data.BoxProperties then + for i,v in data.BoxProperties do + if checkProperty(box, i) then + box[i] = v + end + end + end + + if data.TextChanged then + local textChanged = functionify(data.TextChanged, box) + box.Changed:Connect(function(p) + if p == "Text" and not ignore then + textChanged(box.Text) + end + end) + + box.FocusLost:Connect(function(enter) + local change = textChanged(box.Text, true, enter) + if change then + ignore = true + box.Text = change + ignore = false + end + end) + end + + new:SetSpecial("SetValue",function(ignore, newValue) box.Text = newValue end) + end + + if class == "Slider" then + local mouseIsIn = false + local posValue = new.Percentage + local slider = new.Slider + local bar = new.SliderBar + local drag = new.Drag + local moving = false + local value = 0 + local onSlide = functionify(data.OnSlide, new) + + bar.ZIndex = data.ZIndex or new.ZIndex + slider.ZIndex = bar.ZIndex+1 + drag.ZIndex = slider.ZIndex+1 + drag.Active = true + + if data.Value then + slider.Position = UDim2.new(0.5, -10, 0.5, -10) + drag.Position = slider.Position + end + + bar.InputBegan:Connect(function(input) + if not moving and (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then + value = ((input.Position.X) - (new.AbsolutePosition.X)) / (new.AbsoluteSize.X) + + if value < 0 then + value = 0 + elseif value > 1 then + value = 1 + end + + slider.Position = UDim2.new(value, -10, 0.5, -10) + drag.Position = slider.Position + posValue.Value = value + + if onSlide then + onSlide(value) + end + end + end) + + drag.DragBegin:Connect(function() + moving = true + end) + + drag.DragStopped:Connect(function() + moving = false + drag.Position = slider.Position + end) + + drag.Changed:Connect(function() + if moving then + value = ((Mouse.X)-(new.AbsolutePosition.X))/(new.AbsoluteSize.X) + + if value < 0 then + value = 0 + elseif value > 1 then + value = 1 + end + + slider.Position = UDim2.new(value, -10, 0.5, -10) + posValue.Value = value + + if onSlide then + onSlide(value) + end + end + end) + + new:SetSpecial("SetValue",function(ignore, newValue) + if newValue and tonumber(newValue) then + value = tonumber(newValue) + posValue.Value = value + slider.Position = UDim2.new(value, -10, 0.5, -10) + drag.Position = slider.Position + end + end) + end + + if class == "Dropdown" then + local menu = new.Menu + local downImg = new.Down + local selected = new.dSelected + local options = data.Options + local curSelected = data.Selected or data.Selection + local onSelect = functionify(data.OnSelection or data.OnSelect or function()end) + local textProps = data.TextProperties + local scroller = create("ScrollingFrame", { + Parent = menu; + Size = UDim2.new(1, 0, 1, 0); + Position = UDim2.new(0, 0, 0, 0); + BackgroundTransparency = 1; + ZIndex = 100; + }) + + menu.ZIndex = scroller.ZIndex + menu.Parent = GUI + menu.Visible = false + menu.Size = UDim2.new(0, new.AbsoluteSize.X, 0, 100); + menu.BackgroundColor3 = data.BackgroundColor3 or new.BackgroundColor3 + + if data.TextAlignment then + selected.TextXAlignment = data.TextAlignment + selected.Position = UDim2.new(0, 30, 0, 0); + end + + if data.NoArrow then + downImg.Visible = false + end + + new:SetSpecial("MenuContainer", menu) + + new.Changed:Connect(function(p) + if p == "AbsolutePosition" and menu.Visible then + menu.Position = UDim2.new(0, new.AbsolutePosition.X, 0, new.AbsolutePosition.Y+new.AbsoluteSize.Y) + elseif p == "AbsoluteSize" or p == "Parent" then + downImg.Size = UDim2.new(0, new.AbsoluteSize.Y, 1, 0); + if data.TextAlignment == "Right" then + downImg.Position = UDim2.new(0, 0, 0.5, -(downImg.AbsoluteSize.X/2)) + selected.Position = UDim2.new(0, new.AbsoluteSize.Y, 0, 0); + else + downImg.Position = UDim2.new(1, -downImg.AbsoluteSize.X, 0.5, -(downImg.AbsoluteSize.X/2)) + end + + selected.Size = UDim2.new(1, -downImg.AbsoluteSize.X, 1, 0); + + if options and #options <= 6 then + menu.Size = UDim2.new(0, new.AbsoluteSize.X, 0, 30*#options); + else + menu.Size = UDim2.new(0, new.AbsoluteSize.X, 0, 30*6); + scroller:ResizeCanvas(false, true); + end + end + end) + + selected.ZIndex = new.ZIndex + downImg.ZIndex = new.ZIndex + + if textProps then + for i,v in textProps do + selected[i] = v + end + end + + if options then + for i,v in options do + local button = scroller:Add("TextButton", { + Text = ` {v}`; + Size = UDim2.new(1, -10, 0, 30); + Position = UDim2.new(0, 5, 0, 30*(i-1)); + ZIndex = menu.ZIndex; + BackgroundTransparency = 1; + OnClick = function() + selected.Text = v; + onSelect(v, new); + menu.Visible = false + end + }) + + if textProps then + for i,v in textProps do + button[i] = v + end + end + end + + if curSelected then + selected.Text = curSelected + else + selected.Text = "No Selection" + end + + local function showMenu() + menu.Position = UDim2.new(0, new.AbsolutePosition.X, 0, new.AbsolutePosition.Y+new.AbsoluteSize.Y) + menu.Visible = not menu.Visible + end + + selected.MouseButton1Down:Connect(function() clickSound:Play() RippleEffect(selected) showMenu() end) + downImg.MouseButton1Down:Connect(function() RippleEffect(selected) showMenu() end) + end + end + + if class == "TabFrame" then + local buttonsTab = {}; + local buttons = create("ScrollingFrame", nil, new.Buttons) + local frames = new.Frames + local numTabs = 0 + local buttonSize = data.ButtonSize or 60 + + new.BackgroundTransparency = data.BackgroundTransparency or 1 + buttons.ZIndex = data.ZIndex or new.ZIndex + frames.ZIndex = buttons.ZIndex + + new:SetSpecial("GetTab", function(ignore, name) + return frames:FindFirstChild(name) + end) + + new:SetSpecial("NewTab", function(ignore, name, data) + local data = data or {} + --local numChildren = #frames:GetChildren() + local nextPos = getNextPos(buttons); + local textSize = service.TextService:GetTextSize(data.Text or name, dTextSize, dFont, buttons.AbsoluteSize) + local oTextTrans = data.TextTransparency + local isOpen = false + local disabled = false + local tabFrame = create("ScrollingFrame",{ + Name = name; + Size = UDim2.new(1, 0, 1, 0); + Position = UDim2.new(0, 0, 0, 0); + BorderSizePixel = 0; + BackgroundTransparency = data.FrameTransparency or data.Transparency; + BackgroundColor3 = data.Color or dSecondaryBackground; + ZIndex = buttons.ZIndex; + Visible = false; + }) + + local tabButton = create("TextButton",{ + Name = name; + Text = data.Text or name; + Size = UDim2.new(0, textSize.X+20, 1, 0); + ZIndex = buttons.ZIndex; + Position = UDim2.new(0, (nextPos.X.Offset > 0 and nextPos.X.Offset+5) or 0, 0, 0); + TextColor3 = data.TextColor; + BackgroundTransparency = 0.7; + TextTransparency = data.TextTransparency; + BackgroundColor3 = data.Color or dSecondaryBackground; + BorderSizePixel = 0; + }) + + tabFrame:SetSpecial("FocusTab",function() + for i,v in buttonsTab do + if isGui(v) then + v.BackgroundTransparency = (v:IsDisabled() and 0.9) or 0.7 + v.TextTransparency = (v:IsDisabled() and 0.9) or 0.7 + end + end + + for i,v in frames:GetChildren() do + if isGui(v) then + v.Visible = false + end + end + + tabButton.BackgroundTransparency = data.Transparency or 0 + tabButton.TextTransparency = data.TextTransparency or 0 + tabFrame.Visible = true + + if data.OnFocus then + data.OnFocus(true) + end + end) + + if numTabs == 0 then + tabFrame.Visible = true + tabButton.BackgroundTransparency = data.Transparency or 0 + end + + tabButton.MouseButton1Down:Connect(function() + if not disabled then + tabFrame:FocusTab() + end + end) + + tabButton.Parent = buttons + tabFrame.Parent = frames + buttons:ResizeCanvas(true, false) + + tabFrame:SetSpecial("Disable", function() + disabled = true; + tabButton.BackgroundTransparency = 0.9; + tabButton.TextTransparency = 0.9 + end) + + tabFrame:SetSpecial("Enable", function() + disabled = false; + tabButton.BackgroundTransparency = 0.7; + tabButton.TextTransparency = data.TextTransparency or 0; + end) + + tabButton:SetSpecial("IsDisabled", function() + return disabled; + end) + + table.insert(buttonsTab, tabButton); + + numTabs = numTabs+1; + + return tabFrame,tabButton + end) + end + + if class == "ScrollingFrame" then + local genning = false + if not data.ScrollBarThickness then + data.ScrollBarThickness = dScrollBar + end + + new:SetSpecial("GenerateList", function(obj, list, labelProperties, bottom) + local list = list or obj; + local genHold = {} + local entProps = labelProperties or {} + + genning = genHold + new:ClearAllChildren() + + local num = 0 + for i,v in list do + local text = v; + local desc; + local color + local richText; + + if type(v) == "table" then + text = v.Text + desc = v.Desc + color = v.Color + + if v.RichTextAllowed or entProps.RichTextAllowed then + richText = true + end + end + + local label = create("TextLabel",{ + Text = ` {text}`; + ToolTip = desc; + Size = UDim2.new(1,-5,0,(entProps.ySize or 20)); + Visible = true; + BackgroundTransparency = 1; + Font = "SourceSans"; + TextSize = 18; + TextStrokeTransparency = 0.8; + TextXAlignment = "Left"; + Position = UDim2.new(0,0,0,num*(entProps.ySize or 20)); + RichText = richText or false; + }) + + if color then + label.TextColor3 = color + end + + if labelProperties then + for i,v in entProps do + if checkProperty(label, i) then + label[i] = v + end + end + end + + if genning == genHold then + label.Parent = new; + else + label:Destroy() + break + end + + num = num+1 + + if data.Delay then + if type(data.Delay) == "number" then + task.wait(data.Delay) + elseif i%100 == 0 then + task.wait(0.1) + end + end + end + + new:ResizeCanvas(false, true, false, bottom, 5, 5, 50) + genning = nil + end) + + new:SetSpecial("ResizeCanvas", function(ignore, onX, onY, xMax, yMax, xPadding, yPadding, modBreak) + local xPadding,yPadding = data.xPadding or 5, data.yPadding or 5 + local newY, newX = 0,0 + + if not onX and not onY then onX = false onY = true end + for i,v in new:GetChildren() do + if v:IsA("GuiObject") then + if onY then + v.Size = UDim2.new(v.Size.X.Scale, v.Size.X.Offset, 0, v.AbsoluteSize.Y) + v.Position = UDim2.new(v.Position.X.Scale, v.Position.X.Offset, 0, v.AbsolutePosition.Y-new.AbsolutePosition.Y) + end + + if onX then + v.Size = UDim2.new(0, v.AbsoluteSize.X, v.Size.Y.Scale, v.Size.Y.Offset) + v.Position = UDim2.new(0, v.AbsolutePosition.X-new.AbsolutePosition.X, v.Position.Y.Scale, v.Position.Y.Offset) + end + + local yLower = v.Position.Y.Offset + v.Size.Y.Offset + local xLower = v.Position.X.Offset + v.Size.X.Offset + newY = math.max(newY, yLower) + newX = math.max(newX, xLower) + if modBreak then + if i%modBreak == 0 then + task.wait(1/60) + end + end + end + end + + if onY then + new.CanvasSize = UDim2.new(new.CanvasSize.X.Scale, new.CanvasSize.X.Offset, 0, newY+yPadding) + end + + if onX then + new.CanvasSize = UDim2.new(0, newX + xPadding, new.CanvasSize.Y.Scale, new.CanvasSize.Y.Offset) + end + + if xMax then + new.CanvasPosition = Vector2.new((newX + xPadding)-new.AbsoluteSize.X, new.CanvasPosition.Y) + end + + if yMax then + new.CanvasPosition = Vector2.new(new.CanvasPosition.X, (newY+yPadding)-new.AbsoluteSize.Y) + end + end) + + if data.List then new:GenerateList(data.List) data.List = nil end + end + + LoadChildren(new, data.Content or data.Children) + + data.Children = nil + data.Content = nil + + for i,v in data do + if checkProperty(new, i) then + new[i] = v + end + end + + new.Parent = parent + + return apiIfy(new, data, class),data + end + + function apiIfy(gui, data, class) + local newGui = service.Wrap(gui) + gui:SetSpecial("Object", gui) + gui:SetSpecial("SetPosition", function(ignore, newPos) gui.Position = newPos end) + gui:SetSpecial("SetSize", function(ingore, newSize) gui.Size = newSize end) + gui:SetSpecial("Add", function(ignore, class, data) + if not data then data = class class = ignore end + local new = create(class,data); + new.Parent = gui; + return apiIfy(new, data, class) + end) + + gui:SetSpecial("Copy", function(ignore, class, gotData) + local newData = {} + local new + + for i,v in data do + newData[i] = v + end + + for i,v in gotData do + newData[i] = v + end + + new = create(class or data.Class or gui.ClassName, newData); + new.Parent = gotData.Parent or gui.Parent; + return apiIfy(new, data, class) + end) + + return newGui + end + + function doClose() + if not isClosed then + isClosed = true + for _, thing in Drag:GetChildren() do + if thing ~= Main then + thing:Destroy() + end + end + Drag:TweenSize(UDim2.new(0,0,0,0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.15) + Main.ClipsDescendants = true + Main:TweenSize(UDim2.new(0,0,0,0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.15) + task.wait(0.12) + gTable:Destroy() + end + end + + function isVisible() + return Main.Visible + end + + local hideLabel = Hide:FindFirstChild("TextLabel") + function doHide(doHide) + local origLH = Hide.LineHeight + if doHide or (doHide == nil and Main.Visible) then + dragSize = Drag.Size + Main.Visible = false + Main.Glass.Parent = Drag + Drag.BackgroundTransparency = Main.BackgroundTransparency + Drag.BackgroundColor3 = Main.BackgroundColor3 + Drag.Size = UDim2.new(0, 200, Drag.Size.Y.Scale, Drag.Size.Y.Offset) + + if hideLabel then + hideLabel.Icon.Image = "rbxassetid://3523249191" + else + Hide.Icon.Image = "rbxassetid://3523249191" + end + + Hide.LineHeight = origLH + gTable.Minimized = true + elseif doHide == false or (doHide == nil and not Main.Visible) then + Main.Visible = true + Drag.Glass.Parent = Main + Drag.BackgroundTransparency = 1 + Drag.Size = dragSize or Drag.Size + + if hideLabel then + hideLabel.Icon.Image = "rbxassetid://3523250728" + else + Hide.Icon.Image = "rbxassetid://3523250728" + end + + Hide.LineHeight = origLH + gTable.Minimized = false + end + + if onMinimize then + onMinimize(Main.Visible) + end + + if Walls then + wallPosition() + end + end + + function isInFrame(x, y, frame) + if x > frame.AbsolutePosition.X and x < (frame.AbsolutePosition.X+frame.AbsoluteSize.X) and y > frame.AbsolutePosition.Y and y < (frame.AbsolutePosition.Y+frame.AbsoluteSize.Y) then + return true + else + return false + end + end + + function wallPosition() + if gTable.Active then + local x,y = Drag.AbsolutePosition.X, Drag.AbsolutePosition.Y + local abx, gx, gy = Drag.AbsoluteSize.X, GUI.AbsoluteSize.X, GUI.AbsoluteSize.Y + local ySize = (Main.Visible and Main.AbsoluteSize.Y) or Drag.AbsoluteSize.Y + + if x < 0 then + Drag.Position = UDim2.new(0, 0, Drag.Position.Y.Scale, Drag.Position.Y.Offset) + end + + if y < 0 then + Drag.Position = UDim2.new(Drag.Position.X.Scale, Drag.Position.X.Offset, 0, 0) + end + + if x + abx > gx then + Drag.Position = UDim2.new(0, GUI.AbsoluteSize.X - Drag.AbsoluteSize.X, Drag.Position.Y.Scale, Drag.Position.Y.Offset) + end + + if y + ySize > gy then + Drag.Position = UDim2.new(Drag.Position.X.Scale, Drag.Position.X.Offset, 0, GUI.AbsoluteSize.Y - ySize) + end + end + end + + function setSize(newSize) + if newSize and type(newSize) == "table" then + if newSize[1] < 50 then newSize[1] = 50 end + if newSize[2] < 50 then newSize[2] = 50 end + + Drag.Size = UDim2.new(0,newSize[1],Drag.Size.Y.Scale,Drag.Size.Y.Offset) + Main.Size = UDim2.new(1,0,0,newSize[2]) + end + end + + function setPosition(newPos) + if newPos and typeof(newPos) == "UDim2" then + Drag.Position = newPos + elseif newPos and type(newPos) == "table" then + Drag.Position = UDim2.new(0, newPos[1], 0, newPos[2]) + elseif Size and not newPos then + Drag.Position = UDim2.new(0.5, -Drag.AbsoluteSize.X/2, 0.5, -Main.AbsoluteSize.Y/2) + end + end + + if Name then + gTable.Name = Name + if data.AllowMultiple ~= nil and data.AllowMultiple == false then + local found, num = client.UI.Get(Name, GUI, true) + if found then + doClose() + return nil + end + end + end + + if Size then + setSize(Size) + end + + if Position then + setPosition(Position) + end + + if Title then + Titlef.Text = Title + end + + if CanKeepAlive or not ResetOnSpawn then + gTable.CanKeepAlive = true + GUI.ResetOnSpawn = false + elseif ResetOnSpawn then + gTable.CanKeepAlive = false + GUI.ResetOnSpawn = true + end + + if Icon then + Iconf.Visible = true + Iconf.Image = Icon + end + + if CanvasSize then + ScrollFrame.CanvasSize = CanvasSize + end + + if noClose then + Close.Visible = false + Refresh.Position = Hide.Position + Hide.Position = Close.Position + end + + if noHide then + Hide.Visible = false + Refresh.Position = Hide.Position + end + + if Walls then + Drag.DragStopped:Connect(function() + wallPosition() + end) + end + + if onRefresh then + local debounce = false + function DoRefresh() + if not Refreshing then + local done = false + Refreshing = true + + task.spawn(function() + while gTable.Active and not done do + for i = 0,180,10 do + rSpinner.Rotation = -i + task.wait(1/60) + end + end + end) + + onRefresh() + task.wait(1) + done = true + Refreshing = false + end + end + + Refresh.MouseButton1Down:Connect(function() + clickSound:Play() + RippleEffect(Refresh) + if not debounce then + debounce = true + DoRefresh() + debounce = false + end + end) + + Titlef.Size = UDim2.new(1, -130, Titlef.Size.Y.Scale, Titlef.Size.Y.Offset) + else + Refresh.Visible = false + end + + if iconClicked then + Iconf.MouseButton1Down(function() + clickSound:Play() + RippleEffect(Iconf) + iconClicked(data, GUI, Iconf) + end) + end + + if Menu then + data.Menu.Text = "" + data.Menu.Parent = Main + data.Menu.Size = UDim2.new(1,-10,0,25) + data.Menu.Position = UDim2.new(0,5,0,25) + ScrollFrame.Size = UDim2.new(1,-10,1,-55) + ScrollFrame.Position = UDim2.new(0,5,0,50) + data.Menu.BackgroundColor3 = Color3.fromRGB(216, 216, 216) + data.Menu.BorderSizePixel = 0 + create("TextLabel",data.Menu) + end + + if not SizeLocked then + local startXPos = Drag.AbsolutePosition.X + local startYPos = Drag.AbsolutePosition.Y + local startXSize = Drag.AbsoluteSize.X + local startYSize = Drag.AbsoluteSize.Y + local vars = client.Variables + local newIcon + local inFrame + local ReallyInFrame + + local function readify(obj) + obj.MouseEnter:Connect(function() + ReallyInFrame = obj + end) + + obj.MouseLeave:Connect(function() + if ReallyInFrame == obj then + ReallyInFrame = nil + end + end) + end + + --[[ + readify(Drag) + readify(ScrollFrame) + readify(TopRight) + readify(TopLeft) + readify(RightCorner) + readify(LeftCorner) + readify(RightSide) + readify(LeftSide) + readify(Bottom) + readify(Top) + --]] + + function checkMouse(x, y) --// Update later to remove frame by frame pos checking + if gTable.Active and Main.Visible then + if isInFrame(x, y, Drag) or isInFrame(x, y, ScrollFrame) then + inFrame = nil + newIcon = nil + elseif isInFrame(x, y, TopRight) then + inFrame = "TopRight" + newIcon = MouseIcons.TopRight + elseif isInFrame(x, y, TopLeft) then + inFrame = "TopLeft" + newIcon = MouseIcons.TopLeft + elseif isInFrame(x, y, RightCorner) then + inFrame = "RightCorner" + newIcon = MouseIcons.RightCorner + elseif isInFrame(x, y, LeftCorner) then + inFrame = "LeftCorner" + newIcon = MouseIcons.LeftCorner + elseif isInFrame(x, y, RightSide) then + inFrame = "RightSide" + newIcon = MouseIcons.Horizontal + elseif isInFrame(x, y, LeftSide) then + inFrame = "LeftSide" + newIcon = MouseIcons.Horizontal + elseif isInFrame(x, y, Bottom) then + inFrame = "Bottom" + newIcon = MouseIcons.Vertical + elseif isInFrame(x, y, Top) then + inFrame = "Top" + newIcon = MouseIcons.Vertical + else + inFrame = nil + newIcon = nil + end + else + inFrame = nil + end + + if (not client.Variables.MouseLockedBy) or client.Variables.MouseLockedBy == gTable then + if inFrame and newIcon then + Mouse.Icon = newIcon + client.Variables.MouseLockedBy = gTable + elseif client.Variables.MouseLockedBy == gTable then + Mouse.Icon = curIcon + client.Variables.MouseLockedBy = nil + end + end + end + + local function inputStart(x, y) + checkMouse(x, y) + if gTable.Active and inFrame and not Resizing and not isInFrame(x, y, ScrollFrame) and not isInFrame(x, y, Drag) then + Resizing = inFrame + startXPos = Drag.AbsolutePosition.X + startYPos = Drag.AbsolutePosition.Y + startXSize = Drag.AbsoluteSize.X + startYSize = Main.AbsoluteSize.Y + end + end + + local function inputEnd() + if gTable.Active then + if Resizing and onResize then + onResize(UDim2.new(Drag.Size.X.Scale, Drag.Size.X.Offset, Main.Size.Y.Scale, Main.Size.Y.Offset)) + end + + Resizing = nil + Mouse.Icon = curIcon + --DragEnabled = true + --if Walls then + -- wallPosition() + --end + end + end + + local function inputMoved(x, y) + if gTable.Active then + if Mouse.Icon ~= MouseIcons.TopRight and Mouse.Icon ~= MouseIcons.TopLeft and Mouse.Icon ~= MouseIcons.RightCorner and Mouse.Icon ~= MouseIcons.LeftCorner and Mouse.Icon ~= MouseIcons.Horizontal and Mouse.Icon ~= MouseIcons.Vertical then + curIcon = Mouse.Icon + end + + if Resizing then + local moveX = false + local moveY = false + local newPos = Drag.Position + local xPos, yPos = x, y + local newX, newY = startXSize, startYSize + + --DragEnabled = false + + if Resizing == "TopRight" then + newX = (xPos - startXPos) + 3 + newY = (startYPos - yPos) + startYSize -1 + moveY = true + elseif Resizing == "TopLeft" then + newX = (startXPos - xPos) + startXSize -1 + newY = (startYPos - yPos) + startYSize -1 + moveY = true + moveX = true + elseif Resizing == "RightCorner" then + newX = (xPos - startXPos) + 3 + newY = (yPos - startYPos) + 3 + elseif Resizing == "LeftCorner" then + newX = (startXPos - xPos) + startXSize + 3 + newY = (yPos - startYPos) + 3 + moveX = true + elseif Resizing == "LeftSide" then + newX = (startXPos - xPos) + startXSize + 3 + newY = startYSize + moveX = true + elseif Resizing == "RightSide" then + newX = (xPos - startXPos) + 3 + newY = startYSize + elseif Resizing == "Bottom" then + newX = startXSize + newY = (yPos - startYPos) + 3 + elseif Resizing == "Top" then + newX = startXSize + newY = (startYPos - yPos) + startYSize - 1 + moveY = true + end + + if newX < MinSize[1] then newX = MinSize[1] end + if newY < MinSize[2] then newY = MinSize[2] end + if newX > MaxSize[1] then newX = MaxSize[1] end + if newY > MaxSize[2] then newY = MaxSize[2] end + + if moveX then + newPos = UDim2.new(0, (startXPos+startXSize)-newX, newPos.Y.Scale, newPos.Y.Offset) + end + + if moveY then + newPos = UDim2.new(newPos.X.Scale, newPos.X.Offset, 0, (startYPos+startYSize)-newY) + end + + Drag.Position = newPos + Drag.Size = UDim2.new(0, newX, Drag.Size.Y.Scale, Drag.Size.Y.Offset) + Main.Size = UDim2.new(Main.Size.X.Scale, Main.Size.X.Offset, 0, newY) + + if not Titlef.TextFits then + Titlef.Visible = false + else + Titlef.Visible = true + end + else + checkMouse(x, y) + end + end + end + + Event(InputService.InputBegan, function(input, gameHandled) + if not gameHandled and (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then + local Position = input.Position + inputStart(Position.X, Position.Y) + end + end) + + Event(InputService.InputChanged, function(input, gameHandled) + if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then + local Position = input.Position + inputMoved(Position.X, Position.Y) + end + end) + + Event(InputService.InputEnded, function(input, gameHandled) + if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then + inputEnd() + end + end) + + --[[Event(Mouse.Button1Down, function() + if gTable.Active and inFrame and not Resizing and not isInFrame(Mouse.X, Mouse.Y, ScrollFrame) and not isInFrame(Mouse.X, Mouse.Y, Drag) then + Resizing = inFrame + startXPos = Drag.AbsolutePosition.X + startYPos = Drag.AbsolutePosition.Y + startXSize = Drag.AbsoluteSize.X + startYSize = Main.AbsoluteSize.Y + checkMouse() + end + end) + + Event(Mouse.Button1Up, function() + if gTable.Active then + if Resizing and onResize then + onResize(UDim2.new(Drag.Size.X.Scale, Drag.Size.X.Offset, Main.Size.Y.Scale, Main.Size.Y.Offset)) + end + + Resizing = nil + Mouse.Icon = curIcon + --if Walls then + -- wallPosition() + --end + end + end)--]] + else + LeftSizeIcon.Visible = false + RightSizeIcon.Visible = false + end + + + Close.MouseButton1Click:Connect(function() clickSound:Play() doClose() end) + Hide.MouseButton1Click:Connect(function() clickSound:Play() doHide() end) + + Close.MouseButton1Down:Connect(function() RippleEffect(Close) end) + Hide.MouseButton1Down:Connect(function() RippleEffect(Hide) end) + + gTable.CustomDestroy = function() + service.UnWrap(GUI):Destroy() + if client.Variables.MouseLockedBy == gTable then + Mouse.Icon = curIcon + client.Variables.MouseLockedBy = nil + end + + if not isClosed then + isClosed = true + if onClose then + onClose() + end + end + end + + for i,child in GUI:GetChildren() do + if child.Name ~= "Desc" and child.Name ~= "Drag" then + specialInsts[child.Name] = child + child.Parent = nil + end + end + + --// Drag & DisplayOrder Handler + do + local windowValue = Instance.new("BoolValue", GUI) + local dragDragging = false + local dragOffset + local inFrame + + windowValue.Name = "__ADONIS_WINDOW" + + Event(Main.InputBegan, function(input) + if gTable.Active and (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then + BringToFront() + end + end) + + Event(Drag.InputBegan, function(input) + if gTable.Active then + inFrame = true + + if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then + BringToFront() + end + end + end) + + Event(Drag.InputChanged, function(input) + if gTable.Active then + inFrame = true + end + end) + + Event(Drag.InputEnded, function(input) + inFrame = false + end) + + Event(InputService.InputBegan, function(input) + if inFrame and GUI.DisplayOrder == 101 and not dragDragging and (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then--isInFrame(input.Position.X, input.Position.Y, object) then + dragDragging = true + BringToFront() + dragOffset = Vector2.new(Drag.AbsolutePosition.X - input.Position.X, Drag.AbsolutePosition.Y - input.Position.Y) + end + end) + + Event(InputService.InputChanged, function(input) + if dragDragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then + Drag.Position = UDim2.new(0, dragOffset.X + input.Position.X, 0, dragOffset.Y + input.Position.Y) + end + end) + + Event(InputService.InputEnded, function(input) + if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then + dragDragging = false + end + end) + end + + --// Finishing up + local api = apiIfy(ScrollFrame, data) + local meta = api:GetMetatable() + local oldNewIndex = meta.__newindex + local oldIndex = meta.__index + + create("ScrollingFrame", nil, ScrollFrame) + LoadChildren(api, Content) + + api:SetSpecial("gTable", gTable) + api:SetSpecial("Window", GUI) + api:SetSpecial("Main", Main) + api:SetSpecial("Title", Titlef) + api:SetSpecial("Dragger", Drag) + api:SetSpecial("Destroy", doClose) + api:SetSpecial("Close", doClose) + api:SetSpecial("Object", ScrollFrame) + api:SetSpecial("Refresh", DoRefresh) + api:SetSpecial("AddTitleButton", function(ignore, data) if type(ignore) == "table" and not data then data = ignore end return addTitleButton(data) end) + api:SetSpecial("Ready", function() if onReady then onReady() end gTable.Ready() BringToFront() end) + api:SetSpecial("BindEvent", function(ignore, ...) Event(...) end) + api:SetSpecial("Hide", function(ignore, hide) doHide(hide) end) + api:SetSpecial("SetTitle", function(ignore, newTitle) Titlef.Text = newTitle end) + api:SetSpecial("SetPosition", function(ignore, newPos) setPosition(newPos) end) + api:SetSpecial("SetSize", function(ignore, newSize) setSize(newSize) end) + api:SetSpecial("GetPosition", function() return Drag.AbsolutePosition end) + api:SetSpecial("GetSize", function() return Main.AbsoluteSize end) + api:SetSpecial("IsVisible", isVisible) + api:SetSpecial("IsClosed", isClosed) + + meta.__index = function(tab, ind) + if ind == "IsVisible" then + return isVisible() + elseif ind == "Closed" then + return isClosed + else + return oldIndex(tab, ind) + end + end + + setSize(Size) + setPosition(Position) + + if Ready then + gTable:Ready() + BringToFront() + end + + return api,GUI +end +]]> + -1 + + + + + + + false + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/Arial.json + 400 + + rbxasset://fonts/arial.ttf + + true + 0 + 1 + + + -1 + ColorEntry + null + null + null + null + + 0 + 0 + 0 + 60 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 0 + 20 + + 0 + -1 + + Color: + + 1 + 1 + 1 + + 0 + true + 24 + + 0 + 0 + 0 + + 0.800000012 + 0 + 0 + true + 0 + 0 + false + 2 + + + + true + + 0 + 0 + + + true + false + 0 + + 0.270588249 + 0.24313727 + 0.545098066 + + 0 + + 1 + 1 + 1 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/Arial.json + 400 + + rbxasset://fonts/arial.ttf + + true + 0 + 1 + + + -1 + false + Button + null + null + null + null + + 1 + -50 + 0 + 0 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 50 + 0 + 20 + + 0 + -1 + 0 + + + + 1 + 1 + 1 + + 0 + false + 18 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 1 + 1 + true + 2 + + + + + + 0 + false + Desc + -1 + + TestDesc + + + + + + false + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/Arial.json + 400 + + rbxasset://fonts/arial.ttf + + true + 0 + 1 + + + -1 + BooleanEntry + null + null + null + null + + 0 + 0 + 0 + 20 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 0 + 20 + + 0 + -1 + + Boolean: + + 1 + 1 + 1 + + 0 + true + 24 + + 0 + 0 + 0 + + 0.800000012 + -7.30156913e-08 + 0 + true + 0 + 0 + false + 2 + + + + true + + 0 + 0 + + + true + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/Arial.json + 400 + + rbxasset://fonts/arial.ttf + + true + 0 + 1 + + + -1 + false + Button + null + null + null + null + + 1 + -100 + 0 + 0 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 100 + 0 + 20 + + 0 + -1 + 0 + + Disabled + + 1 + 1 + 1 + + 0 + false + 18 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 1 + 1 + true + 2 + + + + + + 0 + false + Desc + -1 + + TestDesc + + + + + + true + + 0 + 0 + + + false + false + 0 + + 0.121568635 + 0.121568635 + 0.121568635 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/LegacyArial.json + 400 + + rbxasset://fonts/arial.ttf + + true + 0 + 1 + + + -1 + false + Drag + null + null + null + null + + 0 + 400 + 0.5 + -100 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 400 + 0 + 27 + + 0 + -1 + 0 + + + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + false + 8 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 2 + 1 + true + 1 + + + + true + + 0 + 0 + + + true + false + 0 + + 0 + 0 + 0 + + 0.5 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/Arial.json + 700 + + rbxasset://fonts/arialbd.ttf + + true + 0 + 1 + + + -1 + false + Refresh + null + null + null + null + + 1 + -97 + 0 + 3 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 30 + 0 + 20 + + 0 + -1 + 0 + + + + 1 + 1 + 1 + + 0 + false + 12 + + 0 + 0 + 0 + + 0.899999976 + 0 + 0 + false + 2 + 1 + true + 2 + + + + true + + 0.5 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + rbxassetid://69395121 + + 1 + 1 + 1 + + + 0 + 0 + + + 0 + 0 + + 0.100000001 + true + 0 + Spinner + null + null + null + null + + 0.5 + 0 + 0 + 3 + + 0 + null + 0 + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 14 + 0 + 14 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 10 + + + + + + 0 + + 0 + 4 + + false + UICorner + -1 + + + + + + + true + + 0 + 0 + + + true + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://textures/ui/Menu/Hamburger.png + + 1 + 1 + 1 + + + 0 + 0 + + + 0 + 0 + + 0.300000012 + true + 0 + false + Icon + null + null + null + null + + 0 + 6 + 0 + 6 + + + 0 + null + 0 + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 14 + 0 + 14 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + true + 2 + + + + + true + + 0 + 0 + + + true + false + 0 + + 0 + 0 + 0 + + 0.5 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/Arial.json + 700 + + rbxasset://fonts/arialbd.ttf + + true + 0 + 1 + + + -1 + false + Hide + null + null + null + null + + 1 + -66 + 0 + 3 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 30 + 0 + 20 + + 0 + -1 + 0 + + + + 1 + 1 + 1 + + 0 + false + 12 + + 0 + 0 + 0 + + 0.899999976 + 0 + 0 + false + 2 + 1 + true + 2 + + + + + 0 + + 0 + 4 + + false + UICorner + -1 + + + + + + true + + 0.5 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + rbxassetid://3523250728 + + 1 + 1 + 1 + + + 0 + 0 + + + 0 + 0 + + 0.100000001 + true + 0 + Icon + null + null + null + null + + 0.5 + 0 + 0 + 3 + + 0 + null + 0 + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 14 + 0 + 14 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 10 + + + + + + true + + 0 + 0 + + + true + false + 0 + + 0.764705956 + 0.129411772 + 0.137254909 + + 0.25 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/Arial.json + 400 + + rbxasset://fonts/arial.ttf + + true + 0 + 1 + + + -1 + false + Close + null + null + null + null + + 1 + -35 + 0 + 3 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 30 + 0 + 20 + + 0 + -1 + 0 + + x + + 0.862745106 + 0.862745106 + 0.862745106 + + 0 + false + 18 + + 0 + 0 + 0 + + 0.899999976 + 0 + 0 + true + 2 + 0 + true + 2 + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/Arial.json + 400 + + rbxasset://fonts/arial.ttf + + true + 0 + 1 + + + -1 + TextLabel + null + null + null + null + + 0.5 + 0 + 0.5 + -1 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 0 + 0 + 0 + + 0 + -1 + + x + + 0.870588303 + 0.870588303 + 0.870588303 + + 0 + false + 22 + + 0 + 0 + 0 + + 0.899999976 + 0 + 0 + true + 2 + 1 + true + 10 + + + + + + 0 + + 0 + 4 + + false + UICorner + -1 + + + + + + + 0 + 0 1 0.784314 0.784314 0 1 0.764706 0.129412 0.137255 0 + false + true + UIGradient + + 0 + 0 + + 0 + -1 + + 0 0 0 1 0 0 + + + + + + false + + 0 + 0 + + + false + 0 + + 0.101960793 + 0.113725498 + 0.164705887 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + true + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + Title + null + null + null + null + + 0 + 26 + 0 + 0 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -100 + 1 + -3 + + 0 + -1 + + Window Title + + 1 + 1 + 1 + + 0 + false + 18 + + 0.784313798 + 0.784313798 + 0.784313798 + + 0.699999988 + 0 + 0 + true + 0 + 1 + true + 9 + + + + + false + + 0 + 0 + + + false + 0 + + 0.333333343 + 0.333333343 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + true + 0 + Main + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 230 + + 0 + -1 + 0 + + true + 1 + + + + false + + 0 + 0 + + + false + false + 0 + + 1 + 0.835294187 + 0 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxassetid://334991942 + + 0.647058845 + 0.647058845 + 0.647058845 + + + 0 + 0 + + + 0 + 0 + + 1 + true + 0 + false + Bottom + null + null + null + null + + 0 + 20 + 1 + -5 + + + 0 + null + 0 + 0 + false + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -40 + 0 + 10 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + false + 1 + + + + + false + + 0 + 0 + + + false + false + 0 + + 0.184313729 + 0.427451015 + 1 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxassetid://334991942 + + 0.647058845 + 0.647058845 + 0.647058845 + + + 0 + 0 + + + 0 + 0 + + 1 + true + 0 + false + RightSide + null + null + null + null + + 1 + -5 + 0 + 20 + + + 0 + null + 0 + 0 + false + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 10 + 1 + -40 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + false + 1 + + + + + false + + 0 + 0 + + + false + 0 + + 0.454901993 + 0.454901993 + 0.454901993 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://334991942 + + 0.647058845 + 0.647058845 + 0.647058845 + + + 0 + 0 + + + 0 + 0 + + 0.5 + true + 0 + RightResizeIcon + null + null + null + null + + 1 + -20 + 1 + -20 + + 0 + null + 0 + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 20 + 0 + 20 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + false + 1 + + + + + false + + 0 + 0 + + + false + 0 + + 0.454901993 + 0.454901993 + 0.454901993 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://334991942 + + 0.647058845 + 0.647058845 + 0.647058845 + + + 0 + 0 + + + 0 + 0 + + 0.5 + true + 0 + LeftResizeIcon + null + null + null + null + + 0 + 0 + 1 + -20 + + 0 + null + 0 + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 20 + 0 + 20 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + false + 1 + + + + + false + + 0 + 0 + + + false + false + 0 + + 0.184313729 + 0.427451015 + 1 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxassetid://334991942 + + 0.647058845 + 0.647058845 + 0.647058845 + + + 0 + 0 + + + 0 + 0 + + 1 + true + 0 + false + LeftSide + null + null + null + null + + 0 + -5 + 0 + 20 + + + 0 + null + 0 + 0 + false + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 10 + 1 + -40 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + false + 1 + + + + + false + + 0 + 0 + + + false + false + 0 + + 1 + 0 + 0 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxassetid://334991942 + + 0.647058845 + 0.647058845 + 0.647058845 + + + 0 + 0 + + + 0 + 0 + + 1 + true + 0 + false + RightCorner + null + null + null + null + + 1 + -20 + 1 + -20 + + + 0 + null + 0 + 0 + false + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 25 + 0 + 25 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + false + 1 + + + + + false + + 0 + 0 + + + false + false + 0 + + 1 + 0.215686291 + 0.988235354 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxassetid://334991942 + + 0.647058845 + 0.647058845 + 0.647058845 + + + 0 + 0 + + + 0 + 0 + + 1 + true + 0 + false + Top + null + null + null + null + + 0 + 20 + 0 + -5 + + + 0 + null + 0 + 0 + false + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -40 + 0 + 10 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + false + 1 + + + + + false + + 0 + 0 + + + false + false + 0 + + 1 + 0.180392161 + 0.192156881 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxassetid://334991942 + + 0.647058845 + 0.647058845 + 0.647058845 + + + 0 + 0 + + + 0 + 0 + + 1 + true + 0 + false + LeftCorner + null + null + null + null + + 0 + -5 + 1 + -20 + + + 0 + null + 0 + 0 + false + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 25 + 0 + 25 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + false + 1 + + + + + false + + 0 + 0 + + + false + false + 0 + + 1 + 0.180392161 + 0.192156881 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxassetid://334991942 + + 0.647058845 + 0.647058845 + 0.647058845 + + + 0 + 0 + + + 0 + 0 + + 1 + true + 0 + false + TopLeft + null + null + null + null + + 0 + -5 + 0 + -5 + + + 0 + null + 0 + 0 + false + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 25 + 0 + 25 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + false + 1 + + + + + false + + 0 + 0 + + + false + false + 0 + + 1 + 0 + 0 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxassetid://334991942 + + 0.647058845 + 0.647058845 + 0.647058845 + + + 0 + 0 + + + 0 + 0 + + 1 + true + 0 + false + TopRight + null + null + null + null + + 1 + -20 + 0 + -5 + + + 0 + null + 0 + 0 + false + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 25 + 0 + 25 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + false + 1 + + + + + true + + 0 + 0 + + + false + 0 + 0 + + 0.0862745121 + 0.0862745121 + 0.0862745121 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + http://roblox.com/asset?id=158348114 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + true + false + false + 0 + 0 + true + 0 + http://roblox.com/asset?id=158348114 + ScrollingFrame + null + null + null + null + + 0 + 5 + 0 + 26 + + null + 0 + + 1 + 1 + 1 + + 0 + 5 + 2 + true + true + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 1 + -31 + + 0 + -1 + + http://roblox.com/asset?id=158348114 + 0 + 0 + true + 1 + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://143854846 + + 1 + 1 + 1 + + + 0 + 0 + + + 0 + 0 + + 0 + true + 0 + Blur + null + null + null + null + + 0 + 0 + 0 + 0 + + 0 + null + 0 + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 1 + + + + + + false + + 0 + 0 + + + false + 0 + + 0.333333343 + 0.333333343 + 1 + + 0.400000006 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://1222377259 + + 0.333333343 + 0.333333343 + 1 + + + 0 + 0 + + + 0 + 0 + + 0.300000012 + true + 0 + Glass + null + null + null + null + + 0 + 0 + 0 + 0 + + 0 + null + 0 + 2 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 0 + + + + + 0 + + 0 + 4 + + false + UICorner + -1 + + + + + + + false + + 0 + 0 + + + false + 0 + + 0.0862745121 + 0.0862745121 + 0.0862745121 + + 0.200000003 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + true + 0 + Frame + null + null + null + null + + 0 + 5 + 0 + 26 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 1 + -31 + + 0 + -1 + 0 + + true + 1 + + + + + 0 + + 0 + 4 + + false + UICorner + -1 + + + + + + + false + + 0.5 + 0.5 + + + false + 0 + + 0.333333343 + 0.333333343 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + rbxassetid://6805220123 + + 0.784313798 + 0.784313798 + 0.784313798 + + + 0 + 0 + + + 0 + 0 + + 0.699999988 + true + 0 + Edge + null + null + null + null + + 0.5 + 0 + 0.5 + 0 + + 0 + null + 0 + 2 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 6 + 1 + 6 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + + + 1 + 0 + 1 + 0 + + true + 0 + + + + + 0 + + 0 + 4 + + false + UICorner + -1 + + + + + + + + + + 0 + false + Check + -1 + + true + + + + + false + + 0 + 0 + + + false + 0 + + 0.274509817 + 0.274509817 + 0.274509817 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + true + 0 + TabFrame + null + null + null + null + + 0 + 5 + 0 + 5 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 1 + -10 + + 0 + -1 + 0 + + false + 1 + + + + false + + 0 + 0 + + + false + 0 + 0 + + 0.192156881 + 0.192156881 + 0.192156881 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + rbxasset://textures/ui/Scroll/scroll-middle.png + + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + true + false + false + 0 + 0 + true + 0 + rbxasset://textures/ui/Scroll/scroll-middle.png + Buttons + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + + 1 + 1 + 1 + + 0 + 3 + 2 + true + true + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 25 + + 0 + -1 + + rbxasset://textures/ui/Scroll/scroll-middle.png + 0 + 0 + true + 1 + + + + + false + + 0 + 0 + + + false + 0 + + 0.192156881 + 0.192156881 + 0.192156881 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + true + 0 + Frames + null + null + null + null + + 0 + 0 + 0 + 25 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + -25 + + 0 + -1 + 0 + + true + 1 + + + + + + false + + 0 + 0 + + + false + 0 + + 0.639215708 + 0.635294139 + 0.647058845 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/Arial.json + 400 + + rbxasset://fonts/arial.ttf + + true + 0 + 1 + + + -1 + ButtonEntry + null + null + null + null + + 0 + 0 + 0 + 20 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -10 + 0 + 20 + + 0 + -1 + + Button: + + 1 + 1 + 1 + + 0 + true + 24 + + 0 + 0 + 0 + + 0.800000012 + -7.30156913e-08 + 0 + true + 0 + 0 + false + 2 + + + + true + + 0 + 0 + + + true + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/Arial.json + 400 + + rbxasset://fonts/arial.ttf + + true + 0 + 1 + + + -1 + false + Button + null + null + null + null + + 1 + -100 + 0 + 0 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 100 + 0 + 20 + + 0 + -1 + 0 + + Open + + 1 + 1 + 1 + + 0 + false + 18 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 1 + 1 + true + 2 + + + + + + 0 + false + Desc + -1 + + TestDesc + + + + + + false + + 0 + 0 + + + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + true + 0 + Entry + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -5 + 0 + 15 + + 0 + -1 + 0 + + false + 2 + + + + + 0 + false + Desc + -1 + + TestDesc + + + + + false + + 0 + 0 + + + false + 0 + + 0.541176498 + 0.53725493 + 0.545098066 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + true + false + false + + rbxasset://fonts/families/Arial.json + 400 + + rbxasset://fonts/arial.ttf + + true + 0 + 1 + + + -1 + Text + null + null + null + null + + 0 + 5 + 0 + 0 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + -15 + 1 + 0 + + 0 + -1 + + The quick brown fox jumps over the lazy dog + + 1 + 1 + 1 + + 0 + false + 14 + + 0 + 0 + 0 + + 0.800000012 + -7.30156913e-08 + 0 + false + 0 + 2 + true + 2 + + + + + false + + 0 + 0 + + + false + 0 + + 0.541176498 + 0.53725493 + 0.545098066 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + 0 + false + false + false + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + true + 0 + 1 + + + -1 + Dots + null + null + null + null + + 1 + -10 + 0 + 0 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 10 + 1 + 0 + + 0 + -1 + + .. + + 1 + 1 + 1 + + 0 + false + 14 + + 0 + 0 + 0 + + 0.800000012 + -7.30156913e-08 + 0 + false + 0 + 2 + false + 2 + + + + + + true + + 0 + 0 + + + true + false + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + 0 + false + false + false + + rbxasset://fonts/families/Arial.json + 400 + + rbxasset://fonts/arial.ttf + + true + 0 + 1 + + + -1 + false + Boolean + null + null + null + null + + 1 + -100 + 0 + 0 + + false + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 100 + 0 + 20 + + 0 + -1 + 0 + + Disabled + + 1 + 1 + 1 + + 0 + false + 18 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 2 + 1 + true + 2 + + + + \ No newline at end of file