SHOW:
|
|
- or go back to the newest paste.
1 | wait(0.5) | |
2 | math.randomseed(tick()) | |
3 | local player = game.Players.LocalPlayer | |
4 | local rekt = {} | |
5 | local paralyzed = false | |
6 | local curpoint = nil | |
7 | local curpart = nil | |
8 | local finishnum = 1 | |
9 | local zombiemode = false | |
10 | local zombies = {} | |
11 | local lastgui = nil | |
12 | local mouse = player:GetMouse() | |
13 | ||
14 | function getplr(char) | |
15 | local plr = nil | |
16 | for i,v in pairs(game.Players:GetChildren()) do | |
17 | if v.Character == char then | |
18 | plr = v | |
19 | end | |
20 | end | |
21 | return plr | |
22 | end | |
23 | ||
24 | function bleed(frick) | |
25 | while frick.Parent ~= nil do | |
26 | local reeee = coroutine.wrap(function() | |
27 | local thing = Instance.new('Part',game.Workspace) | |
28 | thing.Size = Vector3.new(0.2,0.2,0.2) | |
29 | thing.CFrame = frick.CFrame | |
30 | thing.Shape = Enum.PartType.Ball | |
31 | thing.CFrame = frick.CFrame | |
32 | thing.Transparency = 1 | |
33 | thing.BrickColor = BrickColor.new('Maroon') | |
34 | thing.Material = Enum.Material.SmoothPlastic | |
35 | thing.Name = "Blood" | |
36 | thing.CanCollide =false | |
37 | local rawrxd = Instance.new('BodyForce',thing) | |
38 | rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0) | |
39 | local coru = coroutine.wrap(function() | |
40 | wait(0.01) | |
41 | rawrxd:Destroy() | |
42 | end) | |
43 | coru() | |
44 | local ree = Instance.new('ParticleEmitter',thing) | |
45 | ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(100,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(100,0,0))}) | |
46 | ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)}) | |
47 | ree.Texture = 'rbxassetid://867743272' | |
48 | ree.Lifetime = NumberRange.new(0.4) | |
49 | ree.Rate = 50 | |
50 | ree.LockedToPart = true | |
51 | ree.Speed = NumberRange.new(0, 2) | |
52 | ||
53 | thing.Touched:connect(function(tou) | |
54 | if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent ~= player.Character and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" then | |
55 | local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z) | |
56 | thing:Destroy() | |
57 | if tou.Name == "BloodPuddle" then | |
58 | local reee = tou.CFrame | |
59 | if tou.Transparency > -0.2 then | |
60 | tou.Transparency = tou.Transparency -0.1 | |
61 | end | |
62 | if tou.Size.X < 10 then | |
63 | tou.Size = tou.Size+Vector3.new(0.1,0,0.1) | |
64 | tou.CFrame = reee | |
65 | end | |
66 | else | |
67 | local bloodlol = Instance.new('Part',workspace) | |
68 | bloodlol.Size=Vector3.new(1,0.2,1) | |
69 | bloodlol.Name = "BloodPuddle" | |
70 | bloodlol.Anchored = true | |
71 | bloodlol.CanCollide = false | |
72 | bloodlol.Material = Enum.Material.SmoothPlastic | |
73 | bloodlol.BrickColor = BrickColor.new('Maroon') | |
74 | local cyl = Instance.new('CylinderMesh',bloodlol) | |
75 | cyl.Scale = Vector3.new(1,0.1,1) | |
76 | bloodlol.CFrame = CFrame.new(pos) | |
77 | local coru=coroutine.wrap(function() | |
78 | while bloodlol.Parent ~= nil do | |
79 | if bloodlol.Transparency < 1 then | |
80 | bloodlol.Transparency = bloodlol.Transparency+0.05 | |
81 | else | |
82 | bloodlol:Destroy() | |
83 | end | |
84 | wait(0.1) | |
85 | end | |
86 | end) | |
87 | coru() | |
88 | end | |
89 | end | |
90 | end) | |
91 | local coru = coroutine.wrap(function() | |
92 | wait(1) | |
93 | thing:Destroy() | |
94 | end) | |
95 | coru() | |
96 | end) | |
97 | reeee() | |
98 | wait() | |
99 | end | |
100 | end | |
101 | ||
102 | function killz(playa,hitz,kneef,explode,pool,head,charred,override) | |
103 | local soundy = false | |
104 | local heyy = hitz | |
105 | if hitz == "Right Arm" then | |
106 | local Limb = playa:FindFirstChild("Right Arm") | |
107 | local ters = playa:FindFirstChild('Torso') | |
108 | if Limb and ters then | |
109 | if ters:FindFirstChild('Right Shoulder') then ters["Right Shoulder"]:Destroy() end | |
110 | for i,v in pairs(Limb:GetChildren()) do | |
111 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then | |
112 | v:Destroy() | |
113 | end | |
114 | end | |
115 | Limb.CFrame = ters.CFrame * CFrame.new(1.5, 0, 0) | |
116 | local Joint = Instance.new("Rotate") | |
117 | Joint.Name = "RightShoulder" | |
118 | Joint.Part0 = ters | |
119 | Joint.Part1 = Limb | |
120 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
121 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
122 | Joint.Parent = ters | |
123 | if charred and zombiemode == false then | |
124 | Limb.BrickColor = BrickColor.new('Black') | |
125 | local fire = Instance.new('Fire',Limb) | |
126 | fire.Heat = 5 | |
127 | fire.Size = 5 | |
128 | game:GetService('Debris'):AddItem(fire,2) | |
129 | local coru=coroutine.wrap(function() | |
130 | wait(2) | |
131 | for i,v in pairs(Limb:GetChildren()) do | |
132 | if v:IsA('ParticleEmitter') then | |
133 | v:Destroy() | |
134 | end | |
135 | end | |
136 | end) | |
137 | coru() | |
138 | end | |
139 | local B = Instance.new("Part") | |
140 | B.TopSurface = 0 | |
141 | B.BottomSurface = 0 | |
142 | B.formFactor = "Symmetric" | |
143 | B.Size = Vector3.new(1, 1, 1) | |
144 | B.Transparency = 1 | |
145 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
146 | B.Parent = playa | |
147 | local W = Instance.new("Weld") | |
148 | W.Part0 = Limb | |
149 | W.Part1 = B | |
150 | W.C0 = CFrame.new(0, -0.5, 0) | |
151 | W.Parent = Limb | |
152 | if kneef then | |
153 | local coru = coroutine.wrap(function() | |
154 | local uno = Instance.new('Part',workspace) | |
155 | local dos = Instance.new('Part',workspace) | |
156 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
157 | dos.CFrame = kneef["big ass knife"].CFrame | |
158 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
159 | weld.Part0 = playa:FindFirstChild(hitz) | |
160 | weld.Part1 = kneef["big ass knife"] | |
161 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
162 | uno:Destroy() | |
163 | dos:Destroy() | |
164 | playa:FindFirstChild(hitz).Anchored = false | |
165 | for i, v in pairs(kneef:GetChildren()) do | |
166 | if v:IsA('BasePart') then | |
167 | v.Anchored = false | |
168 | end | |
169 | end | |
170 | if zombiemode == false or override then | |
171 | wait() | |
172 | end | |
173 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
174 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() | |
175 | end | |
176 | local bleedpart = Instance.new("Part", kneef) | |
177 | bleedpart.CanCollide = false | |
178 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
179 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
180 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
181 | bleedpart.Transparency = 0.7 | |
182 | ||
183 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
184 | bleedpartweld.Part0 = kneef["big ass knife"] | |
185 | bleedpartweld.Part1 = bleedpart | |
186 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
187 | local coru = coroutine.wrap(function() | |
188 | bleed(bleedpart) | |
189 | end) | |
190 | coru() | |
191 | game:GetService('Debris'):AddItem(bleedpart,2) | |
192 | end) | |
193 | coru() | |
194 | end | |
195 | end | |
196 | elseif hitz == "Left Arm" then | |
197 | local Limb = playa:FindFirstChild("Left Arm") | |
198 | local ters = playa:FindFirstChild('Torso') | |
199 | if Limb and ters then | |
200 | if ters:FindFirstChild('Left Shoulder') then ters["Left Shoulder"]:Destroy() end | |
201 | for i,v in pairs(Limb:GetChildren()) do | |
202 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then | |
203 | v:Destroy() | |
204 | end | |
205 | end | |
206 | Limb.CFrame = ters.CFrame * CFrame.new(-1.5, 0, 0) | |
207 | local Joint = Instance.new("Rotate") | |
208 | Joint.Name = "LeftShoulder" | |
209 | Joint.Part0 = ters | |
210 | Joint.Part1 = Limb | |
211 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
212 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
213 | Joint.Parent = ters | |
214 | if charred and zombiemode == false then | |
215 | Limb.BrickColor = BrickColor.new('Black') | |
216 | local fire = Instance.new('Fire',Limb) | |
217 | fire.Heat = 5 | |
218 | fire.Size = 5 | |
219 | game:GetService('Debris'):AddItem(fire,2) | |
220 | local coru=coroutine.wrap(function() | |
221 | wait(2) | |
222 | for i,v in pairs(Limb:GetChildren()) do | |
223 | if v:IsA('ParticleEmitter') then | |
224 | v:Destroy() | |
225 | end | |
226 | end | |
227 | end) | |
228 | coru() | |
229 | end | |
230 | ||
231 | local B = Instance.new("Part") | |
232 | B.TopSurface = 0 | |
233 | B.BottomSurface = 0 | |
234 | B.formFactor = "Symmetric" | |
235 | B.Size = Vector3.new(1, 1, 1) | |
236 | B.CanCollide = true | |
237 | B.Transparency = 1 | |
238 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
239 | B.Parent = playa | |
240 | local W = Instance.new("Weld") | |
241 | W.Part0 = ters | |
242 | W.Part1 = B | |
243 | W.C0 = CFrame.new(0, -0.5, 0) | |
244 | W.Parent = Limb | |
245 | if kneef then | |
246 | local coru = coroutine.wrap(function() | |
247 | local uno = Instance.new('Part',workspace) | |
248 | local dos = Instance.new('Part',workspace) | |
249 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
250 | dos.CFrame = kneef["big ass knife"].CFrame | |
251 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
252 | weld.Part0 = playa:FindFirstChild(hitz) | |
253 | weld.Part1 = kneef["big ass knife"] | |
254 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
255 | uno:Destroy() | |
256 | dos:Destroy() | |
257 | playa:FindFirstChild(hitz).Anchored = false | |
258 | for i, v in pairs(kneef:GetChildren()) do | |
259 | if v:IsA('BasePart') then | |
260 | v.Anchored = false | |
261 | end | |
262 | end | |
263 | if zombiemode == false or override then | |
264 | wait() | |
265 | end | |
266 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
267 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() | |
268 | end | |
269 | local bleedpart = Instance.new("Part", kneef) | |
270 | bleedpart.CanCollide = false | |
271 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
272 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
273 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
274 | bleedpart.Transparency = 1 | |
275 | ||
276 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
277 | bleedpartweld.Part0 = kneef["big ass knife"] | |
278 | bleedpartweld.Part1 = bleedpart | |
279 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
280 | local coru = coroutine.wrap(function() | |
281 | bleed(bleedpart) | |
282 | end) | |
283 | coru() | |
284 | game:GetService('Debris'):AddItem(bleedpart,2) | |
285 | end) | |
286 | coru() | |
287 | end | |
288 | end | |
289 | elseif hitz == "Right Leg" then | |
290 | local Limb = playa:FindFirstChild("Right Leg") | |
291 | local ters = playa:FindFirstChild('Torso') | |
292 | if Limb and ters then | |
293 | if ters:FindFirstChild('Right Hip') then ters["Right Hip"]:Destroy() end | |
294 | for i,v in pairs(Limb:GetChildren()) do | |
295 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then | |
296 | v:Destroy() | |
297 | end | |
298 | end | |
299 | Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0) | |
300 | local Joint = Instance.new("Rotate") | |
301 | Joint.Name = "Right Hip" | |
302 | Joint.Part0 = ters | |
303 | Joint.Part1 = Limb | |
304 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
305 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
306 | Joint.Parent = ters | |
307 | if charred and zombiemode == false then | |
308 | Limb.BrickColor = BrickColor.new('Black') | |
309 | local fire = Instance.new('Fire',Limb) | |
310 | fire.Heat = 5 | |
311 | fire.Size = 5 | |
312 | game:GetService('Debris'):AddItem(fire,2) | |
313 | local coru=coroutine.wrap(function() | |
314 | wait(2) | |
315 | for i,v in pairs(Limb:GetChildren()) do | |
316 | if v:IsA('ParticleEmitter') then | |
317 | v:Destroy() | |
318 | end | |
319 | end | |
320 | end) | |
321 | coru() | |
322 | end | |
323 | local B = Instance.new("Part") | |
324 | B.TopSurface = 0 | |
325 | B.BottomSurface = 0 | |
326 | B.formFactor = "Symmetric" | |
327 | B.Size = Vector3.new(1, 1, 1) | |
328 | B.Transparency = 1 | |
329 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
330 | B.Parent = playa | |
331 | local W = Instance.new("Weld") | |
332 | W.Part0 = Limb | |
333 | W.Part1 = B | |
334 | W.C0 = CFrame.new(0, -0.5, 0) | |
335 | W.Parent = Limb | |
336 | if kneef then | |
337 | local coru = coroutine.wrap(function() | |
338 | local uno = Instance.new('Part',workspace) | |
339 | local dos = Instance.new('Part',workspace) | |
340 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
341 | dos.CFrame = kneef["big ass knife"].CFrame | |
342 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
343 | weld.Part0 = playa:FindFirstChild(hitz) | |
344 | weld.Part1 = kneef["big ass knife"] | |
345 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
346 | uno:Destroy() | |
347 | dos:Destroy() | |
348 | playa:FindFirstChild(hitz).Anchored = false | |
349 | for i, v in pairs(kneef:GetChildren()) do | |
350 | if v:IsA('BasePart') then | |
351 | v.Anchored = false | |
352 | end | |
353 | end | |
354 | if zombiemode == false or override then | |
355 | wait() | |
356 | end | |
357 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
358 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() | |
359 | end | |
360 | local bleedpart = Instance.new("Part", kneef) | |
361 | bleedpart.CanCollide = false | |
362 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
363 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
364 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
365 | bleedpart.Transparency = 1 | |
366 | ||
367 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
368 | bleedpartweld.Part0 = kneef["big ass knife"] | |
369 | bleedpartweld.Part1 = bleedpart | |
370 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
371 | local coru = coroutine.wrap(function() | |
372 | bleed(bleedpart) | |
373 | end) | |
374 | coru() | |
375 | game:GetService('Debris'):AddItem(bleedpart,2) | |
376 | end) | |
377 | coru() | |
378 | end | |
379 | if playa then | |
380 | table.insert(rekt,playa) | |
381 | end | |
382 | end | |
383 | elseif hitz == "Left Leg" then | |
384 | local Limb = playa:FindFirstChild("Left Leg") | |
385 | local ters = playa:FindFirstChild('Torso') | |
386 | if Limb and ters then | |
387 | if ters:FindFirstChild('Left Hip') then ters["Left Hip"]:Destroy() end | |
388 | for i,v in pairs(Limb:GetChildren()) do | |
389 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then | |
390 | v:Destroy() | |
391 | end | |
392 | end | |
393 | Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0) | |
394 | Limb.CFrame = ters.CFrame * CFrame.new(-0.5, -2, 0) | |
395 | local Joint = Instance.new("Rotate") | |
396 | Joint.Name = "LeftHip" | |
397 | Joint.Part0 = ters | |
398 | Joint.Part1 = Limb | |
399 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
400 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
401 | Joint.Parent = ters | |
402 | if charred and zombiemode == false then | |
403 | Limb.BrickColor = BrickColor.new('Black') | |
404 | local fire = Instance.new('Fire',Limb) | |
405 | fire.Heat = 5 | |
406 | fire.Size = 5 | |
407 | game:GetService('Debris'):AddItem(fire,2) | |
408 | local coru=coroutine.wrap(function() | |
409 | wait(2) | |
410 | for i,v in pairs(Limb:GetChildren()) do | |
411 | if v:IsA('ParticleEmitter') then | |
412 | v:Destroy() | |
413 | end | |
414 | end | |
415 | end) | |
416 | coru() | |
417 | end | |
418 | ||
419 | local B = Instance.new("Part") | |
420 | B.TopSurface = 0 | |
421 | B.BottomSurface = 0 | |
422 | B.formFactor = "Symmetric" | |
423 | B.Size = Vector3.new(1, 1, 1) | |
424 | B.Transparency = 1 | |
425 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
426 | B.Parent = playa | |
427 | local W = Instance.new("Weld") | |
428 | W.Part0 = Limb | |
429 | W.Part1 = B | |
430 | W.C0 = CFrame.new(0, -0.5, 0) | |
431 | W.Parent = Limb | |
432 | Limb.CanCollide = false | |
433 | if kneef then | |
434 | local coru = coroutine.wrap(function() | |
435 | local uno = Instance.new('Part',workspace) | |
436 | local dos = Instance.new('Part',workspace) | |
437 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
438 | dos.CFrame = kneef["big ass knife"].CFrame | |
439 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
440 | weld.Part0 = playa:FindFirstChild(hitz) | |
441 | weld.Part1 = kneef["big ass knife"] | |
442 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
443 | uno:Destroy() | |
444 | dos:Destroy() | |
445 | playa:FindFirstChild(hitz).Anchored = false | |
446 | for i, v in pairs(kneef:GetChildren()) do | |
447 | if v:IsA('BasePart') then | |
448 | v.Anchored = false | |
449 | end | |
450 | end | |
451 | if zombiemode == false or override then | |
452 | wait() | |
453 | end | |
454 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
455 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() | |
456 | end | |
457 | local bleedpart = Instance.new("Part", kneef) | |
458 | bleedpart.CanCollide = false | |
459 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
460 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
461 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
462 | bleedpart.Transparency = 1 | |
463 | ||
464 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
465 | bleedpartweld.Part0 = kneef["big ass knife"] | |
466 | bleedpartweld.Part1 = bleedpart | |
467 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
468 | local coru = coroutine.wrap(function() | |
469 | bleed(bleedpart) | |
470 | end) | |
471 | coru() | |
472 | game:GetService('Debris'):AddItem(bleedpart,2) | |
473 | end) | |
474 | coru() | |
475 | end | |
476 | if playa then | |
477 | table.insert(rekt,playa) | |
478 | end | |
479 | end | |
480 | elseif playa then | |
481 | if finishnum ~= 1 then | |
482 | local coru=coroutine.wrap(function() | |
483 | player.Character.Head.Psycho.Playing = true | |
484 | wait(3) | |
485 | player.Character.Head.Psycho.Playing = false | |
486 | end) | |
487 | coru() | |
488 | end | |
489 | local playa2 = playa | |
490 | playa.Archivable = true | |
491 | local playa = playa:Clone() | |
492 | playa.Archivable = false | |
493 | playa2:Destroy() | |
494 | playa.Parent = workspace | |
495 | local Gibs = game.Workspace | |
496 | local Torso = playa.Torso | |
497 | local Head = playa:FindFirstChild("Head") | |
498 | local function Scan(ch) | |
499 | local e | |
500 | for e = 1,#ch do | |
501 | Scan(ch[e]:GetChildren()) | |
502 | if (ch[e].ClassName == "Weld" and ch[e]:FindFirstChild('Part1') and ch[e].Part1.Name ~= 'Projectile') or ch[e].ClassName == "Motor6D" or ch[e].ClassName == "Rotate" or (ch[e]:IsA('BasePart') and ch[e].Size == Vector3.new(1, 1, 1)) then | |
503 | ch[e]:remove() | |
504 | end | |
505 | end | |
506 | end | |
507 | Scan(playa:GetChildren()) | |
508 | if playa:FindFirstChild('HumanoidRootPart') and (zombiemode == false or override) then | |
509 | playa:FindFirstChild('HumanoidRootPart'):Destroy() | |
510 | end | |
511 | local hum2 = playa:FindFirstChildOfClass("Humanoid") | |
512 | if zombiemode == true and override == false then | |
513 | soundy = true | |
514 | end | |
515 | if string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie" then | |
516 | override = true | |
517 | end | |
518 | if hum2 ~= nil then | |
519 | hum2.Name = "Humanoid2" | |
520 | hum2.Health = 0 | |
521 | if zombiemode == false or override == true then | |
522 | table.insert(rekt,hum2.Parent) | |
523 | else | |
524 | local gyro = Instance.new('BodyGyro',Torso) | |
525 | hum2.PlatformStand = false | |
526 | for i,v in pairs(hum2.Parent.Torso:GetChildren()) do | |
527 | if v:IsA('BodyGyro') then v:Destroy() end | |
528 | end | |
529 | if playa:FindFirstChild('HumanoidRootPart') then | |
530 | hum2.Parent.HumanoidRootPart.CFrame = hum2.Parent.Torso.CFrame | |
531 | local weldcrucial = Instance.new('Weld',hum2.Parent.HumanoidRootPart) | |
532 | weldcrucial.Part0 = hum2.Parent.HumanoidRootPart | |
533 | weldcrucial.Part1 = hum2.Parent.Torso | |
534 | end | |
535 | end | |
536 | end | |
537 | local ch = playa:GetChildren() | |
538 | local i | |
539 | for i = 1,#ch do | |
540 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
541 | ch[i]:remove() | |
542 | end | |
543 | end | |
544 | ||
545 | if Head then | |
546 | local Neck = Instance.new("Weld") | |
547 | Neck.Name = "Neck" | |
548 | Neck.Part0 = Torso | |
549 | Neck.Part1 = Head | |
550 | if pool then | |
551 | local part = Instance.new('Part',Torso) | |
552 | part.Position = Vector3.new(0,10,0) | |
553 | part.Size = Vector3.new(0.2,0.2,0.2) | |
554 | part.Transparency = 1 | |
555 | part.CanCollide = false | |
556 | local we = Instance.new('Weld',Torso) | |
557 | we.Part0 = Torso | |
558 | we.Part1 = part | |
559 | we.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
560 | local coru=coroutine.wrap(function() | |
561 | bleed(part) | |
562 | end) | |
563 | coru() | |
564 | end | |
565 | if head == false or head == nil then | |
566 | Neck.C0 = CFrame.new(0, 1.5, 0) | |
567 | else | |
568 | Neck.C0 = CFrame.new(0, 1.5, 0.2)*CFrame.Angles(0.5, 0.25, 0.25) | |
569 | local bleedpart = Instance.new("Part", Torso) | |
570 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
571 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
572 | bleedpart.CanCollide = false | |
573 | bleedpart.Position = Head.Position + Vector3.new(0, 1, 0) | |
574 | bleedpart.Transparency = 1 | |
575 | ||
576 | local bleedpartweld = Instance.new("Weld", Torso) | |
577 | bleedpartweld.Part0 = Torso | |
578 | bleedpartweld.Part1 = bleedpart | |
579 | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) | |
580 | local coru = coroutine.wrap(function() | |
581 | bleed(bleedpart) | |
582 | end) | |
583 | coru() | |
584 | end | |
585 | Neck.C1 = CFrame.new() | |
586 | Neck.Parent = Torso | |
587 | end | |
588 | local Limb = playa:FindFirstChild("Right Arm") | |
589 | if Limb then | |
590 | ||
591 | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) | |
592 | local Joint = Instance.new("Rotate") | |
593 | Joint.Name = "RightShoulder" | |
594 | Joint.Part0 = Torso | |
595 | Joint.Part1 = Limb | |
596 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
597 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
598 | Joint.Parent = Torso | |
599 | ||
600 | local B = Instance.new("Part") | |
601 | B.TopSurface = 0 | |
602 | B.BottomSurface = 0 | |
603 | B.formFactor = "Symmetric" | |
604 | B.Size = Vector3.new(1, 1, 1) | |
605 | B.Transparency = 1 | |
606 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
607 | B.Parent = playa | |
608 | local W = Instance.new("Weld") | |
609 | W.Part0 = Limb | |
610 | W.Part1 = B | |
611 | W.C0 = CFrame.new(0, -0.5, 0) | |
612 | W.Parent = Limb | |
613 | end | |
614 | local Limb = playa:FindFirstChild("Left Arm") | |
615 | if Limb then | |
616 | ||
617 | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) | |
618 | local Joint = Instance.new("Rotate") | |
619 | Joint.Name = "LeftShoulder" | |
620 | Joint.Part0 = Torso | |
621 | Joint.Part1 = Limb | |
622 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
623 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
624 | Joint.Parent = Torso | |
625 | ||
626 | local B = Instance.new("Part") | |
627 | B.TopSurface = 0 | |
628 | B.BottomSurface = 0 | |
629 | B.formFactor = "Symmetric" | |
630 | B.Size = Vector3.new(1, 1, 1) | |
631 | B.Transparency = 1 | |
632 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
633 | B.Parent = playa | |
634 | local W = Instance.new("Weld") | |
635 | W.Part0 = Limb | |
636 | W.Part1 = B | |
637 | W.C0 = CFrame.new(0, -0.5, 0) | |
638 | W.Parent = Limb | |
639 | end | |
640 | local Limb = playa:FindFirstChild("Right Leg") | |
641 | if Limb then | |
642 | Limb.CanCollide = false | |
643 | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) | |
644 | local Joint = Instance.new("Rotate") | |
645 | Joint.Name = "RightHip" | |
646 | Joint.Part0 = Torso | |
647 | Joint.Part1 = Limb | |
648 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
649 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
650 | Joint.Parent = Torso | |
651 | ||
652 | local B = Instance.new("Part") | |
653 | B.TopSurface = 0 | |
654 | B.BottomSurface = 0 | |
655 | B.formFactor = "Symmetric" | |
656 | B.Size = Vector3.new(1, 1, 1) | |
657 | B.Transparency = 1 | |
658 | B.CanCollide = true | |
659 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
660 | B.Parent = playa | |
661 | local W = Instance.new("Weld") | |
662 | W.Part0 = Limb | |
663 | W.Part1 = B | |
664 | W.C0 = CFrame.new(0, -0.5, 0) | |
665 | W.Parent = Limb | |
666 | end | |
667 | local Limb = playa:FindFirstChild("Left Leg") | |
668 | if Limb then | |
669 | Limb.CanCollide = false | |
670 | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) | |
671 | local Joint = Instance.new("Rotate") | |
672 | Joint.Name = "LeftHip" | |
673 | Joint.Part0 = Torso | |
674 | Joint.Part1 = Limb | |
675 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
676 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
677 | Joint.Parent = Torso | |
678 | ||
679 | local B = Instance.new("Part") | |
680 | B.TopSurface = 0 | |
681 | B.BottomSurface = 0 | |
682 | if zombiemode == false or override then | |
683 | B.CanCollide = true | |
684 | end | |
685 | B.formFactor = "Symmetric" | |
686 | B.Size = Vector3.new(1, 1, 1) | |
687 | B.Transparency = 1 | |
688 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
689 | B.Parent = playa | |
690 | local W = Instance.new("Weld") | |
691 | W.Part0 = Limb | |
692 | W.Part1 = B | |
693 | W.C0 = CFrame.new(0, -0.5, 0) | |
694 | W.Parent = Limb | |
695 | end | |
696 | --[[ | |
697 | local Bar = Instance.new("Part") | |
698 | Bar.TopSurface = 0 | |
699 | Bar.BottomSurface = 0 | |
700 | Bar.formFactor = "Symmetric" | |
701 | Bar.Size = Vector3.new(1, 1, 1) | |
702 | Bar.Transparency = 1 | |
703 | Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0) | |
704 | Bar.Parent = playa | |
705 | local Weld = Instance.new("Weld") | |
706 | Weld.Part0 = Torso | |
707 | Weld.Part1 = Bar | |
708 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
709 | Weld.Parent = Torso | |
710 | --]] | |
711 | playa.Parent = Gibs | |
712 | if kneef and explode == nil then | |
713 | local coru = coroutine.wrap(function() | |
714 | if playa:FindFirstChild(hitz) then | |
715 | local uno = Instance.new('Part',workspace) | |
716 | local dos = Instance.new('Part',workspace) | |
717 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
718 | dos.CFrame = kneef["big ass knife"].CFrame | |
719 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
720 | weld.Part0 = playa:FindFirstChild(hitz) | |
721 | weld.Part1 = kneef["big ass knife"] | |
722 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
723 | uno:Destroy() | |
724 | dos:Destroy() | |
725 | playa:FindFirstChild(hitz).Anchored = false | |
726 | for i, v in pairs(kneef:GetChildren()) do | |
727 | if v:IsA('BasePart') then | |
728 | v.Anchored = false | |
729 | end | |
730 | end | |
731 | if explode == nil or explode == false then | |
732 | local bleedpart = Instance.new("Part", kneef) | |
733 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
734 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
735 | bleedpart.CanCollide = false | |
736 | bleedpart.Position = Head.Position + Vector3.new(0, 1, 0) | |
737 | bleedpart.Transparency = 1 | |
738 | ||
739 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
740 | bleedpartweld.Part0 = kneef["big ass knife"] | |
741 | bleedpartweld.Part1 = bleedpart | |
742 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
743 | local coru = coroutine.wrap(function() | |
744 | bleed(bleedpart) | |
745 | end) | |
746 | coru() | |
747 | end | |
748 | end | |
749 | if zombiemode == false or override then | |
750 | wait() | |
751 | end | |
752 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
753 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() | |
754 | end | |
755 | end) | |
756 | coru() | |
757 | end | |
758 | if explode then | |
759 | local movevector = CFrame.new(explode.Position,Torso.Position).lookVector | |
760 | local repulse = Instance.new('BodyForce',Torso) | |
761 | repulse.Force = movevector*10000 + Vector3.new(0,5000,0) | |
762 | game.Debris:AddItem(repulse,0.05) | |
763 | end | |
764 | if charred and zombiemode == false then | |
765 | for i,v in pairs(playa:GetChildren()) do | |
766 | if v:IsA('BasePart') then | |
767 | v.BrickColor = BrickColor.Black() | |
768 | local fire = Instance.new('Fire',v) | |
769 | fire.Size = 5 | |
770 | fire.Heat = 5 | |
771 | elseif v:IsA('Accessory') then | |
772 | for a,c in pairs(v:GetChildren()) do | |
773 | if c:IsA('BasePart') then | |
774 | c.BrickColor = BrickColor.Black() | |
775 | local fire = Instance.new('Fire',v) | |
776 | fire.Size = 5 | |
777 | fire.Heat = 5 | |
778 | for o,p in pairs(c:GetChildren()) do | |
779 | if p:IsA("SpecialMesh") then | |
780 | p.TextureId = "" | |
781 | end | |
782 | end | |
783 | end | |
784 | end | |
785 | end | |
786 | end | |
787 | end | |
788 | if soundy then | |
789 | local sound = Instance.new('Sound',Head) | |
790 | sound.SoundId = 'rbxassetid://903640857' | |
791 | sound.Volume = 1 | |
792 | sound:Play() | |
793 | sound.Ended:connect(function() | |
794 | sound:Destroy() | |
795 | local ambient = Instance.new('Sound',Head) | |
796 | ambient.Volume = 0.25 | |
797 | ambient.Looped = true | |
798 | ambient.SoundId = 'rbxassetid://903641031' | |
799 | ambient:Play() | |
800 | end) | |
801 | end | |
802 | if override then | |
803 | if (string.len(hum2.Parent.Name) < 9 or string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie") and zombiemode == true and #zombies < 10 then | |
804 | local coru = coroutine.wrap(function() | |
805 | wait(4.5) | |
806 | hum2.Parent.Name = hum2.Parent.Name.."'s Zombie" | |
807 | hum2.HipHeight = 0.2 | |
808 | wait(0.5) | |
809 | killz(hum2.Parent,"Head",nil,nil,false,false,false,false) | |
810 | end) | |
811 | coru() | |
812 | else | |
813 | game:GetService('Debris'):AddItem(playa, 12) | |
814 | end | |
815 | else | |
816 | hum2.Health = 0 | |
817 | table.insert(zombies,playa) | |
818 | local attack = Instance.new('Sound',Head) | |
819 | attack.SoundId = 'rbxassetid://903641424' | |
820 | attack.Volume = 2 | |
821 | for i,v in pairs(playa:GetChildren()) do | |
822 | if v:IsA('BasePart') and v:FindFirstChildOfClass('TouchTransmitter') == nil then | |
823 | v.Touched:connect(function(hit) | |
824 | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') then | |
825 | local found = false | |
826 | if hit.Parent == player.Character then | |
827 | found = true | |
828 | end | |
829 | for a,c in pairs(zombies) do | |
830 | if c == hit.Parent then | |
831 | found = true | |
832 | end | |
833 | end | |
834 | if found == false and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then | |
835 | attack:Play() | |
836 | if hit.Parent:FindFirstChildOfClass('Humanoid').Health - 2 <= 0 then | |
837 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0 | |
838 | wait() | |
839 | killz(hit.Parent,"Head") | |
840 | else | |
841 | hit.Parent:FindFirstChildOfClass('Humanoid'):TakeDamage(2) | |
842 | end | |
843 | end | |
844 | end | |
845 | end) | |
846 | end | |
847 | end | |
848 | local coru = coroutine.wrap(function() | |
849 | wait(2) | |
850 | for i,v in pairs(playa:GetChildren()) do | |
851 | if v:IsA('BasePart') then | |
852 | for a,c in pairs(v:GetChildren()) do | |
853 | if c:IsA('Fire') or c:IsA('ParticleEmitter') then | |
854 | c:Destroy() | |
855 | end | |
856 | end | |
857 | elseif v:IsA('Accessory') then | |
858 | for a,c in pairs(v:GetChildren()) do | |
859 | if c:IsA('BasePart') then | |
860 | for b,d in pairs(c:GetChildren()) do | |
861 | if d:IsA('Fire') or d:IsA('ParticleEmitter') then | |
862 | d:Destroy() | |
863 | end | |
864 | end | |
865 | end | |
866 | end | |
867 | end | |
868 | end | |
869 | end) | |
870 | coru() | |
871 | end | |
872 | end | |
873 | end | |
874 | ||
875 | mouse.KeyDown:connect(function(key) | |
876 | if key == "t" and mouse.Target then | |
877 | local hum = mouse.Target.Parent:FindFirstChildOfClass('Humanoid') | |
878 | if hum == nil then hum = mouse.Target.Parent.Parent:FindFirstChildOfClass('Humanoid') end | |
879 | if curpoint == nil then | |
880 | if hum and hum.Parent:FindFirstChild('Head') then | |
881 | curpart = hum.Parent.Head | |
882 | else | |
883 | curpart = nil | |
884 | curpoint = mouse.Hit.p | |
885 | end | |
886 | if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end | |
887 | notify("ZOMBIE TARGET SET",false) | |
888 | else | |
889 | curpart = nil | |
890 | curpoint = nil | |
891 | if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end | |
892 | notify("ZOMBIE TARGET REMOVED",false) | |
893 | end | |
894 | elseif key == "y" then | |
895 | for o,p in pairs(zombies) do | |
896 | local coru = coroutine.wrap(function() | |
897 | if p:FindFirstChild('Torso') then | |
898 | killz(p,"Head",nil,nil,false,false,false,true) | |
899 | else | |
900 | table.remove(zombies,o) | |
901 | end | |
902 | end) | |
903 | coru() | |
904 | wait() | |
905 | end | |
906 | for i,v in pairs(zombies) do | |
907 | table.remove(zombies,i) | |
908 | end | |
909 | if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end | |
910 | notify("ZOMBIES TERMINATED",false) | |
911 | end | |
912 | end) | |
913 | ||
914 | function nub() | |
915 | local me = player.Character | |
916 | local point = me.HumanoidRootPart | |
917 | local playergui = player.PlayerGui | |
918 | local rightshoulderz = me.Torso["Right Shoulder"]:Clone() | |
919 | local leftshoulderz = me.Torso["Left Shoulder"]:Clone() | |
920 | local torsojoint = me.HumanoidRootPart["RootJoint"]:Clone() | |
921 | local lefthipz = me.Torso["Left Hip"]:Clone() | |
922 | local righthipz = me.Torso["Right Hip"]:Clone() | |
923 | local mode = "kill" | |
924 | local lerpz = false | |
925 | local active = false | |
926 | local acting = false | |
927 | local hit = false | |
928 | local canClick = true | |
929 | local stabbing = false | |
930 | local grabbing = false | |
931 | local finishing = false | |
932 | local kyssing = false | |
933 | local canbackgroundmusic = true | |
934 | local cancolorfilter = true | |
935 | local spinboolean = false | |
936 | local grabbed = nil | |
937 | local doing = false | |
938 | local rightshoulder = nil | |
939 | local leftshoulder = nil | |
940 | local headweld = nil | |
941 | local usable = true | |
942 | finishnum = 1 | |
943 | ||
944 | function notify(msg,forever) | |
945 | local doit = coroutine.wrap(function() | |
946 | local gui = Instance.new('ScreenGui',playergui) | |
947 | gui.Name = "Notification" | |
948 | local frame = Instance.new('Frame',gui) | |
949 | frame.Position = UDim2.new(0,0,0,0) | |
950 | frame.Size = UDim2.new(1,0,0.2,0) | |
951 | frame.BackgroundTransparency = 1 | |
952 | local txt = Instance.new('TextLabel',frame) | |
953 | txt.TextColor3 = Color3.new(255,255,255) | |
954 | txt.TextStrokeColor3 = Color3.new(0, 0, 0) | |
955 | txt.TextStrokeTransparency = 0 | |
956 | txt.BackgroundTransparency = 1 | |
957 | txt.Text = "" | |
958 | txt.Size = UDim2.new(1,0,0.3,0) | |
959 | txt.Position = UDim2.new(0,0,0.4,0) | |
960 | txt.TextScaled = true | |
961 | txt.Font = "Code" | |
962 | txt.TextXAlignment = "Center" | |
963 | local tap = Instance.new("Sound") | |
964 | tap.Parent = gui | |
965 | tap.SoundId = "rbxassetid://147982968" | |
966 | tap.TimePosition = 0.1 | |
967 | local str = msg | |
968 | local len = string.len(str) | |
969 | for i=1,len do | |
970 | txt.Text = string.sub(str,1,i) | |
971 | pitche = math.random(20, 40)/10 | |
972 | tap.PlaybackSpeed = pitche | |
973 | tap:Play() | |
974 | wait(0.01) | |
975 | end | |
976 | if forever == false then | |
977 | wait(1) | |
978 | while txt.TextTransparency < 1 do | |
979 | txt.TextTransparency = txt.TextTransparency + 0.1 | |
980 | txt.TextStrokeTransparency = txt.TextStrokeTransparency + 0.1 | |
981 | wait(0.001) | |
982 | end | |
983 | gui:Destroy() | |
984 | end | |
985 | end) | |
986 | doit() | |
987 | end | |
988 | ||
989 | wait(0.5) | |
990 | notify("PRESS [Z] TO EQUIP KNIFE || Created by mustardfoot and Tollonis",true) | |
991 | local laugh = Instance.new('Sound',me.Head) | |
992 | laugh.SoundId = 'rbxassetid://378827985' | |
993 | laugh.Name = "Psycho" | |
994 | laugh.Volume = 5 | |
995 | -- 1 - bitch ass knife | |
996 | local obj1 = Instance.new("Model") | |
997 | obj1.Name = "bitch ass knife" | |
998 | obj1.Parent = game.Workspace | |
999 | ||
1000 | -- 2 - Grab | |
1001 | local obj2 = Instance.new("Part") | |
1002 | obj2.CFrame = CFrame.new(Vector3.new(20.4525032, 6.14501333, -134.399979)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) | |
1003 | obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1004 | obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1005 | obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1006 | obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1007 | obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1008 | obj2.Material = Enum.Material.Concrete | |
1009 | obj2.Size = Vector3.new(1, 0.25, 0.25) | |
1010 | obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1011 | obj2.Anchored = true | |
1012 | obj2.BrickColor = BrickColor.new("Black") | |
1013 | obj2.Friction = 0.30000001192093 | |
1014 | obj2.Shape = Enum.PartType.Cylinder | |
1015 | obj2.Name = "Grab" | |
1016 | obj2.Parent = obj1 | |
1017 | ||
1018 | -- 3 - handletopcap | |
1019 | local obj3 = Instance.new("Part") | |
1020 | obj3.CFrame = CFrame.new(Vector3.new(19.9725456, 6.14502859, -134.399933)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1021 | obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1022 | obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1023 | obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1024 | obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1025 | obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1026 | obj3.Material = Enum.Material.Concrete | |
1027 | obj3.Size = Vector3.new(0.349999994, 0.349999994, 0.349999994) | |
1028 | obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1029 | obj3.Anchored = true | |
1030 | obj3.BrickColor = BrickColor.new("Black") | |
1031 | obj3.Friction = 0.30000001192093 | |
1032 | obj3.Shape = Enum.PartType.Ball | |
1033 | obj3.Name = "handletopcap" | |
1034 | obj3.Parent = obj1 | |
1035 | ||
1036 | -- 4 - handlebottomcap | |
1037 | local obj4 = Instance.new("Part") | |
1038 | obj4.CFrame = CFrame.new(Vector3.new(20.9725285, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1039 | obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1040 | obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1041 | obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1042 | obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1043 | obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1044 | obj4.Material = Enum.Material.Concrete | |
1045 | obj4.Size = Vector3.new(0.25, 0.25, 0.25) | |
1046 | obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1047 | obj4.Anchored = true | |
1048 | obj4.BrickColor = BrickColor.new("Black") | |
1049 | obj4.Friction = 0.30000001192093 | |
1050 | obj4.Shape = Enum.PartType.Ball | |
1051 | obj4.Name = "handlebottomcap" | |
1052 | obj4.Parent = obj1 | |
1053 | ||
1054 | -- 5 - handleguardmid | |
1055 | local obj5 = Instance.new("Part") | |
1056 | obj5.CFrame = CFrame.new(Vector3.new(19.9474983, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1057 | obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1058 | obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1059 | obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1060 | obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1061 | obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1062 | obj5.Material = Enum.Material.Concrete | |
1063 | obj5.Size = Vector3.new(0.349999994, 0.349999994, 0.100000001) | |
1064 | obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1065 | obj5.Anchored = true | |
1066 | obj5.BrickColor = BrickColor.new("Black") | |
1067 | obj5.Friction = 0.30000001192093 | |
1068 | obj5.Shape = Enum.PartType.Block | |
1069 | obj5.Name = "handleguardmid" | |
1070 | obj5.Parent = obj1 | |
1071 | ||
1072 | -- 6 - handleguardcap1 | |
1073 | local obj6 = Instance.new("Part") | |
1074 | obj6.CFrame = CFrame.new(Vector3.new(19.9474983, 6.32502794, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) | |
1075 | obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1076 | obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1077 | obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1078 | obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1079 | obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1080 | obj6.Material = Enum.Material.Concrete | |
1081 | obj6.Size = Vector3.new(0.100000001, 0.349999994, 0.349999994) | |
1082 | obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1083 | obj6.Anchored = true | |
1084 | obj6.BrickColor = BrickColor.new("Black") | |
1085 | obj6.Friction = 0.30000001192093 | |
1086 | obj6.Shape = Enum.PartType.Cylinder | |
1087 | obj6.Name = "handleguardcap1" | |
1088 | obj6.Parent = obj1 | |
1089 | ||
1090 | -- 7 - handleguardcap2 | |
1091 | local obj7 = Instance.new("Part") | |
1092 | obj7.CFrame = CFrame.new(Vector3.new(19.9474983, 5.97502899, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) | |
1093 | obj7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1094 | obj7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1095 | obj7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1096 | obj7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1097 | obj7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1098 | obj7.Material = Enum.Material.Concrete | |
1099 | obj7.Size = Vector3.new(0.100000009, 0.349999994, 0.349999994) | |
1100 | obj7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1101 | obj7.Anchored = true | |
1102 | obj7.BrickColor = BrickColor.new("Black") | |
1103 | obj7.Friction = 0.30000001192093 | |
1104 | obj7.Shape = Enum.PartType.Cylinder | |
1105 | obj7.Name = "handleguardcap2" | |
1106 | obj7.Parent = obj1 | |
1107 | ||
1108 | -- 8 - big ass knife | |
1109 | local obj8 = Instance.new("Part") | |
1110 | obj8.CFrame = CFrame.new(Vector3.new(18.4375095, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1111 | obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1112 | obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1113 | obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1114 | obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1115 | obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1116 | obj8.Material = Enum.Material.Metal | |
1117 | obj8.Size = Vector3.new(0.0500000007, 0.280000001, 0.839999795) | |
1118 | obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1119 | obj8.Anchored = true | |
1120 | obj8.BrickColor = BrickColor.new("Lily white") | |
1121 | obj8.Friction = 0.30000001192093 | |
1122 | obj8.Shape = Enum.PartType.Block | |
1123 | obj8.Name = "big ass knife" | |
1124 | obj8.Parent = obj1 | |
1125 | ||
1126 | -- 9 - Mesh | |
1127 | local obj9 = Instance.new("BlockMesh") | |
1128 | obj9.Scale = Vector3.new(0.5, 1, 1) | |
1129 | obj9.Parent = obj8 | |
1130 | ||
1131 | -- 10 - big ass knife | |
1132 | local obj10 = Instance.new("Part") | |
1133 | obj10.CFrame = CFrame.new(Vector3.new(19.7425137, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1134 | obj10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1135 | obj10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1136 | obj10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1137 | obj10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1138 | obj10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1139 | obj10.Material = Enum.Material.Metal | |
1140 | obj10.Size = Vector3.new(0.0500000007, 0.280000001, 0.289999962) | |
1141 | obj10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1142 | obj10.Anchored = true | |
1143 | obj10.BrickColor = BrickColor.new("Lily white") | |
1144 | obj10.Friction = 0.30000001192093 | |
1145 | obj10.Shape = Enum.PartType.Block | |
1146 | obj10.Name = "big ass knife" | |
1147 | obj10.Parent = obj1 | |
1148 | local knife = obj10 | |
1149 | ||
1150 | -- 11 - Mesh | |
1151 | local obj11 = Instance.new("BlockMesh") | |
1152 | obj11.Scale = Vector3.new(0.5, 1, 1) | |
1153 | obj11.Parent = obj10 | |
1154 | ||
1155 | -- 12 - big ass knife | |
1156 | local obj12 = Instance.new("Part") | |
1157 | obj12.CFrame = CFrame.new(Vector3.new(19.1075306, 6.08502865, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1158 | obj12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1159 | obj12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1160 | obj12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1161 | obj12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1162 | obj12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1163 | obj12.Material = Enum.Material.Metal | |
1164 | obj12.Size = Vector3.new(0.0500000007, 0.159999996, 0.979999959) | |
1165 | obj12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1166 | obj12.Anchored = true | |
1167 | obj12.BrickColor = BrickColor.new("Lily white") | |
1168 | obj12.Friction = 0.30000001192093 | |
1169 | obj12.Shape = Enum.PartType.Block | |
1170 | obj12.Name = "big ass knife" | |
1171 | obj12.Parent = obj1 | |
1172 | ||
1173 | -- 13 - Mesh | |
1174 | local obj13 = Instance.new("BlockMesh") | |
1175 | obj13.Scale = Vector3.new(0.5, 1, 1) | |
1176 | obj13.Parent = obj12 | |
1177 | ||
1178 | -- 14 - serration | |
1179 | local obj14 = Instance.new("WedgePart") | |
1180 | obj14.CFrame = CFrame.new(Vector3.new(19.4963322, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1181 | obj14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1182 | obj14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1183 | obj14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1184 | obj14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1185 | obj14.Material = Enum.Material.Metal | |
1186 | obj14.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1187 | obj14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1188 | obj14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1189 | obj14.Anchored = true | |
1190 | obj14.BrickColor = BrickColor.new("Lily white") | |
1191 | obj14.Friction = 0.30000001192093 | |
1192 | obj14.Name = "serration" | |
1193 | obj14.Parent = obj1 | |
1194 | ||
1195 | -- 15 - Mesh | |
1196 | local obj15 = Instance.new("BlockMesh") | |
1197 | obj15.Scale = Vector3.new(0.5, 1, 1) | |
1198 | obj15.Parent = obj14 | |
1199 | ||
1200 | -- 16 - serration | |
1201 | local obj16 = Instance.new("WedgePart") | |
1202 | obj16.CFrame = CFrame.new(Vector3.new(19.2763138, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1203 | obj16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1204 | obj16.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1205 | obj16.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1206 | obj16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1207 | obj16.Material = Enum.Material.Metal | |
1208 | obj16.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1209 | obj16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1210 | obj16.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1211 | obj16.Anchored = true | |
1212 | obj16.BrickColor = BrickColor.new("Lily white") | |
1213 | obj16.Friction = 0.30000001192093 | |
1214 | obj16.Name = "serration" | |
1215 | obj16.Parent = obj1 | |
1216 | ||
1217 | -- 17 - Mesh | |
1218 | local obj17 = Instance.new("BlockMesh") | |
1219 | obj17.Scale = Vector3.new(0.5, 1, 1) | |
1220 | obj17.Parent = obj16 | |
1221 | ||
1222 | -- 18 - serration | |
1223 | local obj18 = Instance.new("WedgePart") | |
1224 | obj18.CFrame = CFrame.new(Vector3.new(19.3863068, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1225 | obj18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1226 | obj18.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1227 | obj18.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1228 | obj18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1229 | obj18.Material = Enum.Material.Metal | |
1230 | obj18.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1231 | obj18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1232 | obj18.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1233 | obj18.Anchored = true | |
1234 | obj18.BrickColor = BrickColor.new("Lily white") | |
1235 | obj18.Friction = 0.30000001192093 | |
1236 | obj18.Name = "serration" | |
1237 | obj18.Parent = obj1 | |
1238 | ||
1239 | -- 19 - Mesh | |
1240 | local obj19 = Instance.new("BlockMesh") | |
1241 | obj19.Scale = Vector3.new(0.5, 1, 1) | |
1242 | obj19.Parent = obj18 | |
1243 | ||
1244 | -- 20 - serration | |
1245 | local obj20 = Instance.new("WedgePart") | |
1246 | obj20.CFrame = CFrame.new(Vector3.new(19.5963173, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1247 | obj20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1248 | obj20.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1249 | obj20.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1250 | obj20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1251 | obj20.Material = Enum.Material.Metal | |
1252 | obj20.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1253 | obj20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1254 | obj20.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1255 | obj20.Anchored = true | |
1256 | obj20.BrickColor = BrickColor.new("Lily white") | |
1257 | obj20.Friction = 0.30000001192093 | |
1258 | obj20.Name = "serration" | |
1259 | obj20.Parent = obj1 | |
1260 | ||
1261 | -- 21 - Mesh | |
1262 | local obj21 = Instance.new("BlockMesh") | |
1263 | obj21.Scale = Vector3.new(0.5, 1, 1) | |
1264 | obj21.Parent = obj20 | |
1265 | ||
1266 | -- 22 - serration | |
1267 | local obj22 = Instance.new("WedgePart") | |
1268 | obj22.CFrame = CFrame.new(Vector3.new(19.1663074, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1269 | obj22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1270 | obj22.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1271 | obj22.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1272 | obj22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1273 | obj22.Material = Enum.Material.Metal | |
1274 | obj22.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1275 | obj22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1276 | obj22.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1277 | obj22.Anchored = true | |
1278 | obj22.BrickColor = BrickColor.new("Lily white") | |
1279 | obj22.Friction = 0.30000001192093 | |
1280 | obj22.Name = "serration" | |
1281 | obj22.Parent = obj1 | |
1282 | ||
1283 | -- 23 - Mesh | |
1284 | local obj23 = Instance.new("BlockMesh") | |
1285 | obj23.Scale = Vector3.new(0.5, 1, 1) | |
1286 | obj23.Parent = obj22 | |
1287 | ||
1288 | -- 24 - serration | |
1289 | local obj24 = Instance.new("WedgePart") | |
1290 | obj24.CFrame = CFrame.new(Vector3.new(18.9663048, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1291 | obj24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1292 | obj24.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1293 | obj24.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1294 | obj24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1295 | obj24.Material = Enum.Material.Metal | |
1296 | obj24.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1297 | obj24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1298 | obj24.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1299 | obj24.Anchored = true | |
1300 | obj24.BrickColor = BrickColor.new("Lily white") | |
1301 | obj24.Friction = 0.30000001192093 | |
1302 | obj24.Name = "serration" | |
1303 | obj24.Parent = obj1 | |
1304 | ||
1305 | -- 25 - Mesh | |
1306 | local obj25 = Instance.new("BlockMesh") | |
1307 | obj25.Scale = Vector3.new(0.5, 1, 1) | |
1308 | obj25.Parent = obj24 | |
1309 | ||
1310 | -- 26 - serration | |
1311 | local obj26 = Instance.new("WedgePart") | |
1312 | obj26.CFrame = CFrame.new(Vector3.new(18.8562984, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1313 | obj26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1314 | obj26.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1315 | obj26.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1316 | obj26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1317 | obj26.Material = Enum.Material.Metal | |
1318 | obj26.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1319 | obj26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1320 | obj26.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1321 | obj26.Anchored = true | |
1322 | obj26.BrickColor = BrickColor.new("Lily white") | |
1323 | obj26.Friction = 0.30000001192093 | |
1324 | obj26.Name = "serration" | |
1325 | obj26.Parent = obj1 | |
1326 | ||
1327 | -- 27 - Mesh | |
1328 | local obj27 = Instance.new("BlockMesh") | |
1329 | obj27.Scale = Vector3.new(0.5, 1, 1) | |
1330 | obj27.Parent = obj26 | |
1331 | ||
1332 | -- 28 - serration | |
1333 | local obj28 = Instance.new("WedgePart") | |
1334 | obj28.CFrame = CFrame.new(Vector3.new(19.0663071, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1335 | obj28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1336 | obj28.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1337 | obj28.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1338 | obj28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1339 | obj28.Material = Enum.Material.Metal | |
1340 | obj28.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1341 | obj28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1342 | obj28.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1343 | obj28.Anchored = true | |
1344 | obj28.BrickColor = BrickColor.new("Lily white") | |
1345 | obj28.Friction = 0.30000001192093 | |
1346 | obj28.Name = "serration" | |
1347 | obj28.Parent = obj1 | |
1348 | ||
1349 | -- 29 - Mesh | |
1350 | local obj29 = Instance.new("BlockMesh") | |
1351 | obj29.Scale = Vector3.new(0.5, 1, 1) | |
1352 | obj29.Parent = obj28 | |
1353 | ||
1354 | -- 30 - knifetip1 | |
1355 | local obj30 = Instance.new("WedgePart") | |
1356 | obj30.CFrame = CFrame.new(Vector3.new(18.0163059, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1357 | obj30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1358 | obj30.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1359 | obj30.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1360 | obj30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1361 | obj30.Material = Enum.Material.Metal | |
1362 | obj30.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1363 | obj30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1364 | obj30.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1365 | obj30.Anchored = true | |
1366 | obj30.BrickColor = BrickColor.new("Lily white") | |
1367 | obj30.Friction = 0.30000001192093 | |
1368 | obj30.Name = "knifetip1" | |
1369 | obj30.Parent = obj1 | |
1370 | ||
1371 | -- 31 - Mesh | |
1372 | local obj31 = Instance.new("BlockMesh") | |
1373 | obj31.Scale = Vector3.new(0.5, 1, 1) | |
1374 | obj31.Parent = obj30 | |
1375 | ||
1376 | -- 32 - redstuff | |
1377 | local obj32 = Instance.new("Part") | |
1378 | obj32.CFrame = CFrame.new(Vector3.new(19.9470005, 5.9749999, -134.399994)) * CFrame.Angles(-0, 0, -0) | |
1379 | obj32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1380 | obj32.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1381 | obj32.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1382 | obj32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1383 | obj32.Material = Enum.Material.SmoothPlastic | |
1384 | obj32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1385 | obj32.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014) | |
1386 | obj32.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1387 | obj32.BrickColor = BrickColor.new("Institutional white") | |
1388 | obj32.Friction = 0.30000001192093 | |
1389 | obj32.Shape = Enum.PartType.Cylinder | |
1390 | obj32.Name = "redstuff" | |
1391 | obj32.Anchored = true | |
1392 | obj32.Parent = obj1 | |
1393 | ||
1394 | ||
1395 | -- 33 - redstuff | |
1396 | local obj33 = Instance.new("Part") | |
1397 | obj33.CFrame = CFrame.new(Vector3.new(18.9800053, 6.1400156, -134.404984)) * CFrame.Angles(-0, 0, -0) | |
1398 | obj33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1399 | obj33.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1400 | obj33.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1401 | obj33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1402 | obj33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1403 | obj33.Material = Enum.Material.SmoothPlastic | |
1404 | obj33.Size = Vector3.new(1.81999993, 0.100000001, 0.0500000007) | |
1405 | obj33.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1406 | obj33.BrickColor = BrickColor.new("Institutional white") | |
1407 | obj33.Friction = 0.30000001192093 | |
1408 | obj33.Shape = Enum.PartType.Block | |
1409 | obj33.Name = "redstuff" | |
1410 | obj33.Anchored = true | |
1411 | obj33.Parent = obj1 | |
1412 | ||
1413 | -- 34 - redstuff | |
1414 | local obj34 = Instance.new("Part") | |
1415 | obj34.CFrame = CFrame.new(Vector3.new(19.9470005, 6.32499981, -134.399994)) * CFrame.Angles(-0, 0, -0) | |
1416 | obj34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1417 | obj34.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1418 | obj34.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1419 | obj34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1420 | obj34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1421 | obj34.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014) | |
1422 | obj34.Material = Enum.Material.SmoothPlastic | |
1423 | obj34.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1424 | obj34.BrickColor = BrickColor.new("Institutional white") | |
1425 | obj34.Friction = 0.30000001192093 | |
1426 | obj34.Shape = Enum.PartType.Cylinder | |
1427 | obj34.Name = "redstuff" | |
1428 | obj34.Anchored = true | |
1429 | obj34.Parent = obj1 | |
1430 | ||
1431 | -- 35 - redstuff | |
1432 | local obj35 = Instance.new("Part") | |
1433 | obj35.CFrame = CFrame.new(Vector3.new(19.8830166, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0) | |
1434 | obj35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1435 | obj35.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1436 | obj35.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1437 | obj35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1438 | obj35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1439 | obj35.Size = Vector3.new(0.0500000007, 0.319999993, 0.319999993) | |
1440 | obj35.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1441 | obj35.BrickColor = BrickColor.new("Institutional white") | |
1442 | obj35.Friction = 0.30000001192093 | |
1443 | obj35.Shape = Enum.PartType.Cylinder | |
1444 | obj35.Material = Enum.Material.SmoothPlastic | |
1445 | obj35.Name = "redstuff" | |
1446 | obj35.Anchored = true | |
1447 | obj35.Parent = obj1 | |
1448 | ||
1449 | -- 36 - redstuff | |
1450 | local obj36 = Instance.new("Part") | |
1451 | obj36.CFrame = CFrame.new(Vector3.new(20.9430103, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0) | |
1452 | obj36.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1453 | obj36.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1454 | obj36.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1455 | obj36.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1456 | obj36.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1457 | obj36.Material = Enum.Material.SmoothPlastic | |
1458 | obj36.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999) | |
1459 | obj36.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1460 | obj36.BrickColor = BrickColor.new("Institutional white") | |
1461 | obj36.Friction = 0.30000001192093 | |
1462 | obj36.Shape = Enum.PartType.Cylinder | |
1463 | obj36.Name = "redstuff" | |
1464 | obj36.Anchored = true | |
1465 | obj36.Parent = obj1 | |
1466 | ||
1467 | -- 37 - redstuff | |
1468 | local obj37 = Instance.new("WedgePart") | |
1469 | obj37.CFrame = CFrame.new(Vector3.new(18.066288, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1470 | obj37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1471 | obj37.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1472 | obj37.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1473 | obj37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1474 | obj37.Material = Enum.Material.SmoothPlastic | |
1475 | obj37.Size = Vector3.new(0.0500000007, 0.0700000003, 0.0700000003) | |
1476 | obj37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1477 | obj37.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1478 | obj37.Anchored = true | |
1479 | obj37.BrickColor = BrickColor.new("Institutional white") | |
1480 | obj37.Friction = 0.30000001192093 | |
1481 | obj37.Name = "redstuff" | |
1482 | obj37.Anchored = true | |
1483 | obj37.Parent = obj1 | |
1484 | ||
1485 | -- 38 - redstuff | |
1486 | local obj38 = Instance.new("Part") | |
1487 | obj38.CFrame = CFrame.new(Vector3.new(20.1230125, 6.14501476, -134.399979)) * CFrame.Angles(-0, 0, -0) | |
1488 | obj38.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1489 | obj38.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1490 | obj38.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1491 | obj38.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1492 | obj38.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1493 | obj38.Material = Enum.Material.SmoothPlastic | |
1494 | obj38.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999) | |
1495 | obj38.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1496 | obj38.BrickColor = BrickColor.new("Institutional white") | |
1497 | obj38.Friction = 0.30000001192093 | |
1498 | obj38.Shape = Enum.PartType.Cylinder | |
1499 | obj38.Name = "redstuff" | |
1500 | obj38.Anchored = true | |
1501 | obj38.Parent = obj1 | |
1502 | ||
1503 | local audio = Instance.new('Sound',knife) | |
1504 | audio.Volume = 2 | |
1505 | ||
1506 | local audio2 = Instance.new('Sound',knife) | |
1507 | audio2.Volume = 2 | |
1508 | ||
1509 | local holdpart = Instance.new("Part") | |
1510 | holdpart.Parent = me | |
1511 | holdpart.Size = Vector3.new(0.4, 0.4, 0.2) | |
1512 | holdpart.Position = me.Head.Position + Vector3.new(0, 1, 0) | |
1513 | holdpart.BrickColor = BrickColor.new("Burnt Sienna") | |
1514 | ||
1515 | local previous = nil | |
1516 | for i,v in pairs(obj1:GetChildren()) do | |
1517 | if v:IsA('BasePart') then | |
1518 | if previous then | |
1519 | local weld = Instance.new('Weld',v) | |
1520 | weld.Part0 = v | |
1521 | weld.Part1 = previous | |
1522 | weld.C0 = v.CFrame:inverse() * previous.CFrame | |
1523 | previous.Anchored = false | |
1524 | previous.CanCollide = false | |
1525 | local vee = v | |
1526 | weld.AncestryChanged:connect(function(mez,par) | |
1527 | wait() | |
1528 | weld.Parent = vee | |
1529 | end) | |
1530 | end | |
1531 | previous = v | |
1532 | end | |
1533 | end | |
1534 | previous.Anchored = false | |
1535 | previous.CanCollide = false | |
1536 | ||
1537 | local holdpartweld = Instance.new("Weld", me.Torso) | |
1538 | holdpartweld.Part0 = me.Torso | |
1539 | holdpartweld.Part1 = holdpart | |
1540 | holdpartweld.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1, -0.8, 0.15) | |
1541 | ||
1542 | holdpartweld.AncestryChanged:connect(function(mez,par) | |
1543 | if par ~= me.Torso then | |
1544 | wait() | |
1545 | holdpartweld.Parent = me.Torso | |
1546 | end | |
1547 | end) | |
1548 | ||
1549 | local knifeweld = Instance.new('Weld',me.Torso) | |
1550 | knifeweld.Part0 = me.Torso | |
1551 | knifeweld.Part1 = obj2 | |
1552 | knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55) | |
1553 | knifeweld.AncestryChanged:connect(function(mez,par) | |
1554 | if par ~= me.Torso then | |
1555 | wait() | |
1556 | knifeweld.Parent = me.Torso | |
1557 | end | |
1558 | end) | |
1559 | local ScreenGui = Instance.new("ScreenGui") | |
1560 | local CustomizeGui = Instance.new("Frame") | |
1561 | local Customize = Instance.new("TextLabel") | |
1562 | local ClosestColor = Instance.new("TextLabel") | |
1563 | local Line = Instance.new("TextLabel") | |
1564 | local Color = Instance.new("ImageLabel") | |
1565 | local Close = Instance.new("TextButton") | |
1566 | local RedHue = Instance.new("TextLabel") | |
1567 | local GreenHue = Instance.new("TextLabel") | |
1568 | local RedInput = Instance.new("TextBox") | |
1569 | local BlueHue = Instance.new("TextLabel") | |
1570 | local GreenInput = Instance.new("TextBox") | |
1571 | local TransInput = Instance.new("TextBox") | |
1572 | local BlueInput = Instance.new("TextBox") | |
1573 | local Message = Instance.new("TextLabel") | |
1574 | local Message2 = Instance.new("TextLabel") | |
1575 | local TrailTransparency = Instance.new("TextLabel") | |
1576 | local TrailInput = Instance.new("TextBox") | |
1577 | local MusicOption = Instance.new("TextButton") | |
1578 | local ScreenOption = Instance.new("TextButton") | |
1579 | local ScreenOptionTxt = Instance.new("TextLabel") | |
1580 | local MusicOptionTxt = Instance.new("TextLabel") | |
1581 | ||
1582 | -- Properties | |
1583 | ||
1584 | ScreenGui.Parent = playergui | |
1585 | ||
1586 | CustomizeGui.Name = "CustomizeGui" | |
1587 | CustomizeGui.Parent = ScreenGui | |
1588 | CustomizeGui.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) | |
1589 | CustomizeGui.BackgroundTransparency = 0.5 | |
1590 | CustomizeGui.BorderColor3 = Color3.new(0, 0, 0) | |
1591 | CustomizeGui.BorderSizePixel = 2 | |
1592 | CustomizeGui.Position = UDim2.new(0, 0, 0.5, 0) | |
1593 | CustomizeGui.Size = UDim2.new(0.449999988, 0, 0.449999988, 0) | |
1594 | ||
1595 | Customize.Name = "Customize" | |
1596 | Customize.Parent = CustomizeGui | |
1597 | Customize.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) | |
1598 | Customize.BackgroundTransparency = 0.75 | |
1599 | Customize.BorderSizePixel = 0 | |
1600 | Customize.Size = UDim2.new(1, 0, 0.200000003, 0) | |
1601 | Customize.FontSize = Enum.FontSize.Size28 | |
1602 | Customize.Text = "ACCENT COLOR CUSTOMIZATION" | |
1603 | Customize.TextColor3 = Color3.new(1, 1, 1) | |
1604 | Customize.TextScaled = true | |
1605 | Customize.TextSize = 25 | |
1606 | Customize.TextStrokeTransparency = 0.5 | |
1607 | Customize.TextWrapped = true | |
1608 | ||
1609 | ClosestColor.Name = "ClosestColor" | |
1610 | ClosestColor.Parent = CustomizeGui | |
1611 | ClosestColor.BackgroundColor3 = Color3.new(1, 1, 1) | |
1612 | ClosestColor.BackgroundTransparency = 1 | |
1613 | ClosestColor.Position = UDim2.new(0, 0, 0.850000024, 0) | |
1614 | ClosestColor.Size = UDim2.new(1, 0, 0.150000006, 0) | |
1615 | ClosestColor.Font = Enum.Font.SourceSansLight | |
1616 | ClosestColor.FontSize = Enum.FontSize.Size32 | |
1617 | ClosestColor.Text = "Your color is closest to Institutional White" | |
1618 | ClosestColor.TextColor3 = Color3.new(1, 1, 1) | |
1619 | ClosestColor.TextSize = 30 | |
1620 | ClosestColor.TextStrokeTransparency = 0.5 | |
1621 | ||
1622 | Line.Name = "Line" | |
1623 | Line.Parent = CustomizeGui | |
1624 | Line.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1625 | Line.BackgroundTransparency = 0.5 | |
1626 | Line.BorderColor3 = Color3.new(0, 0, 0) | |
1627 | Line.BorderSizePixel = 0 | |
1628 | Line.Position = UDim2.new(0, 0, 0.200000003, 0) | |
1629 | Line.Size = UDim2.new(1, 0, 0.0299999993, 0) | |
1630 | Line.Font = Enum.Font.SourceSans | |
1631 | Line.FontSize = Enum.FontSize.Size14 | |
1632 | Line.Text = " " | |
1633 | Line.TextSize = 14 | |
1634 | ||
1635 | Color.Name = "Color" | |
1636 | Color.Parent = CustomizeGui | |
1637 | Color.BackgroundColor3 = Color3.new(1, 1, 1) | |
1638 | Color.BorderSizePixel = 0 | |
1639 | Color.Position = UDim2.new(0.699999988, 0, 0.419999987, 0) | |
1640 | Color.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) | |
1641 | Color.SizeConstraint = Enum.SizeConstraint.RelativeYY | |
1642 | ||
1643 | MusicOption.Parent = CustomizeGui | |
1644 | MusicOption.Name = "MusicOption" | |
1645 | MusicOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
1646 | MusicOption.BorderSizePixel = 1 | |
1647 | MusicOption.Position = UDim2.new(0.01, 0, -0.12, 0) | |
1648 | MusicOption.Size = UDim2.new(0.05, 0, 0.1, 0) | |
1649 | MusicOption.Text = "" | |
1650 | MusicOption.BackgroundTransparency = 0.5 | |
1651 | ||
1652 | ScreenOption.Parent = CustomizeGui | |
1653 | ScreenOption.Name = "ScreenOption" | |
1654 | ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
1655 | ScreenOption.BorderSizePixel = 1 | |
1656 | ScreenOption.Position = UDim2.new(0.01, 0, -0.23, 0) | |
1657 | ScreenOption.Size = UDim2.new(0.05, 0, 0.1, 0) | |
1658 | ScreenOption.Text = "" | |
1659 | ScreenOption.BackgroundTransparency = 0.5 | |
1660 | ||
1661 | ScreenOptionTxt.Name = "ScreenOptionTxt" | |
1662 | ScreenOptionTxt.Parent = CustomizeGui | |
1663 | ScreenOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1) | |
1664 | ScreenOptionTxt.BackgroundTransparency = 1 | |
1665 | ScreenOptionTxt.Position = UDim2.new(0.07, 0, -0.23, 0) | |
1666 | ScreenOptionTxt.Size = UDim2.new(1, 0, 0.07, 0) | |
1667 | ScreenOptionTxt.Font = Enum.Font.SourceSans | |
1668 | ScreenOptionTxt.FontSize = Enum.FontSize.Size24 | |
1669 | ScreenOptionTxt.Text = "Psychopath Red Filter" | |
1670 | ScreenOptionTxt.TextColor3 = Color3.new(1, 1, 1) | |
1671 | ScreenOptionTxt.TextScaled = true | |
1672 | ScreenOptionTxt.TextSize = 20 | |
1673 | ScreenOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1674 | ScreenOptionTxt.TextStrokeTransparency = 0.5 | |
1675 | ScreenOptionTxt.TextWrapped = true | |
1676 | ScreenOptionTxt.TextXAlignment = "Left" | |
1677 | ||
1678 | MusicOptionTxt.Name = "MusicOptionTxt" | |
1679 | MusicOptionTxt.Parent = CustomizeGui | |
1680 | MusicOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1) | |
1681 | MusicOptionTxt.BackgroundTransparency = 1 | |
1682 | MusicOptionTxt.Position = UDim2.new(0.07, 0, -0.12, 0) | |
1683 | MusicOptionTxt.Size = UDim2.new(1, 0, 0.07, 0) | |
1684 | MusicOptionTxt.Font = Enum.Font.SourceSans | |
1685 | MusicOptionTxt.FontSize = Enum.FontSize.Size24 | |
1686 | MusicOptionTxt.Text = "Psychopath Background Music" | |
1687 | MusicOptionTxt.TextColor3 = Color3.new(1, 1, 1) | |
1688 | MusicOptionTxt.TextScaled = true | |
1689 | MusicOptionTxt.TextSize = 20 | |
1690 | MusicOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1691 | MusicOptionTxt.TextStrokeTransparency = 0.5 | |
1692 | MusicOptionTxt.TextWrapped = true | |
1693 | MusicOptionTxt.TextXAlignment = "Left" | |
1694 | ||
1695 | Close.Name = "Close" | |
1696 | Close.Parent = CustomizeGui | |
1697 | Close.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) | |
1698 | Close.BackgroundTransparency = 0.5 | |
1699 | Close.BorderColor3 = Color3.new(0, 0, 0) | |
1700 | Close.BorderSizePixel = 2 | |
1701 | Close.Position = UDim2.new(1.005, 0, 0, 0) | |
1702 | Close.Size = UDim2.new(0.100000001, 0, 0.2, 0) | |
1703 | Close.Font = Enum.Font.SourceSans | |
1704 | Close.FontSize = Enum.FontSize.Size14 | |
1705 | Close.Text = "X" | |
1706 | Close.TextColor3 = Color3.new(1, 1, 1) | |
1707 | Close.TextScaled = true | |
1708 | Close.TextSize = 14 | |
1709 | Close.TextStrokeTransparency = 0 | |
1710 | Close.TextWrapped = true | |
1711 | ||
1712 | RedHue.Name = "RedHue" | |
1713 | RedHue.Parent = CustomizeGui | |
1714 | RedHue.BackgroundColor3 = Color3.new(1, 1, 1) | |
1715 | RedHue.BackgroundTransparency = 1 | |
1716 | RedHue.Position = UDim2.new(0.100000001, 0, 0.400000006, 0) | |
1717 | RedHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) | |
1718 | RedHue.Font = Enum.Font.SourceSans | |
1719 | RedHue.FontSize = Enum.FontSize.Size24 | |
1720 | RedHue.Text = "RED Hue Value: " | |
1721 | RedHue.TextColor3 = Color3.new(1, 1, 1) | |
1722 | RedHue.TextScaled = true | |
1723 | RedHue.TextSize = 20 | |
1724 | RedHue.TextStrokeColor3 = Color3.new(1, 0, 0) | |
1725 | RedHue.TextStrokeTransparency = 0.75 | |
1726 | RedHue.TextWrapped = true | |
1727 | ||
1728 | GreenHue.Name = "GreenHue" | |
1729 | GreenHue.Parent = CustomizeGui | |
1730 | GreenHue.BackgroundColor3 = Color3.new(1, 1, 1) | |
1731 | GreenHue.BackgroundTransparency = 1 | |
1732 | GreenHue.Position = UDim2.new(0.100000001, 0, 0.5, 0) | |
1733 | GreenHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) | |
1734 | GreenHue.Font = Enum.Font.SourceSans | |
1735 | GreenHue.FontSize = Enum.FontSize.Size24 | |
1736 | GreenHue.Text = "GREEN Hue Value:" | |
1737 | GreenHue.TextColor3 = Color3.new(1, 1, 1) | |
1738 | GreenHue.TextScaled = true | |
1739 | GreenHue.TextSize = 20 | |
1740 | GreenHue.TextStrokeColor3 = Color3.new(0, 1, 0) | |
1741 | GreenHue.TextStrokeTransparency = 0.75 | |
1742 | GreenHue.TextWrapped = true | |
1743 | ||
1744 | RedInput.Name = "RedInput" | |
1745 | RedInput.Parent = CustomizeGui | |
1746 | RedInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1747 | RedInput.BackgroundTransparency = 0.5 | |
1748 | RedInput.BorderSizePixel = 0 | |
1749 | RedInput.Position = UDim2.new(0.419999987, 0, 0.425000007, 0) | |
1750 | RedInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
1751 | RedInput.Font = Enum.Font.SourceSans | |
1752 | RedInput.FontSize = Enum.FontSize.Size14 | |
1753 | RedInput.Text = "255" | |
1754 | RedInput.TextColor3 = Color3.new(1, 1, 1) | |
1755 | RedInput.TextSize = 14 | |
1756 | RedInput.TextStrokeTransparency = 0 | |
1757 | ||
1758 | BlueHue.Name = "BlueHue" | |
1759 | BlueHue.Parent = CustomizeGui | |
1760 | BlueHue.BackgroundColor3 = Color3.new(1, 1, 1) | |
1761 | BlueHue.BackgroundTransparency = 1 | |
1762 | BlueHue.Position = UDim2.new(0.100000001, 0, 0.600000024, 0) | |
1763 | BlueHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) | |
1764 | BlueHue.Font = Enum.Font.SourceSans | |
1765 | BlueHue.FontSize = Enum.FontSize.Size24 | |
1766 | BlueHue.Text = "BLUE Hue Value:" | |
1767 | BlueHue.TextColor3 = Color3.new(1, 1, 1) | |
1768 | BlueHue.TextScaled = true | |
1769 | BlueHue.TextSize = 20 | |
1770 | BlueHue.TextStrokeColor3 = Color3.new(0, 0, 1) | |
1771 | BlueHue.TextStrokeTransparency = 0.75 | |
1772 | BlueHue.TextWrapped = true | |
1773 | ||
1774 | TrailTransparency.Name = "TrailTransparency" | |
1775 | TrailTransparency.Parent = CustomizeGui | |
1776 | TrailTransparency.BackgroundColor3 = Color3.new(1, 1, 1) | |
1777 | TrailTransparency.BackgroundTransparency = 1 | |
1778 | TrailTransparency.Position = UDim2.new(0.090000001, 0, 0.700000024, 0) | |
1779 | TrailTransparency.Size = UDim2.new(0.310000012, 0, 0.100000001, 0) | |
1780 | TrailTransparency.Font = Enum.Font.SourceSans | |
1781 | TrailTransparency.FontSize = Enum.FontSize.Size24 | |
1782 | TrailTransparency.Text = "Trail Transparency:" | |
1783 | TrailTransparency.TextColor3 = Color3.new(1, 1, 1) | |
1784 | TrailTransparency.TextScaled = true | |
1785 | TrailTransparency.TextSize = 20 | |
1786 | TrailTransparency.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1787 | TrailTransparency.TextWrapped = true | |
1788 | ||
1789 | GreenInput.Name = "GreenInput" | |
1790 | GreenInput.Parent = CustomizeGui | |
1791 | GreenInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1792 | GreenInput.BackgroundTransparency = 0.5 | |
1793 | GreenInput.BorderSizePixel = 0 | |
1794 | GreenInput.Position = UDim2.new(0.419999987, 0, 0.524999976, 0) | |
1795 | GreenInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
1796 | GreenInput.Font = Enum.Font.SourceSans | |
1797 | GreenInput.FontSize = Enum.FontSize.Size14 | |
1798 | GreenInput.Text = "255" | |
1799 | GreenInput.TextColor3 = Color3.new(1, 1, 1) | |
1800 | GreenInput.TextSize = 14 | |
1801 | GreenInput.TextStrokeTransparency = 0 | |
1802 | ||
1803 | TransInput.Name = "TransInput" | |
1804 | TransInput.Parent = CustomizeGui | |
1805 | TransInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1806 | TransInput.BackgroundTransparency = 0.5 | |
1807 | TransInput.BorderSizePixel = 0 | |
1808 | TransInput.Position = UDim2.new(0.419999987, 0, 0.725000024, 0) | |
1809 | TransInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
1810 | TransInput.Font = Enum.Font.SourceSans | |
1811 | TransInput.FontSize = Enum.FontSize.Size14 | |
1812 | TransInput.Text = "50" | |
1813 | TransInput.TextColor3 = Color3.new(1, 1, 1) | |
1814 | TransInput.TextSize = 14 | |
1815 | TransInput.TextStrokeTransparency = 0 | |
1816 | ||
1817 | BlueInput.Name = "BlueInput" | |
1818 | BlueInput.Parent = CustomizeGui | |
1819 | BlueInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1820 | BlueInput.BackgroundTransparency = 0.5 | |
1821 | BlueInput.BorderSizePixel = 0 | |
1822 | BlueInput.Position = UDim2.new(0.419999987, 0, 0.625, 0) | |
1823 | BlueInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
1824 | BlueInput.Font = Enum.Font.SourceSans | |
1825 | BlueInput.FontSize = Enum.FontSize.Size14 | |
1826 | BlueInput.Text = "255" | |
1827 | BlueInput.TextColor3 = Color3.new(1, 1, 1) | |
1828 | BlueInput.TextSize = 14 | |
1829 | BlueInput.TextStrokeTransparency = 0 | |
1830 | ||
1831 | Message.Name = "Message" | |
1832 | Message.Parent = CustomizeGui | |
1833 | Message.BackgroundColor3 = Color3.new(1, 1, 1) | |
1834 | Message.BackgroundTransparency = 1 | |
1835 | Message.Position = UDim2.new(0, 0, 0.2500004, 0) | |
1836 | Message.Size = UDim2.new(1, 0, 0.100000006, 0) | |
1837 | Message.Font = Enum.Font.SourceSans | |
1838 | Message.FontSize = Enum.FontSize.Size18 | |
1839 | Message.Text = "|| Inputs must be values ||" | |
1840 | Message.TextColor3 = Color3.new(1, 1, 1) | |
1841 | Message.TextScaled = true | |
1842 | Message.TextSize = 15 | |
1843 | Message.TextStrokeTransparency = 0.75 | |
1844 | Message.TextWrapped = true | |
1845 | ||
1846 | local attun = Instance.new("Attachment", knife) | |
1847 | attun.Position = Vector3.new(0, 0.1, -1.75) | |
1848 | local atdos = Instance.new("Attachment", knife) | |
1849 | atdos.Position = Vector3.new(0, -0.1, 0.5) | |
1850 | local trail = Instance.new("Trail", knife) | |
1851 | trail.LightEmission = 0.5 | |
1852 | trail.Attachment0 = attun | |
1853 | trail.Attachment1 = atdos | |
1854 | trail.Lifetime = 0.175 | |
1855 | trail.MinLength = 0 | |
1856 | trail.Enabled = false | |
1857 | ||
1858 | function updatez() | |
1859 | local rc = tonumber(RedInput.Text) | |
1860 | local gc = tonumber(GreenInput.Text) | |
1861 | local bc = tonumber(BlueInput.Text) | |
1862 | local tcupd = tonumber(TransInput.Text) | |
1863 | if rc == nil then | |
1864 | rc = 0 | |
1865 | end | |
1866 | if gc == nil then | |
1867 | gc = 0 | |
1868 | end | |
1869 | if bc == nil then | |
1870 | bc = 0 | |
1871 | end | |
1872 | if tcupd == nil then | |
1873 | tcupd = 0 | |
1874 | end | |
1875 | local tc = tcupd/100 | |
1876 | Color.BackgroundColor3 = Color3.fromRGB(rc,gc,bc) | |
1877 | ClosestColor.Text = "Your color is closest to "..tostring(BrickColor.new(Color3.fromRGB(rc,gc,bc))) | |
1878 | obj32.Color = Color3.fromRGB(rc,gc,bc) | |
1879 | obj33.Color = Color3.fromRGB(rc,gc,bc) | |
1880 | obj34.Color = Color3.fromRGB(rc,gc,bc) | |
1881 | obj35.Color = Color3.fromRGB(rc,gc,bc) | |
1882 | obj36.Color = Color3.fromRGB(rc,gc,bc) | |
1883 | obj37.Color = Color3.fromRGB(rc,gc,bc) | |
1884 | obj38.Color = Color3.fromRGB(rc,gc,bc) | |
1885 | trail.Color = ColorSequence.new(Color3.fromRGB(rc, gc, bc)) | |
1886 | trail.Transparency = NumberSequence.new(tc) | |
1887 | TrailTransparency.TextStrokeTransparency = tc | |
1888 | end | |
1889 | ||
1890 | RedInput.Changed:connect(function(val) | |
1891 | if val == "Text" and tonumber(RedInput.Text) then | |
1892 | RedInput.Text = tostring(tonumber(RedInput.Text)) | |
1893 | if tonumber(RedInput.Text) > 255 then | |
1894 | RedInput.Text = '255' | |
1895 | end | |
1896 | elseif val == "Text" then | |
1897 | RedInput.Text = "" | |
1898 | end | |
1899 | updatez() | |
1900 | end) | |
1901 | GreenInput.Changed:connect(function(val) | |
1902 | if val == "Text" and tonumber(GreenInput.Text) then | |
1903 | GreenInput.Text = tostring(tonumber(GreenInput.Text)) | |
1904 | if tonumber(GreenInput.Text) > 255 then | |
1905 | GreenInput.Text = '255' | |
1906 | end | |
1907 | elseif val == "Text" then | |
1908 | GreenInput.Text = "" | |
1909 | end | |
1910 | updatez() | |
1911 | end) | |
1912 | BlueInput.Changed:connect(function(val) | |
1913 | if val == "Text" and tonumber(BlueInput.Text) then | |
1914 | BlueInput.Text = tostring(tonumber(BlueInput.Text)) | |
1915 | if tonumber(BlueInput.Text) > 255 then | |
1916 | BlueInput.Text = '255' | |
1917 | end | |
1918 | elseif val == "Text" then | |
1919 | BlueInput.Text = "" | |
1920 | end | |
1921 | updatez() | |
1922 | end) | |
1923 | TransInput.Changed:connect(function(val) | |
1924 | if val == "Text" and tonumber(TransInput.Text) then | |
1925 | TransInput.Text = tostring(tonumber(TransInput.Text)) | |
1926 | if tonumber(TransInput.Text) > 100 then | |
1927 | TransInput.Text = '100' | |
1928 | end | |
1929 | elseif val == "Text" then | |
1930 | TransInput.Text = "" | |
1931 | end | |
1932 | updatez() | |
1933 | end) | |
1934 | ||
1935 | Close.MouseButton1Click:connect(function() | |
1936 | if lerpz == false then | |
1937 | lerpz = true | |
1938 | if Close.Text ~= "+" then | |
1939 | CustomizeGui:TweenPosition(UDim2.new(-0.45,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2)) | |
1940 | for i=1,10 do | |
1941 | Close.TextTransparency = i/10 | |
1942 | Close.TextStrokeTransparency = i/10 | |
1943 | wait(0.01) | |
1944 | end | |
1945 | Close.Text = "+" | |
1946 | for i=1,10 do | |
1947 | Close.TextTransparency = (10-i+1)/10 | |
1948 | Close.TextStrokeTransparency = (10-i+1)/10 | |
1949 | wait(0.01) | |
1950 | end | |
1951 | lerpz = false | |
1952 | else | |
1953 | CustomizeGui:TweenPosition(UDim2.new(0,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2)) | |
1954 | for i=1,10 do | |
1955 | Close.TextTransparency = i/10 | |
1956 | Close.TextStrokeTransparency = i/10 | |
1957 | wait(0.01) | |
1958 | end | |
1959 | Close.Text = "X" | |
1960 | for i=1,10 do | |
1961 | Close.TextTransparency = (10-i+1)/10 | |
1962 | Close.TextStrokeTransparency = (10-i+1)/10 | |
1963 | wait(0.01) | |
1964 | end | |
1965 | lerpz = false | |
1966 | end | |
1967 | end | |
1968 | end) | |
1969 | ||
1970 | MusicOption.MouseButton1Click:connect(function() | |
1971 | if canbackgroundmusic == true then | |
1972 | canbackgroundmusic = false | |
1973 | MusicOption.BackgroundColor3 = Color3.new(1, 0, 0) | |
1974 | else | |
1975 | canbackgroundmusic = true | |
1976 | MusicOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
1977 | end | |
1978 | end) | |
1979 | ||
1980 | ScreenOption.MouseButton1Click:connect(function() | |
1981 | if cancolorfilter == true then | |
1982 | cancolorfilter = false | |
1983 | ScreenOption.BackgroundColor3 = Color3.new(1, 0, 0) | |
1984 | else | |
1985 | cancolorfilter = true | |
1986 | ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
1987 | end | |
1988 | end) | |
1989 | ||
1990 | function equip() | |
1991 | local doit = coroutine.wrap(function() | |
1992 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then | |
1993 | acting = true | |
1994 | local arm = me["Right Arm"] | |
1995 | local arm2 = me["Left Arm"] | |
1996 | local tors = me.Torso | |
1997 | local weld = Instance.new('Weld',arm) | |
1998 | weld.Part0 = arm | |
1999 | weld.Part1 = tors | |
2000 | weld.C0 = CFrame.new(-1.5,0,0) | |
2001 | local weld2 = Instance.new("Weld", arm2) | |
2002 | weld2.Part0 = arm2 | |
2003 | weld2.Part1 = tors | |
2004 | weld2.C0 = CFrame.new(1.5, 0, 0) | |
2005 | wait(0.001) | |
2006 | for i = 0,1,0.1 do | |
2007 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
2008 | weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i) | |
2009 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i) | |
2010 | wait(0.001) | |
2011 | end | |
2012 | wait(0.15) | |
2013 | trail.Enabled = true | |
2014 | for i = 0,1,0.1 do | |
2015 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
2016 | weld.C0 = weld.C0:lerp(CFrame.new(-0.5,2,0)*CFrame.Angles(0,0,-1.55),i) | |
2017 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i) | |
2018 | wait(0.001) | |
2019 | end | |
2020 | trail.Enabled = false | |
2021 | wait(0.2) | |
2022 | for i = 0,1,0.1 do | |
2023 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
2024 | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i) | |
2025 | wait(0.001) | |
2026 | end | |
2027 | weld:Destroy() | |
2028 | weld2:Remove() | |
2029 | if tors ~= nil then | |
2030 | rightshoulderz:Clone().Parent = me.Torso | |
2031 | leftshoulderz:Clone().Parent = me.Torso | |
2032 | end | |
2033 | end | |
2034 | acting = false | |
2035 | end) | |
2036 | doit() | |
2037 | end | |
2038 | ||
2039 | function kysnigga() | |
2040 | if kyssing == true then return end | |
2041 | kyssing = true | |
2042 | acting = true | |
2043 | decearingTHING = math.random(1, 100) | |
2044 | if decearingTHING == 4 then | |
2045 | decearingEGG = Instance.new("Sound", me.Torso) | |
2046 | decearingEGG.SoundId = "rbxassetid://138084557" | |
2047 | decearingEGG.PlaybackSpeed = math.random(10, 12) / 10 | |
2048 | decearingEGG.TimePosition = 0.2 | |
2049 | decearingEGG:Play() | |
2050 | end | |
2051 | me.Humanoid.WalkSpeed = 0 | |
2052 | me.Humanoid.JumpPower = 0 | |
2053 | ||
2054 | local rightarm = Instance.new("Weld", me.Torso) | |
2055 | rightarm.Part0 = me.Torso | |
2056 | rightarm.Part1 = me["Right Arm"] | |
2057 | rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) | |
2058 | ||
2059 | local leftarm = Instance.new("Weld", me.Torso) | |
2060 | leftarm.Part0 = me.Torso | |
2061 | leftarm.Part1 = me["Left Arm"] | |
2062 | leftarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1.5, 0, 0) | |
2063 | ||
2064 | local tors = Instance.new("Weld", me.HumanoidRootPart) | |
2065 | tors.Part0 = me.HumanoidRootPart | |
2066 | tors.Part1 = me.Torso | |
2067 | tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) | |
2068 | ||
2069 | local rightleg = Instance.new("Weld", me.Torso) | |
2070 | rightleg.Part0 = me.Torso | |
2071 | rightleg.Part1 = me["Right Leg"] | |
2072 | rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0) | |
2073 | ||
2074 | local leftleg = Instance.new("Weld", me.Torso) | |
2075 | leftleg.Part0 = me.Torso | |
2076 | leftleg.Part1 = me["Left Leg"] | |
2077 | leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0) | |
2078 | ||
2079 | for i = 0, 1, 0.03 do | |
2080 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-10), 0, 0), i) | |
2081 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i) | |
2082 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i) | |
2083 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), i) | |
2084 | wait() | |
2085 | end | |
2086 | for i = 0, 1, 0.03 do | |
2087 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(5), 0, 0), i) | |
2088 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i) | |
2089 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i) | |
2090 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(-35)), i) | |
2091 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(35)), i) | |
2092 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) | |
2093 | wait() | |
2094 | end | |
2095 | local bleedzer = Instance.new('Part',me.Torso) | |
2096 | bleedzer.CFrame = me.Torso.CFrame | |
2097 | bleedzer.Size = Vector3.new(0.1,0.1,0.1) | |
2098 | bleedzer.Transparency = 1 | |
2099 | bleedzer.CanCollide = false | |
2100 | local weld = Instance.new('Weld',bleedzer) | |
2101 | weld.Part0 = bleedzer | |
2102 | weld.Part1 = me.Torso | |
2103 | weld.C0= CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,0) | |
2104 | local woodpekker = coroutine.wrap(function() | |
2105 | bleed(bleedzer) | |
2106 | end) | |
2107 | woodpekker() | |
2108 | audio.SoundId = "rbxassetid://199977936" | |
2109 | audio.PlaybackSpeed = 1.5 | |
2110 | audio:Play() | |
2111 | audio2.SoundId = "rbxassetid://220834019" | |
2112 | audio2.PlaybackSpeed = 1 | |
2113 | audio2.TimePosition = 0.1 | |
2114 | audio2:Play() | |
2115 | for i = 0, 1, 0.1 do | |
2116 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
2117 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
2118 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
2119 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i) | |
2120 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i) | |
2121 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) | |
2122 | wait() | |
2123 | end | |
2124 | wait(1) | |
2125 | audio.SoundId = "rbxassetid://210943487" | |
2126 | audio.TimePosition = 0.2 | |
2127 | audio.PlaybackSpeed = 0.75 | |
2128 | audio:Play() | |
2129 | for i = 0, 1, 0.03 do | |
2130 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
2131 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
2132 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
2133 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i) | |
2134 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i) | |
2135 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) | |
2136 | wait() | |
2137 | end | |
2138 | for i = 0, 1, 0.03 do | |
2139 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i) | |
2140 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i) | |
2141 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i) | |
2142 | wait() | |
2143 | end | |
2144 | wait(0.24) | |
2145 | if me:FindFirstChildOfClass('Humanoid') then | |
2146 | me:FindFirstChildOfClass('Humanoid').Health = 0 | |
2147 | end | |
2148 | wait(0.01) | |
2149 | killz(me,me.Torso.Name,nil,nil,true) | |
2150 | ||
2151 | tors:Remove() | |
2152 | rightarm:Remove() | |
2153 | rightleg:Remove() | |
2154 | leftleg:Remove() | |
2155 | leftarm:Remove() | |
2156 | rightshoulderz:Clone().Parent = me.Torso | |
2157 | leftshoulderz:Clone().Parent = me.Torso | |
2158 | torsojoint:Clone().Parent = me.HumanoidRootPart | |
2159 | lefthipz:Clone().Parent = me.Torso | |
2160 | righthipz:Clone().Parent = me.Torso | |
2161 | me.Humanoid.JumpPower = 50 | |
2162 | me.Humanoid.WalkSpeed = 16 | |
2163 | acting = false | |
2164 | canClick = true | |
2165 | doing = false | |
2166 | hit = false | |
2167 | kyssing = false | |
2168 | if decearingTHING == 4 then | |
2169 | decearingEGG:Remove() | |
2170 | end | |
2171 | end | |
2172 | ||
2173 | function bleedout() | |
2174 | local doit = coroutine.wrap(function() | |
2175 | local targe = grabbed | |
2176 | local num = 0 | |
2177 | while targe and targe:FindFirstChildOfClass('Humanoid') and targe:FindFirstChildOfClass('Humanoid').Health > 0 and num < 11 do | |
2178 | if targe.Head:FindFirstChild('Died') then | |
2179 | tone = math.random(6, 12) / 10 | |
2180 | targe.Head.Died.PlaybackSpeed = tone | |
2181 | targe.Head.Died:Play() | |
2182 | else | |
2183 | local deathsound = Instance.new('Sound',targe.Head) | |
2184 | deathsound.Name = "Died" | |
2185 | deathsound.SoundId = 'rbxasset://sounds/uuhhh.mp3' | |
2186 | deathsound.Volume = 0.65 | |
2187 | deathsound.EmitterSize = 5 | |
2188 | deathsound.MaxDistance = 150 | |
2189 | tone = math.random(5, 15) / 10 | |
2190 | targe.Head.Died.PlaybackSpeed = tone | |
2191 | targe.Head.Died:Play() | |
2192 | end | |
2193 | targe:FindFirstChildOfClass('Humanoid').Health = targe:FindFirstChildOfClass('Humanoid').Health - 7 | |
2194 | num = num+1 | |
2195 | wait(0.325) | |
2196 | end | |
2197 | targe:FindFirstChildOfClass('Humanoid').Health = 0 | |
2198 | wait() | |
2199 | killz(targe,'Head',nil,nil,false,true) | |
2200 | wait(2) | |
2201 | targe:Remove() | |
2202 | end) | |
2203 | doit() | |
2204 | end | |
2205 | ||
2206 | function liedown() | |
2207 | local doit = coroutine.wrap(function() | |
2208 | local targe = grabbed | |
2209 | wait(2) | |
2210 | if targe and targe:FindFirstChildOfClass('Humanoid') then | |
2211 | targe:FindFirstChildOfClass('Humanoid').PlatformStand = false | |
2212 | end | |
2213 | end) | |
2214 | doit() | |
2215 | end | |
2216 | ||
2217 | function grab() | |
2218 | local doit = coroutine.wrap(function() | |
2219 | acting = true | |
2220 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3 | |
2221 | local arm = me["Right Arm"] | |
2222 | local tors = me.Torso | |
2223 | local arm2 = me["Left Arm"] | |
2224 | local humanroot = me.HumanoidRootPart | |
2225 | local weld2 = Instance.new('Weld',arm) | |
2226 | weld2.Part0 = arm | |
2227 | weld2.Part1 = tors | |
2228 | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
2229 | local weld3 = Instance.new('Weld',arm2) | |
2230 | weld3.Part0 = arm2 | |
2231 | weld3.Part1 = tors | |
2232 | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) | |
2233 | for i = 0,1,0.05 do | |
2234 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end | |
2235 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) | |
2236 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.2,1.3,0)*CFrame.Angles(0,0,1.2),i) | |
2237 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), -1.55) * CFrame.new(0, 0.95, 0) | |
2238 | wait(0.01) | |
2239 | end | |
2240 | grabbing = true | |
2241 | trail.Enabled = true | |
2242 | for i = 0,1,0.10 do | |
2243 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end | |
2244 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i) | |
2245 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i) | |
2246 | wait(0.01) | |
2247 | end | |
2248 | trail.Enabled = false | |
2249 | wait(0.5) | |
2250 | grabbing = false | |
2251 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3 | |
2252 | if grabbed == nil then | |
2253 | for i = 0,1,0.1 do | |
2254 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil then return end | |
2255 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
2256 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i) | |
2257 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) | |
2258 | wait(0.001) | |
2259 | end | |
2260 | weld2:Destroy() | |
2261 | weld3:Destroy() | |
2262 | rightshoulderz:Clone().Parent = me.Torso | |
2263 | leftshoulderz:Clone().Parent = me.Torso | |
2264 | acting = false | |
2265 | canClick = true | |
2266 | end | |
2267 | end) | |
2268 | doit() | |
2269 | end | |
2270 | ||
2271 | function kill() | |
2272 | paralyzed = false | |
2273 | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then hardrelease() return end | |
2274 | targetweld = grabbed.Torso.TargetWeld | |
2275 | targetweld2 = nil | |
2276 | local reee = grabbed:FindFirstChild("Left Arm") | |
2277 | if reee and reee:FindFirstChild("Weld") then | |
2278 | targetweld2 = reee.Weld | |
2279 | end | |
2280 | for i, v in pairs(grabbed:GetChildren()) do | |
2281 | if v.Name == "Part" then | |
2282 | v.CanCollide = true | |
2283 | end | |
2284 | end | |
2285 | targetweld3pt = grabbed:FindFirstChild("Right Arm") | |
2286 | local targetrightshoulder = rightshoulder | |
2287 | local targetleftshoulder = leftshoulder | |
2288 | local targetweld3 = Instance.new("Weld", targetweld3pt) | |
2289 | targetweld3.Part0 = grabbed.Torso | |
2290 | targetweld3.Part1 = targetweld3pt | |
2291 | targetweld3.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) | |
2292 | ||
2293 | local doit = coroutine.wrap(function() | |
2294 | local arm = me["Right Arm"] | |
2295 | local tors = grabbed.Torso | |
2296 | local arm2 = me["Left Arm"] | |
2297 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end | |
2298 | doing = true | |
2299 | local weld2 = arm:FindFirstChildOfClass('Weld') | |
2300 | local weld3 = arm2:FindFirstChildOfClass('Weld') | |
2301 | local humanroot = me.HumanoidRootPart | |
2302 | ||
2303 | for i = 0,1,0.1 do | |
2304 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2305 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.9, 0, -1.4), i) | |
2306 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 0.5, -0.5)* CFrame.Angles(-1.5, 0.4, 1.1), i) | |
2307 | wait(0.01) | |
2308 | end | |
2309 | ||
2310 | audio:Stop() | |
2311 | audio.SoundId = "rbxassetid://517040733" | |
2312 | tone = math.random(1, 3) | |
2313 | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.3 end | |
2314 | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end | |
2315 | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.2 end | |
2316 | audio:Play() | |
2317 | ||
2318 | local bleedpart = Instance.new("Part", grabbed) | |
2319 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
2320 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
2321 | bleedpart.CanCollide = false | |
2322 | bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0) | |
2323 | bleedpart.Transparency = 1 | |
2324 | ||
2325 | local bleedpartweld = Instance.new("Weld", grabbed.Torso) | |
2326 | bleedpartweld.Part0 = grabbed.Torso | |
2327 | bleedpartweld.Part1 = bleedpart | |
2328 | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) | |
2329 | local coru=coroutine.wrap(function() | |
2330 | bleed(bleedpart) | |
2331 | end) | |
2332 | coru() | |
2333 | ||
2334 | local slightthrow = Instance.new("BodyThrust", grabbed.Torso) | |
2335 | slightthrow.Force = Vector3.new(0, 0, -2500) | |
2336 | ||
2337 | local slightthrow2 = Instance.new("BodyAngularVelocity", grabbed.Torso) | |
2338 | slightthrow2.AngularVelocity = Vector3.new(0, -1000, 0) | |
2339 | slightthrow2.MaxTorque = Vector3.new(1000, 1000, 1000) | |
2340 | ||
2341 | if grabbed:FindFirstChildOfClass('Humanoid') then | |
2342 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
2343 | end | |
2344 | ||
2345 | killz(grabbed,'Left Leg') | |
2346 | killz(grabbed,'Left Arm') | |
2347 | killz(grabbed,'Right Leg') | |
2348 | killz(grabbed,'Right Arm') | |
2349 | ||
2350 | trail.Enabled = true | |
2351 | ||
2352 | for i = 0,1,0.2 do | |
2353 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2354 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 0, -1.4), i) | |
2355 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i) | |
2356 | wait(0.01) | |
2357 | end | |
2358 | ||
2359 | trail.Enabled = false | |
2360 | ||
2361 | bleedout() | |
2362 | ||
2363 | rightshoulderz:Clone().Parent = me.Torso | |
2364 | leftshoulderz:Clone().Parent = me.Torso | |
2365 | grabbed = nil | |
2366 | ||
2367 | if humanroot:FindFirstChild('Holder') then | |
2368 | humanroot.Holder:Destroy() | |
2369 | end | |
2370 | ||
2371 | wait(0.2) | |
2372 | slightthrow:Remove() | |
2373 | slightthrow2:Remove() | |
2374 | for i = 0,1,0.05 do | |
2375 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2376 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5, 0, 0)* CFrame.Angles(0, 0, 0), i) | |
2377 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5, 0, 0)* CFrame.Angles(0, 0, 0), i) | |
2378 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) | |
2379 | wait(0.01) | |
2380 | end | |
2381 | ||
2382 | weld2:Destroy() | |
2383 | weld3:Destroy() | |
2384 | targetweld = nil | |
2385 | targetweld2 = nil | |
2386 | targetweld3 = nil | |
2387 | rightshoulderz:Clone().Parent = me.Torso | |
2388 | leftshoulderz:Clone().Parent = me.Torso | |
2389 | acting = false | |
2390 | canClick = true | |
2391 | doing = false | |
2392 | end) | |
2393 | doit() | |
2394 | end | |
2395 | ||
2396 | function finish() | |
2397 | if finishing == true then return end | |
2398 | finishing = true | |
2399 | acting = true | |
2400 | decearingTHING = math.random(1, 100) | |
2401 | if decearingTHING == 4 then | |
2402 | decearingEGG = Instance.new("Sound", me.Torso) | |
2403 | decearingEGG.SoundId = "rbxassetid://138084557" | |
2404 | decearingEGG.PlaybackSpeed = math.random(10, 12) / 10 | |
2405 | decearingEGG.TimePosition = 0.2 | |
2406 | decearingEGG:Play() | |
2407 | end | |
2408 | me.Humanoid.WalkSpeed = 0 | |
2409 | me.Humanoid.JumpPower = 0 | |
2410 | ||
2411 | local rightarm = Instance.new("Weld", me.Torso) | |
2412 | rightarm.Part0 = me.Torso | |
2413 | rightarm.Part1 = me["Right Arm"] | |
2414 | rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) | |
2415 | ||
2416 | local tors = Instance.new("Weld", me.HumanoidRootPart) | |
2417 | tors.Part0 = me.HumanoidRootPart | |
2418 | tors.Part1 = me.Torso | |
2419 | tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) | |
2420 | ||
2421 | local rightleg = Instance.new("Weld", me.Torso) | |
2422 | rightleg.Part0 = me.Torso | |
2423 | rightleg.Part1 = me["Right Leg"] | |
2424 | rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0) | |
2425 | ||
2426 | local leftleg = Instance.new("Weld", me.Torso) | |
2427 | leftleg.Part0 = me.Torso | |
2428 | leftleg.Part1 = me["Left Leg"] | |
2429 | leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0) | |
2430 | ||
2431 | for i = 0, 1, 0.05 do | |
2432 | tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), 0, 0), i) | |
2433 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i) | |
2434 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i) | |
2435 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0) * CFrame.Angles(math.rad(179), math.rad(179), 0), i) | |
2436 | wait() | |
2437 | end | |
2438 | for i=1,finishnum do | |
2439 | local num1 = 0.5 | |
2440 | local num2 = 0.5 | |
2441 | local num3 = 0.25 | |
2442 | if finishnum ~= 1 then | |
2443 | num3 = 0 | |
2444 | end | |
2445 | trail.Enabled = true | |
2446 | for i = 0, 1, num1 do | |
2447 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-60), 0, 0), i) | |
2448 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(0), 0, 0), i) | |
2449 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(10), 0, 0), i) | |
2450 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, -1) * CFrame.Angles(math.rad(160), math.rad(150), 0), i) | |
2451 | wait() | |
2452 | end | |
2453 | wait() | |
2454 | for i = 0, 1, num2 do | |
2455 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
2456 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(-30), 0, 0), i) | |
2457 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
2458 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0.2) * CFrame.Angles(math.rad(250), math.rad(180), 0), i) | |
2459 | wait() | |
2460 | end | |
2461 | trail.Enabled = false | |
2462 | wait(num3) | |
2463 | end | |
2464 | wait() | |
2465 | for i = 0, 1, 0.05 do | |
2466 | tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i) | |
2467 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0) * CFrame.Angles(0, 0, 0), i) | |
2468 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0) * CFrame.Angles(0, 0, 0), i) | |
2469 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0), i) | |
2470 | wait() | |
2471 | end | |
2472 | tors:Remove() | |
2473 | rightarm:Remove() | |
2474 | rightleg:Remove() | |
2475 | leftleg:Remove() | |
2476 | rightshoulderz:Clone().Parent = me.Torso | |
2477 | leftshoulderz:Clone().Parent = me.Torso | |
2478 | torsojoint:Clone().Parent = me.HumanoidRootPart | |
2479 | lefthipz:Clone().Parent = me.Torso | |
2480 | righthipz:Clone().Parent = me.Torso | |
2481 | me.Humanoid.JumpPower = 50 | |
2482 | me.Humanoid.WalkSpeed = 16 | |
2483 | acting = false | |
2484 | canClick = true | |
2485 | doing = false | |
2486 | hit = false | |
2487 | finishing = false | |
2488 | if decearingTHING == 4 then | |
2489 | decearingEGG:Remove() | |
2490 | end | |
2491 | end | |
2492 | ||
2493 | function throw() | |
2494 | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end | |
2495 | paralyzed = false | |
2496 | targetweld = grabbed.Torso.TargetWeld | |
2497 | local ree = grabbed:FindFirstChild("Left Arm") | |
2498 | targetweld2 =nil | |
2499 | if ree and ree:FindFirstChild("Weld") then | |
2500 | targetweld2 = ree.Weld | |
2501 | end | |
2502 | ||
2503 | for i, v in pairs(grabbed:GetChildren()) do | |
2504 | if v.Name == "Part" then | |
2505 | v.CanCollide = true | |
2506 | end | |
2507 | end | |
2508 | ||
2509 | ||
2510 | local doit = coroutine.wrap(function() | |
2511 | local arm = me["Right Arm"] | |
2512 | local tors = grabbed.Torso | |
2513 | local arm2 = me["Left Arm"] | |
2514 | local targrightshoulder = rightshoulder | |
2515 | ||
2516 | local targleftshoulder = leftshoulder | |
2517 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end | |
2518 | doing = true | |
2519 | local weld2 = arm:FindFirstChildOfClass('Weld') | |
2520 | local weld3 = arm2:FindFirstChildOfClass('Weld') | |
2521 | local humanroot = me.HumanoidRootPart | |
2522 | ||
2523 | for i = 0,1,0.2 do | |
2524 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2525 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 1, -1.4), i) | |
2526 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i) | |
2527 | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i) | |
2528 | if targetweld2 then | |
2529 | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i) | |
2530 | end | |
2531 | wait(0.01) | |
2532 | end | |
2533 | ||
2534 | audio:Stop() | |
2535 | audio.SoundId = "rbxassetid://536642316" | |
2536 | tone = math.random(1, 3) | |
2537 | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.08 end | |
2538 | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end | |
2539 | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.12 end | |
2540 | audio:Play() | |
2541 | ||
2542 | local slightthrow = Instance.new("BodyVelocity", grabbed.Torso) | |
2543 | slightthrow.Velocity = Vector3.new(0,20,0)+(me.Torso.CFrame.lookVector*20) | |
2544 | slightthrow.P = 5000 | |
2545 | slightthrow.MaxForce = Vector3.new(9000001,9000001,9000001) | |
2546 | local point = grabbed.Torso.Position | |
2547 | local aaaaaa = grabbed | |
2548 | liedown() | |
2549 | ||
2550 | rightshoulderz:Clone().Parent = me.Torso | |
2551 | leftshoulderz:Clone().Parent = me.Torso | |
2552 | grabbed = nil | |
2553 | ||
2554 | if humanroot:FindFirstChild('Holder') then | |
2555 | humanroot.Holder:Destroy() | |
2556 | end | |
2557 | local coru = coroutine.wrap(function() | |
2558 | while aaaaaa and aaaaaa:FindFirstChild('Torso') and (aaaaaa.Torso.Position-point).magnitude < 5 do wait(0.001) end | |
2559 | slightthrow:Remove() | |
2560 | end) | |
2561 | coru() | |
2562 | ||
2563 | for i = 0,1,0.05 do | |
2564 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2565 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
2566 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i) | |
2567 | wait(0.01) | |
2568 | end | |
2569 | weld2:Destroy() | |
2570 | weld3:Destroy() | |
2571 | targetweld:Remove() | |
2572 | if targetweld2 then | |
2573 | targetweld2:Remove() | |
2574 | end | |
2575 | if rightshoulder then | |
2576 | rightshoulder:Clone().Parent = tors | |
2577 | end | |
2578 | if leftshoulder then | |
2579 | leftshoulder:Clone().Parent = tors | |
2580 | end | |
2581 | headweld:Clone().Parent = tors | |
2582 | rightshoulderz:Clone().Parent = me.Torso | |
2583 | leftshoulderz:Clone().Parent = me.Torso | |
2584 | acting = false | |
2585 | canClick = true | |
2586 | doing = false | |
2587 | end) | |
2588 | doit() | |
2589 | end | |
2590 | ||
2591 | cfn,ang,mr,int=CFrame.new,CFrame.Angles,math.rad,Instance.new | |
2592 | bc=BrickColor.new | |
2593 | local minimumsize = Vector3.new(0.7,0.7,0.7) | |
2594 | local surface_between_splitted_parts = 'SmoothNoOutlines' | |
2595 | local fragmentable = workspace | |
2596 | local list = {} | |
2597 | local brickcount = 0 | |
2598 | local storage = {} | |
2599 | local fillup = 1000 | |
2600 | local maximumstorage = 2000 | |
2601 | local storage_position = Vector3.new(0,0,5000) | |
2602 | local stored_partsize = Vector3.new(1,1,1) | |
2603 | local parts_created_per_frame = 5 | |
2604 | ||
2605 | local minimumsize = Vector3.new(0.7,0.7,0.7) | |
2606 | local surface_between_splitted_parts = 'SmoothNoOutlines' | |
2607 | local fragmentable = workspace | |
2608 | local list = {} | |
2609 | local brickcount = 0 | |
2610 | local storage = {} | |
2611 | local fillup = 1000 | |
2612 | local maximumstorage = 2000 | |
2613 | local storage_position = Vector3.new(0,0,5000) | |
2614 | local stored_partsize = Vector3.new(1,1,1) | |
2615 | local parts_created_per_frame = 5 | |
2616 | ||
2617 | ||
2618 | function fragmentate(cframe,size,color,explosion_position,explosion_blastradius,backsurface,bottomsurface,frontsurface,leftsurface,rightsurface,topsurface,transparency,reflectance,material) | |
2619 | local xi = size.X >= minimumsize.X*(1+explosion_blastradius/16) and 2 or 1 | |
2620 | local yi = size.Y >= minimumsize.Y*(1+explosion_blastradius/16) and 2 or 1 | |
2621 | local zi = size.Z >= minimumsize.Z*(1+explosion_blastradius/16) and 2 or 1 | |
2622 | if xi == 1 and yi == 1 and zi == 1 or (cframe.p-explosion_position).magnitude > size.magnitude/2 + explosion_blastradius then | |
2623 | if xi == 1 and yi == 1 and zi == 1 then return end | |
2624 | if #storage > 0 then | |
2625 | local p = storage[1] | |
2626 | p.BrickColor = color | |
2627 | p.Size = size | |
2628 | p.Anchored = false | |
2629 | p.BackSurface = backsurface | |
2630 | p.BottomSurface = bottomsurface | |
2631 | p.FrontSurface = frontsurface | |
2632 | p.LeftSurface = leftsurface | |
2633 | p.RightSurface = rightsurface | |
2634 | p.TopSurface = topsurface | |
2635 | p.Transparency = transparency | |
2636 | p.CFrame = cframe | |
2637 | p.Reflectance = reflectance | |
2638 | p.Material = material | |
2639 | game:GetService('Debris'):AddItem(p,30) | |
2640 | p:BreakJoints() | |
2641 | table.remove(storage,1) | |
2642 | else | |
2643 | local p = Instance.new("Part",fragmentable) | |
2644 | p.BrickColor = color | |
2645 | p.FormFactor = "Custom" | |
2646 | p.Size = size | |
2647 | p.BackSurface = backsurface | |
2648 | p.BottomSurface = bottomsurface | |
2649 | p.FrontSurface = frontsurface | |
2650 | p.LeftSurface = leftsurface | |
2651 | p.RightSurface = rightsurface | |
2652 | p.TopSurface = topsurface | |
2653 | p.Transparency = transparency | |
2654 | p.Material = material | |
2655 | if p.Transparency>0.285 then | |
2656 | p.Anchored = false | |
2657 | else | |
2658 | p.Anchored=false | |
2659 | p.Material='Wood' | |
2660 | game:GetService('Debris'):AddItem(p,10) | |
2661 | end | |
2662 | p.CFrame = cframe | |
2663 | p.Reflectance = reflectance | |
2664 | p:BreakJoints() | |
2665 | end | |
2666 | return | |
2667 | end | |
2668 | local mody = math.random(-125,125)/1000 | |
2669 | for y = 1,yi do | |
2670 | if math.random()> 0.5 then | |
2671 | local modx = math.random(-125,125)/1000 | |
2672 | for x = 1,xi do | |
2673 | local modz = math.random(-125,125)/1000 | |
2674 | for z = 1,zi do --offset = x/xi-0.75+modx) | |
2675 | fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)), | |
2676 | Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y, | |
2677 | zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z or mustardfoot_was_here),color,explosion_position,explosion_blastradius, | |
2678 | z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface, | |
2679 | z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface, | |
2680 | y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material) | |
2681 | end | |
2682 | ||
2683 | end | |
2684 | else | |
2685 | local modz = math.random(-125,125)/1000 | |
2686 | for z = 1,zi do | |
2687 | local modx = math.random(-125,125)/1000 | |
2688 | for x = 1,xi do | |
2689 | fragmentate(cframe*CFrame.new(size.X*(xi==1 and 0 or x/xi-0.75+modx),size.Y*(yi==1 and 0 or y/yi-0.75+mody),size.Z*(zi==1 and 0 or z/zi-0.75+modz)), | |
2690 | Vector3.new(xi == 2 and size.X*(1-2*math.abs(x/xi-0.75+modx)) or size.X,yi == 2 and size.Y*(1-2*math.abs(y/yi-0.75+mody)) or size.Y, | |
2691 | zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z),color,explosion_position,explosion_blastradius, | |
2692 | z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface, | |
2693 | z==2 and surface_between_splitted_parts or frontsurface,x==2 and surface_between_splitted_parts or leftsurface,x~=xi and surface_between_splitted_parts or rightsurface, | |
2694 | y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material) | |
2695 | end | |
2696 | end | |
2697 | end | |
2698 | end | |
2699 | end | |
2700 | ||
2701 | function start_fragmentation(position,radius,nuh) | |
2702 | local search = Region3.new(position-Vector3.new(radius,radius,radius)*1.1,position+Vector3.new(radius,radius,radius)*1.1) | |
2703 | repeat | |
2704 | local finish = false | |
2705 | local parts = workspace:FindPartsInRegion3WithIgnoreList(search,list,100) | |
2706 | for i = 1,#parts do | |
2707 | table.insert(list,1,parts[i]) | |
2708 | end | |
2709 | finish = true | |
2710 | until #parts < 100 and finish | |
2711 | local t = tick() | |
2712 | for i = 1,#list do | |
2713 | local p = list[i] | |
2714 | if p:IsA('UnionOperation') == false and p:IsA('CornerWedgePart') == false and p:IsA('TrussPart') == false and p:IsA('WedgePart') == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<50000 and p.Transparency>0.285 and p.Name~='Base' and p.Parent:FindFirstChildOfClass('Humanoid') == nil and p.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and p:IsDescendantOf(me)==false then | |
2715 | fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material) | |
2716 | if #storage < maximumstorage and p.Shape == "Block" then | |
2717 | p.Anchored = false | |
2718 | p.FormFactor = "Custom" | |
2719 | p.Size = stored_partsize | |
2720 | p.Position = storage_position | |
2721 | table.insert(storage,1,p) | |
2722 | else | |
2723 | p:Destroy() | |
2724 | end | |
2725 | end | |
2726 | if nuh == false and p.Parent and p.Parent ~= obj1 and p.Parent.Name ~= "Projectile" and p:IsDescendantOf(fragmentable) and p:GetMass()<53000 and p.Transparency<0.05 and p.Name~='Base' and tostring(p.Material)=='Enum.Material.Wood' and p:IsDescendantOf(me)==false then | |
2727 | fragmentate(p.CFrame,p.Size,p.BrickColor,position,radius,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material) | |
2728 | if #storage < maximumstorage and p.Shape == "Block" then | |
2729 | p.Anchored = false | |
2730 | p.Material='Wood' | |
2731 | p.FormFactor = "Custom" | |
2732 | p.Size = stored_partsize | |
2733 | p.Position = storage_position | |
2734 | table.insert(storage,1,p) | |
2735 | else | |
2736 | p:Destroy() | |
2737 | end | |
2738 | end | |
2739 | end | |
2740 | list = {} | |
2741 | end | |
2742 | ||
2743 | ||
2744 | function fling() | |
2745 | local doit = coroutine.wrap(function() | |
2746 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') then | |
2747 | acting = true | |
2748 | for i=1,finishnum do | |
2749 | local weld2 = Instance.new('Weld',me["Right Arm"]) | |
2750 | weld2.Part0 = me["Right Arm"] | |
2751 | weld2.Part1 = me["Torso"] | |
2752 | weld2.C0 = CFrame.new(-1.5,0,0) | |
2753 | if finishnum == 1 then | |
2754 | for i = 0,1,0.05 do | |
2755 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
2756 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) | |
2757 | wait(0.01) | |
2758 | end | |
2759 | end | |
2760 | audio.SoundId = "rbxassetid://166083610" | |
2761 | audio.PlaybackSpeed = 1 | |
2762 | audio.TimePosition = 0.1 | |
2763 | audio:Play() | |
2764 | if finishnum == 1 then | |
2765 | for i = 0,1,0.5 do | |
2766 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
2767 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i) | |
2768 | wait(0.001) | |
2769 | end | |
2770 | end | |
2771 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
2772 | local knofe = obj1:Clone() | |
2773 | for i, v in pairs(obj1:GetChildren()) do | |
2774 | if v:IsA('BasePart') then | |
2775 | v.Transparency = 1 | |
2776 | end | |
2777 | end | |
2778 | knofe.Parent = workspace | |
2779 | knofe.Name = "Projectile" | |
2780 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
2781 | knofe:FindFirstChild("Trail", true).Enabled = true | |
2782 | local heck = Instance.new('BodyVelocity',knofe.Grab) | |
2783 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120 | |
2784 | local coru = coroutine.wrap(function() | |
2785 | wait(0.45) | |
2786 | if heck then | |
2787 | heck:Destroy() | |
2788 | end | |
2789 | end) | |
2790 | coru() | |
2791 | local able = true | |
2792 | knofe["big ass knife"].Touched:connect(function(hit) | |
2793 | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Transparency < 1 and knofe.Grab.CanCollide == false and hit.Parent ~= me and hit.Parent.Parent ~= me then | |
2794 | local thing = hit.Parent:FindFirstChildOfClass('Humanoid') | |
2795 | local ree = hit.Parent | |
2796 | if thing == nil then | |
2797 | ree = hit.Parent.Parent | |
2798 | end | |
2799 | if ree:FindFirstChildOfClass('Humanoid').Health > 0 then | |
2800 | knofe:FindFirstChild("Trail", true).Enabled = false | |
2801 | game:GetService('Debris'):AddItem(knofe,5) | |
2802 | tone = math.random(1, 3) | |
2803 | local sound = Instance.new('Sound',knofe.Grab) | |
2804 | if tone == 1 then sound.SoundId = "rbxassetid://220833967" end | |
2805 | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end | |
2806 | if tone == 3 then sound.SoundId = "rbxassetid://220834000" end | |
2807 | sound.PlaybackSpeed = 1 | |
2808 | sound:Play() | |
2809 | for i, v in pairs(knofe:GetChildren()) do | |
2810 | if v:IsA('BasePart') then | |
2811 | v.CanCollide = true | |
2812 | v.Anchored = true | |
2813 | end | |
2814 | end | |
2815 | hit.Anchored = true | |
2816 | if ree:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then | |
2817 | ree:FindFirstChildOfClass('Humanoid').Health = 0 | |
2818 | end | |
2819 | wait() | |
2820 | killz(ree,hit.Name,knofe) | |
2821 | else | |
2822 | knofe:FindFirstChild("Trail", true).Enabled = false | |
2823 | heck.Velocity = Vector3.new(0,0,0) | |
2824 | heck:Destroy() | |
2825 | game:GetService('Debris'):AddItem(knofe,5) | |
2826 | tone = math.random(1, 3) | |
2827 | local sound = Instance.new('Sound',knofe.Grab) | |
2828 | if tone == 1 then sound.SoundId = "rbxassetid://220833967" end | |
2829 | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end | |
2830 | if tone == 3 then sound.SoundId = "rbxassetid://220834000" end | |
2831 | sound.PlaybackSpeed = 1 | |
2832 | sound:Play() | |
2833 | for i, v in pairs(knofe:GetChildren()) do | |
2834 | if v:IsA('BasePart') then | |
2835 | v.Anchored = false | |
2836 | end | |
2837 | end | |
2838 | hit.Anchored = true | |
2839 | wait(0.001) | |
2840 | hit.Anchored = false | |
2841 | for i, v in pairs(knofe:GetChildren()) do | |
2842 | if v:IsA('BasePart') then | |
2843 | v.Anchored = false | |
2844 | end | |
2845 | end | |
2846 | if knofe then | |
2847 | local coru = coroutine.wrap(function() | |
2848 | if hit then | |
2849 | local uno = Instance.new('Part',workspace) | |
2850 | local dos = Instance.new('Part',workspace) | |
2851 | uno.CFrame = hit.CFrame | |
2852 | dos.CFrame = knofe["big ass knife"].CFrame | |
2853 | local weld = Instance.new('Weld',knofe["big ass knife"]) | |
2854 | weld.Part0 = hit | |
2855 | weld.Part1 = knofe["big ass knife"] | |
2856 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
2857 | uno:Destroy() | |
2858 | dos:Destroy() | |
2859 | end | |
2860 | end) | |
2861 | coru() | |
2862 | end | |
2863 | end | |
2864 | elseif hit.Parent and hit.Parent ~= me and hit.Parent.Parent ~= me and hit.CanCollide and knofe.Grab.CanCollide == false then | |
2865 | if hit.Transparency and (hit.Transparency<=0.285 or hit:GetMass()<=3000) then | |
2866 | knofe:FindFirstChild("Trail", true).Enabled = false | |
2867 | local sound = Instance.new('Sound',knofe.Grab) | |
2868 | sound.SoundId = 'rbxassetid://267585646' | |
2869 | sound:Play() | |
2870 | for i,v in pairs(knofe:GetChildren()) do | |
2871 | if v:IsA('BasePart') then | |
2872 | v.Anchored = true | |
2873 | end | |
2874 | end | |
2875 | wait() | |
2876 | heck.Velocity = Vector3.new(0,0,0) | |
2877 | heck:Destroy() | |
2878 | local uno = Instance.new('Part',workspace) | |
2879 | local dos = Instance.new('Part',workspace) | |
2880 | uno.CFrame = hit.CFrame | |
2881 | dos.CFrame = knofe["big ass knife"].CFrame | |
2882 | local weld = Instance.new('Weld',knofe["big ass knife"]) | |
2883 | weld.Part0 = hit | |
2884 | weld.Part1 = knofe["big ass knife"] | |
2885 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
2886 | uno:Destroy() | |
2887 | dos:Destroy() | |
2888 | for i,v in pairs(knofe:GetChildren()) do | |
2889 | if v:IsA('BasePart') then | |
2890 | v.Anchored = false | |
2891 | end | |
2892 | end | |
2893 | game:GetService('Debris'):AddItem(knofe,5) | |
2894 | for i,v in pairs(knofe:GetChildren()) do | |
2895 | if v:IsA('BasePart') then | |
2896 | v.CanCollide = true | |
2897 | end | |
2898 | end | |
2899 | end | |
2900 | if hit.Parent and hit.Transparency>0.285 and able == true and hit:GetMass()<3000 and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and (hit.Parent.Parent == nil or hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil) then | |
2901 | knofe:FindFirstChild("Trail", true).Enabled = false | |
2902 | able = false | |
2903 | local sound = Instance.new('Sound',knofe.Grab) | |
2904 | sound.SoundId = 'rbxassetid://144884907' | |
2905 | sound:Play() | |
2906 | local coru = coroutine.wrap(function() | |
2907 | start_fragmentation(knofe["big ass knife"].Position,1.25,knofe) | |
2908 | end) | |
2909 | coru() | |
2910 | end | |
2911 | end | |
2912 | end) | |
2913 | if finishnum == 1 then | |
2914 | for i= 0,1,0.1 do | |
2915 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
2916 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
2917 | wait(0.001) | |
2918 | end | |
2919 | else | |
2920 | for i= 0,1,0.5 do | |
2921 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
2922 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
2923 | wait(0.001) | |
2924 | end | |
2925 | end | |
2926 | for i,v in pairs(obj1:GetChildren()) do | |
2927 | if v:IsA('BasePart') then | |
2928 | v.Transparency = 0 | |
2929 | end | |
2930 | end | |
2931 | weld2:Destroy() | |
2932 | rightshoulderz:Clone().Parent = me.Torso | |
2933 | end | |
2934 | acting = false | |
2935 | canClick = true | |
2936 | end | |
2937 | end) | |
2938 | doit() | |
2939 | end | |
2940 | ||
2941 | function instasplode() | |
2942 | local coru = coroutine.wrap(function() | |
2943 | acting = true | |
2944 | for i=1,1 do | |
2945 | local weld2 = Instance.new('Weld',me["Right Arm"]) | |
2946 | weld2.Part0 = me["Right Arm"] | |
2947 | weld2.Part1 = me["Torso"] | |
2948 | weld2.C0 = CFrame.new(-1.5,0,0) | |
2949 | if finishnum == 1 then | |
2950 | for i = 0,1,0.05 do | |
2951 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
2952 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) | |
2953 | wait(0.01) | |
2954 | end | |
2955 | end | |
2956 | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) | |
2957 | audio.SoundId = "rbxassetid://166083610" | |
2958 | audio.PlaybackSpeed = 1 | |
2959 | audio.TimePosition = 0.1 | |
2960 | audio:Play() | |
2961 | if finishnum == 1 then | |
2962 | for i = 0,1,0.5 do | |
2963 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
2964 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i) | |
2965 | wait(0.001) | |
2966 | end | |
2967 | end | |
2968 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
2969 | local knofe = obj1:Clone() | |
2970 | for i,v in pairs(obj1:GetChildren()) do | |
2971 | if v:IsA('BasePart') then | |
2972 | v.Transparency = 1 | |
2973 | end | |
2974 | end | |
2975 | knofe.Parent = workspace | |
2976 | knofe.Name = "Projectile" | |
2977 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
2978 | knofe:FindFirstChild("Trail", true).Enabled = false | |
2979 | fireofjesUS = Instance.new("Fire", knofe.Grab) | |
2980 | local heck = Instance.new('BodyVelocity',knofe.Grab) | |
2981 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120 | |
2982 | local coru = coroutine.wrap(function() | |
2983 | wait(0.45) | |
2984 | if heck then | |
2985 | heck:Destroy() | |
2986 | end | |
2987 | end) | |
2988 | coru() | |
2989 | knofe["big ass knife"].Touched:connect(function(hit) | |
2990 | if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then | |
2991 | heck.Velocity = Vector3.new(0,0,0) | |
2992 | heck:Destroy() | |
2993 | for i,v in pairs(knofe:GetChildren()) do | |
2994 | if v:IsA('BasePart') then | |
2995 | v.CanCollide = true | |
2996 | end | |
2997 | end | |
2998 | local hum = hit.Parent:FindFirstChildOfClass('Humanoid') | |
2999 | if hum == nil then | |
3000 | hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid') | |
3001 | end | |
3002 | if knofe then | |
3003 | local coru = coroutine.wrap(function() | |
3004 | if hit then | |
3005 | local uno = Instance.new('Part',workspace) | |
3006 | local dos = Instance.new('Part',workspace) | |
3007 | uno.CFrame = hit.CFrame | |
3008 | dos.CFrame = knofe["big ass knife"].CFrame | |
3009 | local weld = Instance.new('Weld',knofe["big ass knife"]) | |
3010 | weld.Part0 = hit | |
3011 | weld.Part1 = knofe["big ass knife"] | |
3012 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
3013 | uno:Destroy() | |
3014 | dos:Destroy() | |
3015 | end | |
3016 | end) | |
3017 | coru() | |
3018 | end | |
3019 | local sound = Instance.new('Sound',knofe.Grab) | |
3020 | sound.Name = "BOOM" | |
3021 | sound.EmitterSize = 25 | |
3022 | sound.SoundId = 'rbxassetid://476477344' | |
3023 | sound.Volume = 0.5 | |
3024 | sound:Play() | |
3025 | local exppart = Instance.new("Part", game.Workspace) | |
3026 | exppart.Size = Vector3.new(0.2, 0.2, 0.2) | |
3027 | exppart.Anchored = true | |
3028 | exppart.CanCollide = false | |
3029 | exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p) | |
3030 | exppart.Transparency = 1 | |
3031 | local expaccent = Instance.new("ParticleEmitter", exppart) | |
3032 | expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))}) | |
3033 | expaccent.LightEmission = 0.2 | |
3034 | expaccent.LightInfluence = 0.3 | |
3035 | expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) | |
3036 | expaccent.Acceleration = Vector3.new(0, 30, 0) | |
3037 | expaccent.Drag = 15 | |
3038 | expaccent.LockedToPart = false | |
3039 | expaccent.Lifetime = NumberRange.new(0.5, 1.5) | |
3040 | expaccent.Rate = 2000 | |
3041 | expaccent.Speed = NumberRange.new(0,0) | |
3042 | expaccent.SpreadAngle = Vector2.new(360, 360) | |
3043 | expaccent:Clone().Parent = exppart | |
3044 | expaccent:Clone().Parent = exppart | |
3045 | local exp = Instance.new('Explosion',game.Workspace) | |
3046 | exp.Position = knofe["big ass knife"].Position | |
3047 | exp.ExplosionType = Enum.ExplosionType.NoCraters | |
3048 | exp.BlastRadius = 5 | |
3049 | exp.Visible = false | |
3050 | exp.BlastPressure = 0 | |
3051 | exp.DestroyJointRadiusPercent = 0 | |
3052 | exp.Hit:connect(function(hit) | |
3053 | if hit.Parent and hit.Parent ~= me and hit.Parent.Name ~= "bitch ass knife" then | |
3054 | wait(0.001) | |
3055 | tgt = hit | |
3056 | local coru=coroutine.wrap(function(tgtt) | |
3057 | local fireofgods = Instance.new("Fire", tgtt) | |
3058 | fireofgods.Size = 0 | |
3059 | fireofgods.Heat = 0 | |
3060 | local fireofgodsaccent = expaccent:Clone() | |
3061 | fireofgodsaccent.Parent = hit | |
3062 | fireofgodsaccent.Rate = 0 | |
3063 | fireofgodsaccent.Speed = NumberRange.new(5, 50) | |
3064 | fireofgodsaccent.SpreadAngle = Vector2.new(45, 45) | |
3065 | fireofgodsaccent.Acceleration = Vector3.new(0, 20, 0) | |
3066 | ||
3067 | while fireofgods.Size < 10 do | |
3068 | fireofgods.Size = fireofgods.Size + 0.1 | |
3069 | fireofgods.Heat = fireofgods.Heat + 0.1 | |
3070 | fireofgodsaccent.Rate = fireofgodsaccent.Rate + 1 | |
3071 | wait() | |
3072 | end | |
3073 | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then | |
3074 | hit:BreakJoints() | |
3075 | elseif hit.Parent and hit.Parent:IsA('Accessory') then | |
3076 | for i,v in pairs(hit:GetChildren()) do | |
3077 | if v:IsA('SpecialMesh') then | |
3078 | v.TextureId = "" | |
3079 | end | |
3080 | end | |
3081 | end | |
3082 | hit.BrickColor = BrickColor.new("Black") | |
3083 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3084 | if v:IsA('Shirt') or v:IsA('Pants') then | |
3085 | v:Destroy() | |
3086 | end | |
3087 | end | |
3088 | ||
3089 | while fireofgods.Size > 5 do | |
3090 | fireofgods.Size = fireofgods.Size - 0.1 | |
3091 | fireofgods.Heat = fireofgods.Heat - 0.1 | |
3092 | wait() | |
3093 | end | |
3094 | fireofgods:Destroy() | |
3095 | if hit.Parent then | |
3096 | if hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then | |
3097 | local p = hit | |
3098 | fragmentate(p.CFrame,p.Size,p.BrickColor,p.Position,0.01,p.BackSurface,p.BottomSurface,p.FrontSurface,p.LeftSurface,p.RightSurface,p.TopSurface,p.Transparency,p.Reflectance,p.Material) | |
3099 | hit:Remove() | |
3100 | elseif hit.Parent:FindFirstChildOfClass('Humanoid') ~= nil then | |
3101 | print(hit.Name) | |
3102 | if hit.Name == "Torso" or hit.Name == "Head" then | |
3103 | print('ohhh YAAAA') | |
3104 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0 | |
3105 | end | |
3106 | wait() | |
3107 | killz(hit.Parent,hit.Name,nil,nil,false,false,true) | |
3108 | end | |
3109 | end | |
3110 | end) | |
3111 | coru(tgt) | |
3112 | end | |
3113 | end) | |
3114 | local explosionaccenttimeout = coroutine.wrap(function() | |
3115 | wait(0.2) | |
3116 | for i, exploodn in pairs(exppart:GetChildren()) do | |
3117 | exploodn.Enabled = false | |
3118 | end | |
3119 | wait(2) | |
3120 | for i, exploodn in pairs(exppart:GetChildren()) do | |
3121 | exploodn:Remove() | |
3122 | end | |
3123 | end) | |
3124 | explosionaccenttimeout() | |
3125 | for i,v in pairs(knofe:GetChildren()) do | |
3126 | if v:IsA('BasePart') then | |
3127 | v.Transparency = 1 | |
3128 | end | |
3129 | end | |
3130 | exp.AncestryChanged:connect(function() knofe:Destroy() end) | |
3131 | coru() | |
3132 | end | |
3133 | end) | |
3134 | if finishnum == 1 then | |
3135 | for i= 0,1,0.1 do | |
3136 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3137 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
3138 | wait(0.001) | |
3139 | end | |
3140 | else | |
3141 | wait(0.1) | |
3142 | end | |
3143 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3144 | for i,v in pairs(obj1:GetChildren()) do | |
3145 | if v:IsA('BasePart') then | |
3146 | v.Transparency = 0 | |
3147 | end | |
3148 | end | |
3149 | weld2:Destroy() | |
3150 | rightshoulderz:Clone().Parent = me.Torso | |
3151 | end | |
3152 | acting = false | |
3153 | canClick = true | |
3154 | end) | |
3155 | coru() | |
3156 | end | |
3157 | ||
3158 | function fireworkit() | |
3159 | local coru = coroutine.wrap(function() | |
3160 | acting = true | |
3161 | local ree = 1 | |
3162 | if finishnum > 1 then | |
3163 | ree = 3 | |
3164 | end | |
3165 | for i=1,ree do | |
3166 | local weld2 = Instance.new('Weld',me["Right Arm"]) | |
3167 | weld2.Part0 = me["Right Arm"] | |
3168 | weld2.Part1 = me["Torso"] | |
3169 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3170 | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) | |
3171 | audio.SoundId = "rbxassetid://166083610" | |
3172 | audio.PlaybackSpeed = 1 | |
3173 | audio.TimePosition = 0.1 | |
3174 | audio:Play() | |
3175 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
3176 | local knofe = obj1:Clone() | |
3177 | for i,v in pairs(obj1:GetChildren()) do | |
3178 | if v:IsA('BasePart') then | |
3179 | v.Transparency = 1 | |
3180 | end | |
3181 | end | |
3182 | local sound = Instance.new('Sound',knofe.Grab) | |
3183 | sound.Volume = 0.25 | |
3184 | sound.EmitterSize = 200 | |
3185 | sound.MaxDistance = 300 | |
3186 | sound.SoundId = 'rbxassetid://551051176' | |
3187 | sound:Play() | |
3188 | knofe.Parent = workspace | |
3189 | knofe.Name = "Projectile" | |
3190 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
3191 | local partic = Instance.new('ParticleEmitter',knofe.Grab) | |
3192 | partic.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,0,0)),ColorSequenceKeypoint.new(0.4,Color3.fromRGB(255,125,0)),ColorSequenceKeypoint.new(0.8,Color3.new(1,1,0)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))}) | |
3193 | partic.LightEmission = 0.5 | |
3194 | partic.LightInfluence = 0 | |
3195 | partic.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.15)}) | |
3196 | partic.Rotation = NumberRange.new(0,90) | |
3197 | partic.SpreadAngle = Vector2.new(5,5) | |
3198 | partic.Speed = NumberRange.new(20) | |
3199 | partic.Texture = 'rbxassetid://603193846' | |
3200 | partic.EmissionDirection = Enum.NormalId.Left | |
3201 | partic.Lifetime = NumberRange.new(0.5,1) | |
3202 | partic.Rate = 100 | |
3203 | local heck = Instance.new('BodyVelocity',knofe.Grab) | |
3204 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*240 | |
3205 | knofe["big ass knife"].Touched:connect(function(hit) | |
3206 | sound:Destroy() | |
3207 | local sound2 = Instance.new('Sound',workspace) | |
3208 | sound2.SoundId = 'rbxassetid://138080762' | |
3209 | sound2:Play() | |
3210 | if heck then | |
3211 | heck:Destroy() | |
3212 | end | |
3213 | for i,v in pairs(knofe:GetChildren()) do | |
3214 | v.Anchored = true | |
3215 | end | |
3216 | partic.Enabled = false | |
3217 | local colorscheme = math.random(1,4) | |
3218 | --1 - red & orange | |
3219 | --2 - blue & pink | |
3220 | --3 - green & purple | |
3221 | --4 - blue, red, white | |
3222 | local colar1 = Color3.fromRGB(255,0,0) | |
3223 | local colar2 = Color3.fromRGB(255,125,0) | |
3224 | local colar3 = Color3.fromRGB(255,255,255) | |
3225 | if colorscheme == 2 then | |
3226 | colar1 = Color3.fromRGB(0,132,255) | |
3227 | colar2 = Color3.fromRGB(243,105,255) | |
3228 | elseif colorscheme == 3 then | |
3229 | colar1 = Color3.fromRGB(76,255,0) | |
3230 | colar2 = Color3.fromRGB(128,0,255) | |
3231 | elseif colorscheme == 4 then | |
3232 | colar2 = Color3.fromRGB(0,132,255) | |
3233 | end | |
3234 | local partic2 = Instance.new('ParticleEmitter',knofe.Grab) | |
3235 | partic2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar1),ColorSequenceKeypoint.new(1,colar1)}) | |
3236 | partic2.LightEmission = 0.5 | |
3237 | partic2.LightInfluence = 0 | |
3238 | partic2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.1)}) | |
3239 | partic2.Rotation = NumberRange.new(0,90) | |
3240 | partic2.SpreadAngle = Vector2.new(180,180) | |
3241 | partic2.Speed = NumberRange.new(20) | |
3242 | partic2.Texture = 'rbxassetid://603193846' | |
3243 | partic2.EmissionDirection = Enum.NormalId.Right | |
3244 | partic2.Lifetime = NumberRange.new(2,2.5) | |
3245 | partic2.Rate = 1000 | |
3246 | partic2.Drag = 1 | |
3247 | local partic3 = partic2:Clone() | |
3248 | partic3.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar2),ColorSequenceKeypoint.new(1,colar2)}) | |
3249 | partic3.Parent = knofe.Grab | |
3250 | if colorscheme == 4 then | |
3251 | local partic4 = partic2:Clone() | |
3252 | partic4.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar3),ColorSequenceKeypoint.new(1,colar3)}) | |
3253 | partic4.Parent = knofe.Grab | |
3254 | end | |
3255 | wait(1) | |
3256 | for i,v in pairs(knofe.Grab:GetChildren()) do | |
3257 | if v:IsA('ParticleEmitter') then | |
3258 | v.Enabled = false | |
3259 | end | |
3260 | end | |
3261 | sound:Destroy() | |
3262 | wait(2) | |
3263 | knofe:Destroy() | |
3264 | end) | |
3265 | wait(0.1) | |
3266 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3267 | for i,v in pairs(obj1:GetChildren()) do | |
3268 | if v:IsA('BasePart') then | |
3269 | v.Transparency = 0 | |
3270 | end | |
3271 | end | |
3272 | weld2:Destroy() | |
3273 | rightshoulderz:Clone().Parent = me.Torso | |
3274 | end | |
3275 | acting = false | |
3276 | canClick = true | |
3277 | end) | |
3278 | coru() | |
3279 | end | |
3280 | ||
3281 | function paralyze() | |
3282 | local coru = coroutine.wrap(function() | |
3283 | if paralyzed == true then return end | |
3284 | paralyzed = true | |
3285 | local arm = me["Right Arm"] | |
3286 | local tors = grabbed.Torso | |
3287 | local arm2 = me["Left Arm"] | |
3288 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end | |
3289 | doing = true | |
3290 | local weld2 = arm:FindFirstChildOfClass('Weld') | |
3291 | local weld3 = arm2:FindFirstChildOfClass('Weld') | |
3292 | local humanroot = me.HumanoidRootPart | |
3293 | for i = 0,1,0.075 do | |
3294 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-2, 0, -1.5), i) | |
3295 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i) | |
3296 | wait(0.01) | |
3297 | end | |
3298 | for i = 0,1,0.30 do | |
3299 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-0.75, 0, -1.75), i) | |
3300 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i) | |
3301 | wait(0.01) | |
3302 | end | |
3303 | killz(grabbed,'Left Leg') | |
3304 | killz(grabbed,'Left Arm') | |
3305 | killz(grabbed,'Right Leg') | |
3306 | killz(grabbed,'Right Arm') | |
3307 | ||
3308 | for i, v in pairs(grabbed:GetChildren()) do | |
3309 | if v.Name == "Part" then | |
3310 | v.CanCollide = false | |
3311 | end | |
3312 | end | |
3313 | ||
3314 | audio:Stop() | |
3315 | audio.SoundId = "rbxassetid://2801263" | |
3316 | tone = math.random(1, 3) | |
3317 | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0 end | |
3318 | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0 end | |
3319 | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0 end | |
3320 | audio:Play() | |
3321 | ||
3322 | local bleedpart = Instance.new("Part", grabbed) | |
3323 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
3324 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
3325 | bleedpart.CanCollide = false | |
3326 | bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0) | |
3327 | bleedpart.Transparency = 1 | |
3328 | ||
3329 | local bleedpartweld = Instance.new("Weld", grabbed.Torso) | |
3330 | bleedpartweld.Part0 = grabbed.Torso | |
3331 | bleedpartweld.Part1 = bleedpart | |
3332 | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) | |
3333 | local cuntruu=coroutine.wrap(function() | |
3334 | bleed(bleedpart) | |
3335 | end) | |
3336 | local thicc = coroutine.wrap(function() | |
3337 | wait(3) | |
3338 | bleedpart:Remove() | |
3339 | end) | |
3340 | cuntruu() | |
3341 | thicc() | |
3342 | ||
3343 | for i = 0,1,0.075 do | |
3344 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i) | |
3345 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i) | |
3346 | wait(0.01) | |
3347 | end | |
3348 | acting = true | |
3349 | canClick = true | |
3350 | doing = false | |
3351 | end) | |
3352 | coru() | |
3353 | end | |
3354 | ||
3355 | function explode() | |
3356 | local coru = coroutine.wrap(function() | |
3357 | acting = true | |
3358 | for i=1,finishnum do | |
3359 | local weld2 = Instance.new('Weld',me["Right Arm"]) | |
3360 | weld2.Part0 = me["Right Arm"] | |
3361 | weld2.Part1 = me["Torso"] | |
3362 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3363 | if finishnum == 1 then | |
3364 | for i = 0,1,0.05 do | |
3365 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3366 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) | |
3367 | wait(0.01) | |
3368 | end | |
3369 | end | |
3370 | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) | |
3371 | audio.SoundId = "rbxassetid://166083610" | |
3372 | audio.PlaybackSpeed = 1 | |
3373 | audio.TimePosition = 0.1 | |
3374 | audio:Play() | |
3375 | if finishnum == 1 then | |
3376 | for i = 0,1,0.5 do | |
3377 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3378 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i) | |
3379 | wait(0.001) | |
3380 | end | |
3381 | end | |
3382 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
3383 | local knofe = obj1:Clone() | |
3384 | for i,v in pairs(obj1:GetChildren()) do | |
3385 | if v:IsA('BasePart') then | |
3386 | v.Transparency = 1 | |
3387 | end | |
3388 | end | |
3389 | knofe.Parent = workspace | |
3390 | knofe.Name = "Projectile" | |
3391 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
3392 | knofe:FindFirstChild("Trail", true).Enabled = false | |
3393 | local heck = Instance.new('BodyVelocity',knofe.Grab) | |
3394 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120 | |
3395 | local coru = coroutine.wrap(function() | |
3396 | wait(0.45) | |
3397 | if heck then | |
3398 | heck:Destroy() | |
3399 | end | |
3400 | end) | |
3401 | coru() | |
3402 | knofe["big ass knife"].Touched:connect(function(hit) | |
3403 | if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then | |
3404 | heck.Velocity = Vector3.new(0,0,0) | |
3405 | heck:Destroy() | |
3406 | for i,v in pairs(knofe:GetChildren()) do | |
3407 | if v:IsA('BasePart') then | |
3408 | v.CanCollide = true | |
3409 | end | |
3410 | end | |
3411 | local hum = hit.Parent:FindFirstChildOfClass('Humanoid') | |
3412 | if hum == nil then | |
3413 | hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid') | |
3414 | end | |
3415 | if hum then | |
3416 | tone = math.random(1, 3) | |
3417 | local sound = Instance.new('Sound',knofe.Grab) | |
3418 | if tone == 1 then sound.SoundId = "rbxassetid://220833967" end | |
3419 | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end | |
3420 | if tone == 3 then sound.SoundId = "rbxassetid://220834000" end | |
3421 | sound.PlaybackSpeed = 1 | |
3422 | sound:Play() | |
3423 | else | |
3424 | local sound = Instance.new('Sound',knofe.Grab) | |
3425 | sound.SoundId = 'rbxassetid://267585646' | |
3426 | sound:Play() | |
3427 | end | |
3428 | if knofe then | |
3429 | local coru = coroutine.wrap(function() | |
3430 | if hit then | |
3431 | local uno = Instance.new('Part',workspace) | |
3432 | local dos = Instance.new('Part',workspace) | |
3433 | uno.CFrame = hit.CFrame | |
3434 | dos.CFrame = knofe["big ass knife"].CFrame | |
3435 | local weld = Instance.new('Weld',knofe["big ass knife"]) | |
3436 | weld.Part0 = hit | |
3437 | weld.Part1 = knofe["big ass knife"] | |
3438 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
3439 | uno:Destroy() | |
3440 | dos:Destroy() | |
3441 | end | |
3442 | end) | |
3443 | coru() | |
3444 | end | |
3445 | local coru = coroutine.wrap(function() | |
3446 | for i=1,15,0.7 do | |
3447 | local sound = Instance.new('Sound',knofe.Grab) | |
3448 | if knofe then | |
3449 | if knofe.serration.BrickColor == BrickColor.new('Really red') then | |
3450 | for i, v in pairs(knofe:GetChildren()) do | |
3451 | if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then | |
3452 | v.BrickColor = BrickColor.new('Lily white') | |
3453 | v.Material = Enum.Material.SmoothPlastic | |
3454 | end | |
3455 | end | |
3456 | else | |
3457 | for i,v in pairs(knofe:GetChildren()) do | |
3458 | if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then | |
3459 | v.BrickColor = BrickColor.new('Really red') | |
3460 | v.Material = Enum.Material.Neon | |
3461 | sound.SoundId = 'rbxassetid://300473653' | |
3462 | sound.Volume = 0.75 | |
3463 | sound.TimePosition = 0.05 | |
3464 | sound.EmitterSize = 25 | |
3465 | sound.PlaybackSpeed = 1 | |
3466 | sound:Play() | |
3467 | end | |
3468 | end | |
3469 | end | |
3470 | wait(1/i) | |
3471 | sound:Destroy() | |
3472 | end | |
3473 | end | |
3474 | local sound = Instance.new('Sound',knofe.Grab) | |
3475 | sound.Name = "BOOM" | |
3476 | sound.EmitterSize = 25 | |
3477 | sound.SoundId = 'rbxassetid://12222084' | |
3478 | sound.TimePosition = 0.1 | |
3479 | sound.Volume = 0.5 | |
3480 | sound:Play() | |
3481 | local exppart = Instance.new("Part", game.Workspace) | |
3482 | exppart.Size = Vector3.new(0.2, 0.2, 0.2) | |
3483 | exppart.Anchored = true | |
3484 | exppart.CanCollide = false | |
3485 | exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p) | |
3486 | exppart.Transparency = 1 | |
3487 | local expaccent = Instance.new("ParticleEmitter", exppart) | |
3488 | expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))}) | |
3489 | expaccent.LightEmission = 0.2 | |
3490 | expaccent.LightInfluence = 0.3 | |
3491 | expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) | |
3492 | expaccent.Acceleration = Vector3.new(0, -8, 0) | |
3493 | expaccent.Drag = 15 | |
3494 | expaccent.LockedToPart = true | |
3495 | expaccent.Lifetime = NumberRange.new(0.5, 1.5) | |
3496 | expaccent.Rate = 2000 | |
3497 | expaccent.Speed = NumberRange.new(10, 150) | |
3498 | expaccent.SpreadAngle = Vector2.new(360, 360) | |
3499 | ||
3500 | local exp = Instance.new('Explosion',game.Workspace) | |
3501 | exp.Position = knofe["big ass knife"].Position | |
3502 | exp.ExplosionType = Enum.ExplosionType.NoCraters | |
3503 | exp.BlastRadius = 10 | |
3504 | exp.BlastPressure = 100000 | |
3505 | exp.DestroyJointRadiusPercent = 1 | |
3506 | exp.Hit:connect(function(hit) | |
3507 | if hit.Parent and hit.Parent ~= me and hit.Parent:FindFirstChildOfClass('Humanoid') then | |
3508 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then | |
3509 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0 | |
3510 | end | |
3511 | wait(0.001) | |
3512 | local coru=coroutine.wrap(function() | |
3513 | killz(hit.Parent,'Head',knofe,exp) | |
3514 | end) | |
3515 | coru() | |
3516 | elseif hit.Parent and hit.Parent ~= workspace and hit.Parent ~= me then | |
3517 | if hit.Parent.Name ~= "Projectile" then | |
3518 | hit.Parent:BreakJoints() | |
3519 | end | |
3520 | elseif hit.Parent and hit.Parent ~= me then | |
3521 | hit:BreakJoints() | |
3522 | end | |
3523 | end) | |
3524 | local explosionaccenttimeout = coroutine.wrap(function() | |
3525 | wait(0.2) | |
3526 | expaccent.Enabled = false | |
3527 | wait(2) | |
3528 | exppart:Remove() | |
3529 | end) | |
3530 | explosionaccenttimeout() | |
3531 | for i,v in pairs(knofe:GetChildren()) do | |
3532 | if v:IsA('BasePart') then | |
3533 | v.Transparency = 1 | |
3534 | end | |
3535 | end | |
3536 | exp.AncestryChanged:connect(function() knofe:Destroy() end) | |
3537 | end) | |
3538 | coru() | |
3539 | end | |
3540 | end) | |
3541 | if finishnum == 1 then | |
3542 | for i= 0,1,0.1 do | |
3543 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3544 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
3545 | wait(0.001) | |
3546 | end | |
3547 | else | |
3548 | wait(0.1) | |
3549 | end | |
3550 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3551 | for i,v in pairs(obj1:GetChildren()) do | |
3552 | if v:IsA('BasePart') then | |
3553 | v.Transparency = 0 | |
3554 | end | |
3555 | end | |
3556 | weld2:Destroy() | |
3557 | rightshoulderz:Clone().Parent = me.Torso | |
3558 | end | |
3559 | acting = false | |
3560 | canClick = true | |
3561 | end) | |
3562 | coru() | |
3563 | end | |
3564 | ||
3565 | function release() | |
3566 | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end | |
3567 | targetweld = grabbed.Torso.TargetWeld | |
3568 | local ree= grabbed:FindFirstChild("Left Arm") | |
3569 | targetweld2 = nil | |
3570 | if ree and ree:FindFirstChild("Weld") then | |
3571 | targetweld2 = ree.Weld | |
3572 | end | |
3573 | for i, v in pairs(grabbed:GetChildren()) do | |
3574 | if v.Name == "Part" then | |
3575 | v.CanCollide = true | |
3576 | end | |
3577 | end | |
3578 | paralyzed = false | |
3579 | local doit = coroutine.wrap(function() | |
3580 | local arm = me["Right Arm"] | |
3581 | local tors = grabbed.Torso | |
3582 | local arm2 = me["Left Arm"] | |
3583 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end | |
3584 | doing = true | |
3585 | local weld2 = arm:FindFirstChildOfClass('Weld') | |
3586 | local weld3 = arm2:FindFirstChildOfClass('Weld') | |
3587 | local humanroot = me.HumanoidRootPart | |
3588 | ||
3589 | if grabbed:FindFirstChildOfClass('Humanoid') then | |
3590 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false | |
3591 | end | |
3592 | ||
3593 | rightshoulderz:Clone().Parent = me.Torso | |
3594 | leftshoulderz:Clone().Parent = me.Torso | |
3595 | grabbed = nil | |
3596 | ||
3597 | if humanroot:FindFirstChild('Holder') then | |
3598 | humanroot.Holder:Destroy() | |
3599 | end | |
3600 | ||
3601 | for i = 0,1,0.1 do | |
3602 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
3603 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
3604 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i) | |
3605 | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i) | |
3606 | if targetweld2 then | |
3607 | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i) | |
3608 | end | |
3609 | wait(0.01) | |
3610 | end | |
3611 | ||
3612 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0.2) | |
3613 | weld2:Destroy() | |
3614 | weld3:Destroy() | |
3615 | targetweld:Remove() | |
3616 | if targetweld2 then | |
3617 | targetweld2:Remove() | |
3618 | end | |
3619 | if rightshoulder then | |
3620 | rightshoulder:Clone().Parent = tors | |
3621 | end | |
3622 | if leftshoulder then | |
3623 | leftshoulder:Clone().Parent = tors | |
3624 | end | |
3625 | headweld:Clone().Parent = tors | |
3626 | rightshoulderz:Clone().Parent = me.Torso | |
3627 | leftshoulderz:Clone().Parent = me.Torso | |
3628 | acting = false | |
3629 | canClick = true | |
3630 | doing = false | |
3631 | end) | |
3632 | doit() | |
3633 | end | |
3634 | ||
3635 | function stabwithpassion() | |
3636 | local doit = coroutine.wrap(function() | |
3637 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then | |
3638 | acting = true | |
3639 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 10 | |
3640 | local arm = me["Right Arm"] | |
3641 | local tors = me.Torso | |
3642 | local arm2 = me["Left Arm"] | |
3643 | local humanroot = me.HumanoidRootPart | |
3644 | local weld = Instance.new('Weld',tors) | |
3645 | weld.Part0 = tors | |
3646 | weld.Part1 = humanroot | |
3647 | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0) | |
3648 | local weld2 = Instance.new('Weld',arm) | |
3649 | weld2.Part0 = arm | |
3650 | weld2.Part1 = tors | |
3651 | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
3652 | local weld3 = Instance.new('Weld',arm2) | |
3653 | weld3.Part0 = arm2 | |
3654 | weld3.Part1 = tors | |
3655 | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) | |
3656 | ||
3657 | for i = 0,1,0.15 do | |
3658 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3659 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(20),0),i) | |
3660 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) | |
3661 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(90), -1.55) * CFrame.new(0, 0.95, 0), i) | |
3662 | wait(0.01) | |
3663 | end | |
3664 | wait(0.001) | |
3665 | trail.Enabled = true | |
3666 | stabbing = true | |
3667 | audio2.SoundId = 'rbxassetid://608537390' | |
3668 | audio2:Play() | |
3669 | for i = 0,1,0.2 do | |
3670 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3671 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-45),0),i) | |
3672 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,-1)*CFrame.Angles(math.rad(-90),0,-1),i) | |
3673 | wait(0.01) | |
3674 | end | |
3675 | trail.Enabled = false | |
3676 | wait(0.1) | |
3677 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 10 | |
3678 | stabbing = false | |
3679 | wait(0.001) | |
3680 | for i = 0,1,0.075 do | |
3681 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3682 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i) | |
3683 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i) | |
3684 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i) | |
3685 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i) | |
3686 | wait(0.01) | |
3687 | end | |
3688 | weld:Destroy() | |
3689 | weld2:Destroy() | |
3690 | weld3:Destroy() | |
3691 | torsojoint:Clone().Parent = humanroot | |
3692 | rightshoulderz:Clone().Parent = me.Torso | |
3693 | leftshoulderz:Clone().Parent = me.Torso | |
3694 | canClick = true | |
3695 | hit = false | |
3696 | acting = false | |
3697 | end | |
3698 | end) | |
3699 | doit() | |
3700 | end | |
3701 | ||
3702 | function stab() | |
3703 | local doit = coroutine.wrap(function() | |
3704 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then | |
3705 | acting = true | |
3706 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3 | |
3707 | local arm = me["Right Arm"] | |
3708 | local tors = me.Torso | |
3709 | local arm2 = me["Left Arm"] | |
3710 | local humanroot = me.HumanoidRootPart | |
3711 | local weld = Instance.new('Weld',tors) | |
3712 | weld.Part0 = tors | |
3713 | weld.Part1 = humanroot | |
3714 | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0) | |
3715 | local weld2 = Instance.new('Weld',arm) | |
3716 | weld2.Part0 = arm | |
3717 | weld2.Part1 = tors | |
3718 | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
3719 | local weld3 = Instance.new('Weld',arm2) | |
3720 | weld3.Part0 = arm2 | |
3721 | weld3.Part1 = tors | |
3722 | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) | |
3723 | ||
3724 | for i = 0,1,0.1 do | |
3725 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3726 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i) | |
3727 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) | |
3728 | wait(0.01) | |
3729 | end | |
3730 | wait(0.001) | |
3731 | trail.Enabled = true | |
3732 | stabbing = true | |
3733 | audio2.SoundId = 'rbxassetid://608537390' | |
3734 | audio2:Play() | |
3735 | for i = 0,1,0.25 do | |
3736 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3737 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,-0.3,0),i) | |
3738 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,0.5)*CFrame.Angles(-0.5,0,-0.5),i) | |
3739 | wait(0.01) | |
3740 | end | |
3741 | trail.Enabled = false | |
3742 | wait(0.1) | |
3743 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3 | |
3744 | for i = 0,1,0.25 do | |
3745 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3746 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i) | |
3747 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.6,-0.3)*CFrame.Angles(0.5,0,-0.5),i) | |
3748 | wait(0.01) | |
3749 | end | |
3750 | stabbing = false | |
3751 | wait(0.001) | |
3752 | for i = 0,1,0.05 do | |
3753 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3754 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i) | |
3755 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i) | |
3756 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i) | |
3757 | wait(0.01) | |
3758 | end | |
3759 | weld:Destroy() | |
3760 | weld2:Destroy() | |
3761 | weld3:Destroy() | |
3762 | torsojoint:Clone().Parent = humanroot | |
3763 | rightshoulderz:Clone().Parent = me.Torso | |
3764 | leftshoulderz:Clone().Parent = me.Torso | |
3765 | canClick = true | |
3766 | hit = false | |
3767 | acting = false | |
3768 | end | |
3769 | end) | |
3770 | doit() | |
3771 | end | |
3772 | function hardrelease() | |
3773 | rightshoulderz:Clone().Parent = me.Torso | |
3774 | leftshoulderz:Clone().Parent = me.Torso | |
3775 | if me:FindFirstChild('Right Arm') then | |
3776 | for i,v in pairs(me["Right Arm"]:GetChildren()) do | |
3777 | if v:IsA('Weld') then | |
3778 | v:Destroy() | |
3779 | end | |
3780 | end | |
3781 | end | |
3782 | if me:FindFirstChild('Left Arm') then | |
3783 | for i,v in pairs(me["Left Arm"]:GetChildren()) do | |
3784 | if v:IsA('Weld') then | |
3785 | v:Destroy() | |
3786 | end | |
3787 | end | |
3788 | end | |
3789 | acting = false | |
3790 | canClick = true | |
3791 | doing = false | |
3792 | grabbed = nil | |
3793 | end | |
3794 | function unequip() | |
3795 | local doit = coroutine.wrap(function() | |
3796 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then | |
3797 | acting = true | |
3798 | local arm = me["Right Arm"] | |
3799 | local arm2 = me["Left Arm"] | |
3800 | local tors = me.Torso | |
3801 | local weld = Instance.new('Weld',arm) | |
3802 | weld.Part0 = arm | |
3803 | weld.Part1 = tors | |
3804 | weld.C0 = CFrame.new(-1.5,0,0) | |
3805 | local weld2 = Instance.new("Weld", arm2) | |
3806 | weld2.Part0 = arm2 | |
3807 | weld2.Part1 = tors | |
3808 | weld2.C0 = CFrame.new(1.5, 0, 0) | |
3809 | wait(0.001) | |
3810 | trail.Enabled = true | |
3811 | for i = 0,1,0.1 do | |
3812 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
3813 | weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i) | |
3814 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i) | |
3815 | wait(0.001) | |
3816 | end | |
3817 | trail.Enabled = false | |
3818 | wait(0.25) | |
3819 | for i = 0,1,0.1 do | |
3820 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
3821 | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i) | |
3822 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i) | |
3823 | wait(0.01) | |
3824 | end | |
3825 | weld:Destroy() | |
3826 | weld2:Remove() | |
3827 | if tors ~= nil then | |
3828 | rightshoulderz:Clone().Parent = me.Torso | |
3829 | leftshoulderz:Clone().Parent = me.Torso | |
3830 | end | |
3831 | acting = false | |
3832 | end | |
3833 | end) | |
3834 | doit() | |
3835 | end | |
3836 | ||
3837 | mouse.KeyDown:connect(function(key) | |
3838 | if usable == true then | |
3839 | if key == "z" then | |
3840 | if active == false and acting == false then | |
3841 | active = true | |
3842 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3843 | notify("KNIFE EQUIPPED",false) | |
3844 | audio:Stop() | |
3845 | audio.SoundId = 'rbxassetid://608618332' | |
3846 | equip() | |
3847 | wait(0.6) | |
3848 | audio:Play() | |
3849 | knifeweld.Part0 = me["Right Arm"] | |
3850 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) | |
3851 | elseif acting == false then | |
3852 | active = false | |
3853 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3854 | audio:Stop() | |
3855 | audio.SoundId = 'rbxassetid://608538233' | |
3856 | unequip() | |
3857 | notify("KNIFE UNEQUIPPED",false) | |
3858 | wait(0.3) | |
3859 | audio:Play() | |
3860 | knifeweld.Part0 = me.Torso | |
3861 | knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55) | |
3862 | canClick = true | |
3863 | end | |
3864 | elseif key == "f" then | |
3865 | if mode == 'kill' or active == false then return end | |
3866 | mode = "kill" | |
3867 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3868 | notify("MODE || KILL || [F]",false) | |
3869 | elseif key == "e" then | |
3870 | if mode == 'throw' or active == false then return end | |
3871 | mode = "throw" | |
3872 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3873 | notify("MODE || PUSH || [E]",false) | |
3874 | elseif key == "q" then | |
3875 | if mode == 'release' or active == false then return end | |
3876 | mode = "release" | |
3877 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3878 | notify("MODE || RELEASE || [Q]",false) | |
3879 | elseif key == "x" then | |
3880 | if mode == 'stab' or active == false or acting == true then return end | |
3881 | mode = "stab" | |
3882 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3883 | notify("MODE || STAB || [X]",false) | |
3884 | elseif key == "c" then | |
3885 | if mode == 'fling' or active == false or acting == true then return end | |
3886 | mode = "fling" | |
3887 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3888 | notify("MODE || THROW || [C]",false) | |
3889 | elseif key == "b" then | |
3890 | if mode == 'instasplode' or active == false or acting == true then return end | |
3891 | mode = "instasplode" | |
3892 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3893 | notify("MODE || MOLOTOV || [B]",false) | |
3894 | elseif key == "r" then | |
3895 | if mode == 'paralyze' or active == false then return end | |
3896 | mode = "paralyze" | |
3897 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3898 | notify("MODE || PARALYZE || [R]",false) | |
3899 | elseif key == "v" then | |
3900 | if mode == 'explode' or active == false or acting == true then return end | |
3901 | mode = "explode" | |
3902 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3903 | notify("MODE || EXPLODE || [V]",false) | |
3904 | elseif key == "k" then | |
3905 | if mode == 'suicide' or active == false or acting == true then return end | |
3906 | mode = "suicide" | |
3907 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3908 | notify("MODE || SUICIDE || [K]",false) | |
3909 | elseif key == "h" then | |
3910 | if mode == 'firework' or active == false or acting == true then return end | |
3911 | mode = "firework" | |
3912 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3913 | notify("MODE || FIREWORK || [H]",false) | |
3914 | elseif key == "g" then | |
3915 | if mode == 'finish' or active == false then return end | |
3916 | mode = "finish" | |
3917 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3918 | local welp = "ON" | |
3919 | if finishnum == 1 then | |
3920 | welp = "OFF" | |
3921 | end | |
3922 | notify("MODE || FINISH || [G] || "..welp,false) | |
3923 | elseif key == "n" then | |
3924 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3925 | if zombiemode == false then | |
3926 | notify("ZOMBIE MODE ON || [N]",false) | |
3927 | zombiemode = true | |
3928 | else | |
3929 | notify("ZOMBIE MODE OFF || [N]",false) | |
3930 | zombiemode = false | |
3931 | end | |
3932 | elseif key == "m" then | |
3933 | if finishnum == 1 then | |
3934 | finishnum = 15 | |
3935 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3936 | notify("PSYCHOPATH MODE ON || [M]",false) | |
3937 | if cancolorfilter then | |
3938 | local Sp00kyGui = Instance.new("ScreenGui") | |
3939 | local ImageLabel = Instance.new("ImageLabel") | |
3940 | ||
3941 | -- Properties | |
3942 | ||
3943 | Sp00kyGui.Parent = playergui | |
3944 | Sp00kyGui.Name = "REEEEEEEE" | |
3945 | ||
3946 | ImageLabel.Parent = Sp00kyGui | |
3947 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
3948 | ImageLabel.BackgroundTransparency = 1 | |
3949 | ImageLabel.Size = UDim2.new(1, 0, 1, 0) | |
3950 | ImageLabel.Image = "rbxassetid://74443700" | |
3951 | ImageLabel.ImageColor3 = Color3.new(1, 0, 0) | |
3952 | end | |
3953 | if canbackgroundmusic == true then | |
3954 | local sound = Instance.new('Sound',playergui) | |
3955 | sound.Name = 'PSYCHOPAAAATH' | |
3956 | sound.SoundId = 'rbxassetid://220875210' | |
3957 | sound.Looped = true | |
3958 | sound.Volume = 0.5 | |
3959 | sound:Play() | |
3960 | end | |
3961 | else | |
3962 | finishnum = 1 | |
3963 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3964 | notify("PSYCHOPATH MODE OFF || [M]",false) | |
3965 | for i,v in pairs(playergui:GetChildren()) do | |
3966 | if v.Name == "REEEEEEEE" then | |
3967 | v:Destroy() | |
3968 | end | |
3969 | end | |
3970 | local thisniggarighthere = playergui:FindFirstChild('PSYCHOPAAAATH') | |
3971 | if thisniggarighthere then thisniggarighthere:Destroy() end | |
3972 | end | |
3973 | end | |
3974 | end | |
3975 | end) | |
3976 | ||
3977 | mouse.Button1Down:connect(function() | |
3978 | if active == false or usable == false then return end | |
3979 | if canClick == true and acting == false then | |
3980 | if mode == "stab" and finishnum == 1 then | |
3981 | canClick = false | |
3982 | stab() | |
3983 | elseif mode == "stab" and finishnum == 15 then | |
3984 | canClick = false | |
3985 | stabwithpassion() | |
3986 | elseif mode == "fling" then | |
3987 | canClick = false | |
3988 | fling() | |
3989 | elseif mode == "explode" then | |
3990 | canClick = false | |
3991 | explode() | |
3992 | elseif mode == "instasplode" then | |
3993 | canClick = false | |
3994 | instasplode() | |
3995 | elseif mode == "finish" then | |
3996 | canClick = false | |
3997 | finish() | |
3998 | elseif mode == "suicide" then | |
3999 | canClick = false | |
4000 | kysnigga() | |
4001 | elseif mode == "firework" then | |
4002 | canClick = false | |
4003 | fireworkit() | |
4004 | else | |
4005 | canClick = false | |
4006 | grab() | |
4007 | end | |
4008 | else | |
4009 | if grabbed ~= nil and doing == false then | |
4010 | if mode == "release" then | |
4011 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4012 | release() | |
4013 | else | |
4014 | hardrelease() | |
4015 | end | |
4016 | elseif mode == "kill" then | |
4017 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4018 | kill() | |
4019 | else | |
4020 | hardrelease() | |
4021 | end | |
4022 | elseif mode == "paralyze" then | |
4023 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4024 | paralyze() | |
4025 | else | |
4026 | hardrelease() | |
4027 | end | |
4028 | elseif mode == "throw" then | |
4029 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4030 | throw() | |
4031 | else | |
4032 | hardrelease() | |
4033 | end | |
4034 | elseif mode == "explode" then | |
4035 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4036 | throw() | |
4037 | else | |
4038 | hardrelease() | |
4039 | end | |
4040 | end | |
4041 | end | |
4042 | end | |
4043 | end) | |
4044 | ||
4045 | knife.Touched:connect(function(hitz) | |
4046 | if hitz.Parent and hitz.Parent:FindFirstChildOfClass("Humanoid") and hitz.Parent:FindFirstChild('Torso') and acting == true then | |
4047 | if mode == "stab" and stabbing == true and hit == false then | |
4048 | hit = true | |
4049 | tone = math.random(1, 3) | |
4050 | audio:Stop() | |
4051 | if tone == 1 then audio.SoundId = "rbxassetid://220833967" end | |
4052 | if tone == 2 then audio.SoundId = "rbxassetid://220833976" end | |
4053 | if tone == 3 then audio.SoundId = "rbxassetid://220834000" end | |
4054 | audio.PlaybackSpeed = 1 | |
4055 | audio:Play() | |
4056 | killz(hitz.Parent,'Left Leg') | |
4057 | killz(hitz.Parent,'Left Arm') | |
4058 | killz(hitz.Parent,'Right Leg') | |
4059 | killz(hitz.Parent,'Right Arm') | |
4060 | elseif mode == "finish" and finishing == true then | |
4061 | print('PSYCHOPATH MODE REEEEEEEEEEEEEEEE') | |
4062 | tone = math.random(1, 3) | |
4063 | audio:Stop() | |
4064 | if tone == 1 then audio.SoundId = "rbxassetid://220833967" end | |
4065 | if tone == 2 then audio.SoundId = "rbxassetid://220833976" end | |
4066 | if tone == 3 then audio.SoundId = "rbxassetid://220834000" end | |
4067 | audio.PlaybackSpeed = 1 | |
4068 | audio:Play() | |
4069 | if hit == false then | |
4070 | hitz.Parent:FindFirstChildOfClass('Humanoid').Health = 0 | |
4071 | wait() | |
4072 | killz(hitz.Parent,'Head',nil,false,true) | |
4073 | end | |
4074 | hit = true | |
4075 | elseif grabbed == nil and grabbing == true and hit == false then | |
4076 | if hitz.Parent:FindFirstChildOfClass("Humanoid").Health > 0 and hitz.Parent:FindFirstChild('Torso') and hitz.Parent.Torso:FindFirstChild('Neck') then | |
4077 | grabbed = hitz.Parent | |
4078 | local weldz = Instance.new('Weld',point) | |
4079 | weldz.Name = "Holder" | |
4080 | weldz.Part0 = point | |
4081 | weldz.Part1 = hitz.Parent.Torso | |
4082 | weldz.C0 = CFrame.new(0,0,-1.2) | |
4083 | end | |
4084 | end | |
4085 | end | |
4086 | end) | |
4087 | ||
4088 | player.CharacterAdded:connect(function() | |
4089 | usable = false | |
4090 | for i,v in pairs(playergui:GetChildren()) do | |
4091 | if v.Name == "REEEEEEEE" or v.Name == 'PSYCHOPAAAATH' then | |
4092 | v:Destroy() | |
4093 | end | |
4094 | end | |
4095 | end) | |
4096 | while usable do | |
4097 | local coru = coroutine.wrap(function() | |
4098 | if grabbed ~= nil then | |
4099 | if grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4100 | for i,v in pairs(grabbed:GetChildren()) do | |
4101 | if v:IsA('Tool') then | |
4102 | local model = Instance.new('Model',workspace) | |
4103 | v.Parent = model | |
4104 | model:TranslateBy(Vector3.new(3,0,0)) | |
4105 | end | |
4106 | end | |
4107 | grabbed:FindFirstChildOfClass('Humanoid').Name = "Hoomanoid" | |
4108 | grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 0 | |
4109 | grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 0 | |
4110 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
4111 | grabweld = grabbed.Torso:FindFirstChild("TargetWeld") | |
4112 | if grabweld ~= nil then return end | |
4113 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
4114 | if grabbed.Torso:FindFirstChild('Left Shoulder') then | |
4115 | leftshoulder = grabbed.Torso["Left Shoulder"]:Clone() | |
4116 | end | |
4117 | if grabbed.Torso:FindFirstChild('Right Shoulder') then | |
4118 | rightshoulder = grabbed.Torso["Right Shoulder"]:Clone() | |
4119 | end | |
4120 | headweld = grabbed.Torso["Neck"]:Clone() | |
4121 | local targetweld = Instance.new('Weld',grabbed.Torso) | |
4122 | targetweld.Part0 = grabbed.Torso | |
4123 | targetweld.Part1 = grabbed.Head | |
4124 | targetweld.Name = "TargetWeld" | |
4125 | targetweld.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(0, 0, 0) | |
4126 | if grabbed:FindFirstChild('Left Arm') then | |
4127 | local targetweld2 = Instance.new('Weld',grabbed["Left Arm"]) | |
4128 | targetweld2.Part0 = grabbed.Torso | |
4129 | targetweld2.Part1 = grabbed["Left Arm"] | |
4130 | targetweld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
4131 | end | |
4132 | ||
4133 | for i = 0,1,0.1 do | |
4134 | if me:FindFirstChild("Left Arm") == nil or me:FindFirstChild("Torso") == nil or targetweld == nil then return end | |
4135 | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0.25, 0, 0), i) | |
4136 | if targetweld2 then | |
4137 | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0.5, 0)*CFrame.Angles(0, 0, -0.55), i) | |
4138 | end | |
4139 | wait(0.001) | |
4140 | end | |
4141 | end | |
4142 | end | |
4143 | end) | |
4144 | coru() | |
4145 | wait() | |
4146 | end | |
4147 | ||
4148 | end | |
4149 | local coru=coroutine.wrap(function() | |
4150 | nub() | |
4151 | end) | |
4152 | coru() | |
4153 | ||
4154 | player.CharacterAppearanceLoaded:connect(function() | |
4155 | local coru =coroutine.wrap(function() | |
4156 | nub() | |
4157 | end) | |
4158 | coru() | |
4159 | end) | |
4160 | ||
4161 | while true do | |
4162 | local coru=coroutine.wrap(function() | |
4163 | for i,v in pairs(rekt) do | |
4164 | if v and v:FindFirstChildOfClass('Humanoid') then | |
4165 | for a,c in pairs(v:GetChildren()) do | |
4166 | if c:IsA('Tool') then | |
4167 | local model = Instance.new('Model',workspace) | |
4168 | c.Parent = model | |
4169 | model:TranslateBy(Vector3.new(3,0,0)) | |
4170 | end | |
4171 | end | |
4172 | v:FindFirstChildOfClass('Humanoid').Jump = false | |
4173 | v:FindFirstChildOfClass('Humanoid').Sit = false | |
4174 | v:FindFirstChildOfClass('Humanoid').JumpPower = 0 | |
4175 | v:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
4176 | v:FindFirstChildOfClass('Humanoid').Name = "No escape." | |
4177 | local thing = getplr(v) | |
4178 | if thing then | |
4179 | thing.CameraMinZoomDistance = 3 | |
4180 | end | |
4181 | else | |
4182 | local thing = getplr(v) | |
4183 | if thing then | |
4184 | thing.CameraMinZoomDistance = 0.5 | |
4185 | end | |
4186 | table.remove(rekt,i) | |
4187 | end | |
4188 | end | |
4189 | end) | |
4190 | coru() | |
4191 | local coru2 = coroutine.wrap(function() | |
4192 | if curpart then | |
4193 | curpoint = curpart.CFrame.p | |
4194 | end | |
4195 | if lastgui then | |
4196 | lastgui:Destroy() | |
4197 | lastgui = nil | |
4198 | end | |
4199 | if curpoint then | |
4200 | lastgui = Instance.new('BillboardGui',player.PlayerGui) | |
4201 | lastgui.AlwaysOnTop = true | |
4202 | lastgui.MaxDistance = 0 | |
4203 | lastgui.Size = UDim2.new(5,0,5,0) | |
4204 | if curpart == nil then | |
4205 | lastgui.Adornee = workspace | |
4206 | lastgui.StudsOffsetWorldSpace = curpoint | |
4207 | else | |
4208 | lastgui.Adornee = curpart | |
4209 | end | |
4210 | local cross = Instance.new('ImageLabel',lastgui) | |
4211 | cross.BackgroundTransparency = 1 | |
4212 | cross.Size = UDim2.new(1,0,1,0) | |
4213 | cross.Image = 'rbxassetid://316279304' | |
4214 | for i,v in pairs(zombies) do | |
4215 | if v:FindFirstChildOfClass('Humanoid') then | |
4216 | v:FindFirstChildOfClass('Humanoid').WalkToPoint = curpoint | |
4217 | end | |
4218 | end | |
4219 | else | |
4220 | for i,v in pairs(zombies) do | |
4221 | if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Head') then | |
4222 | v:FindFirstChildOfClass('Humanoid').WalkToPoint = v.Head.Position | |
4223 | end | |
4224 | end | |
4225 | end | |
4226 | end) | |
4227 | coru2() | |
4228 | wait() | |
4229 | end |