Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- player=game:GetService("Players").LocalPlayer
- char=player.Character
- mouse=player:GetMouse()
- fart1 = Instance.new("Sound", char.head)
- fart1.SoundId = "http://www.roblox.com/asset/?id=439049422"
- fart1.Volume = 1
- fart1.Looped = true
- local fart2 = false
- local fart = Instance.new("Animation", char)
- fart.AnimationId = "rbxassetid://396789441"
- fart.Name = "fart"
- mouse.KeyDown:connect(function(key) local key=key:lower()
- if key=="f" then
- local vCharacter = char
- local hum = vCharacter:findFirstChild("Humanoid")
- blah4 = hum:LoadAnimation(char.fart)
- blah4:Play()
- end
- end)
- mouse.KeyUp:connect(function(key) local key=key:lower()
- if key=="f" then
- blah4:Stop()
- end
- end)
- mouse.KeyDown:connect(function(key) local key=key:lower()
- if key=="f" then
- fart2 = true
- fart1:Play()
- end
- end)
- mouse.KeyUp:connect(function(key) local key=key:lower()
- if key=="f" then
- fart2 = false
- fart1:Stop()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement