SHOW:
|
|
- or go back to the newest paste.
| 1 | player=game:GetService("Players").LocalPlayer
| |
| 2 | char=player.Character | |
| 3 | mouse=player:GetMouse() | |
| 4 | - | |
| 4 | + | |
| 5 | - | fart1 = Instance.new("Sound", char.head)
|
| 5 | + | |
| 6 | - | fart1.SoundId = "http://www.roblox.com/asset/?id=17018..." |
| 6 | + | |
| 7 | - | fart1.Volume = 1 |
| 7 | + | |
| 8 | - | fart1.Looped = true |
| 8 | + | |
| 9 | - | local fart2 = false |
| 9 | + | |
| 10 | - | |
| 10 | + | |
| 11 | local vCharacter = char | |
| 12 | local hum = vCharacter:findFirstChild("Humanoid")
| |
| 13 | blah4 = hum:LoadAnimation(char.fart) | |
| 14 | - | |
| 14 | + | |
| 15 | - | |
| 15 | + | |
| 16 | end) | |
| 17 | mouse.KeyUp:connect(function(key) local key=key:lower() | |
| 18 | if key=="f" then | |
| 19 | blah4:Stop() | |
| 20 | end | |
| 21 | end) | |
| 22 | mouse.KeyDown:connect(function(key) local key=key:lower() | |
| 23 | if key=="f" then | |
| 24 | fart2 = true | |
| 25 | fart1:Play() | |
| 26 | end | |
| 27 | end) | |
| 28 | mouse.KeyUp:connect(function(key) local key=key:lower() | |
| 29 | if key=="f" then | |
| 30 | fart2 = false | |
| 31 | fart1:Stop() | |
| 32 | end | |
| 33 | end) |