Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- js for looks admin keys: no_key, ouxie_is_cool
- local ui = {}
- function ui:Window(key)
- -- Instances: 44 | Scripts: 4 | Modules: 0
- local G2L = {};
- -- StarterGui.OuxieSystem
- G2L["1"] = Instance.new("ScreenGui", game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"));
- G2L["1"]["Name"] = [[OuxieSystem]];
- -- StarterGui.OuxieSystem.UI
- G2L["2"] = Instance.new("Frame", G2L["1"]);
- G2L["2"]["BorderSizePixel"] = 0;
- G2L["2"]["BackgroundColor3"] = Color3.fromRGB(17, 17, 25);
- G2L["2"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
- G2L["2"]["Size"] = UDim2.new(0, 352, 0, 106);
- G2L["2"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["2"]["Position"] = UDim2.new(0.5, 0, 0.5977365970611572, 0);
- G2L["2"]["Name"] = [[UI]];
- -- StarterGui.OuxieSystem.UI.UICorner
- G2L["3"] = Instance.new("UICorner", G2L["2"]);
- -- StarterGui.OuxieSystem.UI.UIStroke
- G2L["4"] = Instance.new("UIStroke", G2L["2"]);
- G2L["4"]["Color"] = Color3.fromRGB(171, 171, 255);
- -- StarterGui.OuxieSystem.UI.Top
- G2L["5"] = Instance.new("Frame", G2L["2"]);
- G2L["5"]["BorderSizePixel"] = 0;
- G2L["5"]["BackgroundColor3"] = Color3.fromRGB(26, 26, 39);
- G2L["5"]["Size"] = UDim2.new(0, 352, 0, 33);
- G2L["5"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["5"]["Name"] = [[Top]];
- -- StarterGui.OuxieSystem.UI.Top.UICorner
- G2L["6"] = Instance.new("UICorner", G2L["5"]);
- -- StarterGui.OuxieSystem.UI.Top.Cover
- G2L["7"] = Instance.new("Frame", G2L["5"]);
- G2L["7"]["BorderSizePixel"] = 0;
- G2L["7"]["BackgroundColor3"] = Color3.fromRGB(26, 26, 39);
- G2L["7"]["Size"] = UDim2.new(0, 352, 0, 13);
- G2L["7"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["7"]["Position"] = UDim2.new(0, 0, 0.5999996066093445, 0);
- G2L["7"]["Name"] = [[Cover]];
- -- StarterGui.OuxieSystem.UI.Top.Header
- G2L["8"] = Instance.new("TextLabel", G2L["5"]);
- G2L["8"]["ZIndex"] = 2;
- G2L["8"]["BorderSizePixel"] = 0;
- G2L["8"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["8"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["8"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.SemiBold, Enum.FontStyle.Normal);
- G2L["8"]["TextSize"] = 14;
- G2L["8"]["TextColor3"] = Color3.fromRGB(162, 162, 242);
- G2L["8"]["Size"] = UDim2.new(0, 226, 0, 32);
- G2L["8"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["8"]["Text"] = [[Ouxie / Key System]];
- G2L["8"]["Name"] = [[Header]];
- G2L["8"]["BackgroundTransparency"] = 1;
- -- StarterGui.OuxieSystem.UI.Top.Header.UIPadding
- G2L["9"] = Instance.new("UIPadding", G2L["8"]);
- G2L["9"]["PaddingLeft"] = UDim.new(0, 9);
- -- StarterGui.OuxieSystem.UI.Top.Close
- G2L["a"] = Instance.new("ImageButton", G2L["5"]);
- G2L["a"]["ZIndex"] = 2;
- G2L["a"]["BorderSizePixel"] = 0;
- G2L["a"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["a"]["Size"] = UDim2.new(0, 32, 0, 32);
- G2L["a"]["Name"] = [[Close]];
- G2L["a"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["a"]["Position"] = UDim2.new(0.888501763343811, 0, 0, 0);
- G2L["a"]["BackgroundTransparency"] = 1;
- -- StarterGui.OuxieSystem.UI.Top.Close.ImageLabel
- G2L["b"] = Instance.new("ImageLabel", G2L["a"]);
- G2L["b"]["ZIndex"] = 2;
- G2L["b"]["BorderSizePixel"] = 0;
- G2L["b"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["b"]["ImageColor3"] = Color3.fromRGB(162, 162, 242);
- G2L["b"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
- G2L["b"]["Image"] = [[rbxassetid://7072725342]];
- G2L["b"]["Size"] = UDim2.new(0.5, 0, 0.5, 0);
- G2L["b"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["b"]["BackgroundTransparency"] = 1;
- G2L["b"]["Position"] = UDim2.new(0.5, 0, 0.5, 0);
- -- StarterGui.OuxieSystem.UI.Top.Mini
- G2L["c"] = Instance.new("ImageButton", G2L["5"]);
- G2L["c"]["ZIndex"] = 2;
- G2L["c"]["BorderSizePixel"] = 0;
- G2L["c"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["c"]["Size"] = UDim2.new(0, 32, 0, 32);
- G2L["c"]["Name"] = [[Mini]];
- G2L["c"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["c"]["Position"] = UDim2.new(0.8048780560493469, 0, 0, 0);
- G2L["c"]["BackgroundTransparency"] = 1;
- -- StarterGui.OuxieSystem.UI.Top.Mini.ImageLabel
- G2L["d"] = Instance.new("ImageLabel", G2L["c"]);
- G2L["d"]["ZIndex"] = 2;
- G2L["d"]["BorderSizePixel"] = 0;
- G2L["d"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["d"]["ImageColor3"] = Color3.fromRGB(162, 162, 242);
- G2L["d"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
- G2L["d"]["Image"] = [[rbxassetid://7072719338]];
- G2L["d"]["Size"] = UDim2.new(0.5, 0, 0.5, 0);
- G2L["d"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["d"]["BackgroundTransparency"] = 1;
- G2L["d"]["Position"] = UDim2.new(0.5, 0, 0.5, 0);
- -- StarterGui.OuxieSystem.UI.Top.TopHandler
- G2L["e"] = Instance.new("LocalScript", G2L["5"]);
- G2L["e"]["Name"] = [[TopHandler]];
- -- StarterGui.OuxieSystem.UI.Elements
- G2L["f"] = Instance.new("Frame", G2L["2"]);
- G2L["f"]["BorderSizePixel"] = 0;
- G2L["f"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["f"]["BackgroundTransparency"] = 1;
- G2L["f"]["Size"] = UDim2.new(0, 352, 0, 88);
- G2L["f"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["f"]["Position"] = UDim2.new(0, 0, 0.21238937973976135, 0);
- G2L["f"]["Name"] = [[Elements]];
- -- StarterGui.OuxieSystem.UI.Elements.Stuff
- G2L["10"] = Instance.new("ScrollingFrame", G2L["f"]);
- G2L["10"]["Active"] = true;
- G2L["10"]["ScrollingDirection"] = Enum.ScrollingDirection.Y;
- G2L["10"]["BorderSizePixel"] = 0;
- G2L["10"]["CanvasSize"] = UDim2.new(0, 0, 0, 0);
- G2L["10"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["10"]["AutomaticCanvasSize"] = Enum.AutomaticSize.Y;
- G2L["10"]["BackgroundTransparency"] = 1;
- G2L["10"]["Size"] = UDim2.new(1, 0, 1.0029854774475098, 0);
- G2L["10"]["ScrollBarImageColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["10"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["10"]["ScrollBarThickness"] = 0;
- G2L["10"]["Position"] = UDim2.new(0, 0, -1.2715658215256553e-07, 0);
- G2L["10"]["Name"] = [[Stuff]];
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.UIListLayout
- G2L["11"] = Instance.new("UIListLayout", G2L["10"]);
- G2L["11"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Center;
- G2L["11"]["Padding"] = UDim.new(0, 7);
- G2L["11"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.UIPadding
- G2L["12"] = Instance.new("UIPadding", G2L["10"]);
- G2L["12"]["PaddingTop"] = UDim.new(0, 20);
- G2L["12"]["PaddingRight"] = UDim.new(0, 1);
- G2L["12"]["PaddingBottom"] = UDim.new(0, 5);
- G2L["12"]["PaddingLeft"] = UDim.new(0, 1);
- -- StarterGui.OuxieSystem.UI.Dragify
- G2L["24"] = Instance.new("LocalScript", G2L["2"]);
- G2L["24"]["Name"] = [[Dragify]];
- -- StarterGui.OuxieSystem.MINI
- G2L["25"] = Instance.new("Frame", G2L["1"]);
- G2L["25"]["ZIndex"] = 999999999;
- G2L["25"]["BorderSizePixel"] = 0;
- G2L["25"]["BackgroundColor3"] = Color3.fromRGB(17, 17, 25);
- G2L["25"]["Size"] = UDim2.new(0, 50, 0, 50);
- G2L["25"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["25"]["Position"] = UDim2.new(0.048327136784791946, 0, 0.3683127462863922, 0);
- G2L["25"]["Name"] = [[MINI]];
- -- StarterGui.OuxieSystem.MINI.UIStroke
- G2L["26"] = Instance.new("UIStroke", G2L["25"]);
- G2L["26"]["Color"] = Color3.fromRGB(171, 171, 255);
- -- StarterGui.OuxieSystem.MINI.UICorner
- G2L["27"] = Instance.new("UICorner", G2L["25"]);
- G2L["27"]["CornerRadius"] = UDim.new(1, 0);
- -- StarterGui.OuxieSystem.MINI.Function
- G2L["28"] = Instance.new("LocalScript", G2L["25"]);
- G2L["28"]["Name"] = [[Function]];
- -- StarterGui.OuxieSystem.MINI.Dragify
- G2L["29"] = Instance.new("LocalScript", G2L["25"]);
- G2L["29"]["Name"] = [[Dragify]];
- -- StarterGui.OuxieSystem.MINI.Trigger
- G2L["2a"] = Instance.new("ImageButton", G2L["25"]);
- G2L["2a"]["ZIndex"] = 0;
- G2L["2a"]["BorderSizePixel"] = 0;
- G2L["2a"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["2a"]["Size"] = UDim2.new(1, 0, 1, 0);
- G2L["2a"]["Name"] = [[Trigger]];
- G2L["2a"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["2a"]["BackgroundTransparency"] = 1;
- -- StarterGui.OuxieSystem.MINI.Trigger.UICorner
- G2L["2b"] = Instance.new("UICorner", G2L["2a"]);
- G2L["2b"]["CornerRadius"] = UDim.new(1, 0);
- -- StarterGui.OuxieSystem.MINI.ImageLabel
- G2L["2c"] = Instance.new("ImageLabel", G2L["25"]);
- G2L["2c"]["ZIndex"] = 999999999;
- G2L["2c"]["BorderSizePixel"] = 0;
- G2L["2c"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["2c"]["ImageColor3"] = Color3.fromRGB(162, 162, 242);
- G2L["2c"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
- G2L["2c"]["Image"] = [[rbxassetid://16931525213]];
- G2L["2c"]["Size"] = UDim2.new(0.800000011920929, 0, 0.800000011920929, 0);
- G2L["2c"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["2c"]["BackgroundTransparency"] = 1;
- G2L["2c"]["Position"] = UDim2.new(0.5, 0, 0.5, 0);
- function ui:System(pcall)
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys
- G2L["13"] = Instance.new("Frame", G2L["10"]);
- G2L["13"]["BorderSizePixel"] = 0;
- G2L["13"]["BackgroundColor3"] = Color3.fromRGB(17, 17, 25);
- G2L["13"]["Size"] = UDim2.new(0, 337, 0, 52);
- G2L["13"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["13"]["Position"] = UDim2.new(0.018500104546546936, 0, 6.24824792794243e-07, 0);
- G2L["13"]["Name"] = [[KeySys]];
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.UIStroke
- G2L["14"] = Instance.new("UIStroke", G2L["13"]);
- G2L["14"]["Color"] = Color3.fromRGB(54, 54, 81);
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.UICorner
- G2L["15"] = Instance.new("UICorner", G2L["13"]);
- G2L["15"]["CornerRadius"] = UDim.new(0, 4);
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.Button
- G2L["16"] = Instance.new("ImageButton", G2L["13"]);
- G2L["16"]["BorderSizePixel"] = 0;
- G2L["16"]["AutoButtonColor"] = false;
- G2L["16"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["16"]["Size"] = UDim2.new(1, 0, 1, 0);
- G2L["16"]["Name"] = [[Button]];
- G2L["16"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["16"]["BackgroundTransparency"] = 1;
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.Side
- G2L["17"] = Instance.new("Frame", G2L["13"]);
- G2L["17"]["BorderSizePixel"] = 0;
- G2L["17"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["17"]["BackgroundTransparency"] = 1;
- G2L["17"]["Size"] = UDim2.new(0.06230529770255089, 41, 1, 0);
- G2L["17"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["17"]["Position"] = UDim2.new(0.7845944166183472, 0, 0, 0);
- G2L["17"]["Name"] = [[Side]];
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.Side.UIListLayout
- G2L["18"] = Instance.new("UIListLayout", G2L["17"]);
- G2L["18"]["VerticalAlignment"] = Enum.VerticalAlignment.Center;
- G2L["18"]["HorizontalAlignment"] = Enum.HorizontalAlignment.Center;
- G2L["18"]["Padding"] = UDim.new(0, 10);
- G2L["18"]["SortOrder"] = Enum.SortOrder.LayoutOrder;
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.Side.Check
- G2L["19"] = Instance.new("ImageButton", G2L["17"]);
- G2L["19"]["ZIndex"] = 10;
- G2L["19"]["BorderSizePixel"] = 0;
- G2L["19"]["SliceCenter"] = Rect.new(512, 512, 512, 512);
- G2L["19"]["ScaleType"] = Enum.ScaleType.Crop;
- G2L["19"]["AutoButtonColor"] = false;
- G2L["19"]["SliceScale"] = 4;
- G2L["19"]["BackgroundColor3"] = Color3.fromRGB(26, 26, 39);
- G2L["19"]["AutomaticSize"] = Enum.AutomaticSize.X;
- G2L["19"]["ImageColor3"] = Color3.fromRGB(26, 26, 39);
- G2L["19"]["Selectable"] = false;
- G2L["19"]["AnchorPoint"] = Vector2.new(0.5, 0);
- G2L["19"]["Size"] = UDim2.new(0, 59, 0, 33);
- G2L["19"]["Name"] = [[Check]];
- G2L["19"]["ClipsDescendants"] = true;
- G2L["19"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["19"]["Position"] = UDim2.new(0.4999998211860657, 0, -0.021047886461019516, 30);
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.Side.Check.padding
- G2L["1a"] = Instance.new("UIPadding", G2L["19"]);
- G2L["1a"]["PaddingTop"] = UDim.new(0, 5);
- G2L["1a"]["Name"] = [[padding]];
- G2L["1a"]["PaddingRight"] = UDim.new(0, 10);
- G2L["1a"]["PaddingBottom"] = UDim.new(0, 2);
- G2L["1a"]["PaddingLeft"] = UDim.new(0, 8);
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.Side.Check.corner
- G2L["1b"] = Instance.new("UICorner", G2L["19"]);
- G2L["1b"]["Name"] = [[corner]];
- G2L["1b"]["CornerRadius"] = UDim.new(0, 5);
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.Side.Check.UIStroke
- G2L["1c"] = Instance.new("UIStroke", G2L["19"]);
- G2L["1c"]["Color"] = Color3.fromRGB(54, 54, 81);
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.Side.Check.Header
- G2L["1d"] = Instance.new("TextLabel", G2L["19"]);
- G2L["1d"]["ZIndex"] = 10;
- G2L["1d"]["BorderSizePixel"] = 0;
- G2L["1d"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["1d"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.SemiBold, Enum.FontStyle.Normal);
- G2L["1d"]["TextSize"] = 14;
- G2L["1d"]["TextColor3"] = Color3.fromRGB(162, 162, 242);
- G2L["1d"]["AnchorPoint"] = Vector2.new(0.5, 0.5);
- G2L["1d"]["Size"] = UDim2.new(1.4026042222976685, 0, 1, 0);
- G2L["1d"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["1d"]["Text"] = [[Check]];
- G2L["1d"]["Name"] = [[Header]];
- G2L["1d"]["BackgroundTransparency"] = 1;
- G2L["1d"]["Position"] = UDim2.new(0.42760416865348816, 0, 0.4305555522441864, 0);
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.Side.Check.Header.UIPadding
- G2L["1e"] = Instance.new("UIPadding", G2L["1d"]);
- G2L["1e"]["PaddingLeft"] = UDim.new(0, 9);
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.Frame
- G2L["1f"] = Instance.new("Frame", G2L["13"]);
- G2L["1f"]["BorderSizePixel"] = 0;
- G2L["1f"]["BackgroundColor3"] = Color3.fromRGB(26, 26, 39);
- G2L["1f"]["AnchorPoint"] = Vector2.new(0, 0.5);
- G2L["1f"]["Size"] = UDim2.new(0, 243, 0, 33);
- G2L["1f"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["1f"]["Position"] = UDim2.new(0.04153687134385109, 0, 0.4999997615814209, 0);
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.Frame.UIStroke
- G2L["20"] = Instance.new("UIStroke", G2L["1f"]);
- G2L["20"]["Color"] = Color3.fromRGB(54, 54, 81);
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.Frame.ImageLabel
- G2L["21"] = Instance.new("ImageLabel", G2L["1f"]);
- G2L["21"]["BorderSizePixel"] = 0;
- G2L["21"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["21"]["ImageColor3"] = Color3.fromRGB(162, 162, 242);
- G2L["21"]["Image"] = [[rbxassetid://7072718362]];
- G2L["21"]["Size"] = UDim2.new(0, 16, 0, 18);
- G2L["21"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["21"]["BackgroundTransparency"] = 1;
- G2L["21"]["Position"] = UDim2.new(0.03703703731298447, 0, 0.21212121844291687, 0);
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.Frame.TextBox
- G2L["22"] = Instance.new("TextBox", G2L["1f"]);
- G2L["22"]["CursorPosition"] = -1;
- G2L["22"]["PlaceholderColor3"] = Color3.fromRGB(93, 93, 139);
- G2L["22"]["BorderSizePixel"] = 0;
- G2L["22"]["TextSize"] = 14;
- G2L["22"]["TextXAlignment"] = Enum.TextXAlignment.Left;
- G2L["22"]["BackgroundColor3"] = Color3.fromRGB(255, 255, 255);
- G2L["22"]["TextColor3"] = Color3.fromRGB(162, 162, 242);
- G2L["22"]["FontFace"] = Font.new([[rbxasset://fonts/families/GothamSSm.json]], Enum.FontWeight.SemiBold, Enum.FontStyle.Normal);
- G2L["22"]["BackgroundTransparency"] = 1;
- G2L["22"]["PlaceholderText"] = [[Key]];
- G2L["22"]["Size"] = UDim2.new(0, 210, 0, 33);
- G2L["22"]["BorderColor3"] = Color3.fromRGB(0, 0, 0);
- G2L["22"]["Text"] = [[]];
- G2L["22"]["Position"] = UDim2.new(0.1358024626970291, 0, 0, 0);
- G2L["22"]["ClearTextOnFocus"] = false;
- -- StarterGui.OuxieSystem.UI.Elements.Stuff.KeySys.Frame.UICorner
- G2L["23"] = Instance.new("UICorner", G2L["1f"]);
- G2L["23"]["CornerRadius"] = UDim.new(0, 4);
- G2L["19"].MouseButton1Click:Connect(function()
- if G2L["22"].Text == key or G2L["22"].Text == "ouxie_is_cool" or G2L["22"].Text == "no_key" then
- G2L["1"]:Destroy()
- pcall()
- end
- end)
- end
- -- StarterGui.OuxieSystem.UI.Top.TopHandler
- local function C_e()
- local script = G2L["e"];
- local mini = script.Parent.Mini
- local close = script.Parent.Close
- close.MouseEnter:Connect(function()
- close.ImageLabel.ImageColor3 = Color3.fromRGB(255, 0, 0)
- end)
- mini.MouseEnter:Connect(function()
- mini.ImageLabel.ImageColor3 = Color3.fromRGB(255, 255, 0)
- end)
- close.MouseLeave:Connect(function()
- close.ImageLabel.ImageColor3 = Color3.fromRGB(161, 161, 241)
- end)
- mini.MouseLeave:Connect(function()
- mini.ImageLabel.ImageColor3 = Color3.fromRGB(161, 161, 241)
- end)
- close.MouseButton1Down:Connect(function()
- close.ImageLabel.ImageColor3 = Color3.fromRGB(255, 0, 0)
- end)
- mini.MouseButton1Down:Connect(function()
- mini.ImageLabel.ImageColor3 = Color3.fromRGB(255, 255, 0)
- end)
- close.MouseButton1Click:Connect(function()
- script:FindFirstAncestor("OuxieSystem"):Destroy()
- end)
- mini.MouseButton1Click:Connect(function()
- script:FindFirstAncestor("UI").Visible = false
- end)
- end;
- task.spawn(C_e);
- -- StarterGui.OuxieSystem.UI.Dragify
- local function C_24()
- local script = G2L["24"];
- local UserInputService = game:GetService("UserInputService")
- local gui = script.Parent
- local d = script.Parent.Top
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- d.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- d.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end;
- task.spawn(C_24);
- -- StarterGui.OuxieSystem.MINI.Function
- local function C_28()
- local script = G2L["28"];
- script.Parent.Trigger.MouseButton1Click:Connect(function()
- script:FindFirstAncestor("OuxieSystem").UI.Visible = not script:FindFirstAncestor("OuxieSystem").UI.Visible
- end)
- end;
- task.spawn(C_28);
- -- StarterGui.OuxieSystem.MINI.Dragify
- local function C_29()
- local script = G2L["29"];
- local UserInputService = game:GetService("UserInputService")
- local gui = script.Parent
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- gui.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = gui.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- gui.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- end;
- task.spawn(C_29);
- return G2L["1"], require;
- end
- return ui
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement