RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"create a script inside a screen gui that blurs out the background of the ui"
-- local script inside ScreenGui local UserInputService = game:GetService("UserInputService") local blur = Instance.new("BlurEffect", game.Lighting) blur.Size = 0 local function toggleBlur() if blur.Size == 0 then blur.Size = 24 else blur.Size = 0 end end UserInputService.InputBegan:Connect(function(input, gameProcessed) if input.KeyCode == Enum.KeyCode.B then toggleBlur() end end)