NNickey

Untitled

Apr 14th, 2016
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. list={149762038,149714829,149527325,149488420,149480601,149263988,149359445}
  2. plr=game.Players.LocalPlayer char=plr.Character mouse=plr:GetMouse() so=Instance.new("Sound", char.head) so.SoundId="rbxassetid://165602882" so.Volume=1 so.Looped=true ani = Instance.new("Animation", char) ani.Name = "ani" num=1 pl=false onn=false on2=false
  3. function Play() num=num+1 if num>#list then num=1 end ani.AnimationId = "rbxassetid://"..list[num] blah = char.Humanoid:LoadAnimation(char.ani) blah:Play() so:Play() end
  4. function Stop() so:Stop() blah:Stop() end
  5. mouse.KeyDown:connect(function(key) key=key:lower()
  6. if key=="f" then
  7. if onn==false then onn=true
  8. Play()
  9. else onn=false
  10. Stop()
  11. end
  12. end
  13. end)
Advertisement
Add Comment
Please, Sign In to add comment