Advertisement
Anukun_Lucifer

RainStopScript (Local Script)

Oct 12th, 2022
1,049
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | Gaming | 0 0
  1. local rain = game.Workspace.Rain.ParticleEmitter
  2. local getkey = game:GetService("UserInputService")
  3.  
  4. getkey.InputBegan:Connect(function(Input)
  5.     if Input.KeyCode == Enum.KeyCode.E then
  6.         rain.TimeScale = 0.7
  7.         wait(0.5)
  8.         rain.TimeScale = 0.4
  9.         wait(0.5)
  10.         rain.TimeScale = 0.1
  11.         wait(0.5)
  12.         rain.TimeScale = 0
  13.     elseif Input.KeyCode == Enum.KeyCode.Q then
  14.         rain.TimeScale = 1
  15.     end
  16. end)
  17.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement