SHOW:
|
|
- or go back to the newest paste.
1 | --[[ | |
2 | ||
3 | Created by Sharkringan kthx | |
4 | ||
5 | --]] | |
6 | ||
7 | wait(1/60) | |
8 | ||
9 | plr = game:service'Players'.LocalPlayer | |
10 | char = plr.Character | |
11 | root = char:FindFirstChild'HumanoidRootPart' | |
12 | hum = char:FindFirstChildOfClass'Humanoid' | |
13 | mouse = plr:GetMouse() | |
14 | clones = {} | |
15 | followplr = true | |
16 | radius = 25 | |
17 | ||
18 | if char.Head:FindFirstChild'face' then | |
19 | char.Head.face:Destroy() | |
20 | end | |
21 | ||
22 | for _, a in pairs(char:children()) do | |
23 | if a:IsA'Part' then | |
24 | a.Transparency = 1 | |
25 | elseif a:IsA'Accessory' then | |
26 | a:Destroy() | |
27 | end | |
28 | end | |
29 | ||
30 | eyes = Instance.new('Part', char) | |
31 | eyes.Anchored = false | |
32 | eyes.Name = "Eyes" | |
33 | eyes.Size = Vector3.new(0.22, 0.052, 0.105) | |
34 | eyesm = Instance.new('SpecialMesh', eyes) | |
35 | eyesm.Scale = Vector3.new(0.039, 0.039, 0.039) | |
36 | eyesm.MeshId = "rbxassetid://1300138314" | |
37 | eyesm.TextureId = "rbxassetid://1300129774" | |
38 | ||
39 | eyes = Instance.new('Part', char) | |
40 | eyes.Anchored = false | |
41 | eyes.Name = "Eyes" | |
42 | - | body.Size = Vector3.new(0.07, 0.062, 0.078) |
42 | + | |
43 | eyesm = Instance.new('SpecialMesh', eyes) | |
44 | - | bodym.Scale = Vector3.new(0.039, 0.039, 0.039) |
44 | + | eyesm.Scale = Vector3.new(0.005, 0.005, 0.005) |
45 | - | bodym.MeshId = "rbxassetid://1300136843" |
45 | + | eyesm.MeshId = "rbxassetid://1302514140" |
46 | eyesm.TextureId = "rbxassetid://1302517578" | |
47 | ||
48 | body = Instance.new('Part', char) | |
49 | body.Anchored = false | |
50 | body.Name = "Body" | |
51 | body.Size = Vector3.new(0.60, 0.062, 0.60) | |
52 | bodym = Instance.new('SpecialMesh', body) | |
53 | bodym.Scale = Vector3.new(0.40, 0.40, 0.40) | |
54 | bodym.MeshId = "rbxassetid://1301935915" | |
55 | bodym.TextureId = "rbxassetid://1300137893" | |
56 | ||
57 | - | music.SoundId="rbxassetid://1319438783" |
57 | + | |
58 | ||
59 | weld1 = Instance.new('Weld', eyes) | |
60 | weld1.Part0 = eyes | |
61 | weld1.Part1 = root | |
62 | - | TheWay1.SoundId = "rbxassetid://1320393438" |
62 | + | |
63 | weld2 = Instance.new('Weld', body) | |
64 | weld2.Part0 = body | |
65 | weld2.Part1 = root | |
66 | - | TheWay2.SoundId = "rbxassetid://1295525558" |
66 | + | |
67 | local music=Instance.new("Sound",char.Torso) | |
68 | music.SoundId="rbxassetid://1303585722" | |
69 | music.Volume = 2.5 | |
70 | - | Spit.SoundId = "rbxassetid://1322795266" |
70 | + | |
71 | music:Play() | |
72 | TheWay1 = Instance.new('Sound', body) | |
73 | TheWay1.SoundId = "rbxassetid://1303585722" | |
74 | - | Click.SoundId = "rbxassetid://1335379417" |
74 | + | |
75 | TheWay1.Name = "TheWay1" | |
76 | TheWay2 = Instance.new('Sound', body) | |
77 | TheWay2.SoundId = "rbxassetid://1303652161" | |
78 | TheWay2.Volume = 3 | |
79 | TheWay2.Name = "TheWay2" | |
80 | Spit = Instance.new('Sound', body) | |
81 | Spit.SoundId = "rbxassetid://1303652161" | |
82 | Spit.Volume = 3 | |
83 | Spit.Name = "Spit" | |
84 | Click = Instance.new('Sound', body) | |
85 | Click.SoundId = "rbxassetid://132742415" | |
86 | Click.Volume = 3 | |
87 | ||
88 | -- Objects | |
89 | ||
90 | local ScreenGui = Instance.new("ScreenGui") | |
91 | local TextButton = Instance.new("TextButton") | |
92 | ||
93 | -- Properties | |
94 | ||
95 | ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui | |
96 | ||
97 | TextButton.Parent = ScreenGui | |
98 | TextButton.BackgroundColor3 = Color3.new(1, 1, 1) | |
99 | TextButton.Size = UDim2.new(0, 200, 0, 50) | |
100 | TextButton.Font = Enum.Font.SourceSans | |
101 | TextButton.FontSize = Enum.FontSize.Size14 | |
102 | TextButton.Text = "way?" | |
103 | TextButton.TextSize = 14 | |
104 | ||
105 | --[[Function/s being made!]] | |
106 | function PlayMusic(ID) | |
107 | for i, v in pairs (game.Workspace:GetChildren()) do | |
108 | if v:IsA("Sound") then | |
109 | end | |
110 | end | |
111 | local music = Instance.new("Sound") | |
112 | local asset = "rbxassetid://" | |
113 | music.SoundId = asset .. ID | |
114 | music.Parent = workspace | |
115 | music.Volume = 999 | |
116 | music.Looped = false | |
117 | music:Play() | |
118 | end | |
119 | --[[Connecting functions!]] | |
120 | TextButton.MouseButton1Down:connect(function() | |
121 | PlayMusic(1303581720) | |
122 | end) | |
123 | ||
124 | -- Objects | |
125 | ||
126 | - | mouse.KeyDown:connect(function(k) |
126 | + | local ScreenGui = Instance.new("ScreenGui") |
127 | - | key = k:lower() |
127 | + | local TextButton = Instance.new("TextButton") |
128 | - | if key == "e" and not cooldown then |
128 | + | |
129 | - | cooldown = true |
129 | + | -- Properties |
130 | - | sfx1() |
130 | + | |
131 | - | wait(.7) |
131 | + | ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui |
132 | ||
133 | - | elseif key == "r" and not cooldown then |
133 | + | TextButton.Parent = ScreenGui |
134 | - | cooldown = true |
134 | + | TextButton.BackgroundColor3 = Color3.new(1, 1, 1) |
135 | - | sfx2() |
135 | + | TextButton.Size = UDim2.new(0, 200, 0, 30) |
136 | - | wait(.7) |
136 | + | TextButton.Font = Enum.Font.SourceSans |
137 | TextButton.FontSize = Enum.FontSize.Size14 | |
138 | TextButton.Text = "spit!" | |
139 | TextButton.TextSize = 14 | |
140 | ||
141 | - | plr.Chatted:connect(function(m) |
141 | + | --[[Function/s being made!]] |
142 | - | if string.sub(m:lower(),1,15) == "bruddas, follow" then |
142 | + | function PlayMusic(ID) |
143 | - | for _,v in pairs(game:service'Players':GetPlayers()) do |
143 | + | for i, v in pairs (game.Workspace:GetChildren()) do |
144 | - | if string.find(v.Name:lower(),string.sub(m:lower(),17,-1)) then |
144 | + | if v:IsA("Sound") then |
145 | - | stalking = v |
145 | + | end |
146 | end | |
147 | - | stalking = plr |
147 | + | local music = Instance.new("Sound") |
148 | local asset = "rbxassetid://" | |
149 | music.SoundId = asset .. ID | |
150 | - | elseif string.sub(m:lower(),1,16) == "bruddas, protect" then |
150 | + | music.Parent = workspace |
151 | - | for _,v in pairs(game:service'Players':GetPlayers()) do |
151 | + | music.Volume = 999 |
152 | - | if string.find(v.Name:lower(),string.sub(m:lower(),18,-1)) then |
152 | + | music.Looped = false |
153 | - | protecting = v |
153 | + | music:Play() |
154 | end | |
155 | - | protecting = nil |
155 | + | --[[Connecting functions!]] |
156 | TextButton.MouseButton1Down:connect(function() | |
157 | PlayMusic(1322795266) | |
158 | end) | |
159 | ||
160 | --This is a localscript; you will need to have access to using scripts wherever you want this | |
161 | p = game:GetService('Players').LocalPlayer if p.Character then if p.Character:FindFirstChild('Humanoid') then p.Character.Humanoid.MaxHealth = math.huge end end | |
162 | ||
163 | num = 1 | |
164 | cooldown = false | |
165 | rand = math.random(1,2) | |
166 | ||
167 | for i = 1,10 do | |
168 | wait() | |
169 | char.Archivable = true | |
170 | clone = char:Clone() | |
171 | for _, a in pairs(clone:children()) do | |
172 | if a.Name == "Right Arm" or a.Name == "UpperRightArm" then | |
173 | a:Destroy() | |
174 | elseif a.Name == 'Left Arm' or a.Name == 'UpperLeftArm' then | |
175 | a:Destroy() | |
176 | elseif a.Name == "Torso" or a.Name == "UpperTorso" then | |
177 | if a.Sound then | |
178 | a.Sound:Remove() | |
179 | end | |
180 | end | |
181 | end | |
182 | table.insert(clones,clone) | |
183 | end | |
184 | ||
185 | for _, a in pairs(clones) do | |
186 | a.Parent = char | |
187 | a:MoveTo(root.Position + Vector3.new(math.random(1,10),math.random(1,10),math.random(1,10))) | |
188 | end | |
189 | ||
190 | function sfx1() | |
191 | for _, a in pairs(clones) do | |
192 | rand = math.random(1,2) | |
193 | if rand == 1 then | |
194 | a.Body['TheWay1'].Pitch = math.random(0.9,1) | |
195 | a.Body['TheWay1']:Play() | |
196 | elseif rand == 2 then | |
197 | a.Body['TheWay2'].Pitch = math.random(0.9,1) | |
198 | a.Body['TheWay2']:Play() | |
199 | end | |
200 | wait(math.random(0.4,0.6)) | |
201 | end | |
202 | end | |
203 | ||
204 | function sfx2() | |
205 | for _, a in pairs(clones) do | |
206 | a.Body.Spit.Pitch = math.random(0.9,1) | |
207 | a.Body.Spit:Play() | |
208 | wait(math.random(0.4,0.6)) | |
209 | end | |
210 | end | |
211 | ||
212 | ||
213 | ||
214 | while wait(1) do | |
215 | number = #clones | |
216 | position = root.CFrame | |
217 | protecting = false | |
218 | if stalking == nil then | |
219 | followplr = true | |
220 | elseif stalking ~= nil then | |
221 | followplr = false | |
222 | end | |
223 | for _, a in pairs(clones) do | |
224 | if a:FindFirstChildOfClass'Humanoid' and followplr and not protecting then | |
225 | a:FindFirstChildOfClass'Humanoid':MoveTo(root.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10))) | |
226 | end | |
227 | end | |
228 | if not protecting and not followplr and stalking ~= nil and stalking.Character:FindFirstChild'HumanoidRootPart' then | |
229 | for _, a in pairs(clones) do | |
230 | if a:FindFirstChildOfClass'Humanoid' then | |
231 | a:FindFirstChildOfClass'Humanoid':MoveTo(stalking.Character.HumanoidRootPart.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10))) | |
232 | end | |
233 | end | |
234 | rand = math.random(1,10) | |
235 | if rand == 5 then | |
236 | for i = 1,3 do | |
237 | random = clones[math.random(1,#clones)] | |
238 | rand = math.random(1,2) | |
239 | if rand == 1 then | |
240 | random.Body['TheWay1']:Play() | |
241 | else | |
242 | random.Body['TheWay2']:Play() | |
243 | end | |
244 | end | |
245 | end | |
246 | end | |
247 | end |