Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local rain = game.Workspace.Rain.ParticleEmitter
- local getkey = game:GetService("UserInputService")
- getkey.InputBegan:Connect(function(Input)
- if Input.KeyCode == Enum.KeyCode.E then
- rain.TimeScale = 0.7
- wait(0.5)
- rain.TimeScale = 0.4
- wait(0.5)
- rain.TimeScale = 0.1
- wait(0.5)
- rain.TimeScale = 0
- elseif Input.KeyCode == Enum.KeyCode.Q then
- rain.TimeScale = 1
- end
- end)
Advertisement
Advertisement