View difference between Paste ID: zuVedC45 and wu8nEXfq
SHOW: | | - or go back to the newest paste.
1
wait(1/60)
2
3
plr = game:service'Players'.LocalPlayer
4
char = plr.Character
5
root = char:FindFirstChild'HumanoidRootPart'
6
hum = char:FindFirstChildOfClass'Humanoid'
7
mouse = plr:GetMouse()
8
clones = {}
9
followplr = true
10-
radius = 25
10+
radius = 50
11
12-
if char.Head:FindFirstChild'face' then
12+
13-
char.Head.face:Destroy()
13+
14
rand = math.random(1,2)
15
16-
for _, a in pairs(char:children()) do
16+
17-
if a:IsA'Part' then
17+
18-
a.Transparency = 1
18+
19-
elseif a:IsA'Accessory' then
19+
20
for _, a in pairs(clone:children()) do
21
if a.Name == "Right Arm" or a.Name == "UpperRightArm" then
22
a:Destroy()
23
elseif a.Name == 'Left Arm' or a.Name == 'UpperLeftArm' then
24-
eyes = Instance.new('Part', char)
24+
25-
eyes.Anchored = false
25+
26-
eyes.Name = "Eyes"
26+
27-
eyes.Size = Vector3.new(0.22, 0.052, 0.105)
27+
28-
eyesm = Instance.new('SpecialMesh', eyes)
28+
29-
eyesm.Scale = Vector3.new(0.039, 0.039, 0.039)
29+
30-
eyesm.MeshId = "rbxassetid://1300138314"
30+
31-
eyesm.TextureId = "rbxassetid://1300129774"
31+
32
end
33-
body = Instance.new('Part', char)
33+
34-
body.Anchored = false
34+
35-
body.Name = "Body"
35+
36-
body.Size = Vector3.new(0.07, 0.062, 0.078)
36+
37-
bodym = Instance.new('SpecialMesh', body)
37+
38-
bodym.Scale = Vector3.new(0.039, 0.039, 0.039)
38+
39-
bodym.MeshId = "rbxassetid://1300136843"
39+
40-
bodym.TextureId = "rbxassetid://1300137893"
40+
41
rand = math.random(1,2)
42-
weld1 = Instance.new('Weld', eyes)
42+
43-
weld1.Part0 = eyes
43+
44-
weld1.Part1 = root
44+
a.Body['TheWay1']:Stop()
45-
weld1.C0 = CFrame.new(0,1.55,.2)
45+
a.Body['TheWay2']:Stop()
46-
weld2 = Instance.new('Weld', body)
46+
47-
weld2.Part0 = body
47+
48-
weld2.Part1 = root
48+
49-
weld2.C0 = CFrame.new(0,2.1,0)
49+
a.Body['TheWay2']:Stop()
50-
local music=Instance.new("Sound",char.Torso)
50+
a.Body['TheWay1']:Stop()
51-
music.SoundId="rbxassetid://1319438783"
51+
52-
music.Volume = 2.5
52+
53-
music.Looped=true
53+
54-
music:Play()
54+
55-
TheWay1 = Instance.new('Sound', body)
55+
56-
TheWay1.SoundId = "rbxassetid://1320393438"
56+
57-
TheWay1.Volume = 3
57+
58-
TheWay1.Name = "TheWay1"
58+
59-
TheWay2 = Instance.new('Sound', body)
59+
60-
TheWay2.SoundId = "rbxassetid://1295525558"
60+
61-
TheWay2.Volume = 3
61+
62-
TheWay2.Name = "TheWay2"
62+
63-
Spit = Instance.new('Sound', body)
63+
64-
Spit.SoundId = "rbxassetid://1322795266"
64+
65-
Spit.Volume = 3
65+
66-
Spit.Name = "Spit"
66+
67-
Click = Instance.new('Sound', body)
67+
if key == "q" and not cooldown then
68-
Click.SoundId = "rbxassetid://1335379417"
68+
69-
Click.Volume = 3
69+
70
wait(.7)
71
cooldown = false
72
elseif key == "e" and not cooldown then
73
cooldown = true
74
sfx2()
75
wait(.7)
76
cooldown = false
77
end
78
end)
79
80
plr.Chatted:connect(function(m)
81
if string.sub(m:lower(),1,15) == "Quack!" then
82
for _,v in pairs(game:service'Players':GetPlayers()) do
83
if string.find(v.Name:lower(),string.sub(m:lower(),17,-1)) then
84
stalking = v
85
else
86
stalking = plr
87
end
88
end
89
elseif string.sub(m:lower(),1,16) == "Proquack!" then
90
for _,v in pairs(game:service'Players':GetPlayers()) do
91
if string.find(v.Name:lower(),string.sub(m:lower(),18,-1)) then
92
protecting = v
93
else
94
protecting = nil
95
end
96
end
97
end
98
end)
99
100
while wait(1) do
101
number = #clones
102
position = root.CFrame
103
protecting = false
104
if stalking == nil then
105
followplr = true
106
elseif stalking ~= nil then
107
followplr = false
108
end
109
for _, a in pairs(clones) do
110
if a:FindFirstChildOfClass'Humanoid' and followplr and not protecting then
111
a:FindFirstChildOfClass'Humanoid':MoveTo(root.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
112
end
113
end
114
if not protecting and not followplr and stalking ~= nil and stalking.Character:FindFirstChild'HumanoidRootPart' then
115
for _, a in pairs(clones) do
116
if a:FindFirstChildOfClass'Humanoid' then
117
a:FindFirstChildOfClass'Humanoid':MoveTo(stalking.Character.HumanoidRootPart.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
118
end
119
end
120
rand = math.random(1,10)
121
if rand == 5 then
122-
if key == "e" and not cooldown then
122+
123
random = clones[math.random(1,#clones)] 
124
rand = math.random(1,2)
125
if rand == 1 then
126
random.Body['TheWay1']:Play()
127-
elseif key == "r" and not cooldown then
127+
128
random.Body['TheWay2']:Play()
129
end
130
end
131
end
132
end
133
end