Advertisement
Guest User

Untitled

a guest
Apr 30th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. if(!Clockwork.Client._nextAmbience or Clockwork.Client._nextAmbience < curTime) then
  2. Clockwork.Client._nextAmbience = curTime + math.random(300, 420);
  3. local localPlayer = LocalPlayer();
  4.  
  5. local ambientSound = CreateSound(localPlayer, table.Random(ambienceTracks))
  6. ambientSound:Play()
  7.  
  8. --if (action == "die") then
  9. -- ambientSound:FadeOut(4)
  10. --end;
  11.  
  12. print("it's fucking working")
  13. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement