Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list={149762038,149714829,149527325,149488420,149480601,149263988,149359445}
- 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
- 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
- function Stop() so:Stop() blah:Stop() end
- mouse.KeyDown:connect(function(key) key=key:lower()
- if key=="f" then
- if onn==false then onn=true
- Play()
- else onn=false
- Stop()
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment