Essentially I need help for a game I'm working on. I need all playback speeds in the game to be slowed down at times. Many games and models do this. If you've played Null Work (open the roblox menu) you'd get what I mean.
I want to do the same thing with my game. This is the current code:
local GuiService = game:GetService('GuiService')
repeat wait() until workspace.CurrentCamera
local Camera = workspace.CurrentCamera
local Blur,Color = Instance.new('BlurEffect'),Instance.new('ColorCorrectionEffect')
Blur.Size = 25 Blur.Name = 'ESCB' Color.Saturation = -.5 Color.Name = 'ESCC'
GuiService.MenuOpened:Connect(function()
local NewBlur,NewColor = Blur:Clone(),Color:Clone()
NewBlur.Parent,NewColor.Parent = Camera,Camera
end)
GuiService.MenuClosed:Connect(function()
for i,v in pairs(Camera:GetChildren()) do
if v.Name == 'ESCB' or v.Name == 'ESCC' then
v:Destroy()
end
end
end)
When the menu opens, it blurs. I just need all sounds to slow down too. Help is majorly appreciated!
