View difference between Paste ID: 4ZzaasrR and mfN9DP7a
SHOW: | | - or go back to the newest paste.
1-
ls --== By: handsomeherobrine ==-- --=DO NOT EDIT=-- --=LOCAL SCRIPT=--
1+
2-
player=game:GetService("Players").LocalPlayer
2+
player = game:GetService("Players").LocalPlayer
3-
char=player.MustacheCacheStache
3+
char = player.MustacheCacheStache
4-
mouse=player:GetMouse()
4+
mouse = player:GetMouse()
5
6
fart1 = Instance.new("Sound"), char.head)
7
fart1.SoundId = "http://www.roblox.com/asset/?id=144205554"
8
fart1.Volume = 1
9
fart1.Looped = true
10
local fart2 = false
11
12
local fart = Instance.new("Animation", char)
13
fart.AnimationId = "rbxassetid://147842537"
14
fart.Name = "fart"
15
16
17
mouse.KeyDown:connect(function(key) local key=key:lower()
18
if key=="f" then
19
local vCharacter = char
20
local hum = vCharacter:findFirstChild("Humanoid")
21
blah4 = hum:LoadAnimation(char.fart)
22
blah4:Play()
23
end
24
end)
25
mouse.KeyUp:connect(function(key) local key=key:lower()
26
if key=="f" then
27
blah4:Stop()
28
end
29
end)
30
mouse.KeyDown:connect(function(key) local key=key:lower()
31
if key=="f" then
32
fart2 = true
33
fart1:Play()
34
end
35
end)
36
mouse.KeyUp:connect(function(key) local key=key:lower()
37
if key=="f" then
38
fart2 = false
39
fart1:Stop()
40
end
41
end)