--// === HUD SHADERS + STOP MUSIC ON/OFF — COMPLETO === //-- local ScreenGui = Instance.new("ScreenGui") ScreenGui.Parent = game.CoreGui --////////////////////////////////////////////////////////////-- -- MUSICA DE FONDO --////////////////////////////////////////////////////////////-- local music = Instance.new("Sound") music.SoundId = "rbxassetid://9045766377" music.Volume = 1 music.Looped = true music.Parent = ScreenGui music:Play() local musicOn = true --////////////////////////////////////////////////////////////-- -- BOTÓN SHADERS (DRAGGABLE) --////////////////////////////////////////////////////////////-- local ShaderButton = Instance.new("TextButton") ShaderButton.Parent = ScreenGui ShaderButton.Size = UDim2.new(0, 220, 0, 60) ShaderButton.Position = UDim2.new(0, 20, 0, 20) ShaderButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40) ShaderButton.Text = "" ShaderButton.BorderSizePixel = 0 ShaderButton.Active = true ShaderButton.Draggable = true local corner1 = Instance.new("UICorner") corner1.CornerRadius = UDim.new(0, 35) corner1.Parent = ShaderButton -- Fondo HUD local bgImage = Instance.new("ImageLabel") bgImage.Parent = ShaderButton bgImage.Size = UDim2.new(1,0,1,0) bgImage.BackgroundTransparency = 1 bgImage.Image = "rbxassetid://7262711975" bgImage.ScaleType = Enum.ScaleType.Stretch bgImage.ZIndex = 0 -- Texto grande local ShaderText = Instance.new("TextLabel") ShaderText.Parent = ShaderButton ShaderText.Size = UDim2.new(1, 0, 1, -10) ShaderText.BackgroundTransparency = 1 ShaderText.Text = "Shaders?" ShaderText.Font = Enum.Font.MontserratBold ShaderText.TextSize = 22 ShaderText.TextColor3 = Color3.fromRGB(255, 255, 255) ShaderText.ZIndex = 2 -- Firma interna local FirmaDanny = Instance.new("TextLabel") FirmaDanny.Parent = ShaderButton FirmaDanny.Size = UDim2.new(1, 0, 0, 14) FirmaDanny.Position = UDim2.new(0, 0, 1, -18) FirmaDanny.BackgroundTransparency = 1 FirmaDanny.Text = "MADE BY DANNY" FirmaDanny.Font = Enum.Font.MontserratBold FirmaDanny.TextSize = 12 FirmaDanny.TextColor3 = Color3.fromRGB(180, 180, 180) FirmaDanny.ZIndex = 3 -- Sonido click local clickSound = Instance.new("Sound") clickSound.SoundId = "rbxassetid://15675059323" clickSound.Volume = 1 clickSound.Parent = ShaderButton -- Lógica shaders local shadersOn = false ShaderButton.MouseButton1Click:Connect(function() clickSound:Play() -- Animación ShaderButton:TweenSize(UDim2.new(0,230,0,66), "Out", "Quad", 0.1, true) task.wait(0.1) ShaderButton:TweenSize(UDim2.new(0,220,0,60), "Out", "Quad", 0.1, true) shadersOn = not shadersOn if shadersOn then game.Lighting.Brightness = 3 game.Lighting.Contrast = 2 game.Lighting.Saturation = 0.3 game.Lighting.Ambient = Color3.fromRGB(200,200,200) else game.Lighting.Brightness = 1 game.Lighting.Contrast = 0 game.Lighting.Saturation = 0 game.Lighting.Ambient = Color3.fromRGB(100,100,100) end end) --////////////////////////////////////////////////////////////-- -- BOTÓN STOP MUSIC — CIRCULAR, PEQUEÑO, ON/OFF, DRAGGABLE --////////////////////////////////////////////////////////////-- local StopButton = Instance.new("TextButton") StopButton.Parent = ScreenGui StopButton.Size = UDim2.new(0, 55, 0, 55) StopButton.Position = UDim2.new(0, 20, 0, 100) StopButton.BackgroundColor3 = Color3.fromRGB(120, 0, 0) StopButton.TextColor3 = Color3.fromRGB(255, 255, 255) StopButton.Font = Enum.Font.MontserratBold StopButton.TextSize = 11 StopButton.BorderSizePixel = 0 StopButton.Active = true StopButton.Draggable = true local circle = Instance.new("UICorner") circle.CornerRadius = UDim.new(1, 0) circle.Parent = StopButton -- Texto dinámico ON/OFF local function updateStopText() if musicOn then StopButton.Text = "Music\nON" else StopButton.Text = "Music\nOFF" end end updateStopText() -- Acción del botón StopButton.MouseButton1Click:Connect(function() if musicOn then music:Stop() musicOn = false else music:Play() musicOn = true end updateStopText() end)