-- Gui to Lua -- Version: 3.2 -- Instances: local ScreenGui = Instance.new("ScreenGui") local Frame = Instance.new("Frame") local TextLabel = Instance.new("TextLabel") local Sky1 = Instance.new("TextButton") local TextButton = Instance.new("TextButton") local TextButton_2 = Instance.new("TextButton") local TextButton_3 = Instance.new("TextButton") local TextButton_4 = Instance.new("TextButton") local TextButton_5 = Instance.new("TextButton") local TextButton_6 = Instance.new("TextButton") local TextButton_7 = Instance.new("TextButton") local TextButton_8 = Instance.new("TextButton") local TextButton_9 = Instance.new("TextButton") local TextButton_10 = Instance.new("TextButton") local TextButton_11 = Instance.new("TextButton") --Properties: ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling Frame.Parent = ScreenGui Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Frame.BorderColor3 = Color3.fromRGB(0, 0, 0) Frame.BorderSizePixel = 0 Frame.Position = UDim2.new(0.333333224, 0, 0.290055335, 0) Frame.Size = UDim2.new(0, 420, 0, 308) TextLabel.Parent = Frame TextLabel.BackgroundColor3 = Color3.fromRGB(255, 85, 0) TextLabel.BorderColor3 = Color3.fromRGB(0, 0, 0) TextLabel.BorderSizePixel = 0 TextLabel.Size = UDim2.new(0, 419, 0, 45) TextLabel.Font = Enum.Font.SourceSans TextLabel.Text = "M1M1M1M1M1 GUI V1 SECRET EDITION" TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0) TextLabel.TextSize = 14.000 Sky1.Name = "Sky 1" Sky1.Parent = Frame Sky1.BackgroundColor3 = Color3.fromRGB(255, 85, 0) Sky1.BorderColor3 = Color3.fromRGB(0, 0, 0) Sky1.BorderSizePixel = 0 Sky1.Position = UDim2.new(0.0166666675, 0, 0.191558436, 0) Sky1.Size = UDim2.new(0, 93, 0, 50) Sky1.Font = Enum.Font.SourceSans Sky1.Text = "Sky 1" Sky1.TextColor3 = Color3.fromRGB(0, 0, 0) Sky1.TextSize = 14.000 TextButton.Parent = Frame TextButton.BackgroundColor3 = Color3.fromRGB(255, 85, 0) TextButton.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton.BorderSizePixel = 0 TextButton.Position = UDim2.new(0.266666681, 0, 0.191558436, 0) TextButton.Size = UDim2.new(0, 93, 0, 50) TextButton.Font = Enum.Font.SourceSans TextButton.Text = "Sky 2" TextButton.TextColor3 = Color3.fromRGB(0, 0, 0) TextButton.TextSize = 14.000 TextButton_2.Parent = Frame TextButton_2.BackgroundColor3 = Color3.fromRGB(255, 85, 0) TextButton_2.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton_2.BorderSizePixel = 0 TextButton_2.Position = UDim2.new(0.509523809, 0, 0.191558436, 0) TextButton_2.Size = UDim2.new(0, 93, 0, 50) TextButton_2.Font = Enum.Font.SourceSans TextButton_2.Text = "Sky 3" TextButton_2.TextColor3 = Color3.fromRGB(0, 0, 0) TextButton_2.TextSize = 14.000 TextButton_3.Parent = Frame TextButton_3.BackgroundColor3 = Color3.fromRGB(255, 85, 0) TextButton_3.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton_3.BorderSizePixel = 0 TextButton_3.Position = UDim2.new(0.757142842, 0, 0.191558436, 0) TextButton_3.Size = UDim2.new(0, 93, 0, 50) TextButton_3.Font = Enum.Font.SourceSans TextButton_3.Text = "Sky 4" TextButton_3.TextColor3 = Color3.fromRGB(0, 0, 0) TextButton_3.TextSize = 14.000 TextButton_4.Parent = Frame TextButton_4.BackgroundColor3 = Color3.fromRGB(255, 85, 0) TextButton_4.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton_4.BorderSizePixel = 0 TextButton_4.Position = UDim2.new(0.0166666675, 0, 0.409090906, 0) TextButton_4.Size = UDim2.new(0, 93, 0, 50) TextButton_4.Font = Enum.Font.SourceSans TextButton_4.Text = "Decal 1" TextButton_4.TextColor3 = Color3.fromRGB(0, 0, 0) TextButton_4.TextSize = 14.000 TextButton_5.Parent = Frame TextButton_5.BackgroundColor3 = Color3.fromRGB(255, 85, 0) TextButton_5.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton_5.BorderSizePixel = 0 TextButton_5.Position = UDim2.new(0.266666681, 0, 0.409090906, 0) TextButton_5.Size = UDim2.new(0, 93, 0, 50) TextButton_5.Font = Enum.Font.SourceSans TextButton_5.Text = "Decal 2" TextButton_5.TextColor3 = Color3.fromRGB(0, 0, 0) TextButton_5.TextSize = 14.000 TextButton_6.Parent = Frame TextButton_6.BackgroundColor3 = Color3.fromRGB(255, 85, 0) TextButton_6.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton_6.BorderSizePixel = 0 TextButton_6.Position = UDim2.new(0.509523809, 0, 0.409090906, 0) TextButton_6.Size = UDim2.new(0, 93, 0, 50) TextButton_6.Font = Enum.Font.SourceSans TextButton_6.Text = "Decal 3" TextButton_6.TextColor3 = Color3.fromRGB(0, 0, 0) TextButton_6.TextSize = 14.000 TextButton_7.Parent = Frame TextButton_7.BackgroundColor3 = Color3.fromRGB(255, 85, 0) TextButton_7.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton_7.BorderSizePixel = 0 TextButton_7.Position = UDim2.new(0.757142842, 0, 0.409090906, 0) TextButton_7.Size = UDim2.new(0, 93, 0, 50) TextButton_7.Font = Enum.Font.SourceSans TextButton_7.Text = "Decal 4" TextButton_7.TextColor3 = Color3.fromRGB(0, 0, 0) TextButton_7.TextSize = 14.000 TextButton_8.Parent = Frame TextButton_8.BackgroundColor3 = Color3.fromRGB(255, 85, 0) TextButton_8.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton_8.BorderSizePixel = 0 TextButton_8.Position = UDim2.new(0.0166666675, 0, 0.629870117, 0) TextButton_8.Size = UDim2.new(0, 93, 0, 50) TextButton_8.Font = Enum.Font.SourceSans TextButton_8.Text = "Play Theme" TextButton_8.TextColor3 = Color3.fromRGB(0, 0, 0) TextButton_8.TextSize = 14.000 TextButton_9.Parent = Frame TextButton_9.BackgroundColor3 = Color3.fromRGB(255, 85, 0) TextButton_9.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton_9.BorderSizePixel = 0 TextButton_9.Position = UDim2.new(0.266666681, 0, 0.629870117, 0) TextButton_9.Size = UDim2.new(0, 93, 0, 50) TextButton_9.Font = Enum.Font.SourceSans TextButton_9.Text = "Gooby theme" TextButton_9.TextColor3 = Color3.fromRGB(0, 0, 0) TextButton_9.TextSize = 14.000 TextButton_10.Parent = Frame TextButton_10.BackgroundColor3 = Color3.fromRGB(255, 85, 0) TextButton_10.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton_10.BorderSizePixel = 0 TextButton_10.Position = UDim2.new(0.509523809, 0, 0.629870117, 0) TextButton_10.Size = UDim2.new(0, 93, 0, 50) TextButton_10.Font = Enum.Font.SourceSans TextButton_10.Text = "Goofy theme" TextButton_10.TextColor3 = Color3.fromRGB(0, 0, 0) TextButton_10.TextSize = 14.000 TextButton_11.Parent = Frame TextButton_11.BackgroundColor3 = Color3.fromRGB(255, 85, 0) TextButton_11.BorderColor3 = Color3.fromRGB(0, 0, 0) TextButton_11.BorderSizePixel = 0 TextButton_11.Position = UDim2.new(0.757142842, 0, 0.629870117, 0) TextButton_11.Size = UDim2.new(0, 93, 0, 50) TextButton_11.Font = Enum.Font.SourceSans TextButton_11.Text = "I.M.Meen Loud Audio" TextButton_11.TextColor3 = Color3.fromRGB(0, 0, 0) TextButton_11.TextSize = 14.000 -- Scripts: local function YWYTA_fake_script() -- Sky1.Script local script = Instance.new('Script', Sky1) --9422866248 function click() s = Instance.new("Sky") s.Name = "Sky" s.Parent = game.Lighting s.SkyboxBk = "http://www.roblox.com/asset/?id=89520923206556" s.SkyboxDn = "http://www.roblox.com/asset/?id=89520923206556" s.SkyboxFt = "http://www.roblox.com/asset/?id=89520923206556" s.SkyboxLf = "http://www.roblox.com/asset/?id=89520923206556" s.SkyboxRt = "http://www.roblox.com/asset/?id=89520923206556" s.SkyboxUp = "http://www.roblox.com/asset/?id=89520923206556" game.Lighting.TimeOfDay = 12 end script.Parent.MouseButton1Down:connect(click) end coroutine.wrap(YWYTA_fake_script)() local function HMBXX_fake_script() -- TextButton.Script local script = Instance.new('Script', TextButton) --9422866248 function click() s = Instance.new("Sky") s.Name = "Sky" s.Parent = game.Lighting s.SkyboxBk = "http://www.roblox.com/asset/?id=96588036484624" s.SkyboxDn = "http://www.roblox.com/asset/?id=96588036484624" s.SkyboxFt = "http://www.roblox.com/asset/?id=96588036484624" s.SkyboxLf = "http://www.roblox.com/asset/?id=96588036484624" s.SkyboxRt = "http://www.roblox.com/asset/?id=96588036484624" s.SkyboxUp = "http://www.roblox.com/asset/?id=96588036484624" game.Lighting.TimeOfDay = 12 end script.Parent.MouseButton1Down:connect(click) end coroutine.wrap(HMBXX_fake_script)() local function MPDK_fake_script() -- TextButton_2.Script local script = Instance.new('Script', TextButton_2) --9422866248 function click() s = Instance.new("Sky") s.Name = "Sky" s.Parent = game.Lighting s.SkyboxBk = "http://www.roblox.com/asset/?id=100335739710083" s.SkyboxDn = "http://www.roblox.com/asset/?id=100335739710083" s.SkyboxFt = "http://www.roblox.com/asset/?id=100335739710083" s.SkyboxLf = "http://www.roblox.com/asset/?id=100335739710083" s.SkyboxRt = "http://www.roblox.com/asset/?id=100335739710083" s.SkyboxUp = "http://www.roblox.com/asset/?id=100335739710083" game.Lighting.TimeOfDay = 12 end script.Parent.MouseButton1Down:connect(click) end coroutine.wrap(MPDK_fake_script)() local function ZQTLAOA_fake_script() -- TextButton_3.Script local script = Instance.new('Script', TextButton_3) --9422866248 function click() s = Instance.new("Sky") s.Name = "Sky" s.Parent = game.Lighting s.SkyboxBk = "http://www.roblox.com/asset/?id=81444499246631" s.SkyboxDn = "http://www.roblox.com/asset/?id=81444499246631" s.SkyboxFt = "http://www.roblox.com/asset/?id=81444499246631" s.SkyboxLf = "http://www.roblox.com/asset/?id=81444499246631" s.SkyboxRt = "http://www.roblox.com/asset/?id=81444499246631" s.SkyboxUp = "http://www.roblox.com/asset/?id=81444499246631" game.Lighting.TimeOfDay = 12 end script.Parent.MouseButton1Down:connect(click) end coroutine.wrap(ZQTLAOA_fake_script)() local function HEWSDOT_fake_script() -- TextButton_4.Script local script = Instance.new('Script', TextButton_4) function click() function exPro(root) for _, v in pairs(root:GetChildren()) do if v:IsA("Decal") and v.Texture ~= "http://www.roblox.com/asset/?id=89520923206556" then v.Parent = nil elseif v:IsA("BasePart") then v.Material = "Plastic" v.Transparency = 0 local One = Instance.new("Decal", v) local Two = Instance.new("Decal", v) local Three = Instance.new("Decal", v) local Four = Instance.new("Decal", v) local Five = Instance.new("Decal", v) local Six = Instance.new("Decal", v) One.Texture = "http://www.roblox.com/asset/?id=89520923206556" Two.Texture = "http://www.roblox.com/asset/?id=89520923206556" Three.Texture = "http://www.roblox.com/asset/?id=89520923206556" Four.Texture = "http://www.roblox.com/asset/?id=89520923206556" Five.Texture = "http://www.roblox.com/asset/?id=89520923206556" Six.Texture = "http://www.roblox.com/asset/?id=89520923206556" One.Face = "Front" Two.Face = "Back" Three.Face = "Right" Four.Face = "Left" Five.Face = "Top" Six.Face = "Bottom" end exPro(v) end end function asdf(root) for _, v in pairs(root:GetChildren()) do asdf(v) end end exPro(game.Workspace) asdf(game.Workspace) end script.Parent.MouseButton1Down:connect(click) end coroutine.wrap(HEWSDOT_fake_script)() local function RYZY_fake_script() -- TextButton_5.Script local script = Instance.new('Script', TextButton_5) function click() function exPro(root) for _, v in pairs(root:GetChildren()) do if v:IsA("Decal") and v.Texture ~= "http://www.roblox.com/asset/?id=96588036484624" then v.Parent = nil elseif v:IsA("BasePart") then v.Material = "Plastic" v.Transparency = 0 local One = Instance.new("Decal", v) local Two = Instance.new("Decal", v) local Three = Instance.new("Decal", v) local Four = Instance.new("Decal", v) local Five = Instance.new("Decal", v) local Six = Instance.new("Decal", v) One.Texture = "http://www.roblox.com/asset/?id=96588036484624" Two.Texture = "http://www.roblox.com/asset/?id=96588036484624" Three.Texture = "http://www.roblox.com/asset/?=96588036484624" Four.Texture = "http://www.roblox.com/asset/?id=96588036484624" Five.Texture = "http://www.roblox.com/asset/?id=96588036484624" Six.Texture = "http://www.roblox.com/asset/?id=96588036484624" One.Face = "Front" Two.Face = "Back" Three.Face = "Right" Four.Face = "Left" Five.Face = "Top" Six.Face = "Bottom" end exPro(v) end end function asdf(root) for _, v in pairs(root:GetChildren()) do asdf(v) end end exPro(game.Workspace) asdf(game.Workspace) end script.Parent.MouseButton1Down:connect(click) end coroutine.wrap(RYZY_fake_script)() local function RSUNUWL_fake_script() -- TextButton_6.Script local script = Instance.new('Script', TextButton_6) function click() function exPro(root) for _, v in pairs(root:GetChildren()) do if v:IsA("Decal") and v.Texture ~= "http://www.roblox.com/asset/?id=100335739710083" then v.Parent = nil elseif v:IsA("BasePart") then v.Material = "Plastic" v.Transparency = 0 local One = Instance.new("Decal", v) local Two = Instance.new("Decal", v) local Three = Instance.new("Decal", v) local Four = Instance.new("Decal", v) local Five = Instance.new("Decal", v) local Six = Instance.new("Decal", v) One.Texture = "http://www.roblox.com/asset/?id=100335739710083" Two.Texture = "http://www.roblox.com/asset/?id=100335739710083" Three.Texture = "http://www.roblox.com/asset/?=100335739710083" Four.Texture = "http://www.roblox.com/asset/?id=100335739710083" Five.Texture = "http://www.roblox.com/asset/?id=100335739710083" Six.Texture = "http://www.roblox.com/asset/?id=100335739710083" One.Face = "Front" Two.Face = "Back" Three.Face = "Right" Four.Face = "Left" Five.Face = "Top" Six.Face = "Bottom" end exPro(v) end end function asdf(root) for _, v in pairs(root:GetChildren()) do asdf(v) end end exPro(game.Workspace) asdf(game.Workspace) end script.Parent.MouseButton1Down:connect(click) end coroutine.wrap(RSUNUWL_fake_script)() local function JURIDSQ_fake_script() -- TextButton_7.Script local script = Instance.new('Script', TextButton_7) function click() function exPro(root) for _, v in pairs(root:GetChildren()) do if v:IsA("Decal") and v.Texture ~= "http://www.roblox.com/asset/?id=81444499246631" then v.Parent = nil elseif v:IsA("BasePart") then v.Material = "Plastic" v.Transparency = 0 local One = Instance.new("Decal", v) local Two = Instance.new("Decal", v) local Three = Instance.new("Decal", v) local Four = Instance.new("Decal", v) local Five = Instance.new("Decal", v) local Six = Instance.new("Decal", v) One.Texture = "http://www.roblox.com/asset/?id=81444499246631" Two.Texture = "http://www.roblox.com/asset/?id=81444499246631" Three.Texture = "http://www.roblox.com/asset/?=81444499246631" Four.Texture = "http://www.roblox.com/asset/?id=81444499246631" Five.Texture = "http://www.roblox.com/asset/?id=81444499246631" Six.Texture = "http://www.roblox.com/asset/?id=81444499246631" One.Face = "Front" Two.Face = "Back" Three.Face = "Right" Four.Face = "Left" Five.Face = "Top" Six.Face = "Bottom" end exPro(v) end end function asdf(root) for _, v in pairs(root:GetChildren()) do asdf(v) end end exPro(game.Workspace) asdf(game.Workspace) end script.Parent.MouseButton1Down:connect(click) end coroutine.wrap(JURIDSQ_fake_script)() local function OOLEP_fake_script() -- TextButton_8.Script local script = Instance.new('Script', TextButton_8) function onClick() local tubers93 = Instance.new("Sound") tubers93.Parent = game:GetService("Workspace") tubers93.SoundId = "rbxassetid://106747738399623" tubers93.Playing = true tubers93.Looped = true tubers93.Volume = 100000000 end script.Parent.MouseButton1Down:connect(onClick) end coroutine.wrap(OOLEP_fake_script)() local function KIUXIN_fake_script() -- TextButton_8.LocalScript local script = Instance.new('LocalScript', TextButton_8) script.Parent.MouseButton1Click:Connect(function() script.Parent.RemoteEvent:FireServer() end) end coroutine.wrap(KIUXIN_fake_script)() local function LVTUTUH_fake_script() -- TextButton_9.Script local script = Instance.new('Script', TextButton_9) function onClick() local tubers93 = Instance.new("Sound") tubers93.Parent = game:GetService("Workspace") tubers93.SoundId = "rbxassetid://1847661821" tubers93.Playing = true tubers93.Looped = true tubers93.Pitch = 0.8 tubers93.Volume = 5 tubers93.Distortion = 1 end script.Parent.MouseButton1Down:connect(onClick) end coroutine.wrap(LVTUTUH_fake_script)() local function IETS_fake_script() -- TextButton_10.Script local script = Instance.new('Script', TextButton_10) function onClick() local tubers93 = Instance.new("Sound") tubers93.Parent = game:GetService("Workspace") tubers93.SoundId = "rbxassetid://1839029458" tubers93.Playing = true tubers93.Looped = true tubers93.Pitch = 1 tubers93.Volume = 100000000000000000000000 tubers93.Distorted = true end script.Parent.MouseButton1Down:connect(onClick) end coroutine.wrap(IETS_fake_script)() local function LFMYUZ_fake_script() -- TextButton_11.Script local script = Instance.new('Script', TextButton_11) function onClick() local tubers93 = Instance.new("Sound") tubers93.Parent = game:GetService("Workspace") tubers93.SoundId = "rbxassetid://9069609200" tubers93.Playing = true tubers93.Looped = true tubers93.Pitch = 1 tubers93.Volume = 5 end script.Parent.MouseButton1Down:connect(onClick) end coroutine.wrap(LFMYUZ_fake_script)() local function ZIEELN_fake_script() -- Frame.LocalScript local script = Instance.new('LocalScript', Frame) -- Локальный скрипт (LocalScript), должен быть внутри UI-элемента, который нужно перетаскивать local UserInputService = game:GetService("UserInputService") local guiObject = script.Parent -- UI-элемент, который нужно перетаскивать local dragging = false local dragStartMousePosition local dragStartObjectPosition local function beginDrag(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStartMousePosition = input.Position dragStartObjectPosition = Vector2.new(guiObject.AbsolutePosition.X, guiObject.AbsolutePosition.Y) --Важно использовать AbsolutePosition --Захватываем мышь, что бы перемещать даже если мышь вышла за предел обьекта. UserInputService:CaptureMouse(guiObject) end end local function updateDrag(input) if dragging then local delta = input.Position - dragStartMousePosition guiObject.Position = UDim2.new( 0, dragStartObjectPosition.X + delta.X, --X 0, dragStartObjectPosition.Y + delta.Y --Y ) end end local function endDrag(input) if dragging then dragging = false UserInputService:ReleaseMouse(guiObject) end end guiObject.InputBegan:Connect(beginDrag) UserInputService.InputChanged:Connect(updateDrag) --Слушаем изменения мыши на всем экране guiObject.InputEnded:Connect(endDrag) --Дополнительно: Ограничение перетаскивания внутри экрана local function clampPosition() local screenWidth = UserInputService.WindowSize.X local screenHeight = UserInputService.WindowSize.Y local objectSizeX = guiObject.AbsoluteSize.X local objectSizeY = guiObject.AbsoluteSize.Y local objectX = guiObject.AbsolutePosition.X local objectY = guiObject.AbsolutePosition.Y --Ограничение по X if objectX < 0 then objectX = 0 elseif objectX + objectSizeX > screenWidth then objectX = screenWidth - objectSizeX end --Ограничение по Y if objectY < 0 then objectY = 0 elseif objectY + objectSizeY > screenHeight then objectY = screenHeight - objectSizeY end guiObject.Position = UDim2.new( 0, objectX, --X 0, objectY --Y ) end UserInputService.WindowFocused:Connect(clampPosition) --При потери фокуса guiObject:GetPropertyChangedSignal("AbsolutePosition"):Connect(clampPosition) --При изменении позиции end coroutine.wrap(ZIEELN_fake_script)()