SHOW:
|
|
- or go back to the newest paste.
1 | -- Objects | |
2 | ||
3 | local ChildHoodRuiner = Instance.new("ScreenGui") | |
4 | local OpenGui = Instance.new("Frame") | |
5 | local Credits = Instance.new("TextLabel") | |
6 | local Login = Instance.new("TextLabel") | |
7 | local Open = Instance.new("TextButton") | |
8 | local Username = Instance.new("TextBox") | |
9 | local Hacks = Instance.new("Frame") | |
10 | local GrabKnifev3 = Instance.new("TextButton") | |
11 | local ClownVanGui = Instance.new("TextButton") | |
12 | local Genocide = Instance.new("TextButton") | |
13 | local LuaHammer = Instance.new("TextButton") | |
14 | ||
15 | -- Properties | |
16 | ||
17 | ChildHoodRuiner.Name = "ChildHood Ruiner" | |
18 | - | if game.PlaceId == "843495510,843468296" then |
18 | + | |
19 | ||
20 | - | ChildHoodRuiner.ResetOnSpawn = false |
20 | + | |
21 | OpenGui.Parent = ChildHoodRuiner | |
22 | - | ChildHoodRuiner.Parent = game.CoreGui |
22 | + | |
23 | OpenGui.BackgroundTransparency = 0.30000001192093 | |
24 | OpenGui.BorderColor3 = Color3.new(0, 0.333333, 0.498039) | |
25 | OpenGui.Position = UDim2.new(0, 0, 0, 216) | |
26 | OpenGui.Size = UDim2.new(0, 342, 0, 315) | |
27 | OpenGui.Visible = true | |
28 | ||
29 | Credits.Name = "Credits" | |
30 | Credits.Parent = OpenGui | |
31 | Credits.BackgroundColor3 = Color3.new(0, 0, 0) | |
32 | Credits.BackgroundTransparency = 0.30000001192093 | |
33 | Credits.BorderColor3 = Color3.new(0, 0.333333, 0.498039) | |
34 | Credits.Size = UDim2.new(0, 342, 0, 50) | |
35 | Credits.Font = Enum.Font.SourceSans | |
36 | Credits.FontSize = Enum.FontSize.Size14 | |
37 | Credits.Text = "ChildHood Ruiner Gui Made By Migas3456" | |
38 | Credits.TextColor3 = Color3.new(0, 0.333333, 1) | |
39 | Credits.TextScaled = true | |
40 | Credits.TextSize = 14 | |
41 | Credits.TextWrapped = true | |
42 | ||
43 | Login.Name = "Login" | |
44 | Login.Parent = OpenGui | |
45 | Login.BackgroundColor3 = Color3.new(1, 1, 1) | |
46 | Login.BackgroundTransparency = 1 | |
47 | Login.Position = UDim2.new(0, 0, 0, 108) | |
48 | Login.Size = UDim2.new(0, 68, 0, 50) | |
49 | Login.Font = Enum.Font.SourceSans | |
50 | Login.FontSize = Enum.FontSize.Size14 | |
51 | Login.Text = "Login:" | |
52 | Login.TextColor3 = Color3.new(0, 0.333333, 1) | |
53 | Login.TextScaled = true | |
54 | Login.TextSize = 14 | |
55 | Login.TextWrapped = true | |
56 | ||
57 | Open.Name = "Open" | |
58 | Open.Parent = OpenGui | |
59 | Open.BackgroundColor3 = Color3.new(0, 0, 0) | |
60 | Open.BackgroundTransparency = 0.30000001192093 | |
61 | Open.BorderColor3 = Color3.new(0, 0.333333, 0.498039) | |
62 | Open.Position = UDim2.new(0, 71, 0, 210) | |
63 | Open.Size = UDim2.new(0, 200, 0, 50) | |
64 | Open.Font = Enum.Font.SourceSans | |
65 | Open.FontSize = Enum.FontSize.Size14 | |
66 | Open.Text = "Login" | |
67 | Open.TextColor3 = Color3.new(0, 0.333333, 1) | |
68 | Open.TextScaled = true | |
69 | Open.TextSize = 14 | |
70 | Open.TextWrapped = true | |
71 | ||
72 | Username.Name = "Username" | |
73 | Username.Parent = OpenGui | |
74 | Username.BackgroundColor3 = Color3.new(1, 1, 1) | |
75 | Username.Position = UDim2.new(0, 71, 0, 108) | |
76 | Username.Size = UDim2.new(0, 200, 0, 50) | |
77 | Username.Font = Enum.Font.SourceSans | |
78 | Username.FontSize = Enum.FontSize.Size14 | |
79 | Username.Text = "" | |
80 | Username.TextSize = 14 | |
81 | ||
82 | Hacks.Name = "Hacks" | |
83 | Hacks.Parent = ChildHoodRuiner | |
84 | Hacks.Active = true | |
85 | Hacks.BackgroundColor3 = Color3.new(0, 0, 0) | |
86 | Hacks.BackgroundTransparency = 0.30000001192093 | |
87 | Hacks.BorderColor3 = Color3.new(0, 0.333333, 1) | |
88 | Hacks.Draggable = true | |
89 | Hacks.Position = UDim2.new(0, 709, 0, 268) | |
90 | Hacks.Size = UDim2.new(0, 338, 0, 142) | |
91 | Hacks.Visible = false | |
92 | ||
93 | GrabKnifev3.Name = "Grab Knife v3" | |
94 | GrabKnifev3.Parent = Hacks | |
95 | GrabKnifev3.BackgroundColor3 = Color3.new(0, 0, 0) | |
96 | GrabKnifev3.BackgroundTransparency = 0.30000001192093 | |
97 | GrabKnifev3.BorderColor3 = Color3.new(0, 0.333333, 0.498039) | |
98 | GrabKnifev3.Position = UDim2.new(0, 31, 0, 46) | |
99 | GrabKnifev3.Size = UDim2.new(0, 116, 0, 25) | |
100 | GrabKnifev3.Font = Enum.Font.SourceSans | |
101 | GrabKnifev3.FontSize = Enum.FontSize.Size14 | |
102 | GrabKnifev3.Text = "Grab Knife V3" | |
103 | GrabKnifev3.TextColor3 = Color3.new(0, 0.333333, 1) | |
104 | GrabKnifev3.TextScaled = true | |
105 | GrabKnifev3.TextSize = 14 | |
106 | GrabKnifev3.TextWrapped = true | |
107 | ||
108 | GrabKnifev3.MouseButton1Down:connect(function() | |
109 | math.randomseed(tick()) | |
110 | local player = game.Players.LocalPlayer | |
111 | local rekt = {} | |
112 | local paralyzed = false | |
113 | local curpoint = nil | |
114 | local curpart = nil | |
115 | local finishnum = 1 | |
116 | local zombiemode = false | |
117 | local zombies = {} | |
118 | local lastgui = nil | |
119 | local mouse = player:GetMouse() | |
120 | ||
121 | function getplr(char) | |
122 | local plr = nil | |
123 | for i,v in pairs(game.Players:GetChildren()) do | |
124 | if v.Character == char then | |
125 | plr = v | |
126 | end | |
127 | end | |
128 | return plr | |
129 | end | |
130 | ||
131 | function bleed(frick) | |
132 | while frick.Parent ~= nil do | |
133 | local reeee = coroutine.wrap(function() | |
134 | local thing = Instance.new('Part',game.Workspace) | |
135 | thing.Size = Vector3.new(0.2,0.2,0.2) | |
136 | thing.CFrame = frick.CFrame | |
137 | thing.Shape = Enum.PartType.Ball | |
138 | thing.CFrame = frick.CFrame | |
139 | thing.Transparency = 1 | |
140 | thing.BrickColor = BrickColor.new('Maroon') | |
141 | thing.Material = Enum.Material.SmoothPlastic | |
142 | thing.Name = "Blood" | |
143 | thing.CanCollide =false | |
144 | local rawrxd = Instance.new('BodyForce',thing) | |
145 | rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0) | |
146 | local coru = coroutine.wrap(function() | |
147 | wait(0.01) | |
148 | rawrxd:Destroy() | |
149 | end) | |
150 | coru() | |
151 | local ree = Instance.new('ParticleEmitter',thing) | |
152 | ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(100,0,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(100,0,0))}) | |
153 | ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)}) | |
154 | ree.Texture = 'rbxassetid://867743272' | |
155 | ree.Lifetime = NumberRange.new(0.4) | |
156 | ree.Rate = 50 | |
157 | ree.LockedToPart = true | |
158 | ree.Speed = NumberRange.new(0, 2) | |
159 | ||
160 | thing.Touched:connect(function(tou) | |
161 | 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 | |
162 | local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z) | |
163 | thing:Destroy() | |
164 | if tou.Name == "BloodPuddle" then | |
165 | local reee = tou.CFrame | |
166 | if tou.Transparency > -0.2 then | |
167 | tou.Transparency = tou.Transparency -0.1 | |
168 | end | |
169 | if tou.Size.X < 10 then | |
170 | tou.Size = tou.Size+Vector3.new(0.1,0,0.1) | |
171 | tou.CFrame = reee | |
172 | end | |
173 | else | |
174 | local bloodlol = Instance.new('Part',workspace) | |
175 | bloodlol.Size=Vector3.new(1,0.2,1) | |
176 | bloodlol.Name = "BloodPuddle" | |
177 | bloodlol.Anchored = true | |
178 | bloodlol.CanCollide = false | |
179 | bloodlol.Material = Enum.Material.SmoothPlastic | |
180 | bloodlol.BrickColor = BrickColor.new('Maroon') | |
181 | local cyl = Instance.new('CylinderMesh',bloodlol) | |
182 | cyl.Scale = Vector3.new(1,0.1,1) | |
183 | bloodlol.CFrame = CFrame.new(pos) | |
184 | local coru=coroutine.wrap(function() | |
185 | while bloodlol.Parent ~= nil do | |
186 | if bloodlol.Transparency < 1 then | |
187 | bloodlol.Transparency = bloodlol.Transparency+0.05 | |
188 | else | |
189 | bloodlol:Destroy() | |
190 | end | |
191 | wait(0.1) | |
192 | end | |
193 | end) | |
194 | coru() | |
195 | end | |
196 | end | |
197 | end) | |
198 | local coru = coroutine.wrap(function() | |
199 | wait(1) | |
200 | thing:Destroy() | |
201 | end) | |
202 | coru() | |
203 | end) | |
204 | reeee() | |
205 | wait() | |
206 | end | |
207 | end | |
208 | ||
209 | function killz(playa,hitz,kneef,explode,pool,head,charred,override) | |
210 | local soundy = false | |
211 | local heyy = hitz | |
212 | if hitz == "Right Arm" then | |
213 | local Limb = playa:FindFirstChild("Right Arm") | |
214 | local ters = playa:FindFirstChild('Torso') | |
215 | if Limb and ters then | |
216 | if ters:FindFirstChild('Right Shoulder') then ters["Right Shoulder"]:Destroy() end | |
217 | for i,v in pairs(Limb:GetChildren()) do | |
218 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then | |
219 | v:Destroy() | |
220 | end | |
221 | end | |
222 | Limb.CFrame = ters.CFrame * CFrame.new(1.5, 0, 0) | |
223 | local Joint = Instance.new("Rotate") | |
224 | Joint.Name = "RightShoulder" | |
225 | Joint.Part0 = ters | |
226 | Joint.Part1 = Limb | |
227 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
228 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
229 | Joint.Parent = ters | |
230 | if charred and zombiemode == false then | |
231 | Limb.BrickColor = BrickColor.new('Black') | |
232 | local fire = Instance.new('Fire',Limb) | |
233 | fire.Heat = 5 | |
234 | fire.Size = 5 | |
235 | game:GetService('Debris'):AddItem(fire,2) | |
236 | local coru=coroutine.wrap(function() | |
237 | wait(2) | |
238 | for i,v in pairs(Limb:GetChildren()) do | |
239 | if v:IsA('ParticleEmitter') then | |
240 | v:Destroy() | |
241 | end | |
242 | end | |
243 | end) | |
244 | coru() | |
245 | end | |
246 | local B = Instance.new("Part") | |
247 | B.TopSurface = 0 | |
248 | B.BottomSurface = 0 | |
249 | B.formFactor = "Symmetric" | |
250 | B.Size = Vector3.new(1, 1, 1) | |
251 | B.Transparency = 1 | |
252 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
253 | B.Parent = playa | |
254 | local W = Instance.new("Weld") | |
255 | W.Part0 = Limb | |
256 | W.Part1 = B | |
257 | W.C0 = CFrame.new(0, -0.5, 0) | |
258 | W.Parent = Limb | |
259 | if kneef then | |
260 | local coru = coroutine.wrap(function() | |
261 | local uno = Instance.new('Part',workspace) | |
262 | local dos = Instance.new('Part',workspace) | |
263 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
264 | dos.CFrame = kneef["big ass knife"].CFrame | |
265 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
266 | weld.Part0 = playa:FindFirstChild(hitz) | |
267 | weld.Part1 = kneef["big ass knife"] | |
268 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
269 | uno:Destroy() | |
270 | dos:Destroy() | |
271 | playa:FindFirstChild(hitz).Anchored = false | |
272 | for i, v in pairs(kneef:GetChildren()) do | |
273 | if v:IsA('BasePart') then | |
274 | v.Anchored = false | |
275 | end | |
276 | end | |
277 | if zombiemode == false or override then | |
278 | wait() | |
279 | end | |
280 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
281 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() | |
282 | end | |
283 | local bleedpart = Instance.new("Part", kneef) | |
284 | bleedpart.CanCollide = false | |
285 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
286 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
287 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
288 | bleedpart.Transparency = 1 | |
289 | ||
290 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
291 | bleedpartweld.Part0 = kneef["big ass knife"] | |
292 | bleedpartweld.Part1 = bleedpart | |
293 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
294 | local coru = coroutine.wrap(function() | |
295 | bleed(bleedpart) | |
296 | end) | |
297 | coru() | |
298 | game:GetService('Debris'):AddItem(bleedpart,2) | |
299 | end) | |
300 | coru() | |
301 | end | |
302 | end | |
303 | elseif hitz == "Left Arm" then | |
304 | local Limb = playa:FindFirstChild("Left Arm") | |
305 | local ters = playa:FindFirstChild('Torso') | |
306 | if Limb and ters then | |
307 | if ters:FindFirstChild('Left Shoulder') then ters["Left Shoulder"]:Destroy() end | |
308 | for i,v in pairs(Limb:GetChildren()) do | |
309 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then | |
310 | v:Destroy() | |
311 | end | |
312 | end | |
313 | Limb.CFrame = ters.CFrame * CFrame.new(-1.5, 0, 0) | |
314 | local Joint = Instance.new("Rotate") | |
315 | Joint.Name = "LeftShoulder" | |
316 | Joint.Part0 = ters | |
317 | Joint.Part1 = Limb | |
318 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
319 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
320 | Joint.Parent = ters | |
321 | if charred and zombiemode == false then | |
322 | Limb.BrickColor = BrickColor.new('Black') | |
323 | local fire = Instance.new('Fire',Limb) | |
324 | fire.Heat = 5 | |
325 | fire.Size = 5 | |
326 | game:GetService('Debris'):AddItem(fire,2) | |
327 | local coru=coroutine.wrap(function() | |
328 | wait(2) | |
329 | for i,v in pairs(Limb:GetChildren()) do | |
330 | if v:IsA('ParticleEmitter') then | |
331 | v:Destroy() | |
332 | end | |
333 | end | |
334 | end) | |
335 | coru() | |
336 | end | |
337 | ||
338 | local B = Instance.new("Part") | |
339 | B.TopSurface = 0 | |
340 | B.BottomSurface = 0 | |
341 | B.formFactor = "Symmetric" | |
342 | B.Size = Vector3.new(1, 1, 1) | |
343 | B.CanCollide = true | |
344 | B.Transparency = 1 | |
345 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
346 | B.Parent = playa | |
347 | local W = Instance.new("Weld") | |
348 | W.Part0 = ters | |
349 | W.Part1 = B | |
350 | W.C0 = CFrame.new(0, -0.5, 0) | |
351 | W.Parent = Limb | |
352 | if kneef then | |
353 | local coru = coroutine.wrap(function() | |
354 | local uno = Instance.new('Part',workspace) | |
355 | local dos = Instance.new('Part',workspace) | |
356 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
357 | dos.CFrame = kneef["big ass knife"].CFrame | |
358 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
359 | weld.Part0 = playa:FindFirstChild(hitz) | |
360 | weld.Part1 = kneef["big ass knife"] | |
361 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
362 | uno:Destroy() | |
363 | dos:Destroy() | |
364 | playa:FindFirstChild(hitz).Anchored = false | |
365 | for i, v in pairs(kneef:GetChildren()) do | |
366 | if v:IsA('BasePart') then | |
367 | v.Anchored = false | |
368 | end | |
369 | end | |
370 | if zombiemode == false or override then | |
371 | wait() | |
372 | end | |
373 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
374 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() | |
375 | end | |
376 | local bleedpart = Instance.new("Part", kneef) | |
377 | bleedpart.CanCollide = false | |
378 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
379 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
380 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
381 | bleedpart.Transparency = 1 | |
382 | ||
383 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
384 | bleedpartweld.Part0 = kneef["big ass knife"] | |
385 | bleedpartweld.Part1 = bleedpart | |
386 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
387 | local coru = coroutine.wrap(function() | |
388 | bleed(bleedpart) | |
389 | end) | |
390 | coru() | |
391 | game:GetService('Debris'):AddItem(bleedpart,2) | |
392 | end) | |
393 | coru() | |
394 | end | |
395 | end | |
396 | elseif hitz == "Right Leg" then | |
397 | local Limb = playa:FindFirstChild("Right Leg") | |
398 | local ters = playa:FindFirstChild('Torso') | |
399 | if Limb and ters then | |
400 | if ters:FindFirstChild('Right Hip') then ters["Right Hip"]:Destroy() end | |
401 | for i,v in pairs(Limb:GetChildren()) do | |
402 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then | |
403 | v:Destroy() | |
404 | end | |
405 | end | |
406 | Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0) | |
407 | local Joint = Instance.new("Rotate") | |
408 | Joint.Name = "Right Hip" | |
409 | Joint.Part0 = ters | |
410 | Joint.Part1 = Limb | |
411 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
412 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
413 | Joint.Parent = ters | |
414 | if charred and zombiemode == false then | |
415 | Limb.BrickColor = BrickColor.new('Black') | |
416 | local fire = Instance.new('Fire',Limb) | |
417 | fire.Heat = 5 | |
418 | fire.Size = 5 | |
419 | game:GetService('Debris'):AddItem(fire,2) | |
420 | local coru=coroutine.wrap(function() | |
421 | wait(2) | |
422 | for i,v in pairs(Limb:GetChildren()) do | |
423 | if v:IsA('ParticleEmitter') then | |
424 | v:Destroy() | |
425 | end | |
426 | end | |
427 | end) | |
428 | coru() | |
429 | end | |
430 | local B = Instance.new("Part") | |
431 | B.TopSurface = 0 | |
432 | B.BottomSurface = 0 | |
433 | B.formFactor = "Symmetric" | |
434 | B.Size = Vector3.new(1, 1, 1) | |
435 | B.Transparency = 1 | |
436 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
437 | B.Parent = playa | |
438 | local W = Instance.new("Weld") | |
439 | W.Part0 = Limb | |
440 | W.Part1 = B | |
441 | W.C0 = CFrame.new(0, -0.5, 0) | |
442 | W.Parent = Limb | |
443 | if kneef then | |
444 | local coru = coroutine.wrap(function() | |
445 | local uno = Instance.new('Part',workspace) | |
446 | local dos = Instance.new('Part',workspace) | |
447 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
448 | dos.CFrame = kneef["big ass knife"].CFrame | |
449 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
450 | weld.Part0 = playa:FindFirstChild(hitz) | |
451 | weld.Part1 = kneef["big ass knife"] | |
452 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
453 | uno:Destroy() | |
454 | dos:Destroy() | |
455 | playa:FindFirstChild(hitz).Anchored = false | |
456 | for i, v in pairs(kneef:GetChildren()) do | |
457 | if v:IsA('BasePart') then | |
458 | v.Anchored = false | |
459 | end | |
460 | end | |
461 | if zombiemode == false or override then | |
462 | wait() | |
463 | end | |
464 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
465 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() | |
466 | end | |
467 | local bleedpart = Instance.new("Part", kneef) | |
468 | bleedpart.CanCollide = false | |
469 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
470 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
471 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
472 | bleedpart.Transparency = 1 | |
473 | ||
474 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
475 | bleedpartweld.Part0 = kneef["big ass knife"] | |
476 | bleedpartweld.Part1 = bleedpart | |
477 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
478 | local coru = coroutine.wrap(function() | |
479 | bleed(bleedpart) | |
480 | end) | |
481 | coru() | |
482 | game:GetService('Debris'):AddItem(bleedpart,2) | |
483 | end) | |
484 | coru() | |
485 | end | |
486 | if playa then | |
487 | table.insert(rekt,playa) | |
488 | end | |
489 | end | |
490 | elseif hitz == "Left Leg" then | |
491 | local Limb = playa:FindFirstChild("Left Leg") | |
492 | local ters = playa:FindFirstChild('Torso') | |
493 | if Limb and ters then | |
494 | if ters:FindFirstChild('Left Hip') then ters["Left Hip"]:Destroy() end | |
495 | for i,v in pairs(Limb:GetChildren()) do | |
496 | if v:IsA('Weld') or v:IsA('Motor6D') or v:IsA('Rotate') then | |
497 | v:Destroy() | |
498 | end | |
499 | end | |
500 | Limb.CFrame = ters.CFrame * CFrame.new(0.5, -2, 0) | |
501 | Limb.CFrame = ters.CFrame * CFrame.new(-0.5, -2, 0) | |
502 | local Joint = Instance.new("Rotate") | |
503 | Joint.Name = "LeftHip" | |
504 | Joint.Part0 = ters | |
505 | Joint.Part1 = Limb | |
506 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
507 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
508 | Joint.Parent = ters | |
509 | if charred and zombiemode == false then | |
510 | Limb.BrickColor = BrickColor.new('Black') | |
511 | local fire = Instance.new('Fire',Limb) | |
512 | fire.Heat = 5 | |
513 | fire.Size = 5 | |
514 | game:GetService('Debris'):AddItem(fire,2) | |
515 | local coru=coroutine.wrap(function() | |
516 | wait(2) | |
517 | for i,v in pairs(Limb:GetChildren()) do | |
518 | if v:IsA('ParticleEmitter') then | |
519 | v:Destroy() | |
520 | end | |
521 | end | |
522 | end) | |
523 | coru() | |
524 | end | |
525 | ||
526 | local B = Instance.new("Part") | |
527 | B.TopSurface = 0 | |
528 | B.BottomSurface = 0 | |
529 | B.formFactor = "Symmetric" | |
530 | B.Size = Vector3.new(1, 1, 1) | |
531 | B.Transparency = 1 | |
532 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
533 | B.Parent = playa | |
534 | local W = Instance.new("Weld") | |
535 | W.Part0 = Limb | |
536 | W.Part1 = B | |
537 | W.C0 = CFrame.new(0, -0.5, 0) | |
538 | W.Parent = Limb | |
539 | Limb.CanCollide = false | |
540 | if kneef then | |
541 | local coru = coroutine.wrap(function() | |
542 | local uno = Instance.new('Part',workspace) | |
543 | local dos = Instance.new('Part',workspace) | |
544 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
545 | dos.CFrame = kneef["big ass knife"].CFrame | |
546 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
547 | weld.Part0 = playa:FindFirstChild(hitz) | |
548 | weld.Part1 = kneef["big ass knife"] | |
549 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
550 | uno:Destroy() | |
551 | dos:Destroy() | |
552 | playa:FindFirstChild(hitz).Anchored = false | |
553 | for i, v in pairs(kneef:GetChildren()) do | |
554 | if v:IsA('BasePart') then | |
555 | v.Anchored = false | |
556 | end | |
557 | end | |
558 | if zombiemode == false or override then | |
559 | wait() | |
560 | end | |
561 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
562 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() | |
563 | end | |
564 | local bleedpart = Instance.new("Part", kneef) | |
565 | bleedpart.CanCollide = false | |
566 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
567 | bleedpart.CFrame = kneef["big ass knife"].CFrame | |
568 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
569 | bleedpart.Transparency = 1 | |
570 | ||
571 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
572 | bleedpartweld.Part0 = kneef["big ass knife"] | |
573 | bleedpartweld.Part1 = bleedpart | |
574 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
575 | local coru = coroutine.wrap(function() | |
576 | bleed(bleedpart) | |
577 | end) | |
578 | coru() | |
579 | game:GetService('Debris'):AddItem(bleedpart,2) | |
580 | end) | |
581 | coru() | |
582 | end | |
583 | if playa then | |
584 | table.insert(rekt,playa) | |
585 | end | |
586 | end | |
587 | elseif playa then | |
588 | if finishnum ~= 1 then | |
589 | local coru=coroutine.wrap(function() | |
590 | player.Character.Head.Psycho.Playing = true | |
591 | wait(3) | |
592 | player.Character.Head.Psycho.Playing = false | |
593 | end) | |
594 | coru() | |
595 | end | |
596 | local playa2 = playa | |
597 | playa.Archivable = true | |
598 | local playa = playa:Clone() | |
599 | playa.Archivable = false | |
600 | playa2:Destroy() | |
601 | playa.Parent = workspace | |
602 | local Gibs = game.Workspace | |
603 | local Torso = playa.Torso | |
604 | local Head = playa:FindFirstChild("Head") | |
605 | local function Scan(ch) | |
606 | local e | |
607 | for e = 1,#ch do | |
608 | Scan(ch[e]:GetChildren()) | |
609 | 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 | |
610 | ch[e]:remove() | |
611 | end | |
612 | end | |
613 | end | |
614 | Scan(playa:GetChildren()) | |
615 | if playa:FindFirstChild('HumanoidRootPart') and (zombiemode == false or override) then | |
616 | playa:FindFirstChild('HumanoidRootPart'):Destroy() | |
617 | end | |
618 | local hum2 = playa:FindFirstChildOfClass("Humanoid") | |
619 | if zombiemode == true and override == false then | |
620 | soundy = true | |
621 | end | |
622 | if string.sub(hum2.Parent.Name,string.len(hum2.Parent.Name)-8,string.len(hum2.Parent.Name)) ~= "'s Zombie" then | |
623 | override = true | |
624 | end | |
625 | if hum2 ~= nil then | |
626 | hum2.Name = "Humanoid2" | |
627 | hum2.Health = 0 | |
628 | if zombiemode == false or override == true then | |
629 | table.insert(rekt,hum2.Parent) | |
630 | else | |
631 | local gyro = Instance.new('BodyGyro',Torso) | |
632 | hum2.PlatformStand = false | |
633 | for i,v in pairs(hum2.Parent.Torso:GetChildren()) do | |
634 | if v:IsA('BodyGyro') then v:Destroy() end | |
635 | end | |
636 | if playa:FindFirstChild('HumanoidRootPart') then | |
637 | hum2.Parent.HumanoidRootPart.CFrame = hum2.Parent.Torso.CFrame | |
638 | local weldcrucial = Instance.new('Weld',hum2.Parent.HumanoidRootPart) | |
639 | weldcrucial.Part0 = hum2.Parent.HumanoidRootPart | |
640 | weldcrucial.Part1 = hum2.Parent.Torso | |
641 | end | |
642 | end | |
643 | end | |
644 | local ch = playa:GetChildren() | |
645 | local i | |
646 | for i = 1,#ch do | |
647 | if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then | |
648 | ch[i]:remove() | |
649 | end | |
650 | end | |
651 | ||
652 | if Head then | |
653 | local Neck = Instance.new("Weld") | |
654 | Neck.Name = "Neck" | |
655 | Neck.Part0 = Torso | |
656 | Neck.Part1 = Head | |
657 | if pool then | |
658 | local part = Instance.new('Part',Torso) | |
659 | part.Position = Vector3.new(0,10,0) | |
660 | part.Size = Vector3.new(0.2,0.2,0.2) | |
661 | part.Transparency = 1 | |
662 | part.CanCollide = false | |
663 | local we = Instance.new('Weld',Torso) | |
664 | we.Part0 = Torso | |
665 | we.Part1 = part | |
666 | we.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
667 | local coru=coroutine.wrap(function() | |
668 | bleed(part) | |
669 | end) | |
670 | coru() | |
671 | end | |
672 | if head == false or head == nil then | |
673 | Neck.C0 = CFrame.new(0, 1.5, 0) | |
674 | else | |
675 | Neck.C0 = CFrame.new(0, 1.5, 0.2)*CFrame.Angles(0.5, 0.25, 0.25) | |
676 | local bleedpart = Instance.new("Part", Torso) | |
677 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
678 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
679 | bleedpart.CanCollide = false | |
680 | bleedpart.Position = Head.Position + Vector3.new(0, 1, 0) | |
681 | bleedpart.Transparency = 1 | |
682 | ||
683 | local bleedpartweld = Instance.new("Weld", Torso) | |
684 | bleedpartweld.Part0 = Torso | |
685 | bleedpartweld.Part1 = bleedpart | |
686 | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) | |
687 | local coru = coroutine.wrap(function() | |
688 | bleed(bleedpart) | |
689 | end) | |
690 | coru() | |
691 | end | |
692 | Neck.C1 = CFrame.new() | |
693 | Neck.Parent = Torso | |
694 | end | |
695 | local Limb = playa:FindFirstChild("Right Arm") | |
696 | if Limb then | |
697 | ||
698 | Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0) | |
699 | local Joint = Instance.new("Rotate") | |
700 | Joint.Name = "RightShoulder" | |
701 | Joint.Part0 = Torso | |
702 | Joint.Part1 = Limb | |
703 | Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
704 | Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
705 | Joint.Parent = Torso | |
706 | ||
707 | local B = Instance.new("Part") | |
708 | B.TopSurface = 0 | |
709 | B.BottomSurface = 0 | |
710 | B.formFactor = "Symmetric" | |
711 | B.Size = Vector3.new(1, 1, 1) | |
712 | B.Transparency = 1 | |
713 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
714 | B.Parent = playa | |
715 | local W = Instance.new("Weld") | |
716 | W.Part0 = Limb | |
717 | W.Part1 = B | |
718 | W.C0 = CFrame.new(0, -0.5, 0) | |
719 | W.Parent = Limb | |
720 | end | |
721 | local Limb = playa:FindFirstChild("Left Arm") | |
722 | if Limb then | |
723 | ||
724 | Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0) | |
725 | local Joint = Instance.new("Rotate") | |
726 | Joint.Name = "LeftShoulder" | |
727 | Joint.Part0 = Torso | |
728 | Joint.Part1 = Limb | |
729 | Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
730 | Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
731 | Joint.Parent = Torso | |
732 | ||
733 | local B = Instance.new("Part") | |
734 | B.TopSurface = 0 | |
735 | B.BottomSurface = 0 | |
736 | B.formFactor = "Symmetric" | |
737 | B.Size = Vector3.new(1, 1, 1) | |
738 | B.Transparency = 1 | |
739 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
740 | B.Parent = playa | |
741 | local W = Instance.new("Weld") | |
742 | W.Part0 = Limb | |
743 | W.Part1 = B | |
744 | W.C0 = CFrame.new(0, -0.5, 0) | |
745 | W.Parent = Limb | |
746 | end | |
747 | local Limb = playa:FindFirstChild("Right Leg") | |
748 | if Limb then | |
749 | Limb.CanCollide = false | |
750 | Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0) | |
751 | local Joint = Instance.new("Rotate") | |
752 | Joint.Name = "RightHip" | |
753 | Joint.Part0 = Torso | |
754 | Joint.Part1 = Limb | |
755 | Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
756 | Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
757 | Joint.Parent = Torso | |
758 | ||
759 | local B = Instance.new("Part") | |
760 | B.TopSurface = 0 | |
761 | B.BottomSurface = 0 | |
762 | B.formFactor = "Symmetric" | |
763 | B.Size = Vector3.new(1, 1, 1) | |
764 | B.Transparency = 1 | |
765 | B.CanCollide = true | |
766 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
767 | B.Parent = playa | |
768 | local W = Instance.new("Weld") | |
769 | W.Part0 = Limb | |
770 | W.Part1 = B | |
771 | W.C0 = CFrame.new(0, -0.5, 0) | |
772 | W.Parent = Limb | |
773 | end | |
774 | local Limb = playa:FindFirstChild("Left Leg") | |
775 | if Limb then | |
776 | Limb.CanCollide = false | |
777 | Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0) | |
778 | local Joint = Instance.new("Rotate") | |
779 | Joint.Name = "LeftHip" | |
780 | Joint.Part0 = Torso | |
781 | Joint.Part1 = Limb | |
782 | Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
783 | Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
784 | Joint.Parent = Torso | |
785 | ||
786 | local B = Instance.new("Part") | |
787 | B.TopSurface = 0 | |
788 | B.BottomSurface = 0 | |
789 | if zombiemode == false or override then | |
790 | B.CanCollide = true | |
791 | end | |
792 | B.formFactor = "Symmetric" | |
793 | B.Size = Vector3.new(1, 1, 1) | |
794 | B.Transparency = 1 | |
795 | B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0) | |
796 | B.Parent = playa | |
797 | local W = Instance.new("Weld") | |
798 | W.Part0 = Limb | |
799 | W.Part1 = B | |
800 | W.C0 = CFrame.new(0, -0.5, 0) | |
801 | W.Parent = Limb | |
802 | end | |
803 | --[[ | |
804 | local Bar = Instance.new("Part") | |
805 | Bar.TopSurface = 0 | |
806 | Bar.BottomSurface = 0 | |
807 | Bar.formFactor = "Symmetric" | |
808 | Bar.Size = Vector3.new(1, 1, 1) | |
809 | Bar.Transparency = 1 | |
810 | Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0) | |
811 | Bar.Parent = playa | |
812 | local Weld = Instance.new("Weld") | |
813 | Weld.Part0 = Torso | |
814 | Weld.Part1 = Bar | |
815 | Weld.C0 = CFrame.new(0, 0.5, 0) | |
816 | Weld.Parent = Torso | |
817 | --]] | |
818 | playa.Parent = Gibs | |
819 | if kneef and explode == nil then | |
820 | local coru = coroutine.wrap(function() | |
821 | if playa:FindFirstChild(hitz) then | |
822 | local uno = Instance.new('Part',workspace) | |
823 | local dos = Instance.new('Part',workspace) | |
824 | uno.CFrame = playa:FindFirstChild(hitz).CFrame | |
825 | dos.CFrame = kneef["big ass knife"].CFrame | |
826 | local weld = Instance.new('Weld',kneef["big ass knife"]) | |
827 | weld.Part0 = playa:FindFirstChild(hitz) | |
828 | weld.Part1 = kneef["big ass knife"] | |
829 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
830 | uno:Destroy() | |
831 | dos:Destroy() | |
832 | playa:FindFirstChild(hitz).Anchored = false | |
833 | for i, v in pairs(kneef:GetChildren()) do | |
834 | if v:IsA('BasePart') then | |
835 | v.Anchored = false | |
836 | end | |
837 | end | |
838 | if explode == nil or explode == false then | |
839 | local bleedpart = Instance.new("Part", kneef) | |
840 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
841 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
842 | bleedpart.CanCollide = false | |
843 | bleedpart.Position = Head.Position + Vector3.new(0, 1, 0) | |
844 | bleedpart.Transparency = 1 | |
845 | ||
846 | local bleedpartweld = Instance.new("Weld", kneef["big ass knife"]) | |
847 | bleedpartweld.Part0 = kneef["big ass knife"] | |
848 | bleedpartweld.Part1 = bleedpart | |
849 | bleedpartweld.C0 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0) | |
850 | local coru = coroutine.wrap(function() | |
851 | bleed(bleedpart) | |
852 | end) | |
853 | coru() | |
854 | end | |
855 | end | |
856 | if zombiemode == false or override then | |
857 | wait() | |
858 | end | |
859 | if kneef:FindFirstChild('Grab') and kneef.Grab:FindFirstChildOfClass('BodyVelocity') then | |
860 | kneef.Grab:FindFirstChildOfClass('BodyVelocity'):Destroy() | |
861 | end | |
862 | end) | |
863 | coru() | |
864 | end | |
865 | if explode then | |
866 | local movevector = CFrame.new(explode.Position,Torso.Position).lookVector | |
867 | local repulse = Instance.new('BodyForce',Torso) | |
868 | repulse.Force = movevector*10000 + Vector3.new(0,5000,0) | |
869 | game.Debris:AddItem(repulse,0.05) | |
870 | end | |
871 | if charred and zombiemode == false then | |
872 | for i,v in pairs(playa:GetChildren()) do | |
873 | if v:IsA('BasePart') then | |
874 | v.BrickColor = BrickColor.Black() | |
875 | local fire = Instance.new('Fire',v) | |
876 | fire.Size = 5 | |
877 | fire.Heat = 5 | |
878 | elseif v:IsA('Accessory') then | |
879 | for a,c in pairs(v:GetChildren()) do | |
880 | if c:IsA('BasePart') then | |
881 | c.BrickColor = BrickColor.Black() | |
882 | local fire = Instance.new('Fire',v) | |
883 | fire.Size = 5 | |
884 | fire.Heat = 5 | |
885 | for o,p in pairs(c:GetChildren()) do | |
886 | if p:IsA("SpecialMesh") then | |
887 | p.TextureId = "" | |
888 | end | |
889 | end | |
890 | end | |
891 | end | |
892 | end | |
893 | end | |
894 | end | |
895 | if soundy then | |
896 | local sound = Instance.new('Sound',Head) | |
897 | sound.SoundId = 'rbxassetid://315260005' | |
898 | sound.Volume = 1 | |
899 | sound:Play() | |
900 | sound.Ended:connect(function() | |
901 | sound:Destroy() | |
902 | - | sound.SoundId = 'rbxassetid://903640857' |
902 | + | |
903 | ambient.Volume = 0.25 | |
904 | ambient.Looped = true | |
905 | ambient.SoundId = 'rbxassetid://903641031' | |
906 | ambient:Play() | |
907 | end) | |
908 | end | |
909 | if override then | |
910 | 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 | |
911 | local coru = coroutine.wrap(function() | |
912 | wait(4.5) | |
913 | hum2.Parent.Name = hum2.Parent.Name.."'s Zombie" | |
914 | hum2.HipHeight = 0.2 | |
915 | wait(0.5) | |
916 | killz(hum2.Parent,"Head",nil,nil,false,false,false,false) | |
917 | end) | |
918 | coru() | |
919 | else | |
920 | game:GetService('Debris'):AddItem(playa, 12) | |
921 | end | |
922 | else | |
923 | hum2.Health = 0 | |
924 | table.insert(zombies,playa) | |
925 | local attack = Instance.new('Sound',Head) | |
926 | attack.SoundId = 'rbxassetid://903641424' | |
927 | attack.Volume = 2 | |
928 | for i,v in pairs(playa:GetChildren()) do | |
929 | if v:IsA('BasePart') and v:FindFirstChildOfClass('TouchTransmitter') == nil then | |
930 | v.Touched:connect(function(hit) | |
931 | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') then | |
932 | local found = false | |
933 | if hit.Parent == player.Character then | |
934 | found = true | |
935 | end | |
936 | for a,c in pairs(zombies) do | |
937 | if c == hit.Parent then | |
938 | found = true | |
939 | end | |
940 | end | |
941 | if found == false and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then | |
942 | attack:Play() | |
943 | if hit.Parent:FindFirstChildOfClass('Humanoid').Health - 2 <= 0 then | |
944 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0 | |
945 | wait() | |
946 | killz(hit.Parent,"Head") | |
947 | else | |
948 | hit.Parent:FindFirstChildOfClass('Humanoid'):TakeDamage(2) | |
949 | end | |
950 | end | |
951 | end | |
952 | end) | |
953 | end | |
954 | end | |
955 | local coru = coroutine.wrap(function() | |
956 | wait(2) | |
957 | for i,v in pairs(playa:GetChildren()) do | |
958 | if v:IsA('BasePart') then | |
959 | for a,c in pairs(v:GetChildren()) do | |
960 | if c:IsA('Fire') or c:IsA('ParticleEmitter') then | |
961 | c:Destroy() | |
962 | end | |
963 | end | |
964 | elseif v:IsA('Accessory') then | |
965 | for a,c in pairs(v:GetChildren()) do | |
966 | if c:IsA('BasePart') then | |
967 | for b,d in pairs(c:GetChildren()) do | |
968 | if d:IsA('Fire') or d:IsA('ParticleEmitter') then | |
969 | d:Destroy() | |
970 | end | |
971 | end | |
972 | end | |
973 | end | |
974 | end | |
975 | end | |
976 | end) | |
977 | coru() | |
978 | end | |
979 | end | |
980 | end | |
981 | ||
982 | mouse.KeyDown:connect(function(key) | |
983 | if key == "t" and mouse.Target then | |
984 | local hum = mouse.Target.Parent:FindFirstChildOfClass('Humanoid') | |
985 | if hum == nil then hum = mouse.Target.Parent.Parent:FindFirstChildOfClass('Humanoid') end | |
986 | if curpoint == nil then | |
987 | if hum and hum.Parent:FindFirstChild('Head') then | |
988 | curpart = hum.Parent.Head | |
989 | else | |
990 | curpart = nil | |
991 | curpoint = mouse.Hit.p | |
992 | end | |
993 | if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end | |
994 | notify("ZOMBIE TARGET SET",false) | |
995 | else | |
996 | curpart = nil | |
997 | curpoint = nil | |
998 | if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end | |
999 | notify("ZOMBIE TARGET REMOVED",false) | |
1000 | end | |
1001 | elseif key == "y" then | |
1002 | for o,p in pairs(zombies) do | |
1003 | local coru = coroutine.wrap(function() | |
1004 | if p:FindFirstChild('Torso') then | |
1005 | killz(p,"Head",nil,nil,false,false,false,true) | |
1006 | else | |
1007 | table.remove(zombies,o) | |
1008 | end | |
1009 | end) | |
1010 | coru() | |
1011 | wait() | |
1012 | end | |
1013 | for i,v in pairs(zombies) do | |
1014 | table.remove(zombies,i) | |
1015 | end | |
1016 | if player.PlayerGui:FindFirstChild('Notification') then player.PlayerGui.Notification:Destroy() end | |
1017 | notify("ZOMBIES TERMINATED",false) | |
1018 | end | |
1019 | end) | |
1020 | ||
1021 | function nub() | |
1022 | repeat wait() until player.Character and player.Character:FindFirstChild('Torso') | |
1023 | local me = player.Character | |
1024 | local point = me.HumanoidRootPart | |
1025 | local playergui = player.PlayerGui | |
1026 | local rightshoulderz = me.Torso["Right Shoulder"]:Clone() | |
1027 | local leftshoulderz = me.Torso["Left Shoulder"]:Clone() | |
1028 | local torsojoint = me.HumanoidRootPart["RootJoint"]:Clone() | |
1029 | local lefthipz = me.Torso["Left Hip"]:Clone() | |
1030 | local righthipz = me.Torso["Right Hip"]:Clone() | |
1031 | local mode = "kill" | |
1032 | local lerpz = false | |
1033 | local active = false | |
1034 | local acting = false | |
1035 | local hit = false | |
1036 | local canClick = true | |
1037 | local stabbing = false | |
1038 | local grabbing = false | |
1039 | local finishing = false | |
1040 | local kyssing = false | |
1041 | local canbackgroundmusic = true | |
1042 | local cancolorfilter = true | |
1043 | local spinboolean = false | |
1044 | local grabbed = nil | |
1045 | local doing = false | |
1046 | local rightshoulder = nil | |
1047 | local leftshoulder = nil | |
1048 | local headweld = nil | |
1049 | local knifeparts = {} | |
1050 | local usable = true | |
1051 | finishnum = 1 | |
1052 | ||
1053 | function notify(msg,forever) | |
1054 | local doit = coroutine.wrap(function() | |
1055 | local gui = Instance.new('ScreenGui',playergui) | |
1056 | gui.Name = "Notification" | |
1057 | local frame = Instance.new('Frame',gui) | |
1058 | frame.Position = UDim2.new(0,0,0,0) | |
1059 | frame.Size = UDim2.new(1,0,0.2,0) | |
1060 | frame.BackgroundTransparency = 1 | |
1061 | local txt = Instance.new('TextLabel',frame) | |
1062 | txt.TextColor3 = Color3.new(255,255,255) | |
1063 | txt.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1064 | txt.TextStrokeTransparency = 0 | |
1065 | txt.BackgroundTransparency = 1 | |
1066 | txt.Text = "" | |
1067 | txt.Size = UDim2.new(1,0,0.3,0) | |
1068 | txt.Position = UDim2.new(0,0,0.4,0) | |
1069 | txt.TextScaled = true | |
1070 | txt.Font = "Code" | |
1071 | txt.TextXAlignment = "Center" | |
1072 | local tap = Instance.new("Sound") | |
1073 | tap.Parent = gui | |
1074 | tap.SoundId = "rbxassetid://147982968" | |
1075 | tap.TimePosition = 0.1 | |
1076 | local str = msg | |
1077 | local len = string.len(str) | |
1078 | for i=1,len do | |
1079 | txt.Text = string.sub(str,1,i) | |
1080 | pitche = math.random(20, 40)/10 | |
1081 | tap.PlaybackSpeed = pitche | |
1082 | tap:Play() | |
1083 | wait(0.01) | |
1084 | end | |
1085 | if forever == false then | |
1086 | wait(1) | |
1087 | while txt.TextTransparency < 1 do | |
1088 | txt.TextTransparency = txt.TextTransparency + 0.1 | |
1089 | txt.TextStrokeTransparency = txt.TextStrokeTransparency + 0.1 | |
1090 | wait(0.001) | |
1091 | end | |
1092 | gui:Destroy() | |
1093 | end | |
1094 | end) | |
1095 | doit() | |
1096 | end | |
1097 | ||
1098 | wait(0.5) | |
1099 | notify("PRESS [Z] TO EQUIP KNIFE || Created by mustardfoot and Tollonis",true) | |
1100 | local laugh = Instance.new('Sound',me.Head) | |
1101 | laugh.SoundId = 'rbxassetid://378827985' | |
1102 | laugh.Name = "Psycho" | |
1103 | laugh.Volume = 5 | |
1104 | -- 1 - bitch ass knife | |
1105 | local obj1 = Instance.new("Model") | |
1106 | obj1.Name = "bitch ass knife" | |
1107 | obj1.Parent = game.Workspace | |
1108 | ||
1109 | -- 2 - Grab | |
1110 | local obj2 = Instance.new("Part") | |
1111 | obj2.CFrame = CFrame.new(Vector3.new(20.4525032, 6.14501333, -134.399979)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) | |
1112 | obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1113 | obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1114 | obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1115 | obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1116 | obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1117 | obj2.Material = Enum.Material.Concrete | |
1118 | obj2.Size = Vector3.new(1, 0.25, 0.25) | |
1119 | obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1120 | obj2.Anchored = true | |
1121 | obj2.BrickColor = BrickColor.new("Black") | |
1122 | obj2.Friction = 0.30000001192093 | |
1123 | obj2.Shape = Enum.PartType.Cylinder | |
1124 | obj2.Name = "Grab" | |
1125 | obj2.Parent = obj1 | |
1126 | ||
1127 | -- 3 - handletopcap | |
1128 | local obj3 = Instance.new("Part") | |
1129 | obj3.CFrame = CFrame.new(Vector3.new(19.9725456, 6.14502859, -134.399933)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1130 | obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1131 | obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1132 | obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1133 | obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1134 | obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1135 | obj3.Material = Enum.Material.Concrete | |
1136 | obj3.Size = Vector3.new(0.349999994, 0.349999994, 0.349999994) | |
1137 | obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1138 | obj3.Anchored = true | |
1139 | obj3.BrickColor = BrickColor.new("Black") | |
1140 | obj3.Friction = 0.30000001192093 | |
1141 | obj3.Shape = Enum.PartType.Ball | |
1142 | obj3.Name = "handletopcap" | |
1143 | obj3.Parent = obj1 | |
1144 | ||
1145 | -- 4 - handlebottomcap | |
1146 | local obj4 = Instance.new("Part") | |
1147 | obj4.CFrame = CFrame.new(Vector3.new(20.9725285, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1148 | obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1149 | obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1150 | obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1151 | obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1152 | obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1153 | obj4.Material = Enum.Material.Concrete | |
1154 | obj4.Size = Vector3.new(0.25, 0.25, 0.25) | |
1155 | obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1156 | obj4.Anchored = true | |
1157 | obj4.BrickColor = BrickColor.new("Black") | |
1158 | obj4.Friction = 0.30000001192093 | |
1159 | obj4.Shape = Enum.PartType.Ball | |
1160 | obj4.Name = "handlebottomcap" | |
1161 | obj4.Parent = obj1 | |
1162 | ||
1163 | -- 5 - handleguardmid | |
1164 | local obj5 = Instance.new("Part") | |
1165 | obj5.CFrame = CFrame.new(Vector3.new(19.9474983, 6.14502859, -134.399918)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1166 | obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1167 | obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1168 | obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1169 | obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1170 | obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1171 | obj5.Material = Enum.Material.Concrete | |
1172 | obj5.Size = Vector3.new(0.349999994, 0.349999994, 0.100000001) | |
1173 | obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1174 | obj5.Anchored = true | |
1175 | obj5.BrickColor = BrickColor.new("Black") | |
1176 | obj5.Friction = 0.30000001192093 | |
1177 | obj5.Shape = Enum.PartType.Block | |
1178 | obj5.Name = "handleguardmid" | |
1179 | obj5.Parent = obj1 | |
1180 | ||
1181 | -- 6 - handleguardcap1 | |
1182 | local obj6 = Instance.new("Part") | |
1183 | obj6.CFrame = CFrame.new(Vector3.new(19.9474983, 6.32502794, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) | |
1184 | obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1185 | obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1186 | obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1187 | obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1188 | obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1189 | obj6.Material = Enum.Material.Concrete | |
1190 | obj6.Size = Vector3.new(0.100000001, 0.349999994, 0.349999994) | |
1191 | obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1192 | obj6.Anchored = true | |
1193 | obj6.BrickColor = BrickColor.new("Black") | |
1194 | obj6.Friction = 0.30000001192093 | |
1195 | obj6.Shape = Enum.PartType.Cylinder | |
1196 | obj6.Name = "handleguardcap1" | |
1197 | obj6.Parent = obj1 | |
1198 | ||
1199 | -- 7 - handleguardcap2 | |
1200 | local obj7 = Instance.new("Part") | |
1201 | obj7.CFrame = CFrame.new(Vector3.new(19.9474983, 5.97502899, -134.399918)) * CFrame.Angles(-3.1415927410126, 0, -3.1415927410126) | |
1202 | obj7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1203 | obj7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1204 | obj7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1205 | obj7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1206 | obj7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1207 | obj7.Material = Enum.Material.Concrete | |
1208 | obj7.Size = Vector3.new(0.100000009, 0.349999994, 0.349999994) | |
1209 | obj7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1210 | obj7.Anchored = true | |
1211 | obj7.BrickColor = BrickColor.new("Black") | |
1212 | obj7.Friction = 0.30000001192093 | |
1213 | obj7.Shape = Enum.PartType.Cylinder | |
1214 | obj7.Name = "handleguardcap2" | |
1215 | obj7.Parent = obj1 | |
1216 | ||
1217 | -- 8 - big ass knife | |
1218 | local obj8 = Instance.new("Part") | |
1219 | obj8.CFrame = CFrame.new(Vector3.new(18.4375095, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1220 | obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1221 | obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1222 | obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1223 | obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1224 | obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1225 | obj8.Material = Enum.Material.Metal | |
1226 | obj8.Size = Vector3.new(0.0500000007, 0.280000001, 0.839999795) | |
1227 | obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1228 | obj8.Anchored = true | |
1229 | obj8.BrickColor = BrickColor.new("Lily white") | |
1230 | obj8.Friction = 0.30000001192093 | |
1231 | obj8.Shape = Enum.PartType.Block | |
1232 | obj8.Name = "big ass knife" | |
1233 | obj8.Parent = obj1 | |
1234 | ||
1235 | -- 9 - Mesh | |
1236 | local obj9 = Instance.new("BlockMesh") | |
1237 | obj9.Scale = Vector3.new(0.5, 1, 1) | |
1238 | obj9.Parent = obj8 | |
1239 | ||
1240 | -- 10 - big ass knife | |
1241 | local obj10 = Instance.new("Part") | |
1242 | obj10.CFrame = CFrame.new(Vector3.new(19.7425137, 6.14502859, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1243 | obj10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1244 | obj10.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1245 | obj10.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1246 | obj10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1247 | obj10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1248 | obj10.Material = Enum.Material.Metal | |
1249 | obj10.Size = Vector3.new(0.0500000007, 0.280000001, 0.289999962) | |
1250 | obj10.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1251 | obj10.Anchored = true | |
1252 | obj10.BrickColor = BrickColor.new("Lily white") | |
1253 | obj10.Friction = 0.30000001192093 | |
1254 | obj10.Shape = Enum.PartType.Block | |
1255 | obj10.Name = "big ass knife" | |
1256 | obj10.Parent = obj1 | |
1257 | local knife = obj10 | |
1258 | ||
1259 | -- 11 - Mesh | |
1260 | local obj11 = Instance.new("BlockMesh") | |
1261 | obj11.Scale = Vector3.new(0.5, 1, 1) | |
1262 | obj11.Parent = obj10 | |
1263 | ||
1264 | -- 12 - big ass knife | |
1265 | local obj12 = Instance.new("Part") | |
1266 | obj12.CFrame = CFrame.new(Vector3.new(19.1075306, 6.08502865, -134.401321)) * CFrame.Angles(0, 1.5707963705063, 0) | |
1267 | obj12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1268 | obj12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1269 | obj12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1270 | obj12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1271 | obj12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1272 | obj12.Material = Enum.Material.Metal | |
1273 | obj12.Size = Vector3.new(0.0500000007, 0.159999996, 0.979999959) | |
1274 | obj12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1275 | obj12.Anchored = true | |
1276 | obj12.BrickColor = BrickColor.new("Lily white") | |
1277 | obj12.Friction = 0.30000001192093 | |
1278 | obj12.Shape = Enum.PartType.Block | |
1279 | obj12.Name = "big ass knife" | |
1280 | obj12.Parent = obj1 | |
1281 | ||
1282 | -- 13 - Mesh | |
1283 | local obj13 = Instance.new("BlockMesh") | |
1284 | obj13.Scale = Vector3.new(0.5, 1, 1) | |
1285 | obj13.Parent = obj12 | |
1286 | ||
1287 | -- 14 - serration | |
1288 | local obj14 = Instance.new("WedgePart") | |
1289 | obj14.CFrame = CFrame.new(Vector3.new(19.4963322, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1290 | obj14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1291 | obj14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1292 | obj14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1293 | obj14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1294 | obj14.Material = Enum.Material.Metal | |
1295 | obj14.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1296 | obj14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1297 | obj14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1298 | obj14.Anchored = true | |
1299 | obj14.BrickColor = BrickColor.new("Lily white") | |
1300 | obj14.Friction = 0.30000001192093 | |
1301 | obj14.Name = "serration" | |
1302 | obj14.Parent = obj1 | |
1303 | ||
1304 | -- 15 - Mesh | |
1305 | local obj15 = Instance.new("BlockMesh") | |
1306 | obj15.Scale = Vector3.new(0.5, 1, 1) | |
1307 | obj15.Parent = obj14 | |
1308 | ||
1309 | -- 16 - serration | |
1310 | local obj16 = Instance.new("WedgePart") | |
1311 | obj16.CFrame = CFrame.new(Vector3.new(19.2763138, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1312 | obj16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1313 | obj16.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1314 | obj16.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1315 | obj16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1316 | obj16.Material = Enum.Material.Metal | |
1317 | obj16.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1318 | obj16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1319 | obj16.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1320 | obj16.Anchored = true | |
1321 | obj16.BrickColor = BrickColor.new("Lily white") | |
1322 | obj16.Friction = 0.30000001192093 | |
1323 | obj16.Name = "serration" | |
1324 | obj16.Parent = obj1 | |
1325 | ||
1326 | -- 17 - Mesh | |
1327 | local obj17 = Instance.new("BlockMesh") | |
1328 | obj17.Scale = Vector3.new(0.5, 1, 1) | |
1329 | obj17.Parent = obj16 | |
1330 | ||
1331 | -- 18 - serration | |
1332 | local obj18 = Instance.new("WedgePart") | |
1333 | obj18.CFrame = CFrame.new(Vector3.new(19.3863068, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1334 | obj18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1335 | obj18.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1336 | obj18.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1337 | obj18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1338 | obj18.Material = Enum.Material.Metal | |
1339 | obj18.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1340 | obj18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1341 | obj18.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1342 | obj18.Anchored = true | |
1343 | obj18.BrickColor = BrickColor.new("Lily white") | |
1344 | obj18.Friction = 0.30000001192093 | |
1345 | obj18.Name = "serration" | |
1346 | obj18.Parent = obj1 | |
1347 | ||
1348 | -- 19 - Mesh | |
1349 | local obj19 = Instance.new("BlockMesh") | |
1350 | obj19.Scale = Vector3.new(0.5, 1, 1) | |
1351 | obj19.Parent = obj18 | |
1352 | ||
1353 | -- 20 - serration | |
1354 | local obj20 = Instance.new("WedgePart") | |
1355 | obj20.CFrame = CFrame.new(Vector3.new(19.5963173, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1356 | obj20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1357 | obj20.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1358 | obj20.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1359 | obj20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1360 | obj20.Material = Enum.Material.Metal | |
1361 | obj20.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1362 | obj20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1363 | obj20.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1364 | obj20.Anchored = true | |
1365 | obj20.BrickColor = BrickColor.new("Lily white") | |
1366 | obj20.Friction = 0.30000001192093 | |
1367 | obj20.Name = "serration" | |
1368 | obj20.Parent = obj1 | |
1369 | ||
1370 | -- 21 - Mesh | |
1371 | local obj21 = Instance.new("BlockMesh") | |
1372 | obj21.Scale = Vector3.new(0.5, 1, 1) | |
1373 | obj21.Parent = obj20 | |
1374 | ||
1375 | -- 22 - serration | |
1376 | local obj22 = Instance.new("WedgePart") | |
1377 | obj22.CFrame = CFrame.new(Vector3.new(19.1663074, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1378 | obj22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1379 | obj22.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1380 | obj22.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1381 | obj22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1382 | obj22.Material = Enum.Material.Metal | |
1383 | obj22.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1384 | obj22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1385 | obj22.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1386 | obj22.Anchored = true | |
1387 | obj22.BrickColor = BrickColor.new("Lily white") | |
1388 | obj22.Friction = 0.30000001192093 | |
1389 | obj22.Name = "serration" | |
1390 | obj22.Parent = obj1 | |
1391 | ||
1392 | -- 23 - Mesh | |
1393 | local obj23 = Instance.new("BlockMesh") | |
1394 | obj23.Scale = Vector3.new(0.5, 1, 1) | |
1395 | obj23.Parent = obj22 | |
1396 | ||
1397 | -- 24 - serration | |
1398 | local obj24 = Instance.new("WedgePart") | |
1399 | obj24.CFrame = CFrame.new(Vector3.new(18.9663048, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1400 | obj24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1401 | obj24.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1402 | obj24.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1403 | obj24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1404 | obj24.Material = Enum.Material.Metal | |
1405 | obj24.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1406 | obj24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1407 | obj24.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1408 | obj24.Anchored = true | |
1409 | obj24.BrickColor = BrickColor.new("Lily white") | |
1410 | obj24.Friction = 0.30000001192093 | |
1411 | obj24.Name = "serration" | |
1412 | obj24.Parent = obj1 | |
1413 | ||
1414 | -- 25 - Mesh | |
1415 | local obj25 = Instance.new("BlockMesh") | |
1416 | obj25.Scale = Vector3.new(0.5, 1, 1) | |
1417 | obj25.Parent = obj24 | |
1418 | ||
1419 | -- 26 - serration | |
1420 | local obj26 = Instance.new("WedgePart") | |
1421 | obj26.CFrame = CFrame.new(Vector3.new(18.8562984, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1422 | obj26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1423 | obj26.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1424 | obj26.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1425 | obj26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1426 | obj26.Material = Enum.Material.Metal | |
1427 | obj26.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1428 | obj26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1429 | obj26.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1430 | obj26.Anchored = true | |
1431 | obj26.BrickColor = BrickColor.new("Lily white") | |
1432 | obj26.Friction = 0.30000001192093 | |
1433 | obj26.Name = "serration" | |
1434 | obj26.Parent = obj1 | |
1435 | ||
1436 | -- 27 - Mesh | |
1437 | local obj27 = Instance.new("BlockMesh") | |
1438 | obj27.Scale = Vector3.new(0.5, 1, 1) | |
1439 | obj27.Parent = obj26 | |
1440 | ||
1441 | -- 28 - serration | |
1442 | local obj28 = Instance.new("WedgePart") | |
1443 | obj28.CFrame = CFrame.new(Vector3.new(19.0663071, 6.15381575, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1444 | obj28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1445 | obj28.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1446 | obj28.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1447 | obj28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1448 | obj28.Material = Enum.Material.Metal | |
1449 | obj28.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1450 | obj28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1451 | obj28.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1452 | obj28.Anchored = true | |
1453 | obj28.BrickColor = BrickColor.new("Lily white") | |
1454 | obj28.Friction = 0.30000001192093 | |
1455 | obj28.Name = "serration" | |
1456 | obj28.Parent = obj1 | |
1457 | ||
1458 | -- 29 - Mesh | |
1459 | local obj29 = Instance.new("BlockMesh") | |
1460 | obj29.Scale = Vector3.new(0.5, 1, 1) | |
1461 | obj29.Parent = obj28 | |
1462 | ||
1463 | -- 30 - knifetip1 | |
1464 | local obj30 = Instance.new("WedgePart") | |
1465 | obj30.CFrame = CFrame.new(Vector3.new(18.0163059, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1466 | obj30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1467 | obj30.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1468 | obj30.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1469 | obj30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1470 | obj30.Material = Enum.Material.Metal | |
1471 | obj30.Size = Vector3.new(0.0500000007, 0.200000003, 0.200000003) | |
1472 | obj30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1473 | obj30.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1474 | obj30.Anchored = true | |
1475 | obj30.BrickColor = BrickColor.new("Lily white") | |
1476 | obj30.Friction = 0.30000001192093 | |
1477 | obj30.Name = "knifetip1" | |
1478 | obj30.Parent = obj1 | |
1479 | ||
1480 | -- 31 - Mesh | |
1481 | local obj31 = Instance.new("BlockMesh") | |
1482 | obj31.Scale = Vector3.new(0.5, 1, 1) | |
1483 | obj31.Parent = obj30 | |
1484 | ||
1485 | -- 32 - redstuff | |
1486 | local obj32 = Instance.new("Part") | |
1487 | obj32.CFrame = CFrame.new(Vector3.new(19.9470005, 5.9749999, -134.399994)) * CFrame.Angles(-0, 0, -0) | |
1488 | obj32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1489 | obj32.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1490 | obj32.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1491 | obj32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1492 | obj32.Material = Enum.Material.SmoothPlastic | |
1493 | obj32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1494 | obj32.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014) | |
1495 | obj32.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1496 | obj32.BrickColor = BrickColor.new("Institutional white") | |
1497 | obj32.Friction = 0.30000001192093 | |
1498 | obj32.Shape = Enum.PartType.Cylinder | |
1499 | obj32.Name = "redstuff" | |
1500 | obj32.Anchored = true | |
1501 | obj32.Parent = obj1 | |
1502 | ||
1503 | ||
1504 | -- 33 - redstuff | |
1505 | local obj33 = Instance.new("Part") | |
1506 | obj33.CFrame = CFrame.new(Vector3.new(18.9800053, 6.1400156, -134.404984)) * CFrame.Angles(-0, 0, -0) | |
1507 | obj33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1508 | obj33.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1509 | obj33.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1510 | obj33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1511 | obj33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1512 | obj33.Material = Enum.Material.SmoothPlastic | |
1513 | obj33.Size = Vector3.new(1.81999993, 0.100000001, 0.0500000007) | |
1514 | obj33.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1515 | obj33.BrickColor = BrickColor.new("Institutional white") | |
1516 | obj33.Friction = 0.30000001192093 | |
1517 | obj33.Shape = Enum.PartType.Block | |
1518 | obj33.Name = "redstuff" | |
1519 | obj33.Anchored = true | |
1520 | obj33.Parent = obj1 | |
1521 | ||
1522 | -- 34 - redstuff | |
1523 | local obj34 = Instance.new("Part") | |
1524 | obj34.CFrame = CFrame.new(Vector3.new(19.9470005, 6.32499981, -134.399994)) * CFrame.Angles(-0, 0, -0) | |
1525 | obj34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1526 | obj34.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1527 | obj34.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1528 | obj34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1529 | obj34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1530 | obj34.Size = Vector3.new(0.0500000007, 0.360000014, 0.360000014) | |
1531 | obj34.Material = Enum.Material.SmoothPlastic | |
1532 | obj34.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1533 | obj34.BrickColor = BrickColor.new("Institutional white") | |
1534 | obj34.Friction = 0.30000001192093 | |
1535 | obj34.Shape = Enum.PartType.Cylinder | |
1536 | obj34.Name = "redstuff" | |
1537 | obj34.Anchored = true | |
1538 | obj34.Parent = obj1 | |
1539 | ||
1540 | -- 35 - redstuff | |
1541 | local obj35 = Instance.new("Part") | |
1542 | obj35.CFrame = CFrame.new(Vector3.new(19.8830166, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0) | |
1543 | obj35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1544 | obj35.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1545 | obj35.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1546 | obj35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1547 | obj35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1548 | obj35.Size = Vector3.new(0.0500000007, 0.319999993, 0.319999993) | |
1549 | obj35.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1550 | obj35.BrickColor = BrickColor.new("Institutional white") | |
1551 | obj35.Friction = 0.30000001192093 | |
1552 | obj35.Shape = Enum.PartType.Cylinder | |
1553 | obj35.Material = Enum.Material.SmoothPlastic | |
1554 | obj35.Name = "redstuff" | |
1555 | obj35.Anchored = true | |
1556 | obj35.Parent = obj1 | |
1557 | ||
1558 | -- 36 - redstuff | |
1559 | local obj36 = Instance.new("Part") | |
1560 | obj36.CFrame = CFrame.new(Vector3.new(20.9430103, 6.14501476, -134.399963)) * CFrame.Angles(-0, 0, -0) | |
1561 | obj36.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1562 | obj36.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1563 | obj36.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1564 | obj36.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1565 | obj36.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1566 | obj36.Material = Enum.Material.SmoothPlastic | |
1567 | obj36.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999) | |
1568 | obj36.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1569 | obj36.BrickColor = BrickColor.new("Institutional white") | |
1570 | obj36.Friction = 0.30000001192093 | |
1571 | obj36.Shape = Enum.PartType.Cylinder | |
1572 | obj36.Name = "redstuff" | |
1573 | obj36.Anchored = true | |
1574 | obj36.Parent = obj1 | |
1575 | ||
1576 | -- 37 - redstuff | |
1577 | local obj37 = Instance.new("WedgePart") | |
1578 | obj37.CFrame = CFrame.new(Vector3.new(18.066288, 6.14381599, -134.400375)) * CFrame.Angles(1.5707963705063, -0.78539824485779, -1.5707963705063) | |
1579 | obj37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1580 | obj37.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1581 | obj37.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1582 | obj37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1583 | obj37.Material = Enum.Material.SmoothPlastic | |
1584 | obj37.Size = Vector3.new(0.0500000007, 0.0700000003, 0.0700000003) | |
1585 | obj37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1586 | obj37.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1587 | obj37.Anchored = true | |
1588 | obj37.BrickColor = BrickColor.new("Institutional white") | |
1589 | obj37.Friction = 0.30000001192093 | |
1590 | obj37.Name = "redstuff" | |
1591 | obj37.Anchored = true | |
1592 | obj37.Parent = obj1 | |
1593 | ||
1594 | -- 38 - redstuff | |
1595 | local obj38 = Instance.new("Part") | |
1596 | obj38.CFrame = CFrame.new(Vector3.new(20.1230125, 6.14501476, -134.399979)) * CFrame.Angles(-0, 0, -0) | |
1597 | obj38.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
1598 | obj38.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
1599 | obj38.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
1600 | obj38.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
1601 | obj38.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
1602 | obj38.Material = Enum.Material.SmoothPlastic | |
1603 | obj38.Size = Vector3.new(0.0500000007, 0.25999999, 0.25999999) | |
1604 | obj38.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
1605 | obj38.BrickColor = BrickColor.new("Institutional white") | |
1606 | obj38.Friction = 0.30000001192093 | |
1607 | obj38.Shape = Enum.PartType.Cylinder | |
1608 | obj38.Name = "redstuff" | |
1609 | obj38.Anchored = true | |
1610 | obj38.Parent = obj1 | |
1611 | ||
1612 | local function recurse(objnum) | |
1613 | table.insert(knifeparts,{objnum,objnum.Parent}) | |
1614 | for i,v in pairs(objnum:GetChildren()) do | |
1615 | recurse(v) | |
1616 | end | |
1617 | end | |
1618 | ||
1619 | recurse(obj1) | |
1620 | ||
1621 | local audio = Instance.new('Sound',knife) | |
1622 | audio.Volume = 2 | |
1623 | ||
1624 | local audio2 = Instance.new('Sound',knife) | |
1625 | audio2.Volume = 2 | |
1626 | ||
1627 | local holdpart = Instance.new("Part") | |
1628 | holdpart.Parent = me | |
1629 | holdpart.Size = Vector3.new(0.4, 0.4, 0.2) | |
1630 | holdpart.Position = me.Head.Position + Vector3.new(0, 1, 0) | |
1631 | holdpart.BrickColor = BrickColor.new("Burnt Sienna") | |
1632 | ||
1633 | local previous = nil | |
1634 | for i,v in pairs(obj1:GetChildren()) do | |
1635 | if v:IsA('BasePart') then | |
1636 | if previous then | |
1637 | local weld = Instance.new('Weld',v) | |
1638 | weld.Part0 = v | |
1639 | weld.Part1 = previous | |
1640 | weld.C0 = v.CFrame:inverse() * previous.CFrame | |
1641 | previous.Anchored = false | |
1642 | previous.CanCollide = false | |
1643 | local vee = v | |
1644 | weld.AncestryChanged:connect(function(mez,par) | |
1645 | wait() | |
1646 | weld.Parent = vee | |
1647 | end) | |
1648 | end | |
1649 | previous = v | |
1650 | end | |
1651 | end | |
1652 | previous.Anchored = false | |
1653 | previous.CanCollide = false | |
1654 | ||
1655 | local holdpartweld = Instance.new("Weld", me.Torso) | |
1656 | holdpartweld.Part0 = me.Torso | |
1657 | holdpartweld.Part1 = holdpart | |
1658 | holdpartweld.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1, -0.8, 0.15) | |
1659 | ||
1660 | holdpartweld.AncestryChanged:connect(function(mez,par) | |
1661 | if par ~= me.Torso then | |
1662 | wait() | |
1663 | holdpartweld.Parent = me.Torso | |
1664 | end | |
1665 | end) | |
1666 | ||
1667 | local knifeweld = Instance.new('Weld',me.Torso) | |
1668 | knifeweld.Part0 = me.Torso | |
1669 | knifeweld.Part1 = obj2 | |
1670 | knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55) | |
1671 | knifeweld.AncestryChanged:connect(function(mez,par) | |
1672 | if par ~= me.Torso then | |
1673 | wait() | |
1674 | knifeweld.Parent = me.Torso | |
1675 | end | |
1676 | end) | |
1677 | local ScreenGui = Instance.new("ScreenGui") | |
1678 | local CustomizeGui = Instance.new("Frame") | |
1679 | local Customize = Instance.new("TextLabel") | |
1680 | local ClosestColor = Instance.new("TextLabel") | |
1681 | local Line = Instance.new("TextLabel") | |
1682 | local Color = Instance.new("ImageLabel") | |
1683 | local Close = Instance.new("TextButton") | |
1684 | local RedHue = Instance.new("TextLabel") | |
1685 | local GreenHue = Instance.new("TextLabel") | |
1686 | local RedInput = Instance.new("TextBox") | |
1687 | local BlueHue = Instance.new("TextLabel") | |
1688 | local GreenInput = Instance.new("TextBox") | |
1689 | local TransInput = Instance.new("TextBox") | |
1690 | local BlueInput = Instance.new("TextBox") | |
1691 | local Message = Instance.new("TextLabel") | |
1692 | local Message2 = Instance.new("TextLabel") | |
1693 | local TrailTransparency = Instance.new("TextLabel") | |
1694 | local TrailInput = Instance.new("TextBox") | |
1695 | local MusicOption = Instance.new("TextButton") | |
1696 | local ScreenOption = Instance.new("TextButton") | |
1697 | local ScreenOptionTxt = Instance.new("TextLabel") | |
1698 | local MusicOptionTxt = Instance.new("TextLabel") | |
1699 | ||
1700 | -- Properties | |
1701 | ||
1702 | ScreenGui.Parent = playergui | |
1703 | ||
1704 | CustomizeGui.Name = "CustomizeGui" | |
1705 | CustomizeGui.Parent = ScreenGui | |
1706 | CustomizeGui.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) | |
1707 | CustomizeGui.BackgroundTransparency = 0.5 | |
1708 | CustomizeGui.BorderColor3 = Color3.new(0, 0, 0) | |
1709 | CustomizeGui.BorderSizePixel = 2 | |
1710 | CustomizeGui.Position = UDim2.new(0, 0, 0.5, 0) | |
1711 | CustomizeGui.Size = UDim2.new(0.449999988, 0, 0.449999988, 0) | |
1712 | ||
1713 | Customize.Name = "Customize" | |
1714 | Customize.Parent = CustomizeGui | |
1715 | Customize.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) | |
1716 | Customize.BackgroundTransparency = 0.75 | |
1717 | Customize.BorderSizePixel = 0 | |
1718 | Customize.Size = UDim2.new(1, 0, 0.200000003, 0) | |
1719 | Customize.FontSize = Enum.FontSize.Size28 | |
1720 | Customize.Text = "ACCENT COLOR CUSTOMIZATION" | |
1721 | Customize.TextColor3 = Color3.new(1, 1, 1) | |
1722 | Customize.TextScaled = true | |
1723 | Customize.TextSize = 25 | |
1724 | Customize.TextStrokeTransparency = 0.5 | |
1725 | Customize.TextWrapped = true | |
1726 | ||
1727 | ClosestColor.Name = "ClosestColor" | |
1728 | ClosestColor.Parent = CustomizeGui | |
1729 | ClosestColor.BackgroundColor3 = Color3.new(1, 1, 1) | |
1730 | ClosestColor.BackgroundTransparency = 1 | |
1731 | ClosestColor.Position = UDim2.new(0, 0, 0.850000024, 0) | |
1732 | ClosestColor.Size = UDim2.new(1, 0, 0.150000006, 0) | |
1733 | ClosestColor.Font = Enum.Font.SourceSansLight | |
1734 | ClosestColor.FontSize = Enum.FontSize.Size32 | |
1735 | ClosestColor.Text = "Your color is closest to Institutional White" | |
1736 | ClosestColor.TextColor3 = Color3.new(1, 1, 1) | |
1737 | ClosestColor.TextSize = 30 | |
1738 | ClosestColor.TextStrokeTransparency = 0.5 | |
1739 | ||
1740 | Line.Name = "Line" | |
1741 | Line.Parent = CustomizeGui | |
1742 | Line.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1743 | Line.BackgroundTransparency = 0.5 | |
1744 | Line.BorderColor3 = Color3.new(0, 0, 0) | |
1745 | Line.BorderSizePixel = 0 | |
1746 | Line.Position = UDim2.new(0, 0, 0.200000003, 0) | |
1747 | Line.Size = UDim2.new(1, 0, 0.0299999993, 0) | |
1748 | Line.Font = Enum.Font.SourceSans | |
1749 | Line.FontSize = Enum.FontSize.Size14 | |
1750 | Line.Text = " " | |
1751 | Line.TextSize = 14 | |
1752 | ||
1753 | Color.Name = "Color" | |
1754 | Color.Parent = CustomizeGui | |
1755 | Color.BackgroundColor3 = Color3.new(1, 1, 1) | |
1756 | Color.BorderSizePixel = 0 | |
1757 | Color.Position = UDim2.new(0.699999988, 0, 0.419999987, 0) | |
1758 | Color.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) | |
1759 | Color.SizeConstraint = Enum.SizeConstraint.RelativeYY | |
1760 | ||
1761 | MusicOption.Parent = CustomizeGui | |
1762 | MusicOption.Name = "MusicOption" | |
1763 | MusicOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
1764 | MusicOption.BorderSizePixel = 1 | |
1765 | MusicOption.Position = UDim2.new(0.01, 0, -0.12, 0) | |
1766 | MusicOption.Size = UDim2.new(0.05, 0, 0.1, 0) | |
1767 | MusicOption.Text = "" | |
1768 | MusicOption.BackgroundTransparency = 0.5 | |
1769 | ||
1770 | ScreenOption.Parent = CustomizeGui | |
1771 | ScreenOption.Name = "ScreenOption" | |
1772 | ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
1773 | ScreenOption.BorderSizePixel = 1 | |
1774 | ScreenOption.Position = UDim2.new(0.01, 0, -0.23, 0) | |
1775 | ScreenOption.Size = UDim2.new(0.05, 0, 0.1, 0) | |
1776 | ScreenOption.Text = "" | |
1777 | ScreenOption.BackgroundTransparency = 0.5 | |
1778 | ||
1779 | ScreenOptionTxt.Name = "ScreenOptionTxt" | |
1780 | ScreenOptionTxt.Parent = CustomizeGui | |
1781 | ScreenOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1) | |
1782 | ScreenOptionTxt.BackgroundTransparency = 1 | |
1783 | ScreenOptionTxt.Position = UDim2.new(0.07, 0, -0.23, 0) | |
1784 | ScreenOptionTxt.Size = UDim2.new(1, 0, 0.07, 0) | |
1785 | ScreenOptionTxt.Font = Enum.Font.SourceSans | |
1786 | ScreenOptionTxt.FontSize = Enum.FontSize.Size24 | |
1787 | ScreenOptionTxt.Text = "Psychopath Red Filter" | |
1788 | ScreenOptionTxt.TextColor3 = Color3.new(1, 1, 1) | |
1789 | ScreenOptionTxt.TextScaled = true | |
1790 | ScreenOptionTxt.TextSize = 20 | |
1791 | ScreenOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1792 | ScreenOptionTxt.TextStrokeTransparency = 0.5 | |
1793 | ScreenOptionTxt.TextWrapped = true | |
1794 | ScreenOptionTxt.TextXAlignment = "Left" | |
1795 | ||
1796 | MusicOptionTxt.Name = "MusicOptionTxt" | |
1797 | MusicOptionTxt.Parent = CustomizeGui | |
1798 | MusicOptionTxt.BackgroundColor3 = Color3.new(1, 1, 1) | |
1799 | MusicOptionTxt.BackgroundTransparency = 1 | |
1800 | MusicOptionTxt.Position = UDim2.new(0.07, 0, -0.12, 0) | |
1801 | MusicOptionTxt.Size = UDim2.new(1, 0, 0.07, 0) | |
1802 | MusicOptionTxt.Font = Enum.Font.SourceSans | |
1803 | MusicOptionTxt.FontSize = Enum.FontSize.Size24 | |
1804 | MusicOptionTxt.Text = "Psychopath Background Music" | |
1805 | MusicOptionTxt.TextColor3 = Color3.new(1, 1, 1) | |
1806 | MusicOptionTxt.TextScaled = true | |
1807 | MusicOptionTxt.TextSize = 20 | |
1808 | MusicOptionTxt.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1809 | MusicOptionTxt.TextStrokeTransparency = 0.5 | |
1810 | MusicOptionTxt.TextWrapped = true | |
1811 | MusicOptionTxt.TextXAlignment = "Left" | |
1812 | ||
1813 | Close.Name = "Close" | |
1814 | Close.Parent = CustomizeGui | |
1815 | Close.BackgroundColor3 = Color3.new(0.294118, 0.294118, 0.294118) | |
1816 | Close.BackgroundTransparency = 0.5 | |
1817 | Close.BorderColor3 = Color3.new(0, 0, 0) | |
1818 | Close.BorderSizePixel = 2 | |
1819 | Close.Position = UDim2.new(1.005, 0, 0, 0) | |
1820 | Close.Size = UDim2.new(0.100000001, 0, 0.2, 0) | |
1821 | Close.Font = Enum.Font.SourceSans | |
1822 | Close.FontSize = Enum.FontSize.Size14 | |
1823 | Close.Text = "X" | |
1824 | Close.TextColor3 = Color3.new(1, 1, 1) | |
1825 | Close.TextScaled = true | |
1826 | Close.TextSize = 14 | |
1827 | Close.TextStrokeTransparency = 0 | |
1828 | Close.TextWrapped = true | |
1829 | ||
1830 | RedHue.Name = "RedHue" | |
1831 | RedHue.Parent = CustomizeGui | |
1832 | RedHue.BackgroundColor3 = Color3.new(1, 1, 1) | |
1833 | RedHue.BackgroundTransparency = 1 | |
1834 | RedHue.Position = UDim2.new(0.100000001, 0, 0.400000006, 0) | |
1835 | RedHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) | |
1836 | RedHue.Font = Enum.Font.SourceSans | |
1837 | RedHue.FontSize = Enum.FontSize.Size24 | |
1838 | RedHue.Text = "RED Hue Value: " | |
1839 | RedHue.TextColor3 = Color3.new(1, 1, 1) | |
1840 | RedHue.TextScaled = true | |
1841 | RedHue.TextSize = 20 | |
1842 | RedHue.TextStrokeColor3 = Color3.new(1, 0, 0) | |
1843 | RedHue.TextStrokeTransparency = 0.75 | |
1844 | RedHue.TextWrapped = true | |
1845 | ||
1846 | GreenHue.Name = "GreenHue" | |
1847 | GreenHue.Parent = CustomizeGui | |
1848 | GreenHue.BackgroundColor3 = Color3.new(1, 1, 1) | |
1849 | GreenHue.BackgroundTransparency = 1 | |
1850 | GreenHue.Position = UDim2.new(0.100000001, 0, 0.5, 0) | |
1851 | GreenHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) | |
1852 | GreenHue.Font = Enum.Font.SourceSans | |
1853 | GreenHue.FontSize = Enum.FontSize.Size24 | |
1854 | GreenHue.Text = "GREEN Hue Value:" | |
1855 | GreenHue.TextColor3 = Color3.new(1, 1, 1) | |
1856 | GreenHue.TextScaled = true | |
1857 | GreenHue.TextSize = 20 | |
1858 | GreenHue.TextStrokeColor3 = Color3.new(0, 1, 0) | |
1859 | GreenHue.TextStrokeTransparency = 0.75 | |
1860 | GreenHue.TextWrapped = true | |
1861 | ||
1862 | RedInput.Name = "RedInput" | |
1863 | RedInput.Parent = CustomizeGui | |
1864 | RedInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1865 | RedInput.BackgroundTransparency = 0.5 | |
1866 | RedInput.BorderSizePixel = 0 | |
1867 | RedInput.Position = UDim2.new(0.419999987, 0, 0.425000007, 0) | |
1868 | RedInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
1869 | RedInput.Font = Enum.Font.SourceSans | |
1870 | RedInput.FontSize = Enum.FontSize.Size14 | |
1871 | RedInput.Text = "255" | |
1872 | RedInput.TextColor3 = Color3.new(1, 1, 1) | |
1873 | RedInput.TextSize = 14 | |
1874 | RedInput.TextStrokeTransparency = 0 | |
1875 | ||
1876 | BlueHue.Name = "BlueHue" | |
1877 | BlueHue.Parent = CustomizeGui | |
1878 | BlueHue.BackgroundColor3 = Color3.new(1, 1, 1) | |
1879 | BlueHue.BackgroundTransparency = 1 | |
1880 | BlueHue.Position = UDim2.new(0.100000001, 0, 0.600000024, 0) | |
1881 | BlueHue.Size = UDim2.new(0.300000012, 0, 0.100000001, 0) | |
1882 | BlueHue.Font = Enum.Font.SourceSans | |
1883 | BlueHue.FontSize = Enum.FontSize.Size24 | |
1884 | BlueHue.Text = "BLUE Hue Value:" | |
1885 | BlueHue.TextColor3 = Color3.new(1, 1, 1) | |
1886 | BlueHue.TextScaled = true | |
1887 | BlueHue.TextSize = 20 | |
1888 | BlueHue.TextStrokeColor3 = Color3.new(0, 0, 1) | |
1889 | BlueHue.TextStrokeTransparency = 0.75 | |
1890 | BlueHue.TextWrapped = true | |
1891 | ||
1892 | TrailTransparency.Name = "TrailTransparency" | |
1893 | TrailTransparency.Parent = CustomizeGui | |
1894 | TrailTransparency.BackgroundColor3 = Color3.new(1, 1, 1) | |
1895 | TrailTransparency.BackgroundTransparency = 1 | |
1896 | TrailTransparency.Position = UDim2.new(0.090000001, 0, 0.700000024, 0) | |
1897 | TrailTransparency.Size = UDim2.new(0.310000012, 0, 0.100000001, 0) | |
1898 | TrailTransparency.Font = Enum.Font.SourceSans | |
1899 | TrailTransparency.FontSize = Enum.FontSize.Size24 | |
1900 | TrailTransparency.Text = "Trail Transparency:" | |
1901 | TrailTransparency.TextColor3 = Color3.new(1, 1, 1) | |
1902 | TrailTransparency.TextScaled = true | |
1903 | TrailTransparency.TextSize = 20 | |
1904 | TrailTransparency.TextStrokeColor3 = Color3.new(0, 0, 0) | |
1905 | TrailTransparency.TextWrapped = true | |
1906 | ||
1907 | GreenInput.Name = "GreenInput" | |
1908 | GreenInput.Parent = CustomizeGui | |
1909 | GreenInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1910 | GreenInput.BackgroundTransparency = 0.5 | |
1911 | GreenInput.BorderSizePixel = 0 | |
1912 | GreenInput.Position = UDim2.new(0.419999987, 0, 0.524999976, 0) | |
1913 | GreenInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
1914 | GreenInput.Font = Enum.Font.SourceSans | |
1915 | GreenInput.FontSize = Enum.FontSize.Size14 | |
1916 | GreenInput.Text = "255" | |
1917 | GreenInput.TextColor3 = Color3.new(1, 1, 1) | |
1918 | GreenInput.TextSize = 14 | |
1919 | GreenInput.TextStrokeTransparency = 0 | |
1920 | ||
1921 | TransInput.Name = "TransInput" | |
1922 | TransInput.Parent = CustomizeGui | |
1923 | TransInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1924 | TransInput.BackgroundTransparency = 0.5 | |
1925 | TransInput.BorderSizePixel = 0 | |
1926 | TransInput.Position = UDim2.new(0.419999987, 0, 0.725000024, 0) | |
1927 | TransInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
1928 | TransInput.Font = Enum.Font.SourceSans | |
1929 | TransInput.FontSize = Enum.FontSize.Size14 | |
1930 | TransInput.Text = "50" | |
1931 | TransInput.TextColor3 = Color3.new(1, 1, 1) | |
1932 | TransInput.TextSize = 14 | |
1933 | TransInput.TextStrokeTransparency = 0 | |
1934 | ||
1935 | BlueInput.Name = "BlueInput" | |
1936 | BlueInput.Parent = CustomizeGui | |
1937 | BlueInput.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) | |
1938 | BlueInput.BackgroundTransparency = 0.5 | |
1939 | BlueInput.BorderSizePixel = 0 | |
1940 | BlueInput.Position = UDim2.new(0.419999987, 0, 0.625, 0) | |
1941 | BlueInput.Size = UDim2.new(0.200000003, 0, 0.075000003, 0) | |
1942 | BlueInput.Font = Enum.Font.SourceSans | |
1943 | BlueInput.FontSize = Enum.FontSize.Size14 | |
1944 | BlueInput.Text = "255" | |
1945 | BlueInput.TextColor3 = Color3.new(1, 1, 1) | |
1946 | BlueInput.TextSize = 14 | |
1947 | BlueInput.TextStrokeTransparency = 0 | |
1948 | ||
1949 | Message.Name = "Message" | |
1950 | Message.Parent = CustomizeGui | |
1951 | Message.BackgroundColor3 = Color3.new(1, 1, 1) | |
1952 | Message.BackgroundTransparency = 1 | |
1953 | Message.Position = UDim2.new(0, 0, 0.2500004, 0) | |
1954 | Message.Size = UDim2.new(1, 0, 0.100000006, 0) | |
1955 | Message.Font = Enum.Font.SourceSans | |
1956 | Message.FontSize = Enum.FontSize.Size18 | |
1957 | Message.Text = "|| Inputs must be values ||" | |
1958 | Message.TextColor3 = Color3.new(1, 1, 1) | |
1959 | Message.TextScaled = true | |
1960 | Message.TextSize = 15 | |
1961 | Message.TextStrokeTransparency = 0.75 | |
1962 | Message.TextWrapped = true | |
1963 | ||
1964 | local attun = Instance.new("Attachment", knife) | |
1965 | attun.Position = Vector3.new(0, 0.1, -1.75) | |
1966 | local atdos = Instance.new("Attachment", knife) | |
1967 | atdos.Position = Vector3.new(0, -0.1, 0.5) | |
1968 | local trail = Instance.new("Trail", knife) | |
1969 | trail.LightEmission = 0.5 | |
1970 | trail.Attachment0 = attun | |
1971 | trail.Attachment1 = atdos | |
1972 | trail.Lifetime = 0.175 | |
1973 | trail.MinLength = 0 | |
1974 | trail.Enabled = false | |
1975 | ||
1976 | function updatez() | |
1977 | local rc = tonumber(RedInput.Text) | |
1978 | local gc = tonumber(GreenInput.Text) | |
1979 | local bc = tonumber(BlueInput.Text) | |
1980 | local tcupd = tonumber(TransInput.Text) | |
1981 | if rc == nil then | |
1982 | rc = 0 | |
1983 | end | |
1984 | if gc == nil then | |
1985 | gc = 0 | |
1986 | end | |
1987 | if bc == nil then | |
1988 | bc = 0 | |
1989 | end | |
1990 | if tcupd == nil then | |
1991 | tcupd = 0 | |
1992 | end | |
1993 | local tc = tcupd/100 | |
1994 | Color.BackgroundColor3 = Color3.fromRGB(rc,gc,bc) | |
1995 | ClosestColor.Text = "Your color is closest to "..tostring(BrickColor.new(Color3.fromRGB(rc,gc,bc))) | |
1996 | obj32.Color = Color3.fromRGB(rc,gc,bc) | |
1997 | obj33.Color = Color3.fromRGB(rc,gc,bc) | |
1998 | obj34.Color = Color3.fromRGB(rc,gc,bc) | |
1999 | obj35.Color = Color3.fromRGB(rc,gc,bc) | |
2000 | obj36.Color = Color3.fromRGB(rc,gc,bc) | |
2001 | obj37.Color = Color3.fromRGB(rc,gc,bc) | |
2002 | obj38.Color = Color3.fromRGB(rc,gc,bc) | |
2003 | trail.Color = ColorSequence.new(Color3.fromRGB(rc, gc, bc)) | |
2004 | trail.Transparency = NumberSequence.new(tc) | |
2005 | TrailTransparency.TextStrokeTransparency = tc | |
2006 | end | |
2007 | ||
2008 | RedInput.Changed:connect(function(val) | |
2009 | if val == "Text" and tonumber(RedInput.Text) then | |
2010 | RedInput.Text = tostring(tonumber(RedInput.Text)) | |
2011 | if tonumber(RedInput.Text) > 255 then | |
2012 | RedInput.Text = '255' | |
2013 | end | |
2014 | elseif val == "Text" then | |
2015 | RedInput.Text = "" | |
2016 | end | |
2017 | updatez() | |
2018 | end) | |
2019 | GreenInput.Changed:connect(function(val) | |
2020 | if val == "Text" and tonumber(GreenInput.Text) then | |
2021 | GreenInput.Text = tostring(tonumber(GreenInput.Text)) | |
2022 | if tonumber(GreenInput.Text) > 255 then | |
2023 | GreenInput.Text = '255' | |
2024 | end | |
2025 | elseif val == "Text" then | |
2026 | GreenInput.Text = "" | |
2027 | end | |
2028 | updatez() | |
2029 | end) | |
2030 | BlueInput.Changed:connect(function(val) | |
2031 | if val == "Text" and tonumber(BlueInput.Text) then | |
2032 | BlueInput.Text = tostring(tonumber(BlueInput.Text)) | |
2033 | if tonumber(BlueInput.Text) > 255 then | |
2034 | BlueInput.Text = '255' | |
2035 | end | |
2036 | elseif val == "Text" then | |
2037 | BlueInput.Text = "" | |
2038 | end | |
2039 | updatez() | |
2040 | end) | |
2041 | TransInput.Changed:connect(function(val) | |
2042 | if val == "Text" and tonumber(TransInput.Text) then | |
2043 | TransInput.Text = tostring(tonumber(TransInput.Text)) | |
2044 | if tonumber(TransInput.Text) > 100 then | |
2045 | TransInput.Text = '100' | |
2046 | end | |
2047 | elseif val == "Text" then | |
2048 | TransInput.Text = "" | |
2049 | end | |
2050 | updatez() | |
2051 | end) | |
2052 | ||
2053 | Close.MouseButton1Click:connect(function() | |
2054 | if lerpz == false then | |
2055 | lerpz = true | |
2056 | if Close.Text ~= "+" then | |
2057 | CustomizeGui:TweenPosition(UDim2.new(-0.45,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2)) | |
2058 | for i=1,10 do | |
2059 | Close.TextTransparency = i/10 | |
2060 | Close.TextStrokeTransparency = i/10 | |
2061 | wait(0.01) | |
2062 | end | |
2063 | Close.Text = "+" | |
2064 | for i=1,10 do | |
2065 | Close.TextTransparency = (10-i+1)/10 | |
2066 | Close.TextStrokeTransparency = (10-i+1)/10 | |
2067 | wait(0.01) | |
2068 | end | |
2069 | lerpz = false | |
2070 | else | |
2071 | CustomizeGui:TweenPosition(UDim2.new(0,0,0.5,0,Enum.EasingDirection.Out,Enum.EasingStyle.Quint,2)) | |
2072 | for i=1,10 do | |
2073 | Close.TextTransparency = i/10 | |
2074 | Close.TextStrokeTransparency = i/10 | |
2075 | wait(0.01) | |
2076 | end | |
2077 | Close.Text = "X" | |
2078 | for i=1,10 do | |
2079 | Close.TextTransparency = (10-i+1)/10 | |
2080 | Close.TextStrokeTransparency = (10-i+1)/10 | |
2081 | wait(0.01) | |
2082 | end | |
2083 | lerpz = false | |
2084 | end | |
2085 | end | |
2086 | end) | |
2087 | ||
2088 | MusicOption.MouseButton1Click:connect(function() | |
2089 | if canbackgroundmusic == true then | |
2090 | canbackgroundmusic = false | |
2091 | MusicOption.BackgroundColor3 = Color3.new(1, 0, 0) | |
2092 | else | |
2093 | canbackgroundmusic = true | |
2094 | MusicOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
2095 | end | |
2096 | end) | |
2097 | ||
2098 | ScreenOption.MouseButton1Click:connect(function() | |
2099 | if cancolorfilter == true then | |
2100 | cancolorfilter = false | |
2101 | ScreenOption.BackgroundColor3 = Color3.new(1, 0, 0) | |
2102 | else | |
2103 | cancolorfilter = true | |
2104 | ScreenOption.BackgroundColor3 = Color3.new(0, 1, 0) | |
2105 | end | |
2106 | end) | |
2107 | ||
2108 | function equip() | |
2109 | local doit = coroutine.wrap(function() | |
2110 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then | |
2111 | acting = true | |
2112 | local arm = me["Right Arm"] | |
2113 | local arm2 = me["Left Arm"] | |
2114 | local tors = me.Torso | |
2115 | local weld = Instance.new('Weld',arm) | |
2116 | weld.Part0 = arm | |
2117 | weld.Part1 = tors | |
2118 | weld.C0 = CFrame.new(-1.5,0,0) | |
2119 | local weld2 = Instance.new("Weld", arm2) | |
2120 | weld2.Part0 = arm2 | |
2121 | weld2.Part1 = tors | |
2122 | weld2.C0 = CFrame.new(1.5, 0, 0) | |
2123 | wait(0.001) | |
2124 | for i = 0,1,0.1 do | |
2125 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
2126 | weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i) | |
2127 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i) | |
2128 | wait(0.001) | |
2129 | end | |
2130 | wait(0.15) | |
2131 | trail.Enabled = true | |
2132 | for i = 0,1,0.1 do | |
2133 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
2134 | weld.C0 = weld.C0:lerp(CFrame.new(-0.5,2,0)*CFrame.Angles(0,0,-1.55),i) | |
2135 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i) | |
2136 | wait(0.001) | |
2137 | end | |
2138 | trail.Enabled = false | |
2139 | wait(0.2) | |
2140 | for i = 0,1,0.1 do | |
2141 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
2142 | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i) | |
2143 | wait(0.001) | |
2144 | end | |
2145 | weld:Destroy() | |
2146 | weld2:Remove() | |
2147 | if tors ~= nil then | |
2148 | rightshoulderz:Clone().Parent = me.Torso | |
2149 | leftshoulderz:Clone().Parent = me.Torso | |
2150 | end | |
2151 | end | |
2152 | acting = false | |
2153 | end) | |
2154 | doit() | |
2155 | end | |
2156 | ||
2157 | function kysnigga() | |
2158 | if kyssing == true then return end | |
2159 | kyssing = true | |
2160 | acting = true | |
2161 | decearingTHING = math.random(1, 100) | |
2162 | if decearingTHING == 4 then | |
2163 | decearingEGG = Instance.new("Sound", me.Torso) | |
2164 | decearingEGG.SoundId = "rbxassetid://138084557" | |
2165 | decearingEGG.PlaybackSpeed = math.random(10, 12) / 10 | |
2166 | decearingEGG.TimePosition = 0.2 | |
2167 | decearingEGG:Play() | |
2168 | end | |
2169 | me.Humanoid.WalkSpeed = 0 | |
2170 | me.Humanoid.JumpPower = 0 | |
2171 | ||
2172 | local rightarm = Instance.new("Weld", me.Torso) | |
2173 | rightarm.Part0 = me.Torso | |
2174 | rightarm.Part1 = me["Right Arm"] | |
2175 | rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) | |
2176 | ||
2177 | local leftarm = Instance.new("Weld", me.Torso) | |
2178 | leftarm.Part0 = me.Torso | |
2179 | leftarm.Part1 = me["Left Arm"] | |
2180 | leftarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-1.5, 0, 0) | |
2181 | ||
2182 | local tors = Instance.new("Weld", me.HumanoidRootPart) | |
2183 | tors.Part0 = me.HumanoidRootPart | |
2184 | tors.Part1 = me.Torso | |
2185 | tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) | |
2186 | ||
2187 | local rightleg = Instance.new("Weld", me.Torso) | |
2188 | rightleg.Part0 = me.Torso | |
2189 | rightleg.Part1 = me["Right Leg"] | |
2190 | rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0) | |
2191 | ||
2192 | local leftleg = Instance.new("Weld", me.Torso) | |
2193 | leftleg.Part0 = me.Torso | |
2194 | leftleg.Part1 = me["Left Leg"] | |
2195 | leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0) | |
2196 | ||
2197 | for i = 0, 1, 0.03 do | |
2198 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-10), 0, 0), i) | |
2199 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i) | |
2200 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-80), 0, 0), i) | |
2201 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), i) | |
2202 | wait() | |
2203 | end | |
2204 | for i = 0, 1, 0.03 do | |
2205 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(5), 0, 0), i) | |
2206 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i) | |
2207 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, 0.15) * CFrame.Angles(math.rad(-95), 0, 0), i) | |
2208 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(-35)), i) | |
2209 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(90), 0, math.rad(35)), i) | |
2210 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) | |
2211 | wait() | |
2212 | end | |
2213 | local bleedzer = Instance.new('Part',me.Torso) | |
2214 | bleedzer.CFrame = me.Torso.CFrame | |
2215 | bleedzer.Size = Vector3.new(0.1,0.1,0.1) | |
2216 | bleedzer.Transparency = 1 | |
2217 | bleedzer.CanCollide = false | |
2218 | local weld = Instance.new('Weld',bleedzer) | |
2219 | weld.Part0 = bleedzer | |
2220 | weld.Part1 = me.Torso | |
2221 | weld.C0= CFrame.new(0,0,0)*CFrame.Angles(math.rad(-90),0,0) | |
2222 | local woodpekker = coroutine.wrap(function() | |
2223 | bleed(bleedzer) | |
2224 | end) | |
2225 | woodpekker() | |
2226 | audio.SoundId = "rbxassetid://199977936" | |
2227 | audio.PlaybackSpeed = 1.5 | |
2228 | audio:Play() | |
2229 | audio2.SoundId = "rbxassetid://220834019" | |
2230 | audio2.PlaybackSpeed = 1 | |
2231 | audio2.TimePosition = 0.1 | |
2232 | audio2:Play() | |
2233 | for i = 0, 1, 0.1 do | |
2234 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
2235 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
2236 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
2237 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i) | |
2238 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i) | |
2239 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) | |
2240 | wait() | |
2241 | end | |
2242 | wait(1) | |
2243 | audio.SoundId = "rbxassetid://210943487" | |
2244 | audio.TimePosition = 0.2 | |
2245 | audio.PlaybackSpeed = 0.75 | |
2246 | audio:Play() | |
2247 | for i = 0, 1, 0.03 do | |
2248 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
2249 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
2250 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -1, -0.35) * CFrame.Angles(math.rad(-70), 0, 0), i) | |
2251 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(-35)), i) | |
2252 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1, 0.3, -1.5) * CFrame.Angles(math.rad(70), 0, math.rad(35)), i) | |
2253 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.new(1.35, 0, 1) * CFrame.Angles(1.55, math.rad(-180), 1), i) | |
2254 | wait() | |
2255 | end | |
2256 | for i = 0, 1, 0.03 do | |
2257 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i) | |
2258 | leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0, -0.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), i) | |
2259 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i) | |
2260 | wait() | |
2261 | end | |
2262 | wait(0.24) | |
2263 | if me:FindFirstChildOfClass('Humanoid') then | |
2264 | me:FindFirstChildOfClass('Humanoid').Health = 0 | |
2265 | end | |
2266 | wait(0.01) | |
2267 | killz(me,me.Torso.Name,nil,nil,true) | |
2268 | ||
2269 | tors:Remove() | |
2270 | rightarm:Remove() | |
2271 | rightleg:Remove() | |
2272 | leftleg:Remove() | |
2273 | leftarm:Remove() | |
2274 | rightshoulderz:Clone().Parent = me.Torso | |
2275 | leftshoulderz:Clone().Parent = me.Torso | |
2276 | torsojoint:Clone().Parent = me.HumanoidRootPart | |
2277 | lefthipz:Clone().Parent = me.Torso | |
2278 | righthipz:Clone().Parent = me.Torso | |
2279 | me.Humanoid.JumpPower = 50 | |
2280 | me.Humanoid.WalkSpeed = 16 | |
2281 | acting = false | |
2282 | canClick = true | |
2283 | doing = false | |
2284 | hit = false | |
2285 | kyssing = false | |
2286 | if decearingTHING == 4 then | |
2287 | decearingEGG:Remove() | |
2288 | end | |
2289 | end | |
2290 | ||
2291 | function bleedout() | |
2292 | local doit = coroutine.wrap(function() | |
2293 | local targe = grabbed | |
2294 | local num = 0 | |
2295 | while targe and targe:FindFirstChildOfClass('Humanoid') and targe:FindFirstChildOfClass('Humanoid').Health > 0 and num < 11 do | |
2296 | if targe.Head:FindFirstChild('Died') then | |
2297 | tone = math.random(6, 12) / 10 | |
2298 | targe.Head.Died.PlaybackSpeed = tone | |
2299 | targe.Head.Died:Play() | |
2300 | else | |
2301 | local deathsound = Instance.new('Sound',targe.Head) | |
2302 | deathsound.Name = "Died" | |
2303 | deathsound.SoundId = 'rbxasset://sounds/uuhhh.mp3' | |
2304 | deathsound.Volume = 0.65 | |
2305 | deathsound.EmitterSize = 5 | |
2306 | deathsound.MaxDistance = 150 | |
2307 | tone = math.random(5, 15) / 10 | |
2308 | targe.Head.Died.PlaybackSpeed = tone | |
2309 | targe.Head.Died:Play() | |
2310 | end | |
2311 | targe:FindFirstChildOfClass('Humanoid').Health = targe:FindFirstChildOfClass('Humanoid').Health - 7 | |
2312 | num = num+1 | |
2313 | wait(0.325) | |
2314 | end | |
2315 | targe:FindFirstChildOfClass('Humanoid').Health = 0 | |
2316 | wait() | |
2317 | killz(targe,'Head',nil,nil,false,true) | |
2318 | wait(2) | |
2319 | targe:Remove() | |
2320 | end) | |
2321 | doit() | |
2322 | end | |
2323 | ||
2324 | function liedown() | |
2325 | local doit = coroutine.wrap(function() | |
2326 | local targe = grabbed | |
2327 | wait(2) | |
2328 | if targe and targe:FindFirstChildOfClass('Humanoid') then | |
2329 | targe:FindFirstChildOfClass('Humanoid').PlatformStand = false | |
2330 | end | |
2331 | end) | |
2332 | doit() | |
2333 | end | |
2334 | ||
2335 | function grab() | |
2336 | local doit = coroutine.wrap(function() | |
2337 | acting = true | |
2338 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3 | |
2339 | local arm = me["Right Arm"] | |
2340 | local tors = me.Torso | |
2341 | local arm2 = me["Left Arm"] | |
2342 | local humanroot = me.HumanoidRootPart | |
2343 | local weld2 = Instance.new('Weld',arm) | |
2344 | weld2.Part0 = arm | |
2345 | weld2.Part1 = tors | |
2346 | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
2347 | local weld3 = Instance.new('Weld',arm2) | |
2348 | weld3.Part0 = arm2 | |
2349 | weld3.Part1 = tors | |
2350 | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) | |
2351 | for i = 0,1,0.05 do | |
2352 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end | |
2353 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) | |
2354 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.2,1.3,0)*CFrame.Angles(0,0,1.2),i) | |
2355 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), -1.55) * CFrame.new(0, 0.95, 0) | |
2356 | wait(0.01) | |
2357 | end | |
2358 | grabbing = true | |
2359 | trail.Enabled = true | |
2360 | for i = 0,1,0.10 do | |
2361 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or humanroot == nil then return end | |
2362 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i) | |
2363 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i) | |
2364 | wait(0.01) | |
2365 | end | |
2366 | trail.Enabled = false | |
2367 | wait(0.5) | |
2368 | grabbing = false | |
2369 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3 | |
2370 | if grabbed == nil then | |
2371 | for i = 0,1,0.1 do | |
2372 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil then return end | |
2373 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
2374 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i) | |
2375 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) | |
2376 | wait(0.001) | |
2377 | end | |
2378 | weld2:Destroy() | |
2379 | weld3:Destroy() | |
2380 | rightshoulderz:Clone().Parent = me.Torso | |
2381 | leftshoulderz:Clone().Parent = me.Torso | |
2382 | acting = false | |
2383 | canClick = true | |
2384 | end | |
2385 | end) | |
2386 | doit() | |
2387 | end | |
2388 | ||
2389 | function kill() | |
2390 | paralyzed = false | |
2391 | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then hardrelease() return end | |
2392 | targetweld = grabbed.Torso.TargetWeld | |
2393 | targetweld2 = nil | |
2394 | local reee = grabbed:FindFirstChild("Left Arm") | |
2395 | if reee and reee:FindFirstChild("Weld") then | |
2396 | targetweld2 = reee.Weld | |
2397 | end | |
2398 | for i, v in pairs(grabbed:GetChildren()) do | |
2399 | if v.Name == "Part" then | |
2400 | v.CanCollide = true | |
2401 | end | |
2402 | end | |
2403 | targetweld3pt = grabbed:FindFirstChild("Right Arm") | |
2404 | local targetrightshoulder = rightshoulder | |
2405 | local targetleftshoulder = leftshoulder | |
2406 | local targetweld3 = Instance.new("Weld", targetweld3pt) | |
2407 | targetweld3.Part0 = grabbed.Torso | |
2408 | targetweld3.Part1 = targetweld3pt | |
2409 | targetweld3.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) | |
2410 | ||
2411 | local doit = coroutine.wrap(function() | |
2412 | local arm = me["Right Arm"] | |
2413 | local tors = grabbed.Torso | |
2414 | local arm2 = me["Left Arm"] | |
2415 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end | |
2416 | doing = true | |
2417 | local weld2 = arm:FindFirstChildOfClass('Weld') | |
2418 | local weld3 = arm2:FindFirstChildOfClass('Weld') | |
2419 | local humanroot = me.HumanoidRootPart | |
2420 | ||
2421 | for i = 0,1,0.1 do | |
2422 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2423 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.9, 0, -1.4), i) | |
2424 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 0.5, -0.5)* CFrame.Angles(-1.5, 0.4, 1.1), i) | |
2425 | wait(0.01) | |
2426 | end | |
2427 | ||
2428 | audio:Stop() | |
2429 | audio.SoundId = "rbxassetid://517040733" | |
2430 | tone = math.random(1, 3) | |
2431 | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.3 end | |
2432 | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end | |
2433 | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.2 end | |
2434 | audio:Play() | |
2435 | ||
2436 | local bleedpart = Instance.new("Part", grabbed) | |
2437 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
2438 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
2439 | bleedpart.CanCollide = false | |
2440 | bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0) | |
2441 | bleedpart.Transparency = 1 | |
2442 | ||
2443 | local bleedpartweld = Instance.new("Weld", grabbed.Torso) | |
2444 | bleedpartweld.Part0 = grabbed.Torso | |
2445 | bleedpartweld.Part1 = bleedpart | |
2446 | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) | |
2447 | local coru=coroutine.wrap(function() | |
2448 | bleed(bleedpart) | |
2449 | end) | |
2450 | coru() | |
2451 | ||
2452 | local slightthrow = Instance.new("BodyThrust", grabbed.Torso) | |
2453 | slightthrow.Force = Vector3.new(0, 0, -2500) | |
2454 | ||
2455 | local slightthrow2 = Instance.new("BodyAngularVelocity", grabbed.Torso) | |
2456 | slightthrow2.AngularVelocity = Vector3.new(0, -1000, 0) | |
2457 | slightthrow2.MaxTorque = Vector3.new(1000, 1000, 1000) | |
2458 | ||
2459 | if grabbed:FindFirstChildOfClass('Humanoid') then | |
2460 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
2461 | end | |
2462 | ||
2463 | killz(grabbed,'Left Leg') | |
2464 | killz(grabbed,'Left Arm') | |
2465 | killz(grabbed,'Right Leg') | |
2466 | killz(grabbed,'Right Arm') | |
2467 | ||
2468 | trail.Enabled = true | |
2469 | ||
2470 | for i = 0,1,0.2 do | |
2471 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2472 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 0, -1.4), i) | |
2473 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i) | |
2474 | wait(0.01) | |
2475 | end | |
2476 | ||
2477 | trail.Enabled = false | |
2478 | ||
2479 | bleedout() | |
2480 | ||
2481 | rightshoulderz:Clone().Parent = me.Torso | |
2482 | leftshoulderz:Clone().Parent = me.Torso | |
2483 | grabbed = nil | |
2484 | ||
2485 | if humanroot:FindFirstChild('Holder') then | |
2486 | humanroot.Holder:Destroy() | |
2487 | end | |
2488 | ||
2489 | wait(0.2) | |
2490 | slightthrow:Remove() | |
2491 | slightthrow2:Remove() | |
2492 | for i = 0,1,0.05 do | |
2493 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2494 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5, 0, 0)* CFrame.Angles(0, 0, 0), i) | |
2495 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5, 0, 0)* CFrame.Angles(0, 0, 0), i) | |
2496 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) | |
2497 | wait(0.01) | |
2498 | end | |
2499 | ||
2500 | weld2:Destroy() | |
2501 | weld3:Destroy() | |
2502 | targetweld = nil | |
2503 | targetweld2 = nil | |
2504 | targetweld3 = nil | |
2505 | rightshoulderz:Clone().Parent = me.Torso | |
2506 | leftshoulderz:Clone().Parent = me.Torso | |
2507 | acting = false | |
2508 | canClick = true | |
2509 | doing = false | |
2510 | end) | |
2511 | doit() | |
2512 | end | |
2513 | ||
2514 | function finish() | |
2515 | if finishing == true then return end | |
2516 | finishing = true | |
2517 | acting = true | |
2518 | decearingTHING = math.random(1, 100) | |
2519 | if decearingTHING == 4 then | |
2520 | decearingEGG = Instance.new("Sound", me.Torso) | |
2521 | decearingEGG.SoundId = "rbxassetid://138084557" | |
2522 | decearingEGG.PlaybackSpeed = math.random(10, 12) / 10 | |
2523 | decearingEGG.TimePosition = 0.2 | |
2524 | decearingEGG:Play() | |
2525 | end | |
2526 | me.Humanoid.WalkSpeed = 0 | |
2527 | me.Humanoid.JumpPower = 0 | |
2528 | ||
2529 | local rightarm = Instance.new("Weld", me.Torso) | |
2530 | rightarm.Part0 = me.Torso | |
2531 | rightarm.Part1 = me["Right Arm"] | |
2532 | rightarm.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(1.5, 0, 0) | |
2533 | ||
2534 | local tors = Instance.new("Weld", me.HumanoidRootPart) | |
2535 | tors.Part0 = me.HumanoidRootPart | |
2536 | tors.Part1 = me.Torso | |
2537 | tors.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) | |
2538 | ||
2539 | local rightleg = Instance.new("Weld", me.Torso) | |
2540 | rightleg.Part0 = me.Torso | |
2541 | rightleg.Part1 = me["Right Leg"] | |
2542 | rightleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(0.5, -2, 0) | |
2543 | ||
2544 | local leftleg = Instance.new("Weld", me.Torso) | |
2545 | leftleg.Part0 = me.Torso | |
2546 | leftleg.Part1 = me["Left Leg"] | |
2547 | leftleg.C0 = CFrame.Angles(0, 0, 0) * CFrame.new(-0.5, -2, 0) | |
2548 | ||
2549 | for i = 0, 1, 0.05 do | |
2550 | tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), 0, 0), i) | |
2551 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i) | |
2552 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0.2) * CFrame.Angles(math.rad(-15), 0, 0), i) | |
2553 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0) * CFrame.Angles(math.rad(179), math.rad(179), 0), i) | |
2554 | wait() | |
2555 | end | |
2556 | for i=1,finishnum do | |
2557 | local num1 = 0.5 | |
2558 | local num2 = 0.5 | |
2559 | local num3 = 0.25 | |
2560 | if finishnum ~= 1 then | |
2561 | num3 = 0 | |
2562 | end | |
2563 | trail.Enabled = true | |
2564 | for i = 0, 1, num1 do | |
2565 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-60), 0, 0), i) | |
2566 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(0), 0, 0), i) | |
2567 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(10), 0, 0), i) | |
2568 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, -1) * CFrame.Angles(math.rad(160), math.rad(150), 0), i) | |
2569 | wait() | |
2570 | end | |
2571 | wait() | |
2572 | for i = 0, 1, num2 do | |
2573 | tors.C0 = tors.C0:lerp(CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
2574 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -1.5, 0) * CFrame.Angles(math.rad(-30), 0, 0), i) | |
2575 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -0.7, -1) * CFrame.Angles(math.rad(-20), 0, 0), i) | |
2576 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 1.9, 0.2) * CFrame.Angles(math.rad(250), math.rad(180), 0), i) | |
2577 | wait() | |
2578 | end | |
2579 | trail.Enabled = false | |
2580 | wait(num3) | |
2581 | end | |
2582 | wait() | |
2583 | for i = 0, 1, 0.05 do | |
2584 | tors.C0 = tors.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i) | |
2585 | leftleg.C0 = leftleg.C0:lerp(CFrame.new(-0.5, -2, 0) * CFrame.Angles(0, 0, 0), i) | |
2586 | rightleg.C0 = rightleg.C0:lerp(CFrame.new(0.5, -2, 0) * CFrame.Angles(0, 0, 0), i) | |
2587 | rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0), i) | |
2588 | wait() | |
2589 | end | |
2590 | tors:Remove() | |
2591 | rightarm:Remove() | |
2592 | rightleg:Remove() | |
2593 | leftleg:Remove() | |
2594 | rightshoulderz:Clone().Parent = me.Torso | |
2595 | leftshoulderz:Clone().Parent = me.Torso | |
2596 | torsojoint:Clone().Parent = me.HumanoidRootPart | |
2597 | lefthipz:Clone().Parent = me.Torso | |
2598 | righthipz:Clone().Parent = me.Torso | |
2599 | me.Humanoid.JumpPower = 50 | |
2600 | me.Humanoid.WalkSpeed = 16 | |
2601 | acting = false | |
2602 | canClick = true | |
2603 | doing = false | |
2604 | hit = false | |
2605 | finishing = false | |
2606 | if decearingTHING == 4 then | |
2607 | decearingEGG:Remove() | |
2608 | end | |
2609 | end | |
2610 | ||
2611 | function throw() | |
2612 | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end | |
2613 | paralyzed = false | |
2614 | targetweld = grabbed.Torso.TargetWeld | |
2615 | local ree = grabbed:FindFirstChild("Left Arm") | |
2616 | targetweld2 =nil | |
2617 | if ree and ree:FindFirstChild("Weld") then | |
2618 | targetweld2 = ree.Weld | |
2619 | end | |
2620 | ||
2621 | for i, v in pairs(grabbed:GetChildren()) do | |
2622 | if v.Name == "Part" then | |
2623 | v.CanCollide = true | |
2624 | end | |
2625 | end | |
2626 | ||
2627 | ||
2628 | local doit = coroutine.wrap(function() | |
2629 | local arm = me["Right Arm"] | |
2630 | local tors = grabbed.Torso | |
2631 | local arm2 = me["Left Arm"] | |
2632 | local targrightshoulder = rightshoulder | |
2633 | ||
2634 | local targleftshoulder = leftshoulder | |
2635 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end | |
2636 | doing = true | |
2637 | local weld2 = arm:FindFirstChildOfClass('Weld') | |
2638 | local weld3 = arm2:FindFirstChildOfClass('Weld') | |
2639 | local humanroot = me.HumanoidRootPart | |
2640 | ||
2641 | for i = 0,1,0.2 do | |
2642 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2643 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 1.7, -0.5)* CFrame.Angles(-0.25, 1, -1.4), i) | |
2644 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1.6, -0.5)* CFrame.Angles(-1.5, -1, 1.1), i) | |
2645 | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i) | |
2646 | if targetweld2 then | |
2647 | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i) | |
2648 | end | |
2649 | wait(0.01) | |
2650 | end | |
2651 | ||
2652 | audio:Stop() | |
2653 | audio.SoundId = "rbxassetid://536642316" | |
2654 | tone = math.random(1, 3) | |
2655 | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0.08 end | |
2656 | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0.1 end | |
2657 | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0.12 end | |
2658 | audio:Play() | |
2659 | ||
2660 | local slightthrow = Instance.new("BodyVelocity", grabbed.Torso) | |
2661 | slightthrow.Velocity = Vector3.new(0,20,0)+(me.Torso.CFrame.lookVector*20) | |
2662 | slightthrow.P = 5000 | |
2663 | slightthrow.MaxForce = Vector3.new(9000001,9000001,9000001) | |
2664 | local point = grabbed.Torso.Position | |
2665 | local aaaaaa = grabbed | |
2666 | liedown() | |
2667 | ||
2668 | rightshoulderz:Clone().Parent = me.Torso | |
2669 | leftshoulderz:Clone().Parent = me.Torso | |
2670 | grabbed = nil | |
2671 | ||
2672 | if humanroot:FindFirstChild('Holder') then | |
2673 | humanroot.Holder:Destroy() | |
2674 | end | |
2675 | local coru = coroutine.wrap(function() | |
2676 | while aaaaaa and aaaaaa:FindFirstChild('Torso') and (aaaaaa.Torso.Position-point).magnitude < 5 do wait(0.001) end | |
2677 | if aaaaaa:FindFirstChildOfClass('Humanoid') then | |
2678 | aaaaaa:FindFirstChildOfClass('Humanoid').Name = "Humanoid" | |
2679 | aaaaaa:FindFirstChildOfClass('Humanoid').JumpPower = 50 | |
2680 | aaaaaa:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 | |
2681 | end | |
2682 | slightthrow:Remove() | |
2683 | end) | |
2684 | coru() | |
2685 | ||
2686 | for i = 0,1,0.05 do | |
2687 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
2688 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
2689 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i) | |
2690 | wait(0.01) | |
2691 | end | |
2692 | weld2:Destroy() | |
2693 | weld3:Destroy() | |
2694 | targetweld:Remove() | |
2695 | if targetweld2 then | |
2696 | targetweld2:Remove() | |
2697 | end | |
2698 | if rightshoulder then | |
2699 | rightshoulder:Clone().Parent = tors | |
2700 | end | |
2701 | if leftshoulder then | |
2702 | leftshoulder:Clone().Parent = tors | |
2703 | end | |
2704 | headweld:Clone().Parent = tors | |
2705 | rightshoulderz:Clone().Parent = me.Torso | |
2706 | leftshoulderz:Clone().Parent = me.Torso | |
2707 | acting = false | |
2708 | canClick = true | |
2709 | doing = false | |
2710 | end) | |
2711 | doit() | |
2712 | end | |
2713 | ||
2714 | cfn,ang,mr,int=CFrame.new,CFrame.Angles,math.rad,Instance.new | |
2715 | bc=BrickColor.new | |
2716 | local minimumsize = Vector3.new(0.7,0.7,0.7) | |
2717 | local surface_between_splitted_parts = 'SmoothNoOutlines' | |
2718 | local fragmentable = workspace | |
2719 | local list = {} | |
2720 | local brickcount = 0 | |
2721 | local storage = {} | |
2722 | local fillup = 1000 | |
2723 | local maximumstorage = 2000 | |
2724 | local storage_position = Vector3.new(0,0,5000) | |
2725 | local stored_partsize = Vector3.new(1,1,1) | |
2726 | local parts_created_per_frame = 5 | |
2727 | ||
2728 | local minimumsize = Vector3.new(0.7,0.7,0.7) | |
2729 | local surface_between_splitted_parts = 'SmoothNoOutlines' | |
2730 | local fragmentable = workspace | |
2731 | local list = {} | |
2732 | local brickcount = 0 | |
2733 | local storage = {} | |
2734 | local fillup = 1000 | |
2735 | local maximumstorage = 2000 | |
2736 | local storage_position = Vector3.new(0,0,5000) | |
2737 | local stored_partsize = Vector3.new(1,1,1) | |
2738 | local parts_created_per_frame = 5 | |
2739 | ||
2740 | ||
2741 | function fragmentate(cframe,size,color,explosion_position,explosion_blastradius,backsurface,bottomsurface,frontsurface,leftsurface,rightsurface,topsurface,transparency,reflectance,material) | |
2742 | local xi = size.X >= minimumsize.X*(1+explosion_blastradius/16) and 2 or 1 | |
2743 | local yi = size.Y >= minimumsize.Y*(1+explosion_blastradius/16) and 2 or 1 | |
2744 | local zi = size.Z >= minimumsize.Z*(1+explosion_blastradius/16) and 2 or 1 | |
2745 | if xi == 1 and yi == 1 and zi == 1 or (cframe.p-explosion_position).magnitude > size.magnitude/2 + explosion_blastradius then | |
2746 | if xi == 1 and yi == 1 and zi == 1 then return end | |
2747 | if #storage > 0 then | |
2748 | local p = storage[1] | |
2749 | p.BrickColor = color | |
2750 | p.Size = size | |
2751 | p.Anchored = false | |
2752 | p.BackSurface = backsurface | |
2753 | p.BottomSurface = bottomsurface | |
2754 | p.FrontSurface = frontsurface | |
2755 | p.LeftSurface = leftsurface | |
2756 | p.RightSurface = rightsurface | |
2757 | p.TopSurface = topsurface | |
2758 | p.Transparency = transparency | |
2759 | p.CFrame = cframe | |
2760 | p.Reflectance = reflectance | |
2761 | p.Material = material | |
2762 | game:GetService('Debris'):AddItem(p,30) | |
2763 | p:BreakJoints() | |
2764 | table.remove(storage,1) | |
2765 | else | |
2766 | local p = Instance.new("Part",fragmentable) | |
2767 | p.BrickColor = color | |
2768 | p.FormFactor = "Custom" | |
2769 | p.Size = size | |
2770 | p.BackSurface = backsurface | |
2771 | p.BottomSurface = bottomsurface | |
2772 | p.FrontSurface = frontsurface | |
2773 | p.LeftSurface = leftsurface | |
2774 | p.RightSurface = rightsurface | |
2775 | p.TopSurface = topsurface | |
2776 | p.Transparency = transparency | |
2777 | p.Material = material | |
2778 | if p.Transparency>0.285 then | |
2779 | p.Anchored = false | |
2780 | else | |
2781 | p.Anchored=false | |
2782 | p.Material='Wood' | |
2783 | game:GetService('Debris'):AddItem(p,10) | |
2784 | end | |
2785 | p.CFrame = cframe | |
2786 | p.Reflectance = reflectance | |
2787 | p:BreakJoints() | |
2788 | end | |
2789 | return | |
2790 | end | |
2791 | local mody = math.random(-125,125)/1000 | |
2792 | for y = 1,yi do | |
2793 | if math.random()> 0.5 then | |
2794 | local modx = math.random(-125,125)/1000 | |
2795 | for x = 1,xi do | |
2796 | local modz = math.random(-125,125)/1000 | |
2797 | for z = 1,zi do --offset = x/xi-0.75+modx) | |
2798 | 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)), | |
2799 | 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, | |
2800 | 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, | |
2801 | z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface, | |
2802 | 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, | |
2803 | y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material) | |
2804 | end | |
2805 | ||
2806 | end | |
2807 | else | |
2808 | local modz = math.random(-125,125)/1000 | |
2809 | for z = 1,zi do | |
2810 | local modx = math.random(-125,125)/1000 | |
2811 | for x = 1,xi do | |
2812 | 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)), | |
2813 | 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, | |
2814 | zi == 2 and size.Z*(1-2*math.abs(z/zi-0.75+modz)) or size.Z),color,explosion_position,explosion_blastradius, | |
2815 | z~=zi and surface_between_splitted_parts or backsurface,y==2 and surface_between_splitted_parts or bottomsurface, | |
2816 | 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, | |
2817 | y~=yi and surface_between_splitted_parts or topsurface,transparency,reflectance,material) | |
2818 | end | |
2819 | end | |
2820 | end | |
2821 | end | |
2822 | end | |
2823 | ||
2824 | function start_fragmentation(position,radius,nuh) | |
2825 | local search = Region3.new(position-Vector3.new(radius,radius,radius)*1.1,position+Vector3.new(radius,radius,radius)*1.1) | |
2826 | repeat | |
2827 | local finish = false | |
2828 | local parts = workspace:FindPartsInRegion3WithIgnoreList(search,list,100) | |
2829 | for i = 1,#parts do | |
2830 | table.insert(list,1,parts[i]) | |
2831 | end | |
2832 | finish = true | |
2833 | until #parts < 100 and finish | |
2834 | local t = tick() | |
2835 | for i = 1,#list do | |
2836 | local p = list[i] | |
2837 | 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 | |
2838 | 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) | |
2839 | if #storage < maximumstorage and p.Shape == "Block" then | |
2840 | p.Anchored = false | |
2841 | p.FormFactor = "Custom" | |
2842 | p.Size = stored_partsize | |
2843 | p.Position = storage_position | |
2844 | table.insert(storage,1,p) | |
2845 | else | |
2846 | p:Destroy() | |
2847 | end | |
2848 | end | |
2849 | 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 | |
2850 | 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) | |
2851 | if #storage < maximumstorage and p.Shape == "Block" then | |
2852 | p.Anchored = false | |
2853 | p.Material='Wood' | |
2854 | p.FormFactor = "Custom" | |
2855 | p.Size = stored_partsize | |
2856 | p.Position = storage_position | |
2857 | table.insert(storage,1,p) | |
2858 | else | |
2859 | p:Destroy() | |
2860 | end | |
2861 | end | |
2862 | end | |
2863 | list = {} | |
2864 | end | |
2865 | ||
2866 | ||
2867 | function fling() | |
2868 | local doit = coroutine.wrap(function() | |
2869 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') then | |
2870 | acting = true | |
2871 | for i=1,finishnum do | |
2872 | local weld2 = Instance.new('Weld',me["Right Arm"]) | |
2873 | weld2.Part0 = me["Right Arm"] | |
2874 | weld2.Part1 = me["Torso"] | |
2875 | weld2.C0 = CFrame.new(-1.5,0,0) | |
2876 | if finishnum == 1 then | |
2877 | for i = 0,1,0.05 do | |
2878 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
2879 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) | |
2880 | wait(0.01) | |
2881 | end | |
2882 | end | |
2883 | audio.SoundId = "rbxassetid://166083610" | |
2884 | audio.PlaybackSpeed = 1 | |
2885 | audio.TimePosition = 0.1 | |
2886 | audio:Play() | |
2887 | if finishnum == 1 then | |
2888 | for i = 0,1,0.5 do | |
2889 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
2890 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i) | |
2891 | wait(0.001) | |
2892 | end | |
2893 | end | |
2894 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
2895 | local knofe = obj1:Clone() | |
2896 | for i, v in pairs(obj1:GetChildren()) do | |
2897 | if v:IsA('BasePart') then | |
2898 | v.Transparency = 1 | |
2899 | end | |
2900 | end | |
2901 | knofe.Parent = workspace | |
2902 | knofe.Name = "Projectile" | |
2903 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
2904 | knofe:FindFirstChild("Trail", true).Enabled = true | |
2905 | local heck = Instance.new('BodyVelocity',knofe.Grab) | |
2906 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120 | |
2907 | local coru = coroutine.wrap(function() | |
2908 | wait(0.45) | |
2909 | if heck then | |
2910 | heck:Destroy() | |
2911 | end | |
2912 | end) | |
2913 | coru() | |
2914 | local able = true | |
2915 | knofe["big ass knife"].Touched:connect(function(hit) | |
2916 | 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 | |
2917 | local thing = hit.Parent:FindFirstChildOfClass('Humanoid') | |
2918 | local ree = hit.Parent | |
2919 | if thing == nil then | |
2920 | ree = hit.Parent.Parent | |
2921 | end | |
2922 | if ree:FindFirstChildOfClass('Humanoid').Health > 0 then | |
2923 | knofe:FindFirstChild("Trail", true).Enabled = false | |
2924 | game:GetService('Debris'):AddItem(knofe,5) | |
2925 | tone = math.random(1, 3) | |
2926 | local sound = Instance.new('Sound',knofe.Grab) | |
2927 | if tone == 1 then sound.SoundId = "rbxassetid://220833967" end | |
2928 | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end | |
2929 | if tone == 3 then sound.SoundId = "rbxassetid://220834000" end | |
2930 | sound.PlaybackSpeed = 1 | |
2931 | sound:Play() | |
2932 | for i, v in pairs(knofe:GetChildren()) do | |
2933 | if v:IsA('BasePart') then | |
2934 | v.CanCollide = true | |
2935 | v.Anchored = true | |
2936 | end | |
2937 | end | |
2938 | hit.Anchored = true | |
2939 | if ree:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then | |
2940 | ree:FindFirstChildOfClass('Humanoid').Health = 0 | |
2941 | end | |
2942 | wait() | |
2943 | killz(ree,hit.Name,knofe) | |
2944 | else | |
2945 | knofe:FindFirstChild("Trail", true).Enabled = false | |
2946 | heck.Velocity = Vector3.new(0,0,0) | |
2947 | heck:Destroy() | |
2948 | game:GetService('Debris'):AddItem(knofe,5) | |
2949 | tone = math.random(1, 3) | |
2950 | local sound = Instance.new('Sound',knofe.Grab) | |
2951 | if tone == 1 then sound.SoundId = "rbxassetid://220833967" end | |
2952 | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end | |
2953 | if tone == 3 then sound.SoundId = "rbxassetid://220834000" end | |
2954 | sound.PlaybackSpeed = 1 | |
2955 | sound:Play() | |
2956 | for i, v in pairs(knofe:GetChildren()) do | |
2957 | if v:IsA('BasePart') then | |
2958 | v.Anchored = false | |
2959 | end | |
2960 | end | |
2961 | hit.Anchored = true | |
2962 | wait(0.001) | |
2963 | hit.Anchored = false | |
2964 | for i, v in pairs(knofe:GetChildren()) do | |
2965 | if v:IsA('BasePart') then | |
2966 | v.Anchored = false | |
2967 | end | |
2968 | end | |
2969 | if knofe then | |
2970 | local coru = coroutine.wrap(function() | |
2971 | if hit then | |
2972 | local uno = Instance.new('Part',workspace) | |
2973 | local dos = Instance.new('Part',workspace) | |
2974 | uno.CFrame = hit.CFrame | |
2975 | dos.CFrame = knofe["big ass knife"].CFrame | |
2976 | local weld = Instance.new('Weld',knofe["big ass knife"]) | |
2977 | weld.Part0 = hit | |
2978 | weld.Part1 = knofe["big ass knife"] | |
2979 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
2980 | uno:Destroy() | |
2981 | dos:Destroy() | |
2982 | end | |
2983 | end) | |
2984 | coru() | |
2985 | end | |
2986 | end | |
2987 | elseif hit.Parent and hit.Parent ~= me and hit.Parent.Parent ~= me and hit.CanCollide and knofe.Grab.CanCollide == false then | |
2988 | if hit.Transparency and (hit.Transparency<=0.285 or hit:GetMass()<=3000) then | |
2989 | knofe:FindFirstChild("Trail", true).Enabled = false | |
2990 | local sound = Instance.new('Sound',knofe.Grab) | |
2991 | sound.SoundId = 'rbxassetid://267585646' | |
2992 | sound:Play() | |
2993 | for i,v in pairs(knofe:GetChildren()) do | |
2994 | if v:IsA('BasePart') then | |
2995 | v.Anchored = true | |
2996 | end | |
2997 | end | |
2998 | wait() | |
2999 | heck.Velocity = Vector3.new(0,0,0) | |
3000 | heck:Destroy() | |
3001 | local uno = Instance.new('Part',workspace) | |
3002 | local dos = Instance.new('Part',workspace) | |
3003 | uno.CFrame = hit.CFrame | |
3004 | dos.CFrame = knofe["big ass knife"].CFrame | |
3005 | local weld = Instance.new('Weld',knofe["big ass knife"]) | |
3006 | weld.Part0 = hit | |
3007 | weld.Part1 = knofe["big ass knife"] | |
3008 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
3009 | uno:Destroy() | |
3010 | dos:Destroy() | |
3011 | for i,v in pairs(knofe:GetChildren()) do | |
3012 | if v:IsA('BasePart') then | |
3013 | v.Anchored = false | |
3014 | end | |
3015 | end | |
3016 | game:GetService('Debris'):AddItem(knofe,5) | |
3017 | for i,v in pairs(knofe:GetChildren()) do | |
3018 | if v:IsA('BasePart') then | |
3019 | v.CanCollide = true | |
3020 | end | |
3021 | end | |
3022 | end | |
3023 | 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 | |
3024 | knofe:FindFirstChild("Trail", true).Enabled = false | |
3025 | able = false | |
3026 | local sound = Instance.new('Sound',knofe.Grab) | |
3027 | sound.SoundId = 'rbxassetid://144884907' | |
3028 | sound:Play() | |
3029 | local coru = coroutine.wrap(function() | |
3030 | start_fragmentation(knofe["big ass knife"].Position,1.25,knofe) | |
3031 | end) | |
3032 | coru() | |
3033 | end | |
3034 | end | |
3035 | end) | |
3036 | if finishnum == 1 then | |
3037 | for i= 0,1,0.1 do | |
3038 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3039 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
3040 | wait(0.001) | |
3041 | end | |
3042 | else | |
3043 | for i= 0,1,0.5 do | |
3044 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3045 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
3046 | wait(0.001) | |
3047 | end | |
3048 | end | |
3049 | for i,v in pairs(obj1:GetChildren()) do | |
3050 | if v:IsA('BasePart') then | |
3051 | v.Transparency = 0 | |
3052 | end | |
3053 | end | |
3054 | weld2:Destroy() | |
3055 | rightshoulderz:Clone().Parent = me.Torso | |
3056 | end | |
3057 | acting = false | |
3058 | canClick = true | |
3059 | end | |
3060 | end) | |
3061 | doit() | |
3062 | end | |
3063 | ||
3064 | function instasplode() | |
3065 | local coru = coroutine.wrap(function() | |
3066 | acting = true | |
3067 | for i=1,1 do | |
3068 | local weld2 = Instance.new('Weld',me["Right Arm"]) | |
3069 | weld2.Part0 = me["Right Arm"] | |
3070 | weld2.Part1 = me["Torso"] | |
3071 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3072 | if finishnum == 1 then | |
3073 | for i = 0,1,0.05 do | |
3074 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3075 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) | |
3076 | wait(0.01) | |
3077 | end | |
3078 | end | |
3079 | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) | |
3080 | audio.SoundId = "rbxassetid://166083610" | |
3081 | audio.PlaybackSpeed = 1 | |
3082 | audio.TimePosition = 0.1 | |
3083 | audio:Play() | |
3084 | if finishnum == 1 then | |
3085 | for i = 0,1,0.5 do | |
3086 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3087 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i) | |
3088 | wait(0.001) | |
3089 | end | |
3090 | end | |
3091 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
3092 | local knofe = obj1:Clone() | |
3093 | for i,v in pairs(obj1:GetChildren()) do | |
3094 | if v:IsA('BasePart') then | |
3095 | v.Transparency = 1 | |
3096 | end | |
3097 | end | |
3098 | knofe.Parent = workspace | |
3099 | knofe.Name = "Projectile" | |
3100 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
3101 | knofe:FindFirstChild("Trail", true).Enabled = false | |
3102 | fireofjesUS = Instance.new("Fire", knofe.Grab) | |
3103 | local heck = Instance.new('BodyVelocity',knofe.Grab) | |
3104 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120 | |
3105 | local coru = coroutine.wrap(function() | |
3106 | wait(0.45) | |
3107 | if heck then | |
3108 | heck:Destroy() | |
3109 | end | |
3110 | end) | |
3111 | coru() | |
3112 | knofe["big ass knife"].Touched:connect(function(hit) | |
3113 | if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then | |
3114 | heck.Velocity = Vector3.new(0,0,0) | |
3115 | heck:Destroy() | |
3116 | for i,v in pairs(knofe:GetChildren()) do | |
3117 | if v:IsA('BasePart') then | |
3118 | v.CanCollide = true | |
3119 | end | |
3120 | end | |
3121 | local hum = hit.Parent:FindFirstChildOfClass('Humanoid') | |
3122 | if hum == nil then | |
3123 | hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid') | |
3124 | end | |
3125 | if knofe then | |
3126 | local coru = coroutine.wrap(function() | |
3127 | if hit then | |
3128 | local uno = Instance.new('Part',workspace) | |
3129 | local dos = Instance.new('Part',workspace) | |
3130 | uno.CFrame = hit.CFrame | |
3131 | dos.CFrame = knofe["big ass knife"].CFrame | |
3132 | local weld = Instance.new('Weld',knofe["big ass knife"]) | |
3133 | weld.Part0 = hit | |
3134 | weld.Part1 = knofe["big ass knife"] | |
3135 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
3136 | uno:Destroy() | |
3137 | dos:Destroy() | |
3138 | end | |
3139 | end) | |
3140 | coru() | |
3141 | end | |
3142 | local sound = Instance.new('Sound',knofe.Grab) | |
3143 | sound.Name = "BOOM" | |
3144 | sound.EmitterSize = 25 | |
3145 | sound.SoundId = 'rbxassetid://476477344' | |
3146 | sound.Volume = 0.5 | |
3147 | sound:Play() | |
3148 | local exppart = Instance.new("Part", game.Workspace) | |
3149 | exppart.Size = Vector3.new(0.2, 0.2, 0.2) | |
3150 | exppart.Anchored = true | |
3151 | exppart.CanCollide = false | |
3152 | exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p) | |
3153 | exppart.Transparency = 1 | |
3154 | local expaccent = Instance.new("ParticleEmitter", exppart) | |
3155 | expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))}) | |
3156 | expaccent.LightEmission = 0.2 | |
3157 | expaccent.LightInfluence = 0.3 | |
3158 | expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) | |
3159 | expaccent.Acceleration = Vector3.new(0, 30, 0) | |
3160 | expaccent.Drag = 15 | |
3161 | expaccent.LockedToPart = false | |
3162 | expaccent.Lifetime = NumberRange.new(0.5, 1.5) | |
3163 | expaccent.Rate = 2000 | |
3164 | expaccent.Speed = NumberRange.new(0,0) | |
3165 | expaccent.SpreadAngle = Vector2.new(360, 360) | |
3166 | expaccent:Clone().Parent = exppart | |
3167 | expaccent:Clone().Parent = exppart | |
3168 | local exp = Instance.new('Explosion',game.Workspace) | |
3169 | exp.Position = knofe["big ass knife"].Position | |
3170 | exp.ExplosionType = Enum.ExplosionType.NoCraters | |
3171 | exp.BlastRadius = 5 | |
3172 | exp.Visible = false | |
3173 | exp.BlastPressure = 0 | |
3174 | exp.DestroyJointRadiusPercent = 0 | |
3175 | exp.Hit:connect(function(hit) | |
3176 | if hit.Parent and hit.Parent ~= me and hit.Parent.Name ~= "bitch ass knife" then | |
3177 | wait(0.001) | |
3178 | tgt = hit | |
3179 | local coru=coroutine.wrap(function(tgtt) | |
3180 | local fireofgods = Instance.new("Fire", tgtt) | |
3181 | fireofgods.Size = 0 | |
3182 | fireofgods.Heat = 0 | |
3183 | local fireofgodsaccent = expaccent:Clone() | |
3184 | fireofgodsaccent.Parent = hit | |
3185 | fireofgodsaccent.Rate = 0 | |
3186 | fireofgodsaccent.Speed = NumberRange.new(5, 50) | |
3187 | fireofgodsaccent.SpreadAngle = Vector2.new(45, 45) | |
3188 | fireofgodsaccent.Acceleration = Vector3.new(0, 20, 0) | |
3189 | ||
3190 | while fireofgods.Size < 10 do | |
3191 | fireofgods.Size = fireofgods.Size + 0.1 | |
3192 | fireofgods.Heat = fireofgods.Heat + 0.1 | |
3193 | fireofgodsaccent.Rate = fireofgodsaccent.Rate + 1 | |
3194 | wait() | |
3195 | end | |
3196 | if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then | |
3197 | hit:BreakJoints() | |
3198 | elseif hit.Parent and hit.Parent:IsA('Accessory') then | |
3199 | for i,v in pairs(hit:GetChildren()) do | |
3200 | if v:IsA('SpecialMesh') then | |
3201 | v.TextureId = "" | |
3202 | end | |
3203 | end | |
3204 | end | |
3205 | hit.BrickColor = BrickColor.new("Black") | |
3206 | for i,v in pairs(hit.Parent:GetChildren()) do | |
3207 | if v:IsA('Shirt') or v:IsA('Pants') then | |
3208 | v:Destroy() | |
3209 | end | |
3210 | end | |
3211 | ||
3212 | while fireofgods.Size > 5 do | |
3213 | fireofgods.Size = fireofgods.Size - 0.1 | |
3214 | fireofgods.Heat = fireofgods.Heat - 0.1 | |
3215 | wait() | |
3216 | end | |
3217 | fireofgods:Destroy() | |
3218 | if hit.Parent then | |
3219 | if hit.Parent:FindFirstChildOfClass('Humanoid') == nil and hit.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil then | |
3220 | local p = hit | |
3221 | 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) | |
3222 | hit:Remove() | |
3223 | elseif hit.Parent:FindFirstChildOfClass('Humanoid') ~= nil then | |
3224 | print(hit.Name) | |
3225 | if hit.Name == "Torso" or hit.Name == "Head" then | |
3226 | print('ohhh YAAAA') | |
3227 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0 | |
3228 | end | |
3229 | wait() | |
3230 | killz(hit.Parent,hit.Name,nil,nil,false,false,true) | |
3231 | end | |
3232 | end | |
3233 | end) | |
3234 | coru(tgt) | |
3235 | end | |
3236 | end) | |
3237 | local explosionaccenttimeout = coroutine.wrap(function() | |
3238 | wait(0.2) | |
3239 | for i, exploodn in pairs(exppart:GetChildren()) do | |
3240 | exploodn.Enabled = false | |
3241 | end | |
3242 | wait(2) | |
3243 | for i, exploodn in pairs(exppart:GetChildren()) do | |
3244 | exploodn:Remove() | |
3245 | end | |
3246 | end) | |
3247 | explosionaccenttimeout() | |
3248 | for i,v in pairs(knofe:GetChildren()) do | |
3249 | if v:IsA('BasePart') then | |
3250 | v.Transparency = 1 | |
3251 | end | |
3252 | end | |
3253 | exp.AncestryChanged:connect(function() knofe:Destroy() end) | |
3254 | coru() | |
3255 | end | |
3256 | end) | |
3257 | if finishnum == 1 then | |
3258 | for i= 0,1,0.1 do | |
3259 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3260 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
3261 | wait(0.001) | |
3262 | end | |
3263 | else | |
3264 | wait(0.1) | |
3265 | end | |
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 fireworkit() | |
3282 | local coru = coroutine.wrap(function() | |
3283 | acting = true | |
3284 | local ree = 1 | |
3285 | if finishnum > 1 then | |
3286 | ree = 3 | |
3287 | end | |
3288 | for i=1,ree do | |
3289 | local weld2 = Instance.new('Weld',me["Right Arm"]) | |
3290 | weld2.Part0 = me["Right Arm"] | |
3291 | weld2.Part1 = me["Torso"] | |
3292 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3293 | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) | |
3294 | audio.SoundId = "rbxassetid://166083610" | |
3295 | audio.PlaybackSpeed = 1 | |
3296 | audio.TimePosition = 0.1 | |
3297 | audio:Play() | |
3298 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
3299 | local knofe = obj1:Clone() | |
3300 | for i,v in pairs(obj1:GetChildren()) do | |
3301 | if v:IsA('BasePart') then | |
3302 | v.Transparency = 1 | |
3303 | end | |
3304 | end | |
3305 | local sound = Instance.new('Sound',knofe.Grab) | |
3306 | sound.Volume = 0.25 | |
3307 | sound.EmitterSize = 200 | |
3308 | sound.MaxDistance = 300 | |
3309 | sound.SoundId = 'rbxassetid://551051176' | |
3310 | sound:Play() | |
3311 | knofe.Parent = workspace | |
3312 | knofe.Name = "Projectile" | |
3313 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
3314 | local partic = Instance.new('ParticleEmitter',knofe.Grab) | |
3315 | 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))}) | |
3316 | partic.LightEmission = 0.5 | |
3317 | partic.LightInfluence = 0 | |
3318 | partic.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.15)}) | |
3319 | partic.Rotation = NumberRange.new(0,90) | |
3320 | partic.SpreadAngle = Vector2.new(5,5) | |
3321 | partic.Speed = NumberRange.new(20) | |
3322 | partic.Texture = 'rbxassetid://603193846' | |
3323 | partic.EmissionDirection = Enum.NormalId.Left | |
3324 | partic.Lifetime = NumberRange.new(0.5,1) | |
3325 | partic.Rate = 100 | |
3326 | local heck = Instance.new('BodyVelocity',knofe.Grab) | |
3327 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*240 | |
3328 | local coru=coroutine.wrap(function() | |
3329 | wait(1.2) | |
3330 | sound:Destroy() | |
3331 | local sound2 = Instance.new('Sound',workspace) | |
3332 | sound2.SoundId = 'rbxassetid://138080762' | |
3333 | sound2:Play() | |
3334 | if heck then | |
3335 | heck:Destroy() | |
3336 | end | |
3337 | for i,v in pairs(knofe:GetChildren()) do | |
3338 | v.Anchored = true | |
3339 | end | |
3340 | partic.Enabled = false | |
3341 | local colorscheme = math.random(1,4) | |
3342 | --1 - red & orange | |
3343 | --2 - blue & pink | |
3344 | --3 - green & purple | |
3345 | --4 - blue, red, white | |
3346 | local colar1 = Color3.fromRGB(255,0,0) | |
3347 | local colar2 = Color3.fromRGB(255,125,0) | |
3348 | local colar3 = Color3.fromRGB(255,255,255) | |
3349 | if colorscheme == 2 then | |
3350 | colar1 = Color3.fromRGB(0,132,255) | |
3351 | colar2 = Color3.fromRGB(243,105,255) | |
3352 | elseif colorscheme == 3 then | |
3353 | colar1 = Color3.fromRGB(76,255,0) | |
3354 | colar2 = Color3.fromRGB(128,0,255) | |
3355 | elseif colorscheme == 4 then | |
3356 | colar2 = Color3.fromRGB(0,132,255) | |
3357 | end | |
3358 | local partic2 = Instance.new('ParticleEmitter',knofe.Grab) | |
3359 | partic2.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar1),ColorSequenceKeypoint.new(1,colar1)}) | |
3360 | partic2.LightEmission = 0.5 | |
3361 | partic2.LightInfluence = 0 | |
3362 | partic2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5),NumberSequenceKeypoint.new(1,0.1)}) | |
3363 | partic2.Rotation = NumberRange.new(0,90) | |
3364 | partic2.SpreadAngle = Vector2.new(180,180) | |
3365 | partic2.Speed = NumberRange.new(20) | |
3366 | partic2.Texture = 'rbxassetid://603193846' | |
3367 | partic2.EmissionDirection = Enum.NormalId.Right | |
3368 | partic2.Lifetime = NumberRange.new(2,2.5) | |
3369 | partic2.Rate = 1000 | |
3370 | partic2.Drag = 1 | |
3371 | local partic3 = partic2:Clone() | |
3372 | partic3.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar2),ColorSequenceKeypoint.new(1,colar2)}) | |
3373 | partic3.Parent = knofe.Grab | |
3374 | if colorscheme == 4 then | |
3375 | local partic4 = partic2:Clone() | |
3376 | partic4.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,colar3),ColorSequenceKeypoint.new(1,colar3)}) | |
3377 | partic4.Parent = knofe.Grab | |
3378 | end | |
3379 | wait(1) | |
3380 | for i,v in pairs(knofe.Grab:GetChildren()) do | |
3381 | if v:IsA('ParticleEmitter') then | |
3382 | v.Enabled = false | |
3383 | end | |
3384 | end | |
3385 | sound:Destroy() | |
3386 | wait(2) | |
3387 | knofe:Destroy() | |
3388 | end) | |
3389 | coru() | |
3390 | wait(0.1) | |
3391 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3392 | for i,v in pairs(obj1:GetChildren()) do | |
3393 | if v:IsA('BasePart') then | |
3394 | v.Transparency = 0 | |
3395 | end | |
3396 | end | |
3397 | weld2:Destroy() | |
3398 | rightshoulderz:Clone().Parent = me.Torso | |
3399 | end | |
3400 | acting = false | |
3401 | canClick = true | |
3402 | end) | |
3403 | coru() | |
3404 | end | |
3405 | ||
3406 | function paralyze() | |
3407 | local coru = coroutine.wrap(function() | |
3408 | if paralyzed == true then return end | |
3409 | paralyzed = true | |
3410 | local arm = me["Right Arm"] | |
3411 | local tors = grabbed.Torso | |
3412 | local arm2 = me["Left Arm"] | |
3413 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end | |
3414 | doing = true | |
3415 | local weld2 = arm:FindFirstChildOfClass('Weld') | |
3416 | local weld3 = arm2:FindFirstChildOfClass('Weld') | |
3417 | local humanroot = me.HumanoidRootPart | |
3418 | for i = 0,1,0.075 do | |
3419 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-2, 0, -1.5), i) | |
3420 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i) | |
3421 | wait(0.01) | |
3422 | end | |
3423 | for i = 0,1,0.30 do | |
3424 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-0.75, 0, -1.75), i) | |
3425 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.4, 0, 1.1), i) | |
3426 | wait(0.01) | |
3427 | end | |
3428 | killz(grabbed,'Left Leg') | |
3429 | killz(grabbed,'Left Arm') | |
3430 | killz(grabbed,'Right Leg') | |
3431 | killz(grabbed,'Right Arm') | |
3432 | ||
3433 | for i, v in pairs(grabbed:GetChildren()) do | |
3434 | if v.Name == "Part" then | |
3435 | v.CanCollide = false | |
3436 | end | |
3437 | end | |
3438 | ||
3439 | audio:Stop() | |
3440 | audio.SoundId = "rbxassetid://2801263" | |
3441 | tone = math.random(1, 3) | |
3442 | if tone == 1 then audio.PlaybackSpeed = 0.8 audio.TimePosition = 0 end | |
3443 | if tone == 2 then audio.PlaybackSpeed = 1 audio.TimePosition = 0 end | |
3444 | if tone == 3 then audio.PlaybackSpeed = 1.2 audio.TimePosition = 0 end | |
3445 | audio:Play() | |
3446 | ||
3447 | local bleedpart = Instance.new("Part", grabbed) | |
3448 | bleedpart.Size = Vector3.new(0.2, 0.2, 0.2) | |
3449 | bleedpart.Color = Color3.new(115/225, 115/225, 115/225) | |
3450 | bleedpart.CanCollide = false | |
3451 | bleedpart.Position = grabbed.Head.Position + Vector3.new(0, 1, 0) | |
3452 | bleedpart.Transparency = 1 | |
3453 | ||
3454 | local bleedpartweld = Instance.new("Weld", grabbed.Torso) | |
3455 | bleedpartweld.Part0 = grabbed.Torso | |
3456 | bleedpartweld.Part1 = bleedpart | |
3457 | bleedpartweld.C0 = CFrame.Angles(-1, 0, -0.35) * CFrame.new(0, 1, 0.8) | |
3458 | local cuntruu=coroutine.wrap(function() | |
3459 | bleed(bleedpart) | |
3460 | end) | |
3461 | local thicc = coroutine.wrap(function() | |
3462 | wait(3) | |
3463 | bleedpart:Remove() | |
3464 | end) | |
3465 | cuntruu() | |
3466 | thicc() | |
3467 | ||
3468 | for i = 0,1,0.075 do | |
3469 | weld2.C0 = weld2.C0:lerp(CFrame.new(-0.9, 0.80, -1.1)* CFrame.Angles(-1.5, 0, -1.3), i) | |
3470 | weld3.C0 = weld3.C0:lerp(CFrame.new(0.8, 1, -0.5)* CFrame.Angles(-1.5, 0, 1.1), i) | |
3471 | wait(0.01) | |
3472 | end | |
3473 | acting = true | |
3474 | canClick = true | |
3475 | doing = false | |
3476 | end) | |
3477 | coru() | |
3478 | end | |
3479 | ||
3480 | function explode() | |
3481 | local coru = coroutine.wrap(function() | |
3482 | acting = true | |
3483 | for i=1,finishnum do | |
3484 | local weld2 = Instance.new('Weld',me["Right Arm"]) | |
3485 | weld2.Part0 = me["Right Arm"] | |
3486 | weld2.Part1 = me["Torso"] | |
3487 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3488 | if finishnum == 1 then | |
3489 | for i = 0,1,0.05 do | |
3490 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3491 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0),i) | |
3492 | wait(0.01) | |
3493 | end | |
3494 | end | |
3495 | weld2.C0 = CFrame.new(-1.5,0.9,-0.5)*CFrame.Angles(-math.pi/0.75,-math.pi/8,0) | |
3496 | audio.SoundId = "rbxassetid://166083610" | |
3497 | audio.PlaybackSpeed = 1 | |
3498 | audio.TimePosition = 0.1 | |
3499 | audio:Play() | |
3500 | if finishnum == 1 then | |
3501 | for i = 0,1,0.5 do | |
3502 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3503 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0),i) | |
3504 | wait(0.001) | |
3505 | end | |
3506 | end | |
3507 | weld2.C0 = CFrame.new(-1.5,1.2,0.1)*CFrame.Angles(math.pi/0.9,0,0) | |
3508 | local knofe = obj1:Clone() | |
3509 | for i,v in pairs(obj1:GetChildren()) do | |
3510 | if v:IsA('BasePart') then | |
3511 | v.Transparency = 1 | |
3512 | end | |
3513 | end | |
3514 | knofe.Parent = workspace | |
3515 | knofe.Name = "Projectile" | |
3516 | knofe.Grab.CFrame = CFrame.new(knofe.Grab.CFrame.p, mouse.Hit.p)*CFrame.Angles(0,math.pi/2,0) | |
3517 | knofe:FindFirstChild("Trail", true).Enabled = false | |
3518 | local heck = Instance.new('BodyVelocity',knofe.Grab) | |
3519 | heck.Velocity = (knofe.Grab.CFrame*CFrame.Angles(0,math.pi/-2,0)).lookVector*120 | |
3520 | local coru = coroutine.wrap(function() | |
3521 | wait(0.45) | |
3522 | if heck then | |
3523 | heck:Destroy() | |
3524 | end | |
3525 | end) | |
3526 | coru() | |
3527 | knofe["big ass knife"].Touched:connect(function(hit) | |
3528 | if hit.Parent ~= me and hit.Parent.Parent ~= me and hit.Transparency < 1 and knofe.Grab.CanCollide == false then | |
3529 | heck.Velocity = Vector3.new(0,0,0) | |
3530 | heck:Destroy() | |
3531 | for i,v in pairs(knofe:GetChildren()) do | |
3532 | if v:IsA('BasePart') then | |
3533 | v.CanCollide = true | |
3534 | end | |
3535 | end | |
3536 | local hum = hit.Parent:FindFirstChildOfClass('Humanoid') | |
3537 | if hum == nil then | |
3538 | hum = hit.Parent.Parent:FindFirstChildOfClass('Humanoid') | |
3539 | end | |
3540 | if hum then | |
3541 | tone = math.random(1, 3) | |
3542 | local sound = Instance.new('Sound',knofe.Grab) | |
3543 | if tone == 1 then sound.SoundId = "rbxassetid://220833967" end | |
3544 | if tone == 2 then sound.SoundId = "rbxassetid://220833976" end | |
3545 | if tone == 3 then sound.SoundId = "rbxassetid://220834000" end | |
3546 | sound.PlaybackSpeed = 1 | |
3547 | sound:Play() | |
3548 | else | |
3549 | local sound = Instance.new('Sound',knofe.Grab) | |
3550 | sound.SoundId = 'rbxassetid://267585646' | |
3551 | sound:Play() | |
3552 | end | |
3553 | if knofe then | |
3554 | local coru = coroutine.wrap(function() | |
3555 | if hit then | |
3556 | local uno = Instance.new('Part',workspace) | |
3557 | local dos = Instance.new('Part',workspace) | |
3558 | uno.CFrame = hit.CFrame | |
3559 | dos.CFrame = knofe["big ass knife"].CFrame | |
3560 | local weld = Instance.new('Weld',knofe["big ass knife"]) | |
3561 | weld.Part0 = hit | |
3562 | weld.Part1 = knofe["big ass knife"] | |
3563 | weld.C0 = uno.CFrame:toObjectSpace(dos.CFrame) | |
3564 | uno:Destroy() | |
3565 | dos:Destroy() | |
3566 | end | |
3567 | end) | |
3568 | coru() | |
3569 | end | |
3570 | local coru = coroutine.wrap(function() | |
3571 | for i=1,15,0.7 do | |
3572 | local sound = Instance.new('Sound',knofe.Grab) | |
3573 | if knofe then | |
3574 | if knofe.serration.BrickColor == BrickColor.new('Really red') then | |
3575 | for i, v in pairs(knofe:GetChildren()) do | |
3576 | if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then | |
3577 | v.BrickColor = BrickColor.new('Lily white') | |
3578 | v.Material = Enum.Material.SmoothPlastic | |
3579 | end | |
3580 | end | |
3581 | else | |
3582 | for i,v in pairs(knofe:GetChildren()) do | |
3583 | if v.Name == "big ass knife" or v.Name == "serration" or v.Name == "knifetip1" or v.Name == "fricc" then | |
3584 | v.BrickColor = BrickColor.new('Really red') | |
3585 | v.Material = Enum.Material.Neon | |
3586 | sound.SoundId = 'rbxassetid://300473653' | |
3587 | sound.Volume = 0.75 | |
3588 | sound.TimePosition = 0.05 | |
3589 | sound.EmitterSize = 25 | |
3590 | sound.PlaybackSpeed = 1 | |
3591 | sound:Play() | |
3592 | end | |
3593 | end | |
3594 | end | |
3595 | wait(1/i) | |
3596 | sound:Destroy() | |
3597 | end | |
3598 | end | |
3599 | local sound = Instance.new('Sound',knofe.Grab) | |
3600 | sound.Name = "BOOM" | |
3601 | sound.EmitterSize = 25 | |
3602 | sound.SoundId = 'rbxassetid://12222084' | |
3603 | sound.TimePosition = 0.1 | |
3604 | sound.Volume = 0.5 | |
3605 | sound:Play() | |
3606 | local exppart = Instance.new("Part", game.Workspace) | |
3607 | exppart.Size = Vector3.new(0.2, 0.2, 0.2) | |
3608 | exppart.Anchored = true | |
3609 | exppart.CanCollide = false | |
3610 | exppart.CFrame = CFrame.new(knofe.Grab.CFrame.p) | |
3611 | exppart.Transparency = 1 | |
3612 | local expaccent = Instance.new("ParticleEmitter", exppart) | |
3613 | expaccent.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))}) | |
3614 | expaccent.LightEmission = 0.2 | |
3615 | expaccent.LightInfluence = 0.3 | |
3616 | expaccent.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) | |
3617 | expaccent.Acceleration = Vector3.new(0, -8, 0) | |
3618 | expaccent.Drag = 15 | |
3619 | expaccent.LockedToPart = true | |
3620 | expaccent.Lifetime = NumberRange.new(0.5, 1.5) | |
3621 | expaccent.Rate = 2000 | |
3622 | expaccent.Speed = NumberRange.new(10, 150) | |
3623 | expaccent.SpreadAngle = Vector2.new(360, 360) | |
3624 | ||
3625 | local exp = Instance.new('Explosion',game.Workspace) | |
3626 | exp.Position = knofe["big ass knife"].Position | |
3627 | exp.ExplosionType = Enum.ExplosionType.NoCraters | |
3628 | exp.BlastRadius = 10 | |
3629 | exp.BlastPressure = 100000 | |
3630 | exp.DestroyJointRadiusPercent = 1 | |
3631 | exp.Hit:connect(function(hit) | |
3632 | if hit.Parent and hit.Parent ~= me and hit.Parent:FindFirstChildOfClass('Humanoid') then | |
3633 | if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Name == "Torso" or hit.Name == "Head" then | |
3634 | hit.Parent:FindFirstChildOfClass('Humanoid').Health = 0 | |
3635 | end | |
3636 | wait(0.001) | |
3637 | local coru=coroutine.wrap(function() | |
3638 | killz(hit.Parent,'Head',knofe,exp) | |
3639 | end) | |
3640 | coru() | |
3641 | elseif hit.Parent and hit.Parent ~= workspace and hit.Parent ~= me then | |
3642 | if hit.Parent.Name ~= "Projectile" then | |
3643 | hit.Parent:BreakJoints() | |
3644 | end | |
3645 | elseif hit.Parent and hit.Parent ~= me then | |
3646 | hit:BreakJoints() | |
3647 | end | |
3648 | end) | |
3649 | local explosionaccenttimeout = coroutine.wrap(function() | |
3650 | wait(0.2) | |
3651 | expaccent.Enabled = false | |
3652 | wait(2) | |
3653 | exppart:Remove() | |
3654 | end) | |
3655 | explosionaccenttimeout() | |
3656 | for i,v in pairs(knofe:GetChildren()) do | |
3657 | if v:IsA('BasePart') then | |
3658 | v.Transparency = 1 | |
3659 | end | |
3660 | end | |
3661 | exp.AncestryChanged:connect(function() knofe:Destroy() end) | |
3662 | end) | |
3663 | coru() | |
3664 | end | |
3665 | end) | |
3666 | if finishnum == 1 then | |
3667 | for i= 0,1,0.1 do | |
3668 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil then return end | |
3669 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
3670 | wait(0.001) | |
3671 | end | |
3672 | else | |
3673 | wait(0.1) | |
3674 | end | |
3675 | weld2.C0 = CFrame.new(-1.5,0,0) | |
3676 | for i,v in pairs(obj1:GetChildren()) do | |
3677 | if v:IsA('BasePart') then | |
3678 | v.Transparency = 0 | |
3679 | end | |
3680 | end | |
3681 | weld2:Destroy() | |
3682 | rightshoulderz:Clone().Parent = me.Torso | |
3683 | end | |
3684 | acting = false | |
3685 | canClick = true | |
3686 | end) | |
3687 | coru() | |
3688 | end | |
3689 | ||
3690 | function release() | |
3691 | if grabbed.Torso:FindFirstChild("TargetWeld") == nil or grabbed:FindFirstChildOfClass('Humanoid').Health <= 0 then return end | |
3692 | targetweld = grabbed.Torso.TargetWeld | |
3693 | local ree= grabbed:FindFirstChild("Left Arm") | |
3694 | targetweld2 = nil | |
3695 | if ree and ree:FindFirstChild("Weld") then | |
3696 | targetweld2 = ree.Weld | |
3697 | end | |
3698 | for i, v in pairs(grabbed:GetChildren()) do | |
3699 | if v.Name == "Part" then | |
3700 | v.CanCollide = true | |
3701 | end | |
3702 | end | |
3703 | paralyzed = false | |
3704 | local doit = coroutine.wrap(function() | |
3705 | local arm = me["Right Arm"] | |
3706 | local tors = grabbed.Torso | |
3707 | local arm2 = me["Left Arm"] | |
3708 | if arm:FindFirstChildOfClass('Weld') == nil or arm2:FindFirstChildOfClass('Weld') == nil then return end | |
3709 | doing = true | |
3710 | local weld2 = arm:FindFirstChildOfClass('Weld') | |
3711 | local weld3 = arm2:FindFirstChildOfClass('Weld') | |
3712 | local humanroot = me.HumanoidRootPart | |
3713 | ||
3714 | if grabbed:FindFirstChildOfClass('Humanoid') then | |
3715 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false | |
3716 | end | |
3717 | ||
3718 | rightshoulderz:Clone().Parent = me.Torso | |
3719 | leftshoulderz:Clone().Parent = me.Torso | |
3720 | if grabbed:FindFirstChildOfClass('Humanoid') then | |
3721 | grabbed:FindFirstChildOfClass('Humanoid').Name = "Humanoid" | |
3722 | grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 50 | |
3723 | grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 | |
3724 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = false | |
3725 | end | |
3726 | grabbed = nil | |
3727 | ||
3728 | if humanroot:FindFirstChild('Holder') then | |
3729 | humanroot.Holder:Destroy() | |
3730 | end | |
3731 | ||
3732 | for i = 0,1,0.1 do | |
3733 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld2 == nil or weld3 == nil then return end | |
3734 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0),i) | |
3735 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0),i) | |
3736 | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0, 0, 0), i) | |
3737 | if targetweld2 then | |
3738 | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0, 0)*CFrame.Angles(0, 0, 0), i) | |
3739 | end | |
3740 | wait(0.01) | |
3741 | end | |
3742 | ||
3743 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0.2) | |
3744 | weld2:Destroy() | |
3745 | weld3:Destroy() | |
3746 | targetweld:Remove() | |
3747 | if targetweld2 then | |
3748 | targetweld2:Remove() | |
3749 | end | |
3750 | if rightshoulder then | |
3751 | rightshoulder:Clone().Parent = tors | |
3752 | end | |
3753 | if leftshoulder then | |
3754 | leftshoulder:Clone().Parent = tors | |
3755 | end | |
3756 | headweld:Clone().Parent = tors | |
3757 | rightshoulderz:Clone().Parent = me.Torso | |
3758 | leftshoulderz:Clone().Parent = me.Torso | |
3759 | acting = false | |
3760 | canClick = true | |
3761 | doing = false | |
3762 | end) | |
3763 | doit() | |
3764 | end | |
3765 | ||
3766 | function stabwithpassion() | |
3767 | local doit = coroutine.wrap(function() | |
3768 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then | |
3769 | acting = true | |
3770 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 10 | |
3771 | local arm = me["Right Arm"] | |
3772 | local tors = me.Torso | |
3773 | local arm2 = me["Left Arm"] | |
3774 | local humanroot = me.HumanoidRootPart | |
3775 | local weld = Instance.new('Weld',tors) | |
3776 | weld.Part0 = tors | |
3777 | weld.Part1 = humanroot | |
3778 | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0) | |
3779 | local weld2 = Instance.new('Weld',arm) | |
3780 | weld2.Part0 = arm | |
3781 | weld2.Part1 = tors | |
3782 | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
3783 | local weld3 = Instance.new('Weld',arm2) | |
3784 | weld3.Part0 = arm2 | |
3785 | weld3.Part1 = tors | |
3786 | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) | |
3787 | ||
3788 | for i = 0,1,0.15 do | |
3789 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3790 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(20),0),i) | |
3791 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) | |
3792 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(90), -1.55) * CFrame.new(0, 0.95, 0), i) | |
3793 | wait(0.01) | |
3794 | end | |
3795 | wait(0.001) | |
3796 | trail.Enabled = true | |
3797 | stabbing = true | |
3798 | audio2.SoundId = 'rbxassetid://608537390' | |
3799 | audio2:Play() | |
3800 | for i = 0,1,0.2 do | |
3801 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3802 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,math.rad(-45),0),i) | |
3803 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,-1)*CFrame.Angles(math.rad(-90),0,-1),i) | |
3804 | wait(0.01) | |
3805 | end | |
3806 | trail.Enabled = false | |
3807 | wait(0.1) | |
3808 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 10 | |
3809 | stabbing = false | |
3810 | wait(0.001) | |
3811 | for i = 0,1,0.075 do | |
3812 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3813 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i) | |
3814 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i) | |
3815 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i) | |
3816 | knifeweld.C1 = knifeweld.C1:lerp(CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0), i) | |
3817 | wait(0.01) | |
3818 | end | |
3819 | weld:Destroy() | |
3820 | weld2:Destroy() | |
3821 | weld3:Destroy() | |
3822 | torsojoint:Clone().Parent = humanroot | |
3823 | rightshoulderz:Clone().Parent = me.Torso | |
3824 | leftshoulderz:Clone().Parent = me.Torso | |
3825 | canClick = true | |
3826 | hit = false | |
3827 | acting = false | |
3828 | end | |
3829 | end) | |
3830 | doit() | |
3831 | end | |
3832 | ||
3833 | function stab() | |
3834 | local doit = coroutine.wrap(function() | |
3835 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') and me:FindFirstChild('HumanoidRootPart') and me:FindFirstChild('Left Arm') then | |
3836 | acting = true | |
3837 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed + 3 | |
3838 | local arm = me["Right Arm"] | |
3839 | local tors = me.Torso | |
3840 | local arm2 = me["Left Arm"] | |
3841 | local humanroot = me.HumanoidRootPart | |
3842 | local weld = Instance.new('Weld',tors) | |
3843 | weld.Part0 = tors | |
3844 | weld.Part1 = humanroot | |
3845 | weld.C0 = CFrame.new(0,0,0) * CFrame.Angles(0, 0, 0) | |
3846 | local weld2 = Instance.new('Weld',arm) | |
3847 | weld2.Part0 = arm | |
3848 | weld2.Part1 = tors | |
3849 | weld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
3850 | local weld3 = Instance.new('Weld',arm2) | |
3851 | weld3.Part0 = arm2 | |
3852 | weld3.Part1 = tors | |
3853 | weld3.C0 = CFrame.new(1.5,0,-0.3) * CFrame.Angles(0.3,0.1,0) | |
3854 | ||
3855 | for i = 0,1,0.1 do | |
3856 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3857 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i) | |
3858 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.2,1.3,0.4)*CFrame.Angles(0.5,0,-1.2),i) | |
3859 | wait(0.01) | |
3860 | end | |
3861 | wait(0.001) | |
3862 | trail.Enabled = true | |
3863 | stabbing = true | |
3864 | audio2.SoundId = 'rbxassetid://608537390' | |
3865 | audio2:Play() | |
3866 | for i = 0,1,0.25 do | |
3867 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3868 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,-0.3,0),i) | |
3869 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.6,0.8,0.5)*CFrame.Angles(-0.5,0,-0.5),i) | |
3870 | wait(0.01) | |
3871 | end | |
3872 | trail.Enabled = false | |
3873 | wait(0.1) | |
3874 | me:FindFirstChildOfClass('Humanoid').WalkSpeed = me:FindFirstChildOfClass('Humanoid').WalkSpeed - 3 | |
3875 | for i = 0,1,0.25 do | |
3876 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3877 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0.3,0),i) | |
3878 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0.6,-0.3)*CFrame.Angles(0.5,0,-0.5),i) | |
3879 | wait(0.01) | |
3880 | end | |
3881 | stabbing = false | |
3882 | wait(0.001) | |
3883 | for i = 0,1,0.05 do | |
3884 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil or weld2 == nil or humanroot == nil then return end | |
3885 | weld.C0 = weld.C0:lerp(CFrame.new(0,0,0)*CFrame.Angles(0,0,0),i) | |
3886 | weld2.C0 = weld2.C0:lerp(CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,0),i) | |
3887 | weld3.C0 = weld3.C0:lerp(CFrame.new(1.5,0,0)*CFrame.Angles(0,0,0),i) | |
3888 | wait(0.01) | |
3889 | end | |
3890 | weld:Destroy() | |
3891 | weld2:Destroy() | |
3892 | weld3:Destroy() | |
3893 | torsojoint:Clone().Parent = humanroot | |
3894 | rightshoulderz:Clone().Parent = me.Torso | |
3895 | leftshoulderz:Clone().Parent = me.Torso | |
3896 | canClick = true | |
3897 | hit = false | |
3898 | acting = false | |
3899 | end | |
3900 | end) | |
3901 | doit() | |
3902 | end | |
3903 | function hardrelease() | |
3904 | rightshoulderz:Clone().Parent = me.Torso | |
3905 | leftshoulderz:Clone().Parent = me.Torso | |
3906 | if me:FindFirstChild('Right Arm') then | |
3907 | for i,v in pairs(me["Right Arm"]:GetChildren()) do | |
3908 | if v:IsA('Weld') then | |
3909 | v:Destroy() | |
3910 | end | |
3911 | end | |
3912 | end | |
3913 | if me:FindFirstChild('Left Arm') then | |
3914 | for i,v in pairs(me["Left Arm"]:GetChildren()) do | |
3915 | if v:IsA('Weld') then | |
3916 | v:Destroy() | |
3917 | end | |
3918 | end | |
3919 | end | |
3920 | acting = false | |
3921 | canClick = true | |
3922 | doing = false | |
3923 | grabbed = nil | |
3924 | end | |
3925 | function unequip() | |
3926 | local doit = coroutine.wrap(function() | |
3927 | if me:FindFirstChild('Right Arm') and me:FindFirstChild('Torso') then | |
3928 | acting = true | |
3929 | local arm = me["Right Arm"] | |
3930 | local arm2 = me["Left Arm"] | |
3931 | local tors = me.Torso | |
3932 | local weld = Instance.new('Weld',arm) | |
3933 | weld.Part0 = arm | |
3934 | weld.Part1 = tors | |
3935 | weld.C0 = CFrame.new(-1.5,0,0) | |
3936 | local weld2 = Instance.new("Weld", arm2) | |
3937 | weld2.Part0 = arm2 | |
3938 | weld2.Part1 = tors | |
3939 | weld2.C0 = CFrame.new(1.5, 0, 0) | |
3940 | wait(0.001) | |
3941 | trail.Enabled = true | |
3942 | for i = 0,1,0.1 do | |
3943 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
3944 | weld.C0 = weld.C0:lerp(CFrame.new(-0.2,0.2,-0.5)*CFrame.Angles(0,-3.1,0.9),i) | |
3945 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0.6, 0) * CFrame.Angles(0,0,0.5),i) | |
3946 | wait(0.001) | |
3947 | end | |
3948 | trail.Enabled = false | |
3949 | wait(0.25) | |
3950 | for i = 0,1,0.1 do | |
3951 | if me:FindFirstChild('Right Arm') == nil or me:FindFirstChild('Torso') == nil or weld == nil then return end | |
3952 | weld.C0 = weld.C0:lerp(CFrame.new(-1.5,0,0),i) | |
3953 | weld2.C0 = weld2.C0:lerp(CFrame.new(1.5, 0, 0), i) | |
3954 | wait(0.01) | |
3955 | end | |
3956 | weld:Destroy() | |
3957 | weld2:Remove() | |
3958 | if tors ~= nil then | |
3959 | rightshoulderz:Clone().Parent = me.Torso | |
3960 | leftshoulderz:Clone().Parent = me.Torso | |
3961 | end | |
3962 | acting = false | |
3963 | end | |
3964 | end) | |
3965 | doit() | |
3966 | end | |
3967 | ||
3968 | mouse.KeyDown:connect(function(key) | |
3969 | if usable == true then | |
3970 | if key == "z" then | |
3971 | if active == false and acting == false then | |
3972 | active = true | |
3973 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3974 | notify("KNIFE EQUIPPED",false) | |
3975 | audio:Stop() | |
3976 | audio.SoundId = 'rbxassetid://608618332' | |
3977 | equip() | |
3978 | wait(0.6) | |
3979 | audio:Play() | |
3980 | knifeweld.Part0 = me["Right Arm"] | |
3981 | knifeweld.C1 = CFrame.fromEulerAnglesXYZ(1.55, math.rad(-90), 1.55) * CFrame.new(0, 0.95, 0) | |
3982 | elseif acting == false then | |
3983 | active = false | |
3984 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3985 | audio:Stop() | |
3986 | audio.SoundId = 'rbxassetid://608538233' | |
3987 | unequip() | |
3988 | notify("KNIFE UNEQUIPPED",false) | |
3989 | wait(0.3) | |
3990 | audio:Play() | |
3991 | knifeweld.Part0 = me.Torso | |
3992 | knifeweld.C1 = CFrame.Angles(0,math.rad(90),0) * CFrame.new(1, 0.8, 0.55) | |
3993 | canClick = true | |
3994 | end | |
3995 | elseif key == "f" then | |
3996 | if mode == 'kill' or active == false then return end | |
3997 | mode = "kill" | |
3998 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
3999 | notify("MODE || KILL || [F]",false) | |
4000 | elseif key == "e" then | |
4001 | if mode == 'throw' or active == false then return end | |
4002 | mode = "throw" | |
4003 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
4004 | notify("MODE || PUSH || [E]",false) | |
4005 | elseif key == "q" then | |
4006 | if mode == 'release' or active == false then return end | |
4007 | mode = "release" | |
4008 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
4009 | notify("MODE || RELEASE || [Q]",false) | |
4010 | elseif key == "x" then | |
4011 | if mode == 'stab' or active == false or acting == true then return end | |
4012 | mode = "stab" | |
4013 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
4014 | notify("MODE || STAB || [X]",false) | |
4015 | elseif key == "c" then | |
4016 | if mode == 'fling' or active == false or acting == true then return end | |
4017 | mode = "fling" | |
4018 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
4019 | notify("MODE || THROW || [C]",false) | |
4020 | elseif key == "b" then | |
4021 | if mode == 'instasplode' or active == false or acting == true then return end | |
4022 | mode = "instasplode" | |
4023 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
4024 | notify("MODE || MOLOTOV || [B]",false) | |
4025 | elseif key == "r" then | |
4026 | if mode == 'paralyze' or active == false then return end | |
4027 | mode = "paralyze" | |
4028 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
4029 | notify("MODE || PARALYZE || [R]",false) | |
4030 | elseif key == "v" then | |
4031 | if mode == 'explode' or active == false or acting == true then return end | |
4032 | mode = "explode" | |
4033 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
4034 | notify("MODE || EXPLODE || [V]",false) | |
4035 | elseif key == "k" then | |
4036 | if mode == 'suicide' or active == false or acting == true then return end | |
4037 | mode = "suicide" | |
4038 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
4039 | notify("MODE || SUICIDE || [K]",false) | |
4040 | elseif key == "h" then | |
4041 | if mode == 'firework' or active == false or acting == true then return end | |
4042 | mode = "firework" | |
4043 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
4044 | notify("MODE || FIREWORK || [H]",false) | |
4045 | elseif key == "g" then | |
4046 | if mode == 'finish' or active == false then return end | |
4047 | mode = "finish" | |
4048 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
4049 | local welp = "ON" | |
4050 | if finishnum == 1 then | |
4051 | welp = "OFF" | |
4052 | end | |
4053 | notify("MODE || FINISH || [G] || "..welp,false) | |
4054 | elseif key == "n" then | |
4055 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
4056 | if zombiemode == false then | |
4057 | notify("ZOMBIE MODE ON || [N]",false) | |
4058 | zombiemode = true | |
4059 | else | |
4060 | notify("ZOMBIE MODE OFF || [N]",false) | |
4061 | zombiemode = false | |
4062 | end | |
4063 | elseif key == "m" then | |
4064 | if finishnum == 1 then | |
4065 | finishnum = 15 | |
4066 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
4067 | notify("PSYCHOPATH MODE ON || [M]",false) | |
4068 | if cancolorfilter then | |
4069 | local Sp00kyGui = Instance.new("ScreenGui") | |
4070 | local ImageLabel = Instance.new("ImageLabel") | |
4071 | ||
4072 | -- Properties | |
4073 | ||
4074 | Sp00kyGui.Parent = playergui | |
4075 | Sp00kyGui.Name = "REEEEEEEE" | |
4076 | ||
4077 | ImageLabel.Parent = Sp00kyGui | |
4078 | ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) | |
4079 | ImageLabel.BackgroundTransparency = 1 | |
4080 | ImageLabel.Size = UDim2.new(1, 0, 1, 0) | |
4081 | ImageLabel.Image = "rbxassetid://74443700" | |
4082 | ImageLabel.ImageColor3 = Color3.new(1, 0, 0) | |
4083 | end | |
4084 | if canbackgroundmusic == true then | |
4085 | local sound = Instance.new('Sound',playergui) | |
4086 | sound.Name = 'PSYCHOPAAAATH' | |
4087 | sound.SoundId = 'rbxassetid://220875210' | |
4088 | sound.Looped = true | |
4089 | sound.Volume = 0.5 | |
4090 | sound:Play() | |
4091 | end | |
4092 | else | |
4093 | finishnum = 1 | |
4094 | if playergui:FindFirstChild('Notification') then playergui.Notification:Destroy() end | |
4095 | notify("PSYCHOPATH MODE OFF || [M]",false) | |
4096 | for i,v in pairs(playergui:GetChildren()) do | |
4097 | if v.Name == "REEEEEEEE" then | |
4098 | v:Destroy() | |
4099 | end | |
4100 | end | |
4101 | local thisniggarighthere = playergui:FindFirstChild('PSYCHOPAAAATH') | |
4102 | if thisniggarighthere then thisniggarighthere:Destroy() end | |
4103 | end | |
4104 | end | |
4105 | end | |
4106 | end) | |
4107 | ||
4108 | mouse.Button1Down:connect(function() | |
4109 | if active == false or usable == false then return end | |
4110 | if canClick == true and acting == false then | |
4111 | if mode == "stab" and finishnum == 1 then | |
4112 | canClick = false | |
4113 | stab() | |
4114 | elseif mode == "stab" and finishnum == 15 then | |
4115 | canClick = false | |
4116 | stabwithpassion() | |
4117 | elseif mode == "fling" then | |
4118 | canClick = false | |
4119 | fling() | |
4120 | elseif mode == "explode" then | |
4121 | canClick = false | |
4122 | explode() | |
4123 | elseif mode == "instasplode" then | |
4124 | canClick = false | |
4125 | instasplode() | |
4126 | elseif mode == "finish" then | |
4127 | canClick = false | |
4128 | finish() | |
4129 | elseif mode == "suicide" then | |
4130 | canClick = false | |
4131 | kysnigga() | |
4132 | elseif mode == "firework" then | |
4133 | canClick = false | |
4134 | fireworkit() | |
4135 | else | |
4136 | canClick = false | |
4137 | grab() | |
4138 | end | |
4139 | else | |
4140 | if grabbed ~= nil and doing == false then | |
4141 | if mode == "release" then | |
4142 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4143 | release() | |
4144 | else | |
4145 | hardrelease() | |
4146 | end | |
4147 | elseif mode == "kill" then | |
4148 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4149 | kill() | |
4150 | else | |
4151 | hardrelease() | |
4152 | end | |
4153 | elseif mode == "paralyze" then | |
4154 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4155 | paralyze() | |
4156 | else | |
4157 | hardrelease() | |
4158 | end | |
4159 | elseif mode == "throw" then | |
4160 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4161 | throw() | |
4162 | else | |
4163 | hardrelease() | |
4164 | end | |
4165 | elseif mode == "explode" then | |
4166 | if acting == true and grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4167 | throw() | |
4168 | else | |
4169 | hardrelease() | |
4170 | end | |
4171 | end | |
4172 | end | |
4173 | end | |
4174 | end) | |
4175 | ||
4176 | knife.Touched:connect(function(hitz) | |
4177 | if hitz.Parent and hitz.Parent:FindFirstChildOfClass("Humanoid") and hitz.Parent:FindFirstChild('Torso') and acting == true then | |
4178 | if mode == "stab" and stabbing == true and hit == false then | |
4179 | hit = true | |
4180 | tone = math.random(1, 3) | |
4181 | audio:Stop() | |
4182 | if tone == 1 then audio.SoundId = "rbxassetid://220833967" end | |
4183 | if tone == 2 then audio.SoundId = "rbxassetid://220833976" end | |
4184 | if tone == 3 then audio.SoundId = "rbxassetid://220834000" end | |
4185 | audio.PlaybackSpeed = 1 | |
4186 | audio:Play() | |
4187 | killz(hitz.Parent,'Left Leg') | |
4188 | killz(hitz.Parent,'Left Arm') | |
4189 | killz(hitz.Parent,'Right Leg') | |
4190 | killz(hitz.Parent,'Right Arm') | |
4191 | elseif mode == "finish" and finishing == true then | |
4192 | print('PSYCHOPATH MODE REEEEEEEEEEEEEEEE') | |
4193 | tone = math.random(1, 3) | |
4194 | audio:Stop() | |
4195 | if tone == 1 then audio.SoundId = "rbxassetid://220833967" end | |
4196 | if tone == 2 then audio.SoundId = "rbxassetid://220833976" end | |
4197 | if tone == 3 then audio.SoundId = "rbxassetid://220834000" end | |
4198 | audio.PlaybackSpeed = 1 | |
4199 | audio:Play() | |
4200 | if hit == false then | |
4201 | hitz.Parent:FindFirstChildOfClass('Humanoid').Health = 0 | |
4202 | wait() | |
4203 | killz(hitz.Parent,'Head',nil,false,true) | |
4204 | end | |
4205 | hit = true | |
4206 | elseif grabbed == nil and grabbing == true and hit == false then | |
4207 | if hitz.Parent:FindFirstChildOfClass("Humanoid").Health > 0 and hitz.Parent:FindFirstChild('Torso') and hitz.Parent.Torso:FindFirstChild('Neck') then | |
4208 | grabbed = hitz.Parent | |
4209 | local weldz = Instance.new('Weld',point) | |
4210 | weldz.Name = "Holder" | |
4211 | weldz.Part0 = point | |
4212 | weldz.Part1 = hitz.Parent.Torso | |
4213 | weldz.C0 = CFrame.new(0,0,-1.2) | |
4214 | end | |
4215 | end | |
4216 | end | |
4217 | end) | |
4218 | ||
4219 | player.CharacterAdded:connect(function() | |
4220 | usable = false | |
4221 | for i,v in pairs(playergui:GetChildren()) do | |
4222 | if v.Name == "REEEEEEEE" or v.Name == 'PSYCHOPAAAATH' then | |
4223 | v:Destroy() | |
4224 | end | |
4225 | end | |
4226 | end) | |
4227 | while usable do | |
4228 | local coru = coroutine.wrap(function() | |
4229 | for i,v in pairs(knifeparts) do | |
4230 | local function try() | |
4231 | if v[1].Parent ~= v[2] then | |
4232 | v[1].Parent = v[2] | |
4233 | end | |
4234 | end | |
4235 | pcall(try) | |
4236 | end | |
4237 | if grabbed ~= nil then | |
4238 | if grabbed:FindFirstChildOfClass('Humanoid') and grabbed:FindFirstChildOfClass('Humanoid').Health > 0 then | |
4239 | for i,v in pairs(grabbed:GetChildren()) do | |
4240 | if v:IsA('Tool') then | |
4241 | local model = Instance.new('Model',workspace) | |
4242 | v.Parent = model | |
4243 | model:TranslateBy(Vector3.new(3,0,0)) | |
4244 | end | |
4245 | end | |
4246 | grabbed:FindFirstChildOfClass('Humanoid').Name = "Hoomanoid" | |
4247 | grabbed:FindFirstChildOfClass('Humanoid').JumpPower = 0 | |
4248 | grabbed:FindFirstChildOfClass('Humanoid').WalkSpeed = 0 | |
4249 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
4250 | grabweld = grabbed.Torso:FindFirstChild("TargetWeld") | |
4251 | if grabweld ~= nil then return end | |
4252 | grabbed:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
4253 | if grabbed.Torso:FindFirstChild('Left Shoulder') then | |
4254 | leftshoulder = grabbed.Torso["Left Shoulder"]:Clone() | |
4255 | end | |
4256 | if grabbed.Torso:FindFirstChild('Right Shoulder') then | |
4257 | rightshoulder = grabbed.Torso["Right Shoulder"]:Clone() | |
4258 | end | |
4259 | headweld = grabbed.Torso["Neck"]:Clone() | |
4260 | local targetweld = Instance.new('Weld',grabbed.Torso) | |
4261 | targetweld.Part0 = grabbed.Torso | |
4262 | targetweld.Part1 = grabbed.Head | |
4263 | targetweld.Name = "TargetWeld" | |
4264 | targetweld.C0 = CFrame.new(0,1.5,0) * CFrame.Angles(0, 0, 0) | |
4265 | if grabbed:FindFirstChild('Left Arm') then | |
4266 | local targetweld2 = Instance.new('Weld',grabbed["Left Arm"]) | |
4267 | targetweld2.Part0 = grabbed.Torso | |
4268 | targetweld2.Part1 = grabbed["Left Arm"] | |
4269 | targetweld2.C0 = CFrame.new(-1.5,0,0) * CFrame.Angles(0, 0, 0) | |
4270 | end | |
4271 | ||
4272 | for i = 0,1,0.1 do | |
4273 | if me:FindFirstChild("Left Arm") == nil or me:FindFirstChild("Torso") == nil or targetweld == nil then return end | |
4274 | targetweld.C0 = targetweld.C0:lerp(CFrame.new(0, 1.5, 0)*CFrame.Angles(0.25, 0, 0), i) | |
4275 | if targetweld2 then | |
4276 | targetweld2.C0 = targetweld2.C0:lerp(CFrame.new(-1.5, 0.5, 0)*CFrame.Angles(0, 0, -0.55), i) | |
4277 | end | |
4278 | wait(0.001) | |
4279 | end | |
4280 | end | |
4281 | end | |
4282 | end) | |
4283 | coru() | |
4284 | wait() | |
4285 | end | |
4286 | ||
4287 | end | |
4288 | local coru=coroutine.wrap(function() | |
4289 | nub() | |
4290 | end) | |
4291 | coru() | |
4292 | ||
4293 | player.CharacterAppearanceLoaded:connect(function() | |
4294 | local coru =coroutine.wrap(function() | |
4295 | nub() | |
4296 | end) | |
4297 | coru() | |
4298 | end) | |
4299 | ||
4300 | while true do | |
4301 | local coru=coroutine.wrap(function() | |
4302 | if grabbed then | |
4303 | v:FindFirstChildOfClass('Humanoid').Jump = false | |
4304 | v:FindFirstChildOfClass('Humanoid').Sit = false | |
4305 | v:FindFirstChildOfClass('Humanoid').JumpPower = 0 | |
4306 | v:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
4307 | v:FindFirstChildOfClass('Humanoid').Name = "No escape." | |
4308 | end | |
4309 | for i,v in pairs(rekt) do | |
4310 | if v and v:FindFirstChildOfClass('Humanoid') then | |
4311 | for a,c in pairs(v:GetChildren()) do | |
4312 | if c:IsA('Tool') then | |
4313 | local model = Instance.new('Model',workspace) | |
4314 | c.Parent = model | |
4315 | model:TranslateBy(Vector3.new(3,0,0)) | |
4316 | end | |
4317 | end | |
4318 | v:FindFirstChildOfClass('Humanoid').Jump = false | |
4319 | v:FindFirstChildOfClass('Humanoid').Sit = false | |
4320 | v:FindFirstChildOfClass('Humanoid').JumpPower = 0 | |
4321 | v:FindFirstChildOfClass('Humanoid').PlatformStand = true | |
4322 | v:FindFirstChildOfClass('Humanoid').Name = "No escape." | |
4323 | local thing = getplr(v) | |
4324 | if thing then | |
4325 | thing.CameraMinZoomDistance = 3 | |
4326 | end | |
4327 | else | |
4328 | local thing = getplr(v) | |
4329 | if thing then | |
4330 | thing.CameraMinZoomDistance = 0.5 | |
4331 | end | |
4332 | table.remove(rekt,i) | |
4333 | end | |
4334 | end | |
4335 | end) | |
4336 | coru() | |
4337 | local coru2 = coroutine.wrap(function() | |
4338 | if curpart then | |
4339 | curpoint = curpart.CFrame.p | |
4340 | end | |
4341 | if lastgui then | |
4342 | lastgui:Destroy() | |
4343 | lastgui = nil | |
4344 | end | |
4345 | if curpoint then | |
4346 | lastgui = Instance.new('BillboardGui',player.PlayerGui) | |
4347 | lastgui.AlwaysOnTop = true | |
4348 | lastgui.MaxDistance = 0 | |
4349 | lastgui.Size = UDim2.new(5,0,5,0) | |
4350 | if curpart == nil then | |
4351 | lastgui.Adornee = workspace | |
4352 | lastgui.StudsOffsetWorldSpace = curpoint | |
4353 | else | |
4354 | lastgui.Adornee = curpart | |
4355 | end | |
4356 | local cross = Instance.new('ImageLabel',lastgui) | |
4357 | cross.BackgroundTransparency = 1 | |
4358 | cross.Size = UDim2.new(1,0,1,0) | |
4359 | cross.Image = 'rbxassetid://316279304' | |
4360 | for i,v in pairs(zombies) do | |
4361 | if v:FindFirstChildOfClass('Humanoid') then | |
4362 | v:FindFirstChildOfClass('Humanoid').WalkToPoint = curpoint | |
4363 | end | |
4364 | end | |
4365 | else | |
4366 | for i,v in pairs(zombies) do | |
4367 | if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Head') then | |
4368 | v:FindFirstChildOfClass('Humanoid').WalkToPoint = v.Head.Position | |
4369 | end | |
4370 | end | |
4371 | end | |
4372 | end) | |
4373 | coru2() | |
4374 | wait() | |
4375 | end | |
4376 | end) | |
4377 | ||
4378 | ClownVanGui.Name = "Clown Van Gui" | |
4379 | ClownVanGui.Parent = Hacks | |
4380 | ClownVanGui.BackgroundColor3 = Color3.new(0, 0, 0) | |
4381 | ClownVanGui.BackgroundTransparency = 0.30000001192093 | |
4382 | ClownVanGui.BorderColor3 = Color3.new(0, 0.333333, 0.498039) | |
4383 | ClownVanGui.Position = UDim2.new(0, 199, 0, 46) | |
4384 | ClownVanGui.Size = UDim2.new(0, 116, 0, 25) | |
4385 | ClownVanGui.Font = Enum.Font.SourceSans | |
4386 | ClownVanGui.FontSize = Enum.FontSize.Size14 | |
4387 | ClownVanGui.Text = "Clown Van Gui" | |
4388 | ClownVanGui.TextColor3 = Color3.new(0, 0.333333, 1) | |
4389 | ClownVanGui.TextScaled = true | |
4390 | ClownVanGui.TextSize = 14 | |
4391 | ClownVanGui.TextWrapped = true | |
4392 | ||
4393 | ClownVanGui.MouseButton1Down:connect(function() | |
4394 | -- Objects | |
4395 | ||
4396 | local VanGui = Instance.new("ScreenGui") | |
4397 | local Opener = Instance.new("Frame") | |
4398 | local Open = Instance.new("TextButton") | |
4399 | local DaGui = Instance.new("Frame") | |
4400 | local Frame = Instance.new("Frame") | |
4401 | local Close = Instance.new("TextButton") | |
4402 | local Username = Instance.new("TextBox") | |
4403 | local VanDaPlayer = Instance.new("TextButton") | |
4404 | local TextLabel = Instance.new("TextLabel") | |
4405 | ||
4406 | -- Properties | |
4407 | ||
4408 | VanGui.Name = "VanGui" | |
4409 | VanGui.Parent = game.Players.LocalPlayer.PlayerGui | |
4410 | ||
4411 | Opener.Name = "Opener" | |
4412 | Opener.Parent = VanGui | |
4413 | Opener.BackgroundColor3 = Color3.new(0, 0, 0) | |
4414 | Opener.BackgroundTransparency = 0.5 | |
4415 | Opener.Position = UDim2.new(0, 19, 0, 564) | |
4416 | Opener.Size = UDim2.new(0, 224, 0, 40) | |
4417 | ||
4418 | Open.Name = "Open" | |
4419 | Open.Parent = Opener | |
4420 | Open.BackgroundColor3 = Color3.new(0, 0, 0) | |
4421 | Open.BackgroundTransparency = 0.5 | |
4422 | Open.Size = UDim2.new(0, 224, 0, 40) | |
4423 | Open.Font = Enum.Font.SciFi | |
4424 | Open.FontSize = Enum.FontSize.Size42 | |
4425 | Open.Text = "Open" | |
4426 | Open.TextColor3 = Color3.new(0, 1, 1) | |
4427 | Open.TextSize = 42 | |
4428 | ||
4429 | DaGui.Name = "DaGui" | |
4430 | DaGui.Parent = VanGui | |
4431 | DaGui.BackgroundColor3 = Color3.new(0, 0, 0) | |
4432 | DaGui.BackgroundTransparency = 0.5 | |
4433 | DaGui.Draggable = true | |
4434 | DaGui.Position = UDim2.new(0, 0, 0, 311) | |
4435 | DaGui.Size = UDim2.new(0, 343, 0, 197) | |
4436 | DaGui.Visible = false | |
4437 | ||
4438 | Frame.Parent = DaGui | |
4439 | Frame.BackgroundColor3 = Color3.new(1, 0, 0.0156863) | |
4440 | Frame.Position = UDim2.new(0, 313, 0, 0) | |
4441 | Frame.Size = UDim2.new(0, 30, 0, 26) | |
4442 | ||
4443 | Close.Name = "Close" | |
4444 | Close.Parent = Frame | |
4445 | Close.BackgroundColor3 = Color3.new(1, 0, 0.0156863) | |
4446 | Close.Size = UDim2.new(0, 30, 0, 26) | |
4447 | Close.Font = Enum.Font.SciFi | |
4448 | Close.FontSize = Enum.FontSize.Size14 | |
4449 | Close.Text = "X" | |
4450 | Close.TextColor3 = Color3.new(1, 1, 1) | |
4451 | Close.TextSize = 14 | |
4452 | Close.TextStrokeTransparency = 5 | |
4453 | ||
4454 | Username.Name = "Username" | |
4455 | Username.Parent = DaGui | |
4456 | Username.BackgroundColor3 = Color3.new(0, 0, 0) | |
4457 | Username.BackgroundTransparency = 0.5 | |
4458 | Username.Position = UDim2.new(0, 72, 0, 76) | |
4459 | Username.Size = UDim2.new(0, 200, 0.0999999866, 24) | |
4460 | Username.Font = Enum.Font.SciFi | |
4461 | Username.FontSize = Enum.FontSize.Size18 | |
4462 | Username.Text = "Username" | |
4463 | Username.TextColor3 = Color3.new(0, 1, 1) | |
4464 | Username.TextSize = 18 | |
4465 | ||
4466 | VanDaPlayer.Name = "VanDaPlayer" | |
4467 | VanDaPlayer.Parent = DaGui | |
4468 | VanDaPlayer.BackgroundColor3 = Color3.new(0, 0, 0) | |
4469 | VanDaPlayer.BackgroundTransparency = 0.5 | |
4470 | VanDaPlayer.Position = UDim2.new(0.0199999996, 90, 0.00999999978, 138) | |
4471 | VanDaPlayer.Size = UDim2.new(0, 150, 0, 26) | |
4472 | VanDaPlayer.Font = Enum.Font.SciFi | |
4473 | VanDaPlayer.FontSize = Enum.FontSize.Size14 | |
4474 | VanDaPlayer.Text = "Van Player" | |
4475 | VanDaPlayer.TextColor3 = Color3.new(0, 1, 1) | |
4476 | VanDaPlayer.TextSize = 14 | |
4477 | ||
4478 | TextLabel.Parent = DaGui | |
4479 | TextLabel.BackgroundColor3 = Color3.new(0, 0, 0) | |
4480 | TextLabel.BackgroundTransparency = 0.5 | |
4481 | TextLabel.Position = UDim2.new(0, 48, 0, 22) | |
4482 | TextLabel.Size = UDim2.new(0, 246, 0, 19) | |
4483 | TextLabel.Font = Enum.Font.SciFi | |
4484 | TextLabel.FontSize = Enum.FontSize.Size18 | |
4485 | TextLabel.Text = "Van Player Gui by 345678 (Talha)" | |
4486 | TextLabel.TextColor3 = Color3.new(0, 1, 1) | |
4487 | TextLabel.TextSize = 17 | |
4488 | ||
4489 | Open.MouseButton1Down:connect(function() | |
4490 | DaGui.Visible = true | |
4491 | Opener.Visible = false | |
4492 | ||
4493 | end) | |
4494 | ||
4495 | Close.MouseButton1Down:connect(function() | |
4496 | DaGui.Visible = false | |
4497 | Opener.Visible = true | |
4498 | end) | |
4499 | ||
4500 | VanDaPlayer.MouseButton1Down:connect(function() | |
4501 | Victim = Username.Text | |
4502 | o1 = Instance.new("Model") | |
4503 | o2 = Instance.new("Part") | |
4504 | o3 = Instance.new("CylinderMesh") | |
4505 | o4 = Instance.new("Part") | |
4506 | o5 = Instance.new("SpecialMesh") | |
4507 | o6 = Instance.new("Part") | |
4508 | o7 = Instance.new("SpecialMesh") | |
4509 | o8 = Instance.new("Part") | |
4510 | o9 = Instance.new("BlockMesh") | |
4511 | o10 = Instance.new("Part") | |
4512 | o11 = Instance.new("BlockMesh") | |
4513 | o12 = Instance.new("Part") | |
4514 | o13 = Instance.new("Part") | |
4515 | o14 = Instance.new("BlockMesh") | |
4516 | o15 = Instance.new("Part") | |
4517 | o16 = Instance.new("SpecialMesh") | |
4518 | o17 = Instance.new("Part") | |
4519 | o18 = Instance.new("SpecialMesh") | |
4520 | o19 = Instance.new("Part") | |
4521 | o20 = Instance.new("SpecialMesh") | |
4522 | o21 = Instance.new("Sound") | |
4523 | o22 = Instance.new("Part") | |
4524 | o23 = Instance.new("BlockMesh") | |
4525 | o24 = Instance.new("Part") | |
4526 | o25 = Instance.new("SpecialMesh") | |
4527 | o26 = Instance.new("Part") | |
4528 | o27 = Instance.new("BlockMesh") | |
4529 | o28 = Instance.new("Part") | |
4530 | o29 = Instance.new("SpecialMesh") | |
4531 | o30 = Instance.new("Part") | |
4532 | o31 = Instance.new("BlockMesh") | |
4533 | o32 = Instance.new("Part") | |
4534 | o33 = Instance.new("BlockMesh") | |
4535 | o34 = Instance.new("Part") | |
4536 | o35 = Instance.new("BlockMesh") | |
4537 | o36 = Instance.new("Part") | |
4538 | o37 = Instance.new("BlockMesh") | |
4539 | o38 = Instance.new("Part") | |
4540 | o39 = Instance.new("Part") | |
4541 | o40 = Instance.new("BlockMesh") | |
4542 | o41 = Instance.new("Part") | |
4543 | o42 = Instance.new("BlockMesh") | |
4544 | o43 = Instance.new("Part") | |
4545 | o44 = Instance.new("BlockMesh") | |
4546 | o45 = Instance.new("Part") | |
4547 | o46 = Instance.new("SpecialMesh") | |
4548 | o47 = Instance.new("Part") | |
4549 | o48 = Instance.new("BlockMesh") | |
4550 | o49 = Instance.new("Part") | |
4551 | o50 = Instance.new("BlockMesh") | |
4552 | o51 = Instance.new("Part") | |
4553 | o52 = Instance.new("BlockMesh") | |
4554 | o53 = Instance.new("Part") | |
4555 | o54 = Instance.new("SpecialMesh") | |
4556 | o55 = Instance.new("Part") | |
4557 | o56 = Instance.new("SpecialMesh") | |
4558 | o57 = Instance.new("Part") | |
4559 | o58 = Instance.new("BlockMesh") | |
4560 | o59 = Instance.new("Part") | |
4561 | o60 = Instance.new("BlockMesh") | |
4562 | o61 = Instance.new("Part") | |
4563 | o62 = Instance.new("BlockMesh") | |
4564 | o63 = Instance.new("Part") | |
4565 | o64 = Instance.new("Part") | |
4566 | o65 = Instance.new("Part") | |
4567 | o66 = Instance.new("BlockMesh") | |
4568 | o67 = Instance.new("Part") | |
4569 | o68 = Instance.new("BlockMesh") | |
4570 | o69 = Instance.new("Part") | |
4571 | o70 = Instance.new("BlockMesh") | |
4572 | o71 = Instance.new("Part") | |
4573 | o72 = Instance.new("BlockMesh") | |
4574 | o73 = Instance.new("Part") | |
4575 | o74 = Instance.new("SpecialMesh") | |
4576 | o75 = Instance.new("Decal") | |
4577 | o76 = Instance.new("Part") | |
4578 | o77 = Instance.new("Part") | |
4579 | o78 = Instance.new("BlockMesh") | |
4580 | o79 = Instance.new("Part") | |
4581 | o80 = Instance.new("SpecialMesh") | |
4582 | o81 = Instance.new("Decal") | |
4583 | o82 = Instance.new("Part") | |
4584 | o83 = Instance.new("SpecialMesh") | |
4585 | o84 = Instance.new("Humanoid") | |
4586 | o85 = Instance.new("Part") | |
4587 | o86 = Instance.new("Part") | |
4588 | o87 = Instance.new("Part") | |
4589 | o88 = Instance.new("Decal") | |
4590 | o89 = Instance.new("Motor6D") | |
4591 | o90 = Instance.new("Motor6D") | |
4592 | o91 = Instance.new("Motor6D") | |
4593 | o92 = Instance.new("Motor6D") | |
4594 | o93 = Instance.new("Motor6D") | |
4595 | o94 = Instance.new("Part") | |
4596 | o95 = Instance.new("Part") | |
4597 | o96 = Instance.new("Part") | |
4598 | o97 = Instance.new("Part") | |
4599 | o98 = Instance.new("Part") | |
4600 | o99 = Instance.new("Decal") | |
4601 | o100 = Instance.new("Motor6D") | |
4602 | o101 = Instance.new("Motor6D") | |
4603 | o102 = Instance.new("Motor6D") | |
4604 | o103 = Instance.new("Part") | |
4605 | o104 = Instance.new("Part") | |
4606 | o105 = Instance.new("Part") | |
4607 | o106 = Instance.new("Part") | |
4608 | o107 = Instance.new("Part") | |
4609 | o108 = Instance.new("CylinderMesh") | |
4610 | o109 = Instance.new("Part") | |
4611 | o110 = Instance.new("CylinderMesh") | |
4612 | o111 = Instance.new("Part") | |
4613 | o112 = Instance.new("CylinderMesh") | |
4614 | o113 = Instance.new("Part") | |
4615 | o114 = Instance.new("CylinderMesh") | |
4616 | o115 = Instance.new("Part") | |
4617 | o116 = Instance.new("CylinderMesh") | |
4618 | o117 = Instance.new("Part") | |
4619 | o118 = Instance.new("CylinderMesh") | |
4620 | o119 = Instance.new("Part") | |
4621 | o120 = Instance.new("CylinderMesh") | |
4622 | o121 = Instance.new("Part") | |
4623 | o122 = Instance.new("SpecialMesh") | |
4624 | o123 = Instance.new("Part") | |
4625 | o124 = Instance.new("Decal") | |
4626 | o1.Name = " " | |
4627 | o1.Parent = workspace | |
4628 | o2.Parent = o1 | |
4629 | o2.Position = Vector3.new(95.3486252, 1.50001001, 18.4564877) | |
4630 | o2.Rotation = Vector3.new(-90, 1.20620803e-006, -180) | |
4631 | o2.Anchored = true | |
4632 | o2.FormFactor = Enum.FormFactor.Symmetric | |
4633 | o2.Size = Vector3.new(2.39999986, 1.31000006, 2.39999986) | |
4634 | o2.CFrame = CFrame.new(95.3486252, 1.50001001, 18.4564877, -1, 2.98044895e-008, 2.10523012e-008, 2.10523012e-008, 7.54615499e-008, 1, 2.9804486e-008, 1, -7.54615499e-008) | |
4635 | o3.Parent = o2 | |
4636 | o4.Parent = o1 | |
4637 | o4.BrickColor = BrickColor.new("Institutional white") | |
4638 | o4.Position = Vector3.new(96.3181839, 7.00000668, 9.31151104) | |
4639 | o4.Rotation = Vector3.new(90, 89.9314728, -90) | |
4640 | o4.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4641 | o4.Velocity = Vector3.new(-0.000346515269, 0.00201798417, -0.00195027643) | |
4642 | o4.Anchored = true | |
4643 | o4.FormFactor = Enum.FormFactor.Plate | |
4644 | o4.Size = Vector3.new(1, 2.4000001, 2) | |
4645 | o4.CFrame = CFrame.new(96.3181839, 7.00000668, 9.31151104, 0, 3.96052044e-008, 0.999999285, 0, 1, -3.97634246e-008, -1, 0, 0) | |
4646 | o4.BackSurface = Enum.SurfaceType.Weld | |
4647 | o4.BottomSurface = Enum.SurfaceType.Weld | |
4648 | o4.LeftSurface = Enum.SurfaceType.Weld | |
4649 | o4.TopSurface = Enum.SurfaceType.Weld | |
4650 | o4.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
4651 | o5.Parent = o4 | |
4652 | o5.MeshType = Enum.MeshType.Wedge | |
4653 | o6.Parent = o1 | |
4654 | o6.Material = Enum.Material.SmoothPlastic | |
4655 | o6.BrickColor = BrickColor.new("Really black") | |
4656 | o6.Transparency = 0.5 | |
4657 | o6.Position = Vector3.new(96.3181839, 7.00000668, 13.8115101) | |
4658 | o6.Rotation = Vector3.new(90, 89.9440536, -90) | |
4659 | o6.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4660 | o6.Velocity = Vector3.new(0.000965324172, 0.00135755131, -0.00195027643) | |
4661 | o6.Anchored = true | |
4662 | o6.FormFactor = Enum.FormFactor.Plate | |
4663 | o6.Size = Vector3.new(8, 2.4000001, 1.99999976) | |
4664 | o6.CFrame = CFrame.new(96.3181839, 7.00000668, 13.8115101, 0, 3.96315798e-008, 0.999999523, 0, 1, -3.97370599e-008, -1, 0, 0) | |
4665 | o6.BackSurface = Enum.SurfaceType.Weld | |
4666 | o6.BottomSurface = Enum.SurfaceType.Weld | |
4667 | o6.LeftSurface = Enum.SurfaceType.Weld | |
4668 | o6.RightSurface = Enum.SurfaceType.Weld | |
4669 | o6.TopSurface = Enum.SurfaceType.Weld | |
4670 | o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
4671 | o7.Parent = o6 | |
4672 | o7.MeshType = Enum.MeshType.Wedge | |
4673 | o8.Parent = o1 | |
4674 | o8.BrickColor = BrickColor.new("Br. yellowish orange") | |
4675 | o8.Position = Vector3.new(92.2182083, 4.00000715, 9.61151409) | |
4676 | o8.Rotation = Vector3.new(-0, 0, -2.26619136e-006) | |
4677 | o8.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4678 | o8.Velocity = Vector3.new(-0.000475873821, 0.00227026758, -0.00119533995) | |
4679 | o8.Anchored = true | |
4680 | o8.FormFactor = Enum.FormFactor.Custom | |
4681 | o8.Size = Vector3.new(0.200000003, 0.800000012, 0.799999714) | |
4682 | o8.CFrame = CFrame.new(92.2182083, 4.00000715, 9.61151409, 0.999998808, 3.95524538e-008, 0, -3.98161575e-008, 1, 0, 0, 0, 1) | |
4683 | o8.BackSurface = Enum.SurfaceType.Weld | |
4684 | o8.BottomSurface = Enum.SurfaceType.Weld | |
4685 | o8.FrontSurface = Enum.SurfaceType.Weld | |
4686 | o8.LeftSurface = Enum.SurfaceType.Weld | |
4687 | o8.RightSurface = Enum.SurfaceType.Weld | |
4688 | o8.TopSurface = Enum.SurfaceType.Weld | |
4689 | o8.Color = Color3.new(0.886275, 0.607843, 0.25098) | |
4690 | o9.Parent = o8 | |
4691 | o10.Parent = o1 | |
4692 | o10.BrickColor = BrickColor.new("Institutional white") | |
4693 | o10.Position = Vector3.new(105.317894, 8.40004158, 9.31151295) | |
4694 | o10.Rotation = Vector3.new(-0, 0, -2.21330401e-006) | |
4695 | o10.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4696 | o10.Velocity = Vector3.new(-0.000245332019, 0.00136755884, -0.00436839834) | |
4697 | o10.Anchored = true | |
4698 | o10.CanCollide = false | |
4699 | game.Players[Victim].Character.Humanoid.WalkSpeed = 0 | |
4700 | game.Players[Victim].Character.Humanoid.JumpPower = 0 | |
4701 | o10.FormFactor = Enum.FormFactor.Plate | |
4702 | o10.Size = Vector3.new(14, 0.400000006, 1) | |
4703 | o10.CFrame = CFrame.new(105.317894, 8.40004158, 9.31151295, 0.999999762, 3.86294303e-008, 0, -3.86821704e-008, 1, 0, 0, 0, 1) | |
4704 | o10.BackSurface = Enum.SurfaceType.Weld | |
4705 | o10.BottomSurface = Enum.SurfaceType.Weld | |
4706 | o10.FrontSurface = Enum.SurfaceType.Weld | |
4707 | o10.LeftSurface = Enum.SurfaceType.Weld | |
4708 | o10.RightSurface = Enum.SurfaceType.Weld | |
4709 | o10.TopSurface = Enum.SurfaceType.Weld | |
4710 | o10.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
4711 | o11.Parent = o10 | |
4712 | o12.Name = "DOOR" | |
4713 | o12.Parent = o1 | |
4714 | o12.BrickColor = BrickColor.new("Institutional white") | |
4715 | o12.Position = Vector3.new(103.708466, 5.81500626, 9.31151104) | |
4716 | o12.Rotation = Vector3.new(-0, 0, -4.43210411e-006) | |
4717 | o12.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4718 | o12.Velocity = Vector3.new(-0.000432157307, 0.00148387556, -0.00427860441) | |
4719 | o12.Anchored = true | |
4720 | o12.CanCollide = false | |
4721 | o12.FormFactor = Enum.FormFactor.Plate | |
4722 | o12.Size = Vector3.new(5.22000027, 4.82999992, 1) | |
4723 | o12.CFrame = CFrame.new(103.708466, 5.81500626, 9.31151104, 1, 7.73548052e-008, 0, -7.73548052e-008, 1, 0, 0, 0, 1) | |
4724 | o12.BottomSurface = Enum.SurfaceType.Weld | |
4725 | o12.LeftSurface = Enum.SurfaceType.Weld | |
4726 | o12.RightSurface = Enum.SurfaceType.Weld | |
4727 | o12.TopSurface = Enum.SurfaceType.Weld | |
4728 | o12.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
4729 | o13.Parent = o1 | |
4730 | o13.BrickColor = BrickColor.new("White") | |
4731 | o13.Position = Vector3.new(109.818169, 5.80000877, 9.31151104) | |
4732 | o13.Rotation = Vector3.new(-0, 0, -2.25410599e-006) | |
4733 | o13.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4734 | o13.Velocity = Vector3.new(-0.00043324125, 0.00104231632, -0.006061906) | |
4735 | o13.Anchored = true | |
4736 | o13.FormFactor = Enum.FormFactor.Plate | |
4737 | o13.Size = Vector3.new(7, 4.80000019, 1) | |
4738 | o13.CFrame = CFrame.new(109.818169, 5.80000877, 9.31151104, 0.999996901, 3.9341451e-008, 0, -4.00270856e-008, 1, 0, 0, 0, 1) | |
4739 | o13.BackSurface = Enum.SurfaceType.Weld | |
4740 | o13.BottomSurface = Enum.SurfaceType.Weld | |
4741 | o13.FrontSurface = Enum.SurfaceType.Weld | |
4742 | o13.LeftSurface = Enum.SurfaceType.Weld | |
4743 | o13.RightSurface = Enum.SurfaceType.Weld | |
4744 | o13.TopSurface = Enum.SurfaceType.Weld | |
4745 | o13.Color = Color3.new(0.94902, 0.952941, 0.952941) | |
4746 | o14.Parent = o13 | |
4747 | o15.Parent = o1 | |
4748 | o15.BrickColor = BrickColor.new("Institutional white") | |
4749 | o15.Position = Vector3.new(97.817894, 8.40000725, 13.8115139) | |
4750 | o15.Rotation = Vector3.new(90, 89.960434, -90) | |
4751 | o15.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4752 | o15.Velocity = Vector3.new(0.00106650498, 0.00124916411, -0.00218200427) | |
4753 | o15.Anchored = true | |
4754 | o15.CanCollide = false | |
4755 | o15.FormFactor = Enum.FormFactor.Plate | |
4756 | o15.Size = Vector3.new(10, 0.400000006, 1) | |
4757 | o15.CFrame = CFrame.new(97.817894, 8.40000725, 13.8115139, 0, 3.86294303e-008, 0.999999762, 0, 1, -3.86821704e-008, -1, 0, 0) | |
4758 | o15.BackSurface = Enum.SurfaceType.Weld | |
4759 | o15.BottomSurface = Enum.SurfaceType.Weld | |
4760 | o15.TopSurface = Enum.SurfaceType.Weld | |
4761 | o15.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
4762 | o16.Parent = o15 | |
4763 | o16.MeshType = Enum.MeshType.Wedge | |
4764 | o17.Parent = o1 | |
4765 | o17.BrickColor = BrickColor.new("Institutional white") | |
4766 | o17.Position = Vector3.new(96.3181839, 7.00000668, 18.3115101) | |
4767 | o17.Rotation = Vector3.new(90, 89.9314728, -90) | |
4768 | o17.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4769 | o17.Velocity = Vector3.new(0.00227716356, 0.000697118347, -0.00195027643) | |
4770 | o17.Anchored = true | |
4771 | o17.FormFactor = Enum.FormFactor.Plate | |
4772 | o17.Size = Vector3.new(1, 2.4000001, 2) | |
4773 | o17.CFrame = CFrame.new(96.3181839, 7.00000668, 18.3115101, 0, 3.96052044e-008, 0.999999285, 0, 1, -3.97634246e-008, -1, 0, 0) | |
4774 | o17.BackSurface = Enum.SurfaceType.Weld | |
4775 | o17.BottomSurface = Enum.SurfaceType.Weld | |
4776 | o17.RightSurface = Enum.SurfaceType.Weld | |
4777 | o17.TopSurface = Enum.SurfaceType.Weld | |
4778 | o17.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
4779 | o18.Parent = o17 | |
4780 | o18.MeshType = Enum.MeshType.Wedge | |
4781 | o19.Parent = o1 | |
4782 | o19.BrickColor = BrickColor.new("Institutional white") | |
4783 | o19.Position = Vector3.new(93.8181839, 5.20000744, 13.8115101) | |
4784 | o19.Rotation = Vector3.new(90, 89.8573456, -90) | |
4785 | o19.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4786 | o19.Velocity = Vector3.new(0.000835234998, 0.00153823046, -0.00148565089) | |
4787 | o19.Anchored = true | |
4788 | o19.FormFactor = Enum.FormFactor.Plate | |
4789 | o19.Size = Vector3.new(10, 1.20000005, 3) | |
4790 | o19.CFrame = CFrame.new(93.8181839, 5.20000744, 13.8115101, 0, 3.77325726e-008, 0.999996901, 0, 1, -3.84182002e-008, -1, 0, 0) | |
4791 | o19.BackSurface = Enum.SurfaceType.Weld | |
4792 | o19.BottomSurface = Enum.SurfaceType.Weld | |
4793 | o19.TopSurface = Enum.SurfaceType.Weld | |
4794 | o19.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
4795 | o20.Parent = o19 | |
4796 | o20.MeshType = Enum.MeshType.Wedge | |
4797 | o21.Parent = o19 | |
4798 | o21.SoundId = "rbxassetid://532147820" | |
4799 | o21.Looped = true | |
4800 | o22.Parent = o1 | |
4801 | o22.BrickColor = BrickColor.new("Institutional white") | |
4802 | o22.Position = Vector3.new(96.3182907, 4.60000753, 9.31151104) | |
4803 | o22.Rotation = Vector3.new(-0, 0, -2.23446773e-006) | |
4804 | o22.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4805 | o22.Velocity = Vector3.new(-0.000519967522, 0.00201797695, -0.00230253674) | |
4806 | o22.Anchored = true | |
4807 | o22.FormFactor = Enum.FormFactor.Plate | |
4808 | o22.Size = Vector3.new(2, 2.4000001, 1) | |
4809 | o22.CFrame = CFrame.new(96.3182907, 4.60000753, 9.31151104, 0.999993801, 3.8998575e-008, 0, -4.03698408e-008, 1, 0, 0, 0, 1) | |
4810 | o22.BackSurface = Enum.SurfaceType.Weld | |
4811 | o22.BottomSurface = Enum.SurfaceType.Weld | |
4812 | o22.FrontSurface = Enum.SurfaceType.Weld | |
4813 | o22.LeftSurface = Enum.SurfaceType.Weld | |
4814 | o22.RightSurface = Enum.SurfaceType.Weld | |
4815 | o22.TopSurface = Enum.SurfaceType.Weld | |
4816 | o22.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
4817 | o23.Parent = o22 | |
4818 | o24.Parent = o1 | |
4819 | o24.BrickColor = BrickColor.new("Institutional white") | |
4820 | o24.Position = Vector3.new(113.817245, 6.80000734, 18.3115101) | |
4821 | o24.Rotation = Vector3.new(-0, -90, 0) | |
4822 | o24.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4823 | o24.Velocity = Vector3.new(0.00226270943, -0.000567569688, -0.00708095264) | |
4824 | o24.Anchored = true | |
4825 | o24.FormFactor = Enum.FormFactor.Plate | |
4826 | o24.Size = Vector3.new(1, 2.79999995, 1) | |
4827 | o24.CFrame = CFrame.new(113.817245, 6.80000734, 18.3115101, 0, 5.54578605e-008, -1, 0, 1, 5.54578605e-008, 1, 0, 0) | |
4828 | o24.BackSurface = Enum.SurfaceType.Weld | |
4829 | o24.BottomSurface = Enum.SurfaceType.Weld | |
4830 | o24.TopSurface = Enum.SurfaceType.Weld | |
4831 | o24.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
4832 | o25.Parent = o24 | |
4833 | o25.MeshType = Enum.MeshType.Wedge | |
4834 | o26.Parent = o1 | |
4835 | o26.BrickColor = BrickColor.new("Institutional white") | |
4836 | o26.Position = Vector3.new(93.0181885, 2.60000825, 13.8115101) | |
4837 | o26.Rotation = Vector3.new(-0, 0, -2.27223404e-006) | |
4838 | o26.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4839 | o26.Velocity = Vector3.new(0.000647328445, 0.00159604801, -0.00163401756) | |
4840 | o26.Anchored = true | |
4841 | o26.FormFactor = Enum.FormFactor.Plate | |
4842 | o26.Size = Vector3.new(1.39999998, 1.60000002, 10) | |
4843 | o26.CFrame = CFrame.new(93.0181885, 2.60000825, 13.8115101, 0.999999762, 3.96579551e-008, 0, -3.97106952e-008, 1, 0, 0, 0, 1) | |
4844 | o26.BackSurface = Enum.SurfaceType.Weld | |
4845 | o26.BottomSurface = Enum.SurfaceType.Weld | |
4846 | o26.FrontSurface = Enum.SurfaceType.Weld | |
4847 | o26.LeftSurface = Enum.SurfaceType.Weld | |
4848 | o26.RightSurface = Enum.SurfaceType.Weld | |
4849 | o26.TopSurface = Enum.SurfaceType.Weld | |
4850 | o26.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
4851 | o27.Parent = o26 | |
4852 | o28.Parent = o1 | |
4853 | o28.BrickColor = BrickColor.new("Institutional white") | |
4854 | o28.Position = Vector3.new(113.818176, 6.80000877, 9.31151104) | |
4855 | o28.Rotation = Vector3.new(-90, -89.7982635, -90) | |
4856 | o28.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4857 | o28.Velocity = Vector3.new(-0.000360969483, 0.000753228669, -0.00708122458) | |
4858 | o28.Anchored = true | |
4859 | o28.FormFactor = Enum.FormFactor.Plate | |
4860 | o28.Size = Vector3.new(1, 2.79999995, 1) | |
4861 | o28.CFrame = CFrame.new(113.818176, 6.80000877, 9.31151104, 0, 3.89985715e-008, -0.999993801, 0, 1, 4.03698408e-008, 1, 0, 0) | |
4862 | o28.BackSurface = Enum.SurfaceType.Weld | |
4863 | o28.BottomSurface = Enum.SurfaceType.Weld | |
4864 | o28.TopSurface = Enum.SurfaceType.Weld | |
4865 | o28.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
4866 | o29.Parent = o28 | |
4867 | o29.MeshType = Enum.MeshType.Wedge | |
4868 | o30.Parent = o1 | |
4869 | o30.BrickColor = BrickColor.new("Institutional white") | |
4870 | o30.Position = Vector3.new(96.3181992, 4.60000753, 18.3115101) | |
4871 | o30.Rotation = Vector3.new(-0, 0, -2.26770203e-006) | |
4872 | o30.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4873 | o30.Velocity = Vector3.new(0.00210371148, 0.000697117415, -0.0023025109) | |
4874 | o30.Anchored = true | |
4875 | o30.FormFactor = Enum.FormFactor.Plate | |
4876 | o30.Size = Vector3.new(2, 2.4000001, 1) | |
4877 | o30.CFrame = CFrame.new(96.3181992, 4.60000753, 18.3115101, 0.999999046, 3.95788291e-008, 0, -3.97897928e-008, 1, 0, 0, 0, 1) | |
4878 | o30.BackSurface = Enum.SurfaceType.Weld | |
4879 | o30.BottomSurface = Enum.SurfaceType.Weld | |
4880 | o30.FrontSurface = Enum.SurfaceType.Weld | |
4881 | o30.LeftSurface = Enum.SurfaceType.Weld | |
4882 | o30.RightSurface = Enum.SurfaceType.Weld | |
4883 | o30.TopSurface = Enum.SurfaceType.Weld | |
4884 | o30.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
4885 | o31.Parent = o30 | |
4886 | o32.Parent = o1 | |
4887 | o32.BrickColor = BrickColor.new("Dark stone grey") | |
4888 | o32.Position = Vector3.new(95.8181839, 4.60000753, 13.8115101) | |
4889 | o32.Rotation = Vector3.new(90, 89.960434, -90) | |
4890 | o32.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4891 | o32.Velocity = Vector3.new(0.000791871978, 0.00139368721, -0.00215674727) | |
4892 | o32.Anchored = true | |
4893 | o32.FormFactor = Enum.FormFactor.Plate | |
4894 | o32.Size = Vector3.new(8, 2.4000001, 1) | |
4895 | o32.CFrame = CFrame.new(95.8181839, 4.60000753, 13.8115101, 0, 3.96579551e-008, 0.999999762, 0, 1, -3.97106952e-008, -1, 0, 0) | |
4896 | o32.BottomSurface = Enum.SurfaceType.Weld | |
4897 | o32.TopSurface = Enum.SurfaceType.Weld | |
4898 | o32.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
4899 | o33.Parent = o32 | |
4900 | o33.Offset = Vector3.new(0, 0, 0.5) | |
4901 | o33.Scale = Vector3.new(1, 1, 2) | |
4902 | o34.Parent = o1 | |
4903 | o34.BrickColor = BrickColor.new("Institutional white") | |
4904 | o34.Position = Vector3.new(93.8181992, 4.00000715, 13.8115101) | |
4905 | o34.Rotation = Vector3.new(-0, 0, -2.26770203e-006) | |
4906 | o34.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4907 | o34.Velocity = Vector3.new(0.000748508843, 0.00153822941, -0.00166177051) | |
4908 | o34.Anchored = true | |
4909 | o34.FormFactor = Enum.FormFactor.Plate | |
4910 | o34.Size = Vector3.new(3, 1.20000005, 10) | |
4911 | o34.CFrame = CFrame.new(93.8181992, 4.00000715, 13.8115101, 0.999999046, 3.95788291e-008, 0, -3.97897928e-008, 1, 0, 0, 0, 1) | |
4912 | o34.BackSurface = Enum.SurfaceType.Weld | |
4913 | o34.BottomSurface = Enum.SurfaceType.Weld | |
4914 | o34.FrontSurface = Enum.SurfaceType.Weld | |
4915 | o34.LeftSurface = Enum.SurfaceType.Weld | |
4916 | o34.RightSurface = Enum.SurfaceType.Weld | |
4917 | o34.TopSurface = Enum.SurfaceType.Weld | |
4918 | o34.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
4919 | o35.Parent = o34 | |
4920 | o36.Parent = o1 | |
4921 | o36.BrickColor = BrickColor.new("Br. yellowish orange") | |
4922 | o36.Position = Vector3.new(92.2181854, 4.00000715, 18.211504) | |
4923 | o36.Rotation = Vector3.new(-0, 0, -2.2601489e-006) | |
4924 | o36.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4925 | o36.Velocity = Vector3.new(0.00203119451, 0.00100810977, -0.00119533355) | |
4926 | o36.Anchored = true | |
4927 | o36.FormFactor = Enum.FormFactor.Custom | |
4928 | o36.Size = Vector3.new(0.200000003, 0.800000012, 0.799999714) | |
4929 | o36.CFrame = CFrame.new(92.2181854, 4.00000715, 18.211504, 0.999997854, 3.94469524e-008, 0, -3.99216233e-008, 1, 0, 0, 0, 1) | |
4930 | o36.BackSurface = Enum.SurfaceType.Weld | |
4931 | o36.BottomSurface = Enum.SurfaceType.Weld | |
4932 | o36.FrontSurface = Enum.SurfaceType.Weld | |
4933 | o36.LeftSurface = Enum.SurfaceType.Weld | |
4934 | o36.RightSurface = Enum.SurfaceType.Weld | |
4935 | o36.TopSurface = Enum.SurfaceType.Weld | |
4936 | o36.Color = Color3.new(0.886275, 0.607843, 0.25098) | |
4937 | o37.Parent = o36 | |
4938 | o38.Parent = o1 | |
4939 | o38.BrickColor = BrickColor.new("Institutional white") | |
4940 | o38.Position = Vector3.new(99.0602112, 4.60000706, 18.3115101) | |
4941 | o38.Rotation = Vector3.new(-0, 0, -4.84935117e-006) | |
4942 | o38.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4943 | o38.Velocity = Vector3.new(0.00210371148, 0.000498947338, -0.0031018618) | |
4944 | o38.Anchored = true | |
4945 | o38.CanCollide = false | |
4946 | o38.FormFactor = Enum.FormFactor.Plate | |
4947 | o38.Size = Vector3.new(3.48000026, 2.4000001, 1) | |
4948 | o38.CFrame = CFrame.new(99.0602112, 4.60000706, 18.3115101, 1, 8.46371435e-008, 0, -8.46371435e-008, 1, 0, 0, 0, 1) | |
4949 | o38.BottomSurface = Enum.SurfaceType.Weld | |
4950 | o38.LeftSurface = Enum.SurfaceType.Weld | |
4951 | o38.RightSurface = Enum.SurfaceType.Weld | |
4952 | o38.TopSurface = Enum.SurfaceType.Weld | |
4953 | o38.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
4954 | o39.Parent = o1 | |
4955 | o39.BrickColor = BrickColor.new("Really red") | |
4956 | o39.Position = Vector3.new(113.818176, 4.80000877, 9.31151104) | |
4957 | o39.Rotation = Vector3.new(-0, 0, -2.2344675e-006) | |
4958 | o39.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4959 | o39.Velocity = Vector3.new(-0.000505513046, 0.000753228669, -0.00737475045) | |
4960 | o39.Anchored = true | |
4961 | o39.FormFactor = Enum.FormFactor.Plate | |
4962 | o39.Size = Vector3.new(1, 1.20000005, 1) | |
4963 | o39.CFrame = CFrame.new(113.818176, 4.80000877, 9.31151104, 0.999993801, 3.89985715e-008, 0, -4.03698408e-008, 1, 0, 0, 0, 1) | |
4964 | o39.BackSurface = Enum.SurfaceType.Weld | |
4965 | o39.BottomSurface = Enum.SurfaceType.Weld | |
4966 | o39.FrontSurface = Enum.SurfaceType.Weld | |
4967 | o39.LeftSurface = Enum.SurfaceType.Weld | |
4968 | o39.RightSurface = Enum.SurfaceType.Weld | |
4969 | o39.TopSurface = Enum.SurfaceType.Weld | |
4970 | o39.Color = Color3.new(1, 0, 0) | |
4971 | o40.Parent = o39 | |
4972 | o41.Parent = o1 | |
4973 | o41.BrickColor = BrickColor.new("Institutional white") | |
4974 | o41.Position = Vector3.new(113.818054, 3.80000734, 9.31151104) | |
4975 | o41.Rotation = Vector3.new(-0, 0, -2.23295706e-006) | |
4976 | o41.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4977 | o41.Velocity = Vector3.new(-0.000577784958, 0.000753237749, -0.00752147706) | |
4978 | o41.Anchored = true | |
4979 | o41.FormFactor = Enum.FormFactor.Plate | |
4980 | o41.Size = Vector3.new(1, 0.800000012, 1) | |
4981 | o41.CFrame = CFrame.new(113.818054, 3.80000734, 9.31151104, 0.999993563, 3.89721997e-008, 0, -4.03962055e-008, 1, 0, 0, 0, 1) | |
4982 | o41.BackSurface = Enum.SurfaceType.Weld | |
4983 | o41.BottomSurface = Enum.SurfaceType.Weld | |
4984 | o41.FrontSurface = Enum.SurfaceType.Weld | |
4985 | o41.LeftSurface = Enum.SurfaceType.Weld | |
4986 | o41.RightSurface = Enum.SurfaceType.Weld | |
4987 | o41.TopSurface = Enum.SurfaceType.Weld | |
4988 | o41.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
4989 | o42.Parent = o41 | |
4990 | o43.Parent = o1 | |
4991 | o43.BrickColor = BrickColor.new("Institutional white") | |
4992 | o43.Position = Vector3.new(105.317894, 8.40000725, 13.8115139) | |
4993 | o43.Rotation = Vector3.new(-0, 0, -2.21481446e-006) | |
4994 | o43.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
4995 | o43.Velocity = Vector3.new(0.00106650498, 0.000707125873, -0.00436840346) | |
4996 | o43.Anchored = true | |
4997 | o43.CanCollide = false | |
4998 | o43.FormFactor = Enum.FormFactor.Plate | |
4999 | o43.Size = Vector3.new(14, 0.400000006, 8) | |
5000 | o43.CFrame = CFrame.new(105.317894, 8.40000725, 13.8115139, 1, 3.86558057e-008, 0, -3.86558057e-008, 1, 0, 0, 0, 1) | |
5001 | o43.BackSurface = Enum.SurfaceType.Weld | |
5002 | o43.BottomSurface = Enum.SurfaceType.Weld | |
5003 | o43.FrontSurface = Enum.SurfaceType.Weld | |
5004 | o43.LeftSurface = Enum.SurfaceType.Weld | |
5005 | o43.RightSurface = Enum.SurfaceType.Weld | |
5006 | o43.TopSurface = Enum.SurfaceType.Weld | |
5007 | o43.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
5008 | o44.Parent = o43 | |
5009 | o45.Parent = o1 | |
5010 | o45.BrickColor = BrickColor.new("Really black") | |
5011 | o45.Position = Vector3.new(113.818176, 6.80000782, 11.311511) | |
5012 | o45.Rotation = Vector3.new(-90, -89.9314728, -90) | |
5013 | o45.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5014 | o45.Velocity = Vector3.new(0.000222070201, 0.000459702482, -0.00708122645) | |
5015 | o45.Anchored = true | |
5016 | o45.CanCollide = false | |
5017 | o45.FormFactor = Enum.FormFactor.Plate | |
5018 | o45.Size = Vector3.new(3, 2.79999995, 1) | |
5019 | o45.CFrame = CFrame.new(113.818176, 6.80000782, 11.311511, 0, 3.96052044e-008, -0.999999285, 0, 1, 3.97634281e-008, 1, 0, 0) | |
5020 | o45.BackSurface = Enum.SurfaceType.Weld | |
5021 | o45.BottomSurface = Enum.SurfaceType.Weld | |
5022 | o45.TopSurface = Enum.SurfaceType.Weld | |
5023 | o45.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
5024 | o46.Parent = o45 | |
5025 | o46.MeshType = Enum.MeshType.Wedge | |
5026 | o47.Parent = o1 | |
5027 | o47.BrickColor = BrickColor.new("Institutional white") | |
5028 | o47.Position = Vector3.new(103.118179, 2.40000772, 13.8115101) | |
5029 | o47.Rotation = Vector3.new(-0, 0, -2.27223404e-006) | |
5030 | o47.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5031 | o47.Velocity = Vector3.new(0.000632874086, 0.000866103393, -0.0046077203) | |
5032 | o47.Anchored = true | |
5033 | o47.FormFactor = Enum.FormFactor.Plate | |
5034 | o47.Size = Vector3.new(12.3999996, 1.20000005, 10) | |
5035 | o47.CFrame = CFrame.new(103.118179, 2.40000772, 13.8115101, 0.999999762, 3.96579551e-008, 0, -3.97106952e-008, 1, 0, 0, 0, 1) | |
5036 | o47.BackSurface = Enum.SurfaceType.Weld | |
5037 | o47.BottomSurface = Enum.SurfaceType.Weld | |
5038 | o47.FrontSurface = Enum.SurfaceType.Weld | |
5039 | o47.LeftSurface = Enum.SurfaceType.Weld | |
5040 | o47.RightSurface = Enum.SurfaceType.Weld | |
5041 | o47.TopSurface = Enum.SurfaceType.Weld | |
5042 | o47.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
5043 | o48.Parent = o47 | |
5044 | o49.Parent = o1 | |
5045 | o49.BrickColor = BrickColor.new("White") | |
5046 | o49.Position = Vector3.new(104.018181, 3.20000815, 13.8115101) | |
5047 | o49.Rotation = Vector3.new(-0, 0, -2.27374471e-006) | |
5048 | o49.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5049 | o49.Velocity = Vector3.new(0.000690691522, 0.000801058719, -0.00475267787) | |
5050 | o49.Anchored = true | |
5051 | o49.FormFactor = Enum.FormFactor.Plate | |
5052 | o49.Size = Vector3.new(20.6000004, 0.400000006, 10) | |
5053 | o49.CFrame = CFrame.new(104.018181, 3.20000815, 13.8115101, 1, 3.96843305e-008, 0, -3.96843305e-008, 1, 0, 0, 0, 1) | |
5054 | o49.BackSurface = Enum.SurfaceType.Weld | |
5055 | o49.BottomSurface = Enum.SurfaceType.Weld | |
5056 | o49.FrontSurface = Enum.SurfaceType.Weld | |
5057 | o49.LeftSurface = Enum.SurfaceType.Weld | |
5058 | o49.RightSurface = Enum.SurfaceType.Weld | |
5059 | o49.TopSurface = Enum.SurfaceType.Weld | |
5060 | o49.Color = Color3.new(0.94902, 0.952941, 0.952941) | |
5061 | o50.Parent = o49 | |
5062 | o51.Parent = o1 | |
5063 | o51.BrickColor = BrickColor.new("Institutional white") | |
5064 | o51.Position = Vector3.new(107.167747, 5.80000782, 18.3115101) | |
5065 | o51.Rotation = Vector3.new(-0, 0, -3.14727777e-006) | |
5066 | o51.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5067 | o51.Velocity = Vector3.new(0.00219043763, -8.69987416e-005, -0.00528925471) | |
5068 | o51.Anchored = true | |
5069 | o51.FormFactor = Enum.FormFactor.Plate | |
5070 | o51.Size = Vector3.new(12.3000002, 4.80000019, 1) | |
5071 | o51.CFrame = CFrame.new(107.167747, 5.80000782, 18.3115101, 1, 5.49303607e-008, 0, -5.49303607e-008, 1, 0, 0, 0, 1) | |
5072 | o51.BackSurface = Enum.SurfaceType.Weld | |
5073 | o51.BottomSurface = Enum.SurfaceType.Weld | |
5074 | o51.FrontSurface = Enum.SurfaceType.Weld | |
5075 | o51.LeftSurface = Enum.SurfaceType.Weld | |
5076 | o51.RightSurface = Enum.SurfaceType.Weld | |
5077 | o51.TopSurface = Enum.SurfaceType.Weld | |
5078 | o51.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
5079 | o52.Parent = o51 | |
5080 | o53.Parent = o1 | |
5081 | o53.BrickColor = BrickColor.new("Institutional white") | |
5082 | o53.Position = Vector3.new(113.818176, 6.80000782, 13.8115101) | |
5083 | o53.Rotation = Vector3.new(-90, -89.9314728, -90) | |
5084 | o53.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5085 | o53.Velocity = Vector3.new(0.000950869871, 9.27953006e-005, -0.00708122645) | |
5086 | o53.Anchored = true | |
5087 | o53.CanCollide = false | |
5088 | o53.FormFactor = Enum.FormFactor.Plate | |
5089 | o53.Size = Vector3.new(2, 2.79999995, 1) | |
5090 | o53.CFrame = CFrame.new(113.818176, 6.80000782, 13.8115101, 0, 3.96052044e-008, -0.999999285, 0, 1, 3.97634281e-008, 1, 0, 0) | |
5091 | o53.BackSurface = Enum.SurfaceType.Weld | |
5092 | o53.BottomSurface = Enum.SurfaceType.Weld | |
5093 | o53.TopSurface = Enum.SurfaceType.Weld | |
5094 | o53.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
5095 | o54.Parent = o53 | |
5096 | o54.MeshType = Enum.MeshType.Wedge | |
5097 | o55.Parent = o1 | |
5098 | o55.BrickColor = BrickColor.new("Really black") | |
5099 | o55.Position = Vector3.new(113.818176, 6.80000782, 16.3115101) | |
5100 | o55.Rotation = Vector3.new(-90, -89.9314728, -90) | |
5101 | o55.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5102 | o55.Velocity = Vector3.new(0.0016796696, -0.000274111895, -0.00708122645) | |
5103 | o55.Anchored = true | |
5104 | o55.CanCollide = false | |
5105 | o55.FormFactor = Enum.FormFactor.Plate | |
5106 | o55.Size = Vector3.new(3, 2.79999995, 1) | |
5107 | o55.CFrame = CFrame.new(113.818176, 6.80000782, 16.3115101, 0, 3.96052044e-008, -0.999999285, 0, 1, 3.97634281e-008, 1, 0, 0) | |
5108 | o55.BackSurface = Enum.SurfaceType.Weld | |
5109 | o55.BottomSurface = Enum.SurfaceType.Weld | |
5110 | o55.TopSurface = Enum.SurfaceType.Weld | |
5111 | o55.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
5112 | o56.Parent = o55 | |
5113 | o56.MeshType = Enum.MeshType.Wedge | |
5114 | o57.Parent = o1 | |
5115 | o57.BrickColor = BrickColor.new("Institutional white") | |
5116 | o57.Position = Vector3.new(113.818176, 4.40000582, 13.8115101) | |
5117 | o57.Rotation = Vector3.new(-0, 0, -2.27223404e-006) | |
5118 | o57.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5119 | o57.Velocity = Vector3.new(0.000777417503, 9.27956426e-005, -0.00743345637) | |
5120 | o57.Anchored = true | |
5121 | o57.CanCollide = false | |
5122 | o57.FormFactor = Enum.FormFactor.Plate | |
5123 | o57.Size = Vector3.new(1, 2, 8) | |
5124 | o57.CFrame = CFrame.new(113.818176, 4.40000582, 13.8115101, 0.999999762, 3.96579551e-008, 0, -3.97106952e-008, 1, 0, 0, 0, 1) | |
5125 | o57.BackSurface = Enum.SurfaceType.Weld | |
5126 | o57.BottomSurface = Enum.SurfaceType.Weld | |
5127 | o57.FrontSurface = Enum.SurfaceType.Weld | |
5128 | o57.LeftSurface = Enum.SurfaceType.Weld | |
5129 | o57.RightSurface = Enum.SurfaceType.Weld | |
5130 | o57.TopSurface = Enum.SurfaceType.Weld | |
5131 | o57.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
5132 | o58.Parent = o57 | |
5133 | o59.Parent = o1 | |
5134 | o59.BrickColor = BrickColor.new("Institutional white") | |
5135 | o59.Position = Vector3.new(113.818176, 3.80000734, 18.3115101) | |
5136 | o59.Rotation = Vector3.new(-0, 0, -2.27223404e-006) | |
5137 | o59.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5138 | o59.Velocity = Vector3.new(0.00204589404, -0.000567637384, -0.00752151385) | |
5139 | o59.Anchored = true | |
5140 | o59.FormFactor = Enum.FormFactor.Plate | |
5141 | o59.Size = Vector3.new(1, 0.800000012, 1) | |
5142 | o59.CFrame = CFrame.new(113.818176, 3.80000734, 18.3115101, 0.999999762, 3.96579551e-008, 0, -3.97106952e-008, 1, 0, 0, 0, 1) | |
5143 | o59.BackSurface = Enum.SurfaceType.Weld | |
5144 | o59.BottomSurface = Enum.SurfaceType.Weld | |
5145 | o59.FrontSurface = Enum.SurfaceType.Weld | |
5146 | o59.LeftSurface = Enum.SurfaceType.Weld | |
5147 | o59.RightSurface = Enum.SurfaceType.Weld | |
5148 | o59.TopSurface = Enum.SurfaceType.Weld | |
5149 | o59.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
5150 | o60.Parent = o59 | |
5151 | o61.Parent = o1 | |
5152 | o61.BrickColor = BrickColor.new("Institutional white") | |
5153 | o61.Position = Vector3.new(105.317894, 8.40000725, 18.3115101) | |
5154 | o61.Rotation = Vector3.new(-0, 0, -2.21330401e-006) | |
5155 | o61.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5156 | o61.Velocity = Vector3.new(0.00237834454, 4.6692905e-005, -0.00436840346) | |
5157 | o61.Anchored = true | |
5158 | o61.CanCollide = false | |
5159 | o61.FormFactor = Enum.FormFactor.Plate | |
5160 | o61.Size = Vector3.new(14, 0.400000006, 1) | |
5161 | o61.CFrame = CFrame.new(105.317894, 8.40000725, 18.3115101, 0.999999762, 3.86294303e-008, 0, -3.86821704e-008, 1, 0, 0, 0, 1) | |
5162 | o61.BackSurface = Enum.SurfaceType.Weld | |
5163 | o61.BottomSurface = Enum.SurfaceType.Weld | |
5164 | o61.FrontSurface = Enum.SurfaceType.Weld | |
5165 | o61.LeftSurface = Enum.SurfaceType.Weld | |
5166 | o61.RightSurface = Enum.SurfaceType.Weld | |
5167 | o61.TopSurface = Enum.SurfaceType.Weld | |
5168 | o61.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
5169 | o62.Parent = o61 | |
5170 | o63.Parent = o1 | |
5171 | o63.BrickColor = BrickColor.new("Institutional white") | |
5172 | o63.Position = Vector3.new(97.8181839, 5.79500866, 9.31151104) | |
5173 | o63.Rotation = Vector3.new(-0, 0, -2.36894834e-006) | |
5174 | o63.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5175 | o63.Velocity = Vector3.new(-0.000433602603, 0.00190957636, -0.00256440602) | |
5176 | o63.Anchored = true | |
5177 | o63.CanCollide = false | |
5178 | o63.FormFactor = Enum.FormFactor.Plate | |
5179 | o63.Size = Vector3.new(1, 4.80999994, 1) | |
5180 | o63.CFrame = CFrame.new(97.8181839, 5.79500866, 9.31151104, 1, 4.13459489e-008, 0, -4.13459489e-008, 1, 0, 0, 0, 1) | |
5181 | o63.BottomSurface = Enum.SurfaceType.Weld | |
5182 | o63.LeftSurface = Enum.SurfaceType.Weld | |
5183 | o63.RightSurface = Enum.SurfaceType.Weld | |
5184 | o63.TopSurface = Enum.SurfaceType.Weld | |
5185 | o63.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
5186 | o64.Parent = o1 | |
5187 | o64.BrickColor = BrickColor.new("Institutional white") | |
5188 | o64.Position = Vector3.new(97.8178101, 7.00000858, 18.3115101) | |
5189 | o64.Rotation = Vector3.new(-0, 0, -2.14529973e-006) | |
5190 | o64.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5191 | o64.Velocity = Vector3.new(0.00227716402, 0.00058873737, -0.00238744705) | |
5192 | o64.Anchored = true | |
5193 | o64.CanCollide = false | |
5194 | o64.FormFactor = Enum.FormFactor.Plate | |
5195 | o64.Size = Vector3.new(1, 2.4000001, 1) | |
5196 | o64.CFrame = CFrame.new(97.8178101, 7.00000858, 18.3115101, 0.999999762, 3.74425326e-008, 0, -3.74952727e-008, 1, 0, 0, 0, 1) | |
5197 | o64.BottomSurface = Enum.SurfaceType.Weld | |
5198 | o64.LeftSurface = Enum.SurfaceType.Weld | |
5199 | o64.RightSurface = Enum.SurfaceType.Weld | |
5200 | o64.TopSurface = Enum.SurfaceType.Weld | |
5201 | o64.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
5202 | o65.Parent = o1 | |
5203 | o65.BrickColor = BrickColor.new("Institutional white") | |
5204 | o65.Position = Vector3.new(113.418167, 2.40000749, 13.8115101) | |
5205 | o65.Rotation = Vector3.new(-0, 0, -2.27223404e-006) | |
5206 | o65.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5207 | o65.Velocity = Vector3.new(0.000632874086, 0.000121704477, -0.0076103732) | |
5208 | o65.Anchored = true | |
5209 | o65.FormFactor = Enum.FormFactor.Plate | |
5210 | o65.Size = Vector3.new(1.80000007, 1.20000005, 10) | |
5211 | o65.CFrame = CFrame.new(113.418167, 2.40000749, 13.8115101, 0.999999762, 3.96579551e-008, 0, -3.97106952e-008, 1, 0, 0, 0, 1) | |
5212 | o65.BackSurface = Enum.SurfaceType.Weld | |
5213 | o65.BottomSurface = Enum.SurfaceType.Weld | |
5214 | o65.FrontSurface = Enum.SurfaceType.Weld | |
5215 | o65.LeftSurface = Enum.SurfaceType.Weld | |
5216 | o65.RightSurface = Enum.SurfaceType.Weld | |
5217 | o65.TopSurface = Enum.SurfaceType.Weld | |
5218 | o65.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
5219 | o66.Parent = o65 | |
5220 | o67.Parent = o1 | |
5221 | o67.BrickColor = BrickColor.new("Really red") | |
5222 | o67.Position = Vector3.new(113.817245, 4.80000687, 18.3115101) | |
5223 | o67.Rotation = Vector3.new(-0, 0, -3.17145691e-006) | |
5224 | o67.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5225 | o67.Velocity = Vector3.new(0.00211816584, -0.000567570096, -0.0073744799) | |
5226 | o67.Anchored = true | |
5227 | o67.FormFactor = Enum.FormFactor.Plate | |
5228 | o67.Size = Vector3.new(1, 1.20000005, 1) | |
5229 | o67.CFrame = CFrame.new(113.817245, 4.80000687, 18.3115101, 1, 5.53523627e-008, 0, -5.53523627e-008, 1, 0, 0, 0, 1) | |
5230 | o67.BackSurface = Enum.SurfaceType.Weld | |
5231 | o67.BottomSurface = Enum.SurfaceType.Weld | |
5232 | o67.FrontSurface = Enum.SurfaceType.Weld | |
5233 | o67.LeftSurface = Enum.SurfaceType.Weld | |
5234 | o67.RightSurface = Enum.SurfaceType.Weld | |
5235 | o67.TopSurface = Enum.SurfaceType.Weld | |
5236 | o67.Color = Color3.new(1, 0, 0) | |
5237 | o68.Parent = o67 | |
5238 | o69.Parent = o1 | |
5239 | o69.BrickColor = BrickColor.new("Institutional white") | |
5240 | o69.Position = Vector3.new(112.817894, 8.40000725, 13.8115139) | |
5241 | o69.Rotation = Vector3.new(-0, 0, -2.21330401e-006) | |
5242 | o69.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5243 | o69.Velocity = Vector3.new(0.00106650498, 0.000165087578, -0.00655480288) | |
5244 | o69.Anchored = true | |
5245 | o69.CanCollide = false | |
5246 | o69.FormFactor = Enum.FormFactor.Plate | |
5247 | o69.Size = Vector3.new(1, 0.400000006, 10) | |
5248 | o69.CFrame = CFrame.new(112.817894, 8.40000725, 13.8115139, 0.999999762, 3.86294303e-008, 0, -3.86821704e-008, 1, 0, 0, 0, 1) | |
5249 | o69.BackSurface = Enum.SurfaceType.Weld | |
5250 | o69.BottomSurface = Enum.SurfaceType.Weld | |
5251 | o69.FrontSurface = Enum.SurfaceType.Weld | |
5252 | o69.LeftSurface = Enum.SurfaceType.Weld | |
5253 | o69.RightSurface = Enum.SurfaceType.Weld | |
5254 | o69.TopSurface = Enum.SurfaceType.Weld | |
5255 | o69.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
5256 | o70.Parent = o69 | |
5257 | o71.Parent = o1 | |
5258 | o71.BrickColor = BrickColor.new("Really black") | |
5259 | o71.Position = Vector3.new(92.2181854, 3.8000083, 13.8115101) | |
5260 | o71.Rotation = Vector3.new(-0, 0, -2.2601489e-006) | |
5261 | o71.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5262 | o71.Velocity = Vector3.new(0.0007340546, 0.00165386556, -0.00122468593) | |
5263 | o71.Anchored = true | |
5264 | o71.FormFactor = Enum.FormFactor.Custom | |
5265 | o71.Size = Vector3.new(0.200000003, 0.800000012, 6) | |
5266 | o71.CFrame = CFrame.new(92.2181854, 3.8000083, 13.8115101, 0.999997854, 3.94469524e-008, 0, -3.99216233e-008, 1, 0, 0, 0, 1) | |
5267 | o71.BackSurface = Enum.SurfaceType.Weld | |
5268 | o71.BottomSurface = Enum.SurfaceType.Weld | |
5269 | o71.FrontSurface = Enum.SurfaceType.Weld | |
5270 | o71.LeftSurface = Enum.SurfaceType.Weld | |
5271 | o71.RightSurface = Enum.SurfaceType.Weld | |
5272 | o71.TopSurface = Enum.SurfaceType.Weld | |
5273 | o71.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
5274 | o72.Parent = o71 | |
5275 | o73.Name = "Head" | |
5276 | o73.Parent = o1 | |
5277 | o73.Material = Enum.Material.SmoothPlastic | |
5278 | o73.BrickColor = BrickColor.new("Institutional white") | |
5279 | o73.Position = Vector3.new(99.207077, 7.026577, 15.2047167) | |
5280 | o73.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005) | |
5281 | o73.Anchored = true | |
5282 | o73.FormFactor = Enum.FormFactor.Symmetric | |
5283 | o73.Size = Vector3.new(2, 1, 1) | |
5284 | o73.CFrame = CFrame.new(99.207077, 7.026577, 15.2047167, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915) | |
5285 | o73.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
5286 | o73.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
5287 | o73.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
5288 | o73.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
5289 | o73.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
5290 | o73.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
5291 | o73.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
5292 | o74.Parent = o73 | |
5293 | o74.Scale = Vector3.new(1.25, 1.25, 1.25) | |
5294 | o75.Name = "face" | |
5295 | o75.Parent = o73 | |
5296 | o75.Texture = "rbxasset://textures/face.png" | |
5297 | o76.Parent = o1 | |
5298 | o76.BrickColor = BrickColor.new("Institutional white") | |
5299 | o76.Position = Vector3.new(99.6954269, 5.81500673, 9.31151104) | |
5300 | o76.Rotation = Vector3.new(-0, 0, -8.82515178e-006) | |
5301 | o76.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5302 | o76.Velocity = Vector3.new(-0.000432157307, 0.00177390513, -0.00310872309) | |
5303 | o76.Anchored = true | |
5304 | o76.CanCollide = false | |
5305 | o76.FormFactor = Enum.FormFactor.Plate | |
5306 | o76.Size = Vector3.new(2.76000023, 4.82999992, 1) | |
5307 | o76.CFrame = CFrame.new(99.6954269, 5.81500673, 9.31151104, 1, 1.54027958e-007, 0, -1.54027958e-007, 1, 0, 0, 0, 1) | |
5308 | o76.BottomSurface = Enum.SurfaceType.Weld | |
5309 | o76.LeftSurface = Enum.SurfaceType.Weld | |
5310 | o76.RightSurface = Enum.SurfaceType.Weld | |
5311 | o76.TopSurface = Enum.SurfaceType.Weld | |
5312 | o76.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
5313 | o77.Parent = o1 | |
5314 | o77.BrickColor = BrickColor.new("Institutional white") | |
5315 | o77.Position = Vector3.new(100.909996, 5.80000877, 14.2915134) | |
5316 | o77.Rotation = Vector3.new(-0, 0, -7.89941078e-006) | |
5317 | o77.RotVelocity = Vector3.new(0.000146762875, 0.000291519886, -7.22717741e-005) | |
5318 | o77.Velocity = Vector3.new(0.0010185279, 0.000955246738, -0.00346499542) | |
5319 | o77.Anchored = true | |
5320 | o77.FormFactor = Enum.FormFactor.Plate | |
5321 | o77.Size = Vector3.new(0.200000003, 4.80000019, 9.0199995) | |
5322 | o77.CFrame = CFrame.new(100.909996, 5.80000877, 14.2915134, 1, 1.37870728e-007, 0, -1.37870728e-007, 1, 0, 0, 0, 1) | |
5323 | o77.BackSurface = Enum.SurfaceType.Weld | |
5324 | o77.BottomSurface = Enum.SurfaceType.Weld | |
5325 | o77.FrontSurface = Enum.SurfaceType.Weld | |
5326 | o77.LeftSurface = Enum.SurfaceType.Weld | |
5327 | o77.RightSurface = Enum.SurfaceType.Weld | |
5328 | o77.TopSurface = Enum.SurfaceType.Weld | |
5329 | o77.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
5330 | o78.Parent = o77 | |
5331 | o79.Name = "Head" | |
5332 | o79.Parent = o1 | |
5333 | o79.Material = Enum.Material.SmoothPlastic | |
5334 | o79.BrickColor = BrickColor.new("Institutional white") | |
5335 | o79.Position = Vector3.new(103.10894, 7.49666739, 15.2047167) | |
5336 | o79.Rotation = Vector3.new(-1.53054156e-008, -0.95580709, -1.83469444e-006) | |
5337 | o79.Anchored = true | |
5338 | o79.FormFactor = Enum.FormFactor.Symmetric | |
5339 | o79.Size = Vector3.new(2, 1, 1) | |
5340 | o79.CFrame = CFrame.new(103.10894, 7.49666739, 15.2047167, 0.999860883, 3.20170024e-008, -0.0166812073, -3.20170024e-008, 1, 2.67092765e-010, 0.0166812055, 2.67026595e-010, 0.999860942) | |
5341 | o79.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
5342 | o79.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
5343 | o79.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
5344 | o79.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
5345 | o79.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
5346 | o79.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
5347 | o79.Color = Color3.new(0.972549, 0.972549, 0.972549) | |
5348 | o80.Parent = o79 | |
5349 | o80.Scale = Vector3.new(1.25, 1.25, 1.25) | |
5350 | o81.Name = "face" | |
5351 | o81.Parent = o79 | |
5352 | o81.Texture = "rbxasset://textures/face.png" | |
5353 | o82.Name = "Handle" | |
5354 | o82.Parent = o1 | |
5355 | o82.Material = Enum.Material.SmoothPlastic | |
5356 | o82.Position = Vector3.new(103.10894, 7.34666729, 15.2047167) | |
5357 | o82.Rotation = Vector3.new(-1.53054156e-008, -0.95580709, -1.83469444e-006) | |
5358 | o82.Anchored = true | |
5359 | o82.CanCollide = false | |
5360 | o82.FormFactor = Enum.FormFactor.Symmetric | |
5361 | o82.Size = Vector3.new(2, 2, 2) | |
5362 | o82.CFrame = CFrame.new(103.10894, 7.34666729, 15.2047167, 0.999860883, 3.20170024e-008, -0.0166812073, -3.20170024e-008, 1, 2.67092765e-010, 0.0166812055, 2.67026595e-010, 0.999860942) | |
5363 | o82.BottomSurface = Enum.SurfaceType.Smooth | |
5364 | o82.TopSurface = Enum.SurfaceType.Smooth | |
5365 | o83.Parent = o82 | |
5366 | o83.MeshId = "http://www.roblox.com/asset/?id=15393031" | |
5367 | o83.TextureId = "http://www.roblox.com/asset/?id=15393013" | |
5368 | o83.MeshType = Enum.MeshType.FileMesh | |
5369 | o84.Parent = o1 | |
5370 | o84.NameOcclusion = Enum.NameOcclusion.NoOcclusion | |
5371 | o84.RightLeg = o94 | |
5372 | o84.LeftLeg = o96 | |
5373 | o84.Torso = o87 | |
5374 | o84.Health = 0 | |
5375 | o84.MaxHealth = 0 | |
5376 | o85.Name = "TPPART" | |
5377 | o85.Parent = o1 | |
5378 | o85.Transparency = 1 | |
5379 | o85.Position = Vector3.new(104.155182, 4.24109221, 12.6003485) | |
5380 | o85.Rotation = Vector3.new(-0, 0, -3.5910773e-006) | |
5381 | o85.Anchored = true | |
5382 | o85.CanCollide = false | |
5383 | o85.Size = Vector3.new(4, 1, 2) | |
5384 | o85.CFrame = CFrame.new(104.155182, 4.24109221, 12.6003485, 1, 6.26761221e-008, 0, -6.26761221e-008, 1, 0, 0, 0, 1) | |
5385 | o86.Name = "TPPART2" | |
5386 | o86.Parent = o1 | |
5387 | o86.Transparency = 1 | |
5388 | o86.Position = Vector3.new(104.155182, 5.40188599, 6.32408237) | |
5389 | o86.Rotation = Vector3.new(-0, 0, -3.5910773e-006) | |
5390 | o86.Anchored = true | |
5391 | o86.CanCollide = false | |
5392 | o86.Size = Vector3.new(4, 1, 2) | |
5393 | o86.CFrame = CFrame.new(104.155182, 5.40188599, 6.32408237, 1, 6.26761221e-008, 0, -6.26761221e-008, 1, 0, 0, 0, 1) | |
5394 | o87.Name = "Torso" | |
5395 | o87.Parent = o1 | |
5396 | o87.Material = Enum.Material.SmoothPlastic | |
5397 | o87.BrickColor = BrickColor.new("Navy blue") | |
5398 | o87.Position = Vector3.new(99.207077, 5.526577, 15.2047167) | |
5399 | o87.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005) | |
5400 | o87.Anchored = true | |
5401 | o87.FormFactor = Enum.FormFactor.Symmetric | |
5402 | o87.Size = Vector3.new(2, 2, 1) | |
5403 | o87.CFrame = CFrame.new(99.207077, 5.526577, 15.2047167, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915) | |
5404 | o87.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
5405 | o87.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
5406 | o87.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
5407 | o87.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
5408 | o87.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
5409 | o87.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
5410 | o87.Color = Color3.new(0, 0.12549, 0.376471) | |
5411 | o88.Name = "roblox" | |
5412 | o88.Parent = o87 | |
5413 | o89.Name = "Right Shoulder" | |
5414 | o89.Parent = o87 | |
5415 | o89.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
5416 | o89.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
5417 | o89.Part0 = o87 | |
5418 | o89.Part1 = o95 | |
5419 | o89.DesiredAngle = -0.062025275081396 | |
5420 | o89.MaxVelocity = 0.15000000596046 | |
5421 | o90.Name = "Left Shoulder" | |
5422 | o90.Parent = o87 | |
5423 | o90.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
5424 | o90.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
5425 | o90.Part0 = o87 | |
5426 | o90.Part1 = o97 | |
5427 | o90.DesiredAngle = -0.062025275081396 | |
5428 | o90.MaxVelocity = 0.15000000596046 | |
5429 | o91.Name = "Right Hip" | |
5430 | o91.Parent = o87 | |
5431 | o91.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
5432 | o91.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
5433 | o91.Part0 = o87 | |
5434 | o91.Part1 = o94 | |
5435 | o91.DesiredAngle = 0.062025275081396 | |
5436 | o91.MaxVelocity = 0.10000000149012 | |
5437 | o92.Name = "Left Hip" | |
5438 | o92.Parent = o87 | |
5439 | o92.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
5440 | o92.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
5441 | o92.Part0 = o87 | |
5442 | o92.Part1 = o96 | |
5443 | o92.DesiredAngle = 0.062025275081396 | |
5444 | o92.MaxVelocity = 0.10000000149012 | |
5445 | o93.Name = "Neck" | |
5446 | o93.Parent = o87 | |
5447 | o93.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
5448 | o93.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
5449 | o93.Part0 = o87 | |
5450 | o93.Part1 = o73 | |
5451 | o93.MaxVelocity = 0.10000000149012 | |
5452 | o94.Name = "Right Leg" | |
5453 | o94.Parent = o1 | |
5454 | o94.Material = Enum.Material.SmoothPlastic | |
5455 | o94.BrickColor = BrickColor.new("Navy blue") | |
5456 | o94.Position = Vector3.new(99.215416, 3.526577, 14.7047863) | |
5457 | o94.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005) | |
5458 | o94.Anchored = true | |
5459 | o94.CanCollide = false | |
5460 | o94.FormFactor = Enum.FormFactor.Symmetric | |
5461 | o94.Size = Vector3.new(1, 2, 1) | |
5462 | o94.CFrame = CFrame.new(99.215416, 3.526577, 14.7047863, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915) | |
5463 | o94.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
5464 | o94.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
5465 | o94.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
5466 | o94.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
5467 | o94.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
5468 | o94.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
5469 | o94.Color = Color3.new(0, 0.12549, 0.376471) | |
5470 | o95.Name = "Right Arm" | |
5471 | o95.Parent = o1 | |
5472 | o95.Material = Enum.Material.SmoothPlastic | |
5473 | o95.BrickColor = BrickColor.new("Maroon") | |
5474 | o95.Position = Vector3.new(99.2321014, 5.526577, 13.7049236) | |
5475 | o95.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005) | |
5476 | o95.Anchored = true | |
5477 | o95.CanCollide = false | |
5478 | o95.FormFactor = Enum.FormFactor.Symmetric | |
5479 | o95.Size = Vector3.new(1, 2, 1) | |
5480 | o95.CFrame = CFrame.new(99.2321014, 5.526577, 13.7049236, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915) | |
5481 | o95.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
5482 | o95.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
5483 | o95.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
5484 | o95.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
5485 | o95.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
5486 | o95.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
5487 | o95.Color = Color3.new(0.458824, 0, 0) | |
5488 | o96.Name = "Left Leg" | |
5489 | o96.Parent = o1 | |
5490 | o96.Material = Enum.Material.SmoothPlastic | |
5491 | o96.BrickColor = BrickColor.new("Navy blue") | |
5492 | o96.Position = Vector3.new(99.1987381, 3.526577, 15.7046452) | |
5493 | o96.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005) | |
5494 | o96.Anchored = true | |
5495 | o96.CanCollide = false | |
5496 | o96.FormFactor = Enum.FormFactor.Symmetric | |
5497 | o96.Size = Vector3.new(1, 2, 1) | |
5498 | o96.CFrame = CFrame.new(99.1987381, 3.526577, 15.7046452, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915) | |
5499 | o96.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
5500 | o96.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
5501 | o96.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
5502 | o96.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
5503 | o96.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
5504 | o96.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
5505 | o96.Color = Color3.new(0, 0.12549, 0.376471) | |
5506 | o97.Name = "Left Arm" | |
5507 | o97.Parent = o1 | |
5508 | o97.Material = Enum.Material.SmoothPlastic | |
5509 | o97.BrickColor = BrickColor.new("Maroon") | |
5510 | o97.Position = Vector3.new(99.1820602, 5.526577, 16.7045078) | |
5511 | o97.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005) | |
5512 | o97.Anchored = true | |
5513 | o97.CanCollide = false | |
5514 | o97.FormFactor = Enum.FormFactor.Symmetric | |
5515 | o97.Size = Vector3.new(1, 2, 1) | |
5516 | o97.CFrame = CFrame.new(99.1820602, 5.526577, 16.7045078, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915) | |
5517 | o97.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
5518 | o97.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
5519 | o97.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
5520 | o97.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
5521 | o97.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
5522 | o97.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
5523 | o97.Color = Color3.new(0.458824, 0, 0) | |
5524 | o98.Name = "Torso" | |
5525 | o98.Parent = o1 | |
5526 | o98.Material = Enum.Material.SmoothPlastic | |
5527 | o98.BrickColor = BrickColor.new("Navy blue") | |
5528 | o98.Position = Vector3.new(103.10894, 5.99666739, 15.2047167) | |
5529 | o98.Rotation = Vector3.new(-1.53054156e-008, -0.95580709, -1.83469444e-006) | |
5530 | o98.Anchored = true | |
5531 | o98.FormFactor = Enum.FormFactor.Symmetric | |
5532 | o98.Size = Vector3.new(2, 2, 1) | |
5533 | o98.CFrame = CFrame.new(103.10894, 5.99666739, 15.2047167, 0.999860883, 3.20170024e-008, -0.0166812073, -3.20170024e-008, 1, 2.67092765e-010, 0.0166812055, 2.67026595e-010, 0.999860942) | |
5534 | o98.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
5535 | o98.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
5536 | o98.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
5537 | o98.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
5538 | o98.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
5539 | o98.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
5540 | o98.Color = Color3.new(0, 0.12549, 0.376471) | |
5541 | o99.Name = "roblox" | |
5542 | o99.Parent = o98 | |
5543 | o100.Name = "Right Hip" | |
5544 | o100.Parent = o98 | |
5545 | o100.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
5546 | o100.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
5547 | o100.Part0 = o98 | |
5548 | o100.Part1 = o103 | |
5549 | o100.DesiredAngle = 0.062025275081396 | |
5550 | o100.MaxVelocity = 0.10000000149012 | |
5551 | o101.Name = "Left Hip" | |
5552 | o101.Parent = o98 | |
5553 | o101.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
5554 | o101.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
5555 | o101.Part0 = o98 | |
5556 | o101.Part1 = o105 | |
5557 | o101.DesiredAngle = 0.062025275081396 | |
5558 | o101.MaxVelocity = 0.10000000149012 | |
5559 | o102.Name = "Neck" | |
5560 | o102.Parent = o98 | |
5561 | o102.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
5562 | o102.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
5563 | o102.Part0 = o98 | |
5564 | o102.Part1 = o79 | |
5565 | o102.MaxVelocity = 0.10000000149012 | |
5566 | o103.Name = "Right Leg" | |
5567 | o103.Parent = o1 | |
5568 | o103.Material = Enum.Material.SmoothPlastic | |
5569 | o103.BrickColor = BrickColor.new("Really black") | |
5570 | o103.Position = Vector3.new(103.608864, 3.99666739, 15.2130556) | |
5571 | o103.Rotation = Vector3.new(-1.53054156e-008, -0.95580709, -1.83469444e-006) | |
5572 | o103.Anchored = true | |
5573 | o103.CanCollide = false | |
5574 | o103.FormFactor = Enum.FormFactor.Symmetric | |
5575 | o103.Size = Vector3.new(1, 2, 1) | |
5576 | o103.CFrame = CFrame.new(103.608864, 3.99666739, 15.2130556, 0.999860883, 3.20170024e-008, -0.0166812073, -3.20170024e-008, 1, 2.67092765e-010, 0.0166812055, 2.67026595e-010, 0.999860942) | |
5577 | o103.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
5578 | o103.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
5579 | o103.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
5580 | o103.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
5581 | o103.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
5582 | o103.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
5583 | o103.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
5584 | o104.Name = "Right Arm" | |
5585 | o104.Parent = o1 | |
5586 | o104.Material = Enum.Material.SmoothPlastic | |
5587 | o104.BrickColor = BrickColor.new("Maroon") | |
5588 | o104.Position = Vector3.new(104.615349, 5.89646101, 14.8330393) | |
5589 | o104.Rotation = Vector3.new(45.0039597, -0.675833881, 0.675880313) | |
5590 | o104.Anchored = true | |
5591 | o104.CanCollide = false | |
5592 | o104.FormFactor = Enum.FormFactor.Symmetric | |
5593 | o104.Size = Vector3.new(1, 2, 1) | |
5594 | o104.CFrame = CFrame.new(104.615349, 5.89646101, 14.8330393, 0.999860883, -0.0117952423, -0.0117952526, 0, 0.707107067, -0.707106411, 0.0166809987, 0.707008064, 0.707008719) | |
5595 | o104.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
5596 | o104.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
5597 | o104.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
5598 | o104.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
5599 | o104.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
5600 | o104.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
5601 | o104.Color = Color3.new(0.458824, 0, 0) | |
5602 | o105.Name = "Left Leg" | |
5603 | o105.Parent = o1 | |
5604 | o105.Material = Enum.Material.SmoothPlastic | |
5605 | o105.BrickColor = BrickColor.new("Really black") | |
5606 | o105.Position = Vector3.new(102.609009, 3.99666739, 15.1963739) | |
5607 | o105.Rotation = Vector3.new(-1.53054156e-008, -0.95580709, -1.83469444e-006) | |
5608 | o105.Anchored = true | |
5609 | o105.CanCollide = false | |
5610 | o105.FormFactor = Enum.FormFactor.Symmetric | |
5611 | o105.Size = Vector3.new(1, 2, 1) | |
5612 | o105.CFrame = CFrame.new(102.609009, 3.99666739, 15.1963739, 0.999860883, 3.20170024e-008, -0.0166812073, -3.20170024e-008, 1, 2.67092765e-010, 0.0166812055, 2.67026595e-010, 0.999860942) | |
5613 | o105.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
5614 | o105.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
5615 | o105.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
5616 | o105.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
5617 | o105.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
5618 | o105.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
5619 | o105.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
5620 | o106.Name = "Left Arm" | |
5621 | o106.Parent = o1 | |
5622 | o106.Material = Enum.Material.SmoothPlastic | |
5623 | o106.BrickColor = BrickColor.new("Maroon") | |
5624 | o106.Position = Vector3.new(101.617271, 5.96075201, 14.6924496) | |
5625 | o106.Rotation = Vector3.new(45.0039597, -0.675833881, 0.675880313) | |
5626 | o106.Anchored = true | |
5627 | o106.CanCollide = false | |
5628 | o106.FormFactor = Enum.FormFactor.Symmetric | |
5629 | o106.Size = Vector3.new(1, 2, 1) | |
5630 | o106.CFrame = CFrame.new(101.617271, 5.96075201, 14.6924496, 0.999860883, -0.0117952423, -0.0117952526, 0, 0.707107067, -0.707106411, 0.0166809987, 0.707008064, 0.707008719) | |
5631 | o106.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
5632 | o106.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
5633 | o106.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
5634 | o106.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
5635 | o106.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
5636 | o106.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
5637 | o106.Color = Color3.new(0.458824, 0, 0) | |
5638 | o107.Parent = o1 | |
5639 | o107.Position = Vector3.new(110.917458, 1.50000954, 18.4564953) | |
5640 | o107.Rotation = Vector3.new(-90, 1.20620803e-006, -180) | |
5641 | o107.Anchored = true | |
5642 | o107.FormFactor = Enum.FormFactor.Symmetric | |
5643 | o107.Size = Vector3.new(2.39999986, 1.31000006, 2.39999986) | |
5644 | o107.CFrame = CFrame.new(110.917458, 1.50000954, 18.4564953, -1, 2.98044895e-008, 2.10523012e-008, 2.10523012e-008, 7.54615499e-008, 1, 2.9804486e-008, 1, -7.54615499e-008) | |
5645 | o108.Parent = o107 | |
5646 | o109.Parent = o1 | |
5647 | o109.BrickColor = BrickColor.new("Really black") | |
5648 | o109.Position = Vector3.new(110.917442, 1.50002527, 9.1665411) | |
5649 | o109.Rotation = Vector3.new(-90, 6.45824184e-006, 2.56150702e-006) | |
5650 | o109.Anchored = true | |
5651 | o109.FormFactor = Enum.FormFactor.Symmetric | |
5652 | o109.Size = Vector3.new(3, 1.20000005, 3) | |
5653 | o109.CFrame = CFrame.new(110.917442, 1.50002527, 9.1665411, 1, -4.47067308e-008, 1.12717586e-007, -1.12717586e-007, -5.51334445e-009, 1, -4.47067308e-008, -1, -5.51334933e-009) | |
5654 | o109.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
5655 | o110.Parent = o109 | |
5656 | o111.Parent = o1 | |
5657 | o111.BrickColor = BrickColor.new("Really black") | |
5658 | o111.Position = Vector3.new(110.917458, 1.50000954, 18.4564953) | |
5659 | o111.Rotation = Vector3.new(-90, 1.20620803e-006, -180) | |
5660 | o111.Anchored = true | |
5661 | o111.FormFactor = Enum.FormFactor.Symmetric | |
5662 | o111.Size = Vector3.new(3, 1.20000005, 3) | |
5663 | o111.CFrame = CFrame.new(110.917458, 1.50000954, 18.4564953, -1, 2.98044895e-008, 2.10523012e-008, 2.10523012e-008, 7.54615499e-008, 1, 2.9804486e-008, 1, -7.54615499e-008) | |
5664 | o111.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
5665 | o112.Parent = o111 | |
5666 | o113.Parent = o1 | |
5667 | o113.Position = Vector3.new(95.3486252, 1.50002623, 9.1665411) | |
5668 | o113.Rotation = Vector3.new(-90, 6.45824184e-006, 2.56150702e-006) | |
5669 | o113.Anchored = true | |
5670 | o113.FormFactor = Enum.FormFactor.Symmetric | |
5671 | o113.Size = Vector3.new(2.39999986, 1.31000006, 2.39999986) | |
5672 | o113.CFrame = CFrame.new(95.3486252, 1.50002623, 9.1665411, 1, -4.47067308e-008, 1.12717586e-007, -1.12717586e-007, -5.51334445e-009, 1, -4.47067308e-008, -1, -5.51334933e-009) | |
5673 | o114.Parent = o113 | |
5674 | o115.Parent = o1 | |
5675 | o115.BrickColor = BrickColor.new("Really black") | |
5676 | o115.Position = Vector3.new(95.3486252, 1.50002623, 9.1665411) | |
5677 | o115.Rotation = Vector3.new(-90, 6.45824184e-006, 2.56150702e-006) | |
5678 | o115.Anchored = true | |
5679 | o115.FormFactor = Enum.FormFactor.Symmetric | |
5680 | o115.Size = Vector3.new(3, 1.20000005, 3) | |
5681 | o115.CFrame = CFrame.new(95.3486252, 1.50002623, 9.1665411, 1, -4.47067308e-008, 1.12717586e-007, -1.12717586e-007, -5.51334445e-009, 1, -4.47067308e-008, -1, -5.51334933e-009) | |
5682 | o115.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
5683 | o116.Parent = o115 | |
5684 | o117.Parent = o1 | |
5685 | o117.BrickColor = BrickColor.new("Really black") | |
5686 | o117.Position = Vector3.new(95.3486252, 1.50001001, 18.4564877) | |
5687 | o117.Rotation = Vector3.new(-90, 1.20620803e-006, -180) | |
5688 | o117.Anchored = true | |
5689 | o117.FormFactor = Enum.FormFactor.Symmetric | |
5690 | o117.Size = Vector3.new(3, 1.20000005, 3) | |
5691 | o117.CFrame = CFrame.new(95.3486252, 1.50001001, 18.4564877, -1, 2.98044895e-008, 2.10523012e-008, 2.10523012e-008, 7.54615499e-008, 1, 2.9804486e-008, 1, -7.54615499e-008) | |
5692 | o117.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
5693 | o118.Parent = o117 | |
5694 | o119.Parent = o1 | |
5695 | o119.Position = Vector3.new(110.917442, 1.50002527, 9.1665411) | |
5696 | o119.Rotation = Vector3.new(-90, 6.45824184e-006, 2.56150702e-006) | |
5697 | o119.Anchored = true | |
5698 | o119.FormFactor = Enum.FormFactor.Symmetric | |
5699 | o119.Size = Vector3.new(2.39999986, 1.31000006, 2.39999986) | |
5700 | o119.CFrame = CFrame.new(110.917442, 1.50002527, 9.1665411, 1, -4.47067308e-008, 1.12717586e-007, -1.12717586e-007, -5.51334445e-009, 1, -4.47067308e-008, -1, -5.51334933e-009) | |
5701 | o120.Parent = o119 | |
5702 | o121.Name = "Handle" | |
5703 | o121.Parent = o1 | |
5704 | o121.Material = Enum.Material.SmoothPlastic | |
5705 | o121.Position = Vector3.new(99.207077, 6.8765769, 15.2047167) | |
5706 | o121.Rotation = Vector3.new(5.49961514e-005, 89.0444794, -5.50190998e-005) | |
5707 | o121.Anchored = true | |
5708 | o121.CanCollide = false | |
5709 | o121.FormFactor = Enum.FormFactor.Symmetric | |
5710 | o121.Size = Vector3.new(2, 2, 2) | |
5711 | o121.CFrame = CFrame.new(99.207077, 6.8765769, 15.2047167, 0.0166787934, 1.60160507e-008, 0.999860942, -5.34079281e-010, 1, -1.60093698e-008, -0.999861002, -2.66988043e-010, 0.0166787915) | |
5712 | o121.BottomSurface = Enum.SurfaceType.Smooth | |
5713 | o121.TopSurface = Enum.SurfaceType.Smooth | |
5714 | o122.Parent = o121 | |
5715 | o122.MeshId = "http://www.roblox.com/asset/?id=15393031" | |
5716 | o122.TextureId = "http://www.roblox.com/asset/?id=15393013" | |
5717 | o122.MeshType = Enum.MeshType.FileMesh | |
5718 | o123.Name = "RPPART" | |
5719 | o123.Parent = o1 | |
5720 | o123.Transparency = 1 | |
5721 | o123.Position = Vector3.new(103.454132, 5.33460093, 13.0707426) | |
5722 | o123.Rotation = Vector3.new(-90, 0, -0) | |
5723 | o123.Anchored = true | |
5724 | o123.CanCollide = false | |
5725 | o123.Size = Vector3.new(4, 1, 2) | |
5726 | o123.CFrame = CFrame.new(103.454132, 5.33460093, 13.0707426, 1, 0, 0, 0, 0, 1, 0, -1, 0) | |
5727 | o124.Parent = o12 | |
5728 | o124.Texture = "http://roblox.com/asset/?id=112031763" | |
5729 | function MoveY(model, Position) | |
5730 | for _,part in pairs (model:GetChildren()) do | |
5731 | if part.ClassName == "Part" then | |
5732 | part.CFrame = part.CFrame + Vector3.new(0,Position,0) | |
5733 | end | |
5734 | end | |
5735 | end | |
5736 | function MoveX(model, Position) | |
5737 | for _,part in pairs (model:GetChildren()) do | |
5738 | if part.ClassName == "Part" then | |
5739 | part.CFrame = part.CFrame + Vector3.new(Position,0,0) | |
5740 | end | |
5741 | end | |
5742 | end | |
5743 | function MoveSpawn(model, PLAYERPOS) | |
5744 | for _,part in pairs (model:GetChildren()) do | |
5745 | if part.ClassName == "Part" then | |
5746 | part.CFrame = part.CFrame + PLAYERPOS + Vector3.new(50,-2.7,-5) | |
5747 | end | |
5748 | end | |
5749 | end | |
5750 | function MoveZ(model, Position) | |
5751 | for _,part in pairs (model:GetChildren()) do | |
5752 | if part.ClassName == "Part" then | |
5753 | part.CFrame = part.CFrame + Vector3.new(0,0,Position) | |
5754 | end | |
5755 | end | |
5756 | end | |
5757 | function MoveZPart(Part, Position) | |
5758 | Part.CFrame = Part.CFrame + Vector3.new(0,0,Position) | |
5759 | end | |
5760 | function MoveXPart(Part, Position) | |
5761 | Part.CFrame = Part.CFrame + Vector3.new(Position,0,0) | |
5762 | end | |
5763 | game.Players[Victim].Character.HumanoidRootPart.Anchored = true | |
5764 | OMGCREEPY = Instance.new("Sound") | |
5765 | OMGCREEPY.Parent = o1 | |
5766 | OMGCREEPY.Volume = 10 | |
5767 | OMGCREEPY.SoundId = "rbxassetid://177775134" | |
5768 | for i,v in pairs (o1:GetChildren()) do | |
5769 | if v:IsA("Part") then | |
5770 | v.Material = "SmoothPlastic" | |
5771 | v.BackSurface = "SmoothNoOutlines" | |
5772 | v.FrontSurface = "SmoothNoOutlines" | |
5773 | v.BottomSurface = "SmoothNoOutlines" | |
5774 | v.LeftSurface = "SmoothNoOutlines" | |
5775 | v.RightSurface = "SmoothNoOutlines" | |
5776 | v.TopSurface = "SmoothNoOutlines" | |
5777 | end | |
5778 | end | |
5779 | OMGCREEPY:Play() | |
5780 | o21:Play() | |
5781 | MoveSpawn(o1,game.Players[Victim].Character.HumanoidRootPart.Position) | |
5782 | for i=1,51 do | |
5783 | MoveX(o1,-3) | |
5784 | wait(.05) | |
5785 | end | |
5786 | wait(.5) | |
5787 | MoveZPart(o12,-1) | |
5788 | wait(.2) | |
5789 | for i=1,6 do | |
5790 | MoveXPart(o12,1) | |
5791 | wait(.1) | |
5792 | end | |
5793 | wait(.5) | |
5794 | game.Players[Victim].Character.HumanoidRootPart.CFrame = o86.CFrame | |
5795 | wait(.5) | |
5796 | game.Players[Victim].Character.HumanoidRootPart.CFrame = o85.CFrame | |
5797 | wait(.5) | |
5798 | MoveZPart(o12,1) | |
5799 | wait(.2) | |
5800 | ||
5801 | for i=1,6 do | |
5802 | MoveXPart(o12,-1) | |
5803 | wait(.1) | |
5804 | end | |
5805 | for i=1,50 do | |
5806 | MoveX(o1,-3) | |
5807 | game.Players[Victim].Character.HumanoidRootPart.CFrame = o85.CFrame | |
5808 | wait(.05) | |
5809 | end | |
5810 | game.Players[Victim].Character.Head.face.Texture = "rbxassetid://629925029" | |
5811 | game.Players[Victim].Character.HumanoidRootPart.CFrame = o123.CFrame | |
5812 | SCREAM = Instance.new("Sound") | |
5813 | SCREAM.Parent = game.Players[Victim].Character.Head | |
5814 | SCREAM.SoundId = "rbxassetid://138167455" | |
5815 | SCREAM:Play() | |
5816 | wait(2.5) | |
5817 | game.Players[Victim].Character.Head.BrickColor = BrickColor.new("Maroon") | |
5818 | MoveZPart(o12,-1) | |
5819 | wait(.2) | |
5820 | for i=1,6 do | |
5821 | MoveXPart(o12,1) | |
5822 | wait(.1) | |
5823 | end | |
5824 | wait(.5) | |
5825 | game.Players[Victim].Character.HumanoidRootPart.CFrame = o86.CFrame | |
5826 | wait(.5) | |
5827 | MoveZPart(o12,1) | |
5828 | wait(.2) | |
5829 | for i=1,6 do | |
5830 | MoveXPart(o12,-1) | |
5831 | wait(.1) | |
5832 | end | |
5833 | game.Players[Victim].Character.Humanoid.Health = 0 | |
5834 | player = game.Players[Victim] | |
5835 | char = player.Character | |
5836 | char.Archivable = true | |
5837 | local rg = char:Clone() | |
5838 | rg.HumanoidRootPart:Destroy() | |
5839 | rg.Name = "" | |
5840 | rg.Humanoid.MaxHealth = 0 | |
5841 | for i, v in pairs(rg.Torso:GetChildren()) do | |
5842 | if v:IsA("Motor6D") then | |
5843 | v:Destroy() | |
5844 | end | |
5845 | end | |
5846 | ||
5847 | local n = Instance.new("Glue", rg.Torso) | |
5848 | n.Name = "Neck" | |
5849 | n.Part0 = rg.Torso | |
5850 | n.Part1 = rg.Head | |
5851 | n.C0 = CFrame.new(0, 1, 0) | |
5852 | n.C1 = CFrame.new(0, -0.5, 0) | |
5853 | ||
5854 | local rs = Instance.new("Glue", rg.Torso) | |
5855 | rs.Name = "Right Shoulder" | |
5856 | rs.Part0 = rg.Torso | |
5857 | rs.Part1 = rg["Right Arm"] | |
5858 | rs.C0 = CFrame.new(1.5, 0.5, 0) | |
5859 | rs.C1 = CFrame.new(0, 0.5, 0) | |
5860 | local ls = Instance.new("Glue", rg.Torso) | |
5861 | ls.Name = "Left Shoulder" | |
5862 | ls.Part0 = rg.Torso | |
5863 | ls.Part1 = rg["Left Arm"] | |
5864 | ls.C0 = CFrame.new(-1.5, 0.5, 0) | |
5865 | ls.C1 = CFrame.new(0, 0.5, 0) | |
5866 | ||
5867 | local rh = Instance.new("Glue", rg.Torso) | |
5868 | rh.Name = "Right Hip" | |
5869 | rh.Part0 = rg.Torso | |
5870 | rh.Part1 = rg["Right Leg"] | |
5871 | rh.C0 = CFrame.new(0.5, -1, 0) | |
5872 | rh.C1 = CFrame.new(0, 1, 0) | |
5873 | local lh = Instance.new("Glue", rg.Torso) | |
5874 | lh.Name = "Left Hip" | |
5875 | lh.Part0 = rg.Torso | |
5876 | lh.Part1 = rg["Left Leg"] | |
5877 | lh.C0 = CFrame.new(-0.5, -1, 0) | |
5878 | lh.C1 = CFrame.new(0, 1, 0) | |
5879 | char.Torso:Destroy() | |
5880 | char.Head:Destroy() | |
5881 | char["Left Leg"]:Destroy() | |
5882 | char["Left Arm"]:Destroy() | |
5883 | char["Right Leg"]:Destroy() | |
5884 | char["Right Arm"]:Destroy() | |
5885 | rg.Parent = game.Workspace | |
5886 | rg.Head.BrickColor = BrickColor.new("Maroon") | |
5887 | function DEATH () | |
5888 | OHHNELLY = Instance.new("Part") | |
5889 | OHHNELLY.Parent = workspace | |
5890 | OHHNELLY.Anchored = false | |
5891 | OHHNELLY.Material = Enum.Material.SmoothPlastic | |
5892 | OHHNELLY.BrickColor = BrickColor.new("Maroon") | |
5893 | OHHNELLY.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
5894 | OHHNELLY.Position = rg.Head.Position | |
5895 | OHHNELLY.Color = Color3.new(0.458824, 0, 0) | |
5896 | OHHNELLY.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
5897 | OHHNELLY.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
5898 | OHHNELLY.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
5899 | OHHNELLY.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
5900 | OHHNELLY.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
5901 | OHHNELLY.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
5902 | end | |
5903 | for i=1,20 do | |
5904 | DEATH() | |
5905 | MoveX(o1,-3) | |
5906 | wait(.05) | |
5907 | end | |
5908 | o1:Destroy() | |
5909 | end) | |
5910 | end) | |
5911 | ||
5912 | Genocide.Name = "Genocide" | |
5913 | Genocide.Parent = Hacks | |
5914 | Genocide.BackgroundColor3 = Color3.new(0, 0, 0) | |
5915 | Genocide.BackgroundTransparency = 0.30000001192093 | |
5916 | Genocide.BorderColor3 = Color3.new(0, 0.333333, 0.498039) | |
5917 | Genocide.Position = UDim2.new(0, 198, 0, 96) | |
5918 | Genocide.Size = UDim2.new(0, 116, 0, 25) | |
5919 | Genocide.Font = Enum.Font.SourceSans | |
5920 | Genocide.FontSize = Enum.FontSize.Size14 | |
5921 | Genocide.Text = "Genocide" | |
5922 | Genocide.TextColor3 = Color3.new(0, 0.333333, 1) | |
5923 | Genocide.TextScaled = true | |
5924 | Genocide.TextSize = 14 | |
5925 | Genocide.TextWrapped = true | |
5926 | ||
5927 | Genocide.MouseButton1Down:connect(function() | |
5928 | --[[Psychopath's waifu | |
5929 | I think ck is going to send me in hell... | |
5930 | Genocider by grgrgry21. | |
5931 | Credit to CKbackup's and idk.. | |
5932 | B | |
5933 | U R | |
5934 | N I N H | |
5935 | E L | |
5936 | L | |
5937 | ]]-- | |
5938 | wait(1 / 60) | |
5939 | Effects = { } | |
5940 | local Player = game.Players.localPlayer | |
5941 | local Character = Player.Character | |
5942 | local Humanoid = Character.Humanoid | |
5943 | local Mouse = Player:GetMouse() | |
5944 | local LeftArm = Character["Left Arm"] | |
5945 | local RightArm = Character["Right Arm"] | |
5946 | local LeftLeg = Character["Left Leg"] | |
5947 | local RightLeg = Character["Right Leg"] | |
5948 | local Head = Character.Head | |
5949 | local Torso = Character.Torso | |
5950 | local Camera = game.Workspace.CurrentCamera | |
5951 | local RootPart = Character.HumanoidRootPart | |
5952 | local RootJoint = RootPart.RootJoint | |
5953 | local attack = false | |
5954 | local Anim = 'Idle' | |
5955 | local attacktype = 1 | |
5956 | local delays = false | |
5957 | local play = true | |
5958 | local targetted = nil | |
5959 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
5960 | local velocity = RootPart.Velocity.y | |
5961 | local sine = 0 | |
5962 | local change = 1 | |
5963 | local doe = 0 | |
5964 | local Create = LoadLibrary("RbxUtility").Create | |
5965 | Humanoid.WalkSpeed = 8 | |
5966 | local m = Create("Model"){ | |
5967 | Parent = Character, | |
5968 | Name = "WeaponModel", | |
5969 | } | |
5970 | ||
5971 | Humanoid.Animator.Parent = nil | |
5972 | Character.Animate.Parent = nil | |
5973 | ||
5974 | local newMotor = function(part0, part1, c0, c1) | |
5975 | local w = Create('Motor'){ | |
5976 | Parent = part0, | |
5977 | Part0 = part0, | |
5978 | Part1 = part1, | |
5979 | C0 = c0, | |
5980 | C1 = c1, | |
5981 | } | |
5982 | return w | |
5983 | end | |
5984 | ||
5985 | function clerp(a, b, t) | |
5986 | return a:lerp(b, t) | |
5987 | end | |
5988 | ||
5989 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
5990 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
5991 | ||
5992 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
5993 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
5994 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
5995 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
5996 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
5997 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
5998 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
5999 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
6000 | ||
6001 | local rarmc1 = RW.C1 | |
6002 | local larmc1 = LW.C1 | |
6003 | local rlegc1 = RH.C1 | |
6004 | local llegc1 = LH.C1 | |
6005 | ||
6006 | local resetc1 = false | |
6007 | ||
6008 | function PlayAnimationFromTable(table, speed, bool) | |
6009 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
6010 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
6011 | RW.C0 = clerp(RW.C0, table[3], speed) | |
6012 | LW.C0 = clerp(LW.C0, table[4], speed) | |
6013 | RH.C0 = clerp(RH.C0, table[5], speed) | |
6014 | LH.C0 = clerp(LH.C0, table[6], speed) | |
6015 | if bool == true then | |
6016 | if resetc1 == false then | |
6017 | resetc1 = true | |
6018 | RootJoint.C1 = RootJoint.C1 | |
6019 | Torso.Neck.C1 = Torso.Neck.C1 | |
6020 | RW.C1 = rarmc1 | |
6021 | LW.C1 = larmc1 | |
6022 | RH.C1 = rlegc1 | |
6023 | LH.C1 = llegc1 | |
6024 | end | |
6025 | end | |
6026 | end | |
6027 | ||
6028 | ArtificialHB = Create("BindableEvent", script){ | |
6029 | Parent = script, | |
6030 | Name = "Heartbeat", | |
6031 | } | |
6032 | ||
6033 | script:WaitForChild("Heartbeat") | |
6034 | ||
6035 | frame = 1 / 30 | |
6036 | tf = 0 | |
6037 | allowframeloss = false | |
6038 | tossremainder = false | |
6039 | lastframe = tick() | |
6040 | script.Heartbeat:Fire() | |
6041 | ||
6042 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
6043 | tf = tf + s | |
6044 | if tf >= frame then | |
6045 | if allowframeloss then | |
6046 | script.Heartbeat:Fire() | |
6047 | lastframe = tick() | |
6048 | else | |
6049 | for i = 1, math.floor(tf / frame) do | |
6050 | script.Heartbeat:Fire() | |
6051 | end | |
6052 | lastframe = tick() | |
6053 | end | |
6054 | if tossremainder then | |
6055 | tf = 0 | |
6056 | else | |
6057 | tf = tf - frame * math.floor(tf / frame) | |
6058 | end | |
6059 | end | |
6060 | end) | |
6061 | ||
6062 | function swait(num) | |
6063 | if num == 0 or num == nil then | |
6064 | ArtificialHB.Event:wait() | |
6065 | else | |
6066 | for i = 0, num do | |
6067 | ArtificialHB.Event:wait() | |
6068 | end | |
6069 | end | |
6070 | end | |
6071 | ||
6072 | function RemoveOutlines(part) | |
6073 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
6074 | end | |
6075 | ||
6076 | CFuncs = { | |
6077 | ["Part"] = { | |
6078 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
6079 | local Part = Create("Part"){ | |
6080 | Parent = Parent, | |
6081 | Reflectance = Reflectance, | |
6082 | Transparency = Transparency, | |
6083 | CanCollide = false, | |
6084 | Locked = true, | |
6085 | BrickColor = BrickColor.new(tostring(BColor)), | |
6086 | Name = Name, | |
6087 | Size = Size, | |
6088 | Material = Material, | |
6089 | } | |
6090 | RemoveOutlines(Part) | |
6091 | return Part | |
6092 | end; | |
6093 | }; | |
6094 | ||
6095 | ["Mesh"] = { | |
6096 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
6097 | local Msh = Create(Mesh){ | |
6098 | Parent = Part, | |
6099 | Offset = OffSet, | |
6100 | Scale = Scale, | |
6101 | } | |
6102 | if Mesh == "SpecialMesh" then | |
6103 | Msh.MeshType = MeshType | |
6104 | Msh.MeshId = MeshId | |
6105 | end | |
6106 | return Msh | |
6107 | end; | |
6108 | }; | |
6109 | ||
6110 | ["Mesh"] = { | |
6111 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
6112 | local Msh = Create(Mesh){ | |
6113 | Parent = Part, | |
6114 | Offset = OffSet, | |
6115 | Scale = Scale, | |
6116 | } | |
6117 | if Mesh == "SpecialMesh" then | |
6118 | Msh.MeshType = MeshType | |
6119 | Msh.MeshId = MeshId | |
6120 | end | |
6121 | return Msh | |
6122 | end; | |
6123 | }; | |
6124 | ||
6125 | ["Weld"] = { | |
6126 | Create = function(Parent, Part0, Part1, C0, C1) | |
6127 | local Weld = Create("Weld"){ | |
6128 | Parent = Parent, | |
6129 | Part0 = Part0, | |
6130 | Part1 = Part1, | |
6131 | C0 = C0, | |
6132 | C1 = C1, | |
6133 | } | |
6134 | return Weld | |
6135 | end; | |
6136 | }; | |
6137 | ||
6138 | ["Sound"] = { | |
6139 | Create = function(id, par, vol, pit) | |
6140 | coroutine.resume(coroutine.create(function() | |
6141 | local S = Create("Sound"){ | |
6142 | Volume = vol, | |
6143 | Pitch = pit or 1, | |
6144 | SoundId = id, | |
6145 | Parent = par or workspace, | |
6146 | } | |
6147 | wait() | |
6148 | S:play() | |
6149 | game:GetService("Debris"):AddItem(S, 6) | |
6150 | end)) | |
6151 | end; | |
6152 | }; | |
6153 | ||
6154 | ["ParticleEmitter"] = { | |
6155 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
6156 | local fp = Create("ParticleEmitter"){ | |
6157 | Parent = Parent, | |
6158 | Color = ColorSequence.new(Color1, Color2), | |
6159 | LightEmission = LightEmission, | |
6160 | Size = Size, | |
6161 | Texture = Texture, | |
6162 | Transparency = Transparency, | |
6163 | ZOffset = ZOffset, | |
6164 | Acceleration = Accel, | |
6165 | Drag = Drag, | |
6166 | LockedToPart = LockedToPart, | |
6167 | VelocityInheritance = VelocityInheritance, | |
6168 | EmissionDirection = EmissionDirection, | |
6169 | Enabled = Enabled, | |
6170 | Lifetime = LifeTime, | |
6171 | Rate = Rate, | |
6172 | Rotation = Rotation, | |
6173 | RotSpeed = RotSpeed, | |
6174 | Speed = Speed, | |
6175 | VelocitySpread = VelocitySpread, | |
6176 | } | |
6177 | return fp | |
6178 | end; | |
6179 | }; | |
6180 | ||
6181 | CreateTemplate = { | |
6182 | ||
6183 | }; | |
6184 | } | |
6185 | ||
6186 | ||
6187 | ||
6188 | New = function(Object, Parent, Name, Data) | |
6189 | local Object = Instance.new(Object) | |
6190 | for Index, Value in pairs(Data or {}) do | |
6191 | Object[Index] = Value | |
6192 | end | |
6193 | Object.Parent = Parent | |
6194 | Object.Name = Name | |
6195 | return Object | |
6196 | end | |
6197 | ||
6198 | ||
6199 | ShadowHead = New("Part",Character,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
6200 | Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),}) | |
6201 | Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = Character.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),}) | |
6202 | ||
6203 | Handle = New("Part",m,"Handle",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(1.78105354, 1.21267569, 0.446083069),CFrame = CFrame.new(3.48884702, 1.89424598, -23.6011944, 0.0172098875, -7.30156898e-07, 0.999851942, 0.999853492, 1.19907781e-08, -0.0172098596, -1.80598714e-09, 1.00000083, 1.4975667e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6204 | moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,}) | |
6205 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.46324158, 2.55061626, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6206 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),}) | |
6207 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655831456, 0.501588821, -0.0368974209, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6208 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.270688266, 0.270688266),CFrame = CFrame.new(3.47537327, 1.11045444, -23.2953625, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6209 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) | |
6210 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.783906102, 0.305831909, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6211 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.221472263, 0.344512314),CFrame = CFrame.new(3.48828244, 1.86040294, -23.3093491, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6212 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),}) | |
6213 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(-0.0338476896, 0.291845322, 1.8119812e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6214 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.98432076, 0.200000003, 0.24608022),CFrame = CFrame.new(3.48404813, 1.61474013, -23.4433804, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6215 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),}) | |
6216 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279546618, 0.157814026, 1.21593475e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6217 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.36101127, 1.61687815, -23.4187717, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6218 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) | |
6219 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279526353, 0.182422638, -0.123043299, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6220 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.53706741, 2.54934502, -23.0996056, 0.0172099378, 1.26508749e-05, 0.999852061, 0.999856234, 0.000737910799, -0.0172098614, -0.000738026109, 1.00000215, 2.29468287e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6221 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),}) | |
6222 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098838, 0.999853015, -0.000738022442, 1.18836761e-05, 0.000737924012, 1.00000048, 0.999851942, -0.0172098614, 1.52736902e-06),C1 = CFrame.new(0.655830979, 0.501588821, 0.0369393826, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6223 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.48828554, 1.86097884, -23.1606178, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6224 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),}) | |
6225 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.0332717896, 0.440576553, 1.14440918e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6226 | Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(3.47526526, 1.10428262, -23.2953568, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
6227 | Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) | |
6228 | mot = New("Weld",Partss,"mot",{Part0 = Partss,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.790078878, 0.305837631, 1.57356262e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6229 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.49040294, 1.9837563, -23.5174713, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6230 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.615200579, 0.36912033, 0.24608025),MeshId = "http://www.roblox.com/asset/?id=3270017",MeshType = Enum.MeshType.FileMesh,}) | |
6231 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(0.0895236731, 0.0837230682, 1.52587891e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6232 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.295296252, 0.738240778, 0.369120389),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
6233 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6234 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512314, 0.78745681, 0.344512314),CFrame = CFrame.new(3.49802279, 2.42631888, -23.8138046, 0.0172099452, 3.70001203e-08, 0.999852061, 0.99985671, -3.59708352e-09, -0.0172098596, -4.18887769e-09, 1.0000025, 2.26488032e-06),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6235 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),C1 = CFrame.new(0.532151103, -0.212610245, 1.74045563e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6236 | Part = New("Part",m,"Part",{Material = Enum.Material.SmoothPlastic,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.984321058, 0.200000003, 0.200000003),CFrame = CFrame.new(3.60706425, 1.61264217, -23.4187698, 0.0172099359, 1.26359728e-05, 0.999851942, 0.999856234, 0.000738034665, -0.0172098596, -0.000738148578, 1.00000226, 2.36918868e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6237 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) | |
6238 | mot = New("Weld",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098819, 0.999853015, -0.00073814491, 1.18687749e-05, 0.000738047936, 1.0000006, 0.999851882, -0.0172098596, 1.60187483e-06),C1 = CFrame.new(-0.279527187, 0.182424545, 0.12304616, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6239 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.47672749, 1.18911982, -23.1232109, 0.999851942, 0.00638213893, 0.0159827713, -0.0172098316, 0.37065956, 0.928613782, 4.44045327e-06, -0.928749561, 0.370713741),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6240 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,}) | |
6241 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098316, 3.67313623e-06, 0.00638283044, 0.370658338, -0.928748012, 0.0159824342, 0.928610861, 0.370713145),C1 = CFrame.new(-0.705229163, 0.477983475, 1.76429749e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6242 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.50247502, 2.68478155, -23.8132839, 0.999851942, 1.0713723e-05, -0.0172099732, -0.0172098912, 0.000738376984, -0.999856234, 4.21693585e-06, 1.00000226, 0.000738456321),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6243 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) | |
6244 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098912, 3.44961882e-06, 9.9465251e-06, 0.000738390256, 1.0000006, -0.0172099192, -0.999853015, 0.000738452654),C1 = CFrame.new(0.790651679, -0.212089539, 2.07424164e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6245 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(3.4904809, 1.98827124, -23.5162678, -0.999852061, -0.0148990965, 0.00861407723, 0.0172099397, -0.865535975, 0.500560343, -4.36594746e-06, 0.500633478, 0.865662456),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6246 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,}) | |
6247 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.999851942, 0.0172099397, -3.59863043e-06, -0.0148994327, -0.865533173, 0.500632644, 0.00861338526, 0.500558794, 0.865661025),C1 = CFrame.new(0.0940393209, 0.0849266052, 1.54972076e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6248 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.442944348, 0.200000003, 0.200000003),CFrame = CFrame.new(3.37415838, 2.37982368, -23.1609974, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6249 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
6250 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(0.483531356, 0.440196991, -0.12302804, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6251 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.61520052, 0.200000003, 0.200000003),CFrame = CFrame.new(3.35783243, 1.43252242, -23.1602993, 0.0172098633, 1.48413446e-05, 0.999851882, 0.999856234, 0.0007376945, -0.0172097869, -0.000737846654, 1.00000215, 7.44058752e-08),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6252 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
6253 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.0172098093, 0.999853015, -0.000737842987, 1.40741467e-05, 0.000737707771, 1.00000048, 0.999851823, -0.0172097888, -6.92903996e-07),C1 = CFrame.new(-0.463909149, 0.440895081, -0.123048544, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6254 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.47648132, 0.200000003, 0.200000003),CFrame = CFrame.new(3.61130548, 1.85886192, -23.160614, -0.0172098689, 1.04156998e-05, -0.99985218, -0.999856234, 0.000738191127, 0.0172097925, 0.000738266157, 1.00000238, -4.55221243e-06),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6255 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
6256 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -0.0172098149, -0.999853075, 0.00073826249, 9.64850187e-06, 0.00073820434, 1.00000072, -0.999852121, 0.0172097944, -3.78489494e-06),C1 = CFrame.new(-0.0332713127, 0.440580368, 0.123049498, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6257 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240778, 0.200000003),CFrame = CFrame.new(3.50183868, 2.64789343, -23.8132629, 0.999851942, 1.0818032e-05, -0.017209895, -0.0172098186, 0.000737608876, -0.999856234, 4.13497901e-06, 1.00000238, 0.000737691764),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
6258 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) | |
6259 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851882, -0.0172098186, 3.36766243e-06, 1.00508332e-05, 0.000737622147, 1.00000072, -0.0172098409, -0.999853015, 0.000737688097),C1 = CFrame.new(0.753758311, -0.212068558, 1.93119049e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6260 | Wedge = New("WedgePart",m,"Wedge",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.344512254, 0.787456751, 0.200000003),CFrame = CFrame.new(3.49357963, 2.16808391, -23.8129005, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
6261 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) | |
6262 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.273878455, -0.211706161, 1.90734863e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6263 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.36912033, 0.738240659, 0.200000003),CFrame = CFrame.new(3.49420977, 2.20497489, -23.8129292, 0.999852061, -1.05647114e-05, 0.0172100067, -0.0172099303, -0.000737611321, 0.999856114, 4.36594746e-06, -1.00000226, -0.000737689785),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
6264 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) | |
6265 | mot = New("Weld",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.999851942, -0.0172099303, 3.59863043e-06, -9.79751348e-06, -0.000737624592, -1.0000006, 0.0172099527, 0.999852955, -0.000737686118),C1 = CFrame.new(0.310774684, -0.211734772, 1.43051147e-05, 0.0172098875, 0.999853492, -1.80598714e-09, -7.30156898e-07, 1.19907781e-08, 1.00000083, 0.999851942, -0.0172098596, 1.4975667e-06),}) | |
6266 | ||
6267 | for _,v in pairs(m:children()) do | |
6268 | if v:IsA("Part") then | |
6269 | v.CanCollide = false | |
6270 | end | |
6271 | end | |
6272 | if Character.Name == "grgrgry21" or Character.Name == "Player1" then | |
6273 | for _,v in pairs(Character:children()) do | |
6274 | if v:IsA("Accessory") then | |
6275 | v:Remove() | |
6276 | end | |
6277 | end | |
6278 | Handle = New("Part",m,"Handle",{CanCollide = false,BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),}) | |
6279 | Mesh = New("SpecialMesh",Handle,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,}) | |
6280 | Decal = New("Decal",Handle,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=146022204",}) | |
6281 | mot = New("Motor",Handle,"mot",{Part0 = Handle,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),}) | |
6282 | Handle1 = New("Part",m,"Handle1",{CanCollide = false,BrickColor = BrickColor.new("Bright red"),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(-27.3000507, 4.79990387, 28.10005, 4.49431016e-21, -6.79974523e-22, -1, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, 4.49431016e-21),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.768628, 0.156863, 0.109804),}) | |
6283 | Mesh = New("SpecialMesh",Handle1,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),Scale = Vector3.new(0.949999988, 0.949999988, 0.949999988),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,}) | |
6284 | mot = New("Motor",Handle1,"mot",{Part0 = Handle1,Part1 = Head,C0 = CFrame.new(0, 0, 0, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),C1 = CFrame.new(-0.100000381, 0.0999999046, 0.200000763, 4.49431016e-21, 4.72251821e-22, 1, -6.79974523e-22, 1, -4.72251821e-22, -1, -6.79974523e-22, 4.49431016e-21),}) | |
6285 | end | |
6286 | ||
6287 | ||
6288 | function rayCast(Position, Direction, Range, Ignore) | |
6289 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
6290 | end | |
6291 | ||
6292 | --[[FindNearestTorso = function(pos) | |
6293 | local list = (game.Workspace:children()) | |
6294 | local torso = nil | |
6295 | local dist = 1000 | |
6296 | local temp, human, temp2 = nil, nil, nil | |
6297 | for x = 1, #list do | |
6298 | temp2 = list[x] | |
6299 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
6300 | temp = temp2:findFirstChild("Torso") | |
6301 | human = temp2:findFirstChild("Humanoid") | |
6302 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
6303 | local dohit = true | |
6304 | if dohit == true then | |
6305 | torso = temp | |
6306 | dist = (temp.Position - pos).magnitude | |
6307 | end | |
6308 | end | |
6309 | end | |
6310 | end | |
6311 | return torso, dist | |
6312 | end]] | |
6313 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
6314 | if SinglePlayer then | |
6315 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
6316 | end | |
6317 | local List = {} | |
6318 | for i, v in pairs(workspace:GetChildren()) do | |
6319 | if v:IsA("Model") then | |
6320 | if v:findFirstChild("Torso") then | |
6321 | if v ~= Character then | |
6322 | if (v.Torso.Position - Position).magnitude <= Distance then | |
6323 | table.insert(List, v) | |
6324 | end | |
6325 | end | |
6326 | end | |
6327 | end | |
6328 | end | |
6329 | return List | |
6330 | end | |
6331 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
6332 | if hit.Parent == nil then | |
6333 | return | |
6334 | end | |
6335 | local h = hit.Parent:FindFirstChild("Humanoid") | |
6336 | for _, v in pairs(hit.Parent:children()) do | |
6337 | if v:IsA("Humanoid") then | |
6338 | h = v | |
6339 | end | |
6340 | end | |
6341 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
6342 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
6343 | if hit.Parent.DebounceHit.Value == true then | |
6344 | return | |
6345 | end | |
6346 | end | |
6347 | local c = Create("ObjectValue"){ | |
6348 | Name = "creator", | |
6349 | Value = game:service("Players").LocalPlayer, | |
6350 | Parent = h, | |
6351 | } | |
6352 | game:GetService("Debris"):AddItem(c, .5) | |
6353 | if HitSound ~= nil and HitPitch ~= nil then | |
6354 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
6355 | end | |
6356 | local Damage = math.random(minim, maxim) | |
6357 | local blocked = false | |
6358 | local block = hit.Parent:findFirstChild("Block") | |
6359 | if block ~= nil then | |
6360 | if block.className == "IntValue" then | |
6361 | if block.Value > 0 then | |
6362 | blocked = true | |
6363 | block.Value = block.Value - 1 | |
6364 | print(block.Value) | |
6365 | end | |
6366 | end | |
6367 | end | |
6368 | if blocked == false then | |
6369 | h.Health = h.Health - Damage | |
6370 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
6371 | else | |
6372 | h.Health = h.Health - (Damage / 2) | |
6373 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color) | |
6374 | end | |
6375 | if Type == "Knockdown" then | |
6376 | local hum = hit.Parent.Humanoid | |
6377 | hum.PlatformStand = true | |
6378 | coroutine.resume(coroutine.create(function(HHumanoid) | |
6379 | swait(1) | |
6380 | HHumanoid.PlatformStand = false | |
6381 | end), hum) | |
6382 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
6383 | local bodvol = Create("BodyVelocity"){ | |
6384 | velocity = angle * knockback, | |
6385 | P = 5000, | |
6386 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
6387 | Parent = hit, | |
6388 | } | |
6389 | local rl = Create("BodyAngularVelocity"){ | |
6390 | P = 3000, | |
6391 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
6392 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
6393 | Parent = hit, | |
6394 | } | |
6395 | game:GetService("Debris"):AddItem(bodvol, .5) | |
6396 | game:GetService("Debris"):AddItem(rl, .5) | |
6397 | elseif Type == "Normal" then | |
6398 | local vp = Create("BodyVelocity"){ | |
6399 | P = 500, | |
6400 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
6401 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
6402 | } | |
6403 | if knockback > 0 then | |
6404 | vp.Parent = hit.Parent.Torso | |
6405 | end | |
6406 | game:GetService("Debris"):AddItem(vp, .5) | |
6407 | elseif Type == "Up" then | |
6408 | local bodyVelocity = Create("BodyVelocity"){ | |
6409 | velocity = Vector3.new(0, 20, 0), | |
6410 | P = 5000, | |
6411 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
6412 | Parent = hit, | |
6413 | } | |
6414 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
6415 | elseif Type == "DarkUp" then | |
6416 | coroutine.resume(coroutine.create(function() | |
6417 | for i = 0, 1, 0.1 do | |
6418 | swait() | |
6419 | Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
6420 | end | |
6421 | end)) | |
6422 | local bodyVelocity = Create("BodyVelocity"){ | |
6423 | velocity = Vector3.new(0, 20, 0), | |
6424 | P = 5000, | |
6425 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
6426 | Parent = hit, | |
6427 | } | |
6428 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
6429 | elseif Type == "Snare" then | |
6430 | local bp = Create("BodyPosition"){ | |
6431 | P = 2000, | |
6432 | D = 100, | |
6433 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
6434 | position = hit.Parent.Torso.Position, | |
6435 | Parent = hit.Parent.Torso, | |
6436 | } | |
6437 | game:GetService("Debris"):AddItem(bp, 1) | |
6438 | elseif Type == "Freeze" then | |
6439 | local BodPos = Create("BodyPosition"){ | |
6440 | P = 50000, | |
6441 | D = 1000, | |
6442 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
6443 | position = hit.Parent.Torso.Position, | |
6444 | Parent = hit.Parent.Torso, | |
6445 | } | |
6446 | local BodGy = Create("BodyGyro") { | |
6447 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
6448 | P = 20e+003, | |
6449 | Parent = hit.Parent.Torso, | |
6450 | cframe = hit.Parent.Torso.CFrame, | |
6451 | } | |
6452 | hit.Parent.Torso.Anchored = true | |
6453 | coroutine.resume(coroutine.create(function(Part) | |
6454 | swait(1.5) | |
6455 | Part.Anchored = false | |
6456 | end), hit.Parent.Torso) | |
6457 | game:GetService("Debris"):AddItem(BodPos, 3) | |
6458 | game:GetService("Debris"):AddItem(BodGy, 3) | |
6459 | end | |
6460 | local debounce = Create("BoolValue"){ | |
6461 | Name = "DebounceHit", | |
6462 | Parent = hit.Parent, | |
6463 | Value = true, | |
6464 | } | |
6465 | game:GetService("Debris"):AddItem(debounce, Delay) | |
6466 | c = Create("ObjectValue"){ | |
6467 | Name = "creator", | |
6468 | Value = Player, | |
6469 | Parent = h, | |
6470 | } | |
6471 | game:GetService("Debris"):AddItem(c, .5) | |
6472 | end | |
6473 | end | |
6474 | ||
6475 | function ShowDamage(Pos, Text, Time, Color) | |
6476 | local Rate = (1 / 30) | |
6477 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
6478 | local Text = (Text or "") | |
6479 | local Time = (Time or 2) | |
6480 | local Color = (Color or Color3.new(1, 0, 1)) | |
6481 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
6482 | EffectPart.Anchored = true | |
6483 | local BillboardGui = Create("BillboardGui"){ | |
6484 | Size = UDim2.new(3, 0, 3, 0), | |
6485 | Adornee = EffectPart, | |
6486 | Parent = EffectPart, | |
6487 | } | |
6488 | local TextLabel = Create("TextLabel"){ | |
6489 | BackgroundTransparency = 1, | |
6490 | Size = UDim2.new(1, 0, 1, 0), | |
6491 | Text = Text, | |
6492 | Font = "SciFi", | |
6493 | TextColor3 = Color, | |
6494 | TextScaled = true, | |
6495 | Parent = BillboardGui, | |
6496 | } | |
6497 | game.Debris:AddItem(EffectPart, (Time)) | |
6498 | EffectPart.Parent = game:GetService("Workspace") | |
6499 | delay(0, function() | |
6500 | local Frames = (Time / Rate) | |
6501 | for Frame = 1, Frames do | |
6502 | wait(Rate) | |
6503 | local Percent = (Frame / Frames) | |
6504 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
6505 | TextLabel.TextTransparency = Percent | |
6506 | end | |
6507 | if EffectPart and EffectPart.Parent then | |
6508 | EffectPart:Destroy() | |
6509 | end | |
6510 | end) | |
6511 | end | |
6512 | ||
6513 | function dmg(dude) | |
6514 | if dude.Name ~= Character then | |
6515 | dude.Humanoid.PlatformStand = true | |
6516 | local bgf = Instance.new("BodyGyro",dude.Head) | |
6517 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
6518 | local val = Instance.new("BoolValue",dude) | |
6519 | val.Name = "IsHit" | |
6520 | for i = 1, 6 do | |
6521 | local blo = Instance.new("Part",game.Workspace) | |
6522 | blo.Size = Vector3.new(.6,.2,.6) | |
6523 | blo.Material = "SmoothPlastic" | |
6524 | blo.BrickColor = BrickColor.new("Crimson") | |
6525 | --blo.Position = dude.Head.Position | |
6526 | blo.CFrame = dude.Head.CFrame | |
6527 | game:GetService("Debris"):AddItem(blo,30) | |
6528 | end | |
6529 | local ds = coroutine.wrap(function() | |
6530 | wait(.2) | |
6531 | dude.Torso:BreakJoints() | |
6532 | end) | |
6533 | ds() | |
6534 | end | |
6535 | end | |
6536 | ||
6537 | function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
6538 | --local buddy | |
6539 | for _, c in pairs(workspace:children()) do | |
6540 | local hum = c:findFirstChild("Humanoid") | |
6541 | if hum ~= nil then | |
6542 | local head = c:findFirstChild("Torso") | |
6543 | if head ~= nil then | |
6544 | local targ = head.Position - Part.Position | |
6545 | local mag = targ.magnitude | |
6546 | if mag <= Magnitude and c.Name ~= Player.Name then | |
6547 | if c.Name ~= Character then | |
6548 | if c.Name ~= "CKbackup" then | |
6549 | local asd = Instance.new("ParticleEmitter",c.Torso) | |
6550 | asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
6551 | asd.LightEmission = .1 | |
6552 | asd.Size = NumberSequence.new(0.2) | |
6553 | asd.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
6554 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
6555 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
6556 | asd.Transparency = bbb | |
6557 | asd.Size = aaa | |
6558 | asd.ZOffset = .9 | |
6559 | asd.Acceleration = Vector3.new(0, -5, 0) | |
6560 | asd.LockedToPart = false | |
6561 | asd.EmissionDirection = "Back" | |
6562 | asd.Lifetime = NumberRange.new(1, 2) | |
6563 | asd.Rate = 1000 | |
6564 | asd.Rotation = NumberRange.new(-100, 100) | |
6565 | asd.RotSpeed = NumberRange.new(-100, 100) | |
6566 | asd.Speed = NumberRange.new(6) | |
6567 | asd.VelocitySpread = 10000 | |
6568 | asd.Enabled=true | |
6569 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
6570 | dmg(c) | |
6571 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8) | |
6572 | coroutine.wrap(function() | |
6573 | wait(.2) | |
6574 | asd.Enabled = false | |
6575 | wait(2) | |
6576 | asd:Remove() | |
6577 | end)() | |
6578 | else | |
6579 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289", c.Torso, 1.5, math.random(1,1.3)) | |
6580 | Effects.Sphere.Create(BrickColor.new("Bright red"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04) | |
6581 | ||
6582 | end | |
6583 | end | |
6584 | end | |
6585 | end | |
6586 | end | |
6587 | end | |
6588 | end | |
6589 | EffectModel = Create("Model"){ | |
6590 | Parent = Character, | |
6591 | Name = "Effects", | |
6592 | } | |
6593 | ||
6594 | Effects = { | |
6595 | Block = { | |
6596 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
6597 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
6598 | prt.Anchored = true | |
6599 | prt.CFrame = cframe | |
6600 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
6601 | game:GetService("Debris"):AddItem(prt, 10) | |
6602 | if Type == 1 or Type == nil then | |
6603 | table.insert(Effects, { | |
6604 | prt, | |
6605 | "Block1", | |
6606 | delay, | |
6607 | x3, | |
6608 | y3, | |
6609 | z3, | |
6610 | msh | |
6611 | }) | |
6612 | elseif Type == 2 then | |
6613 | table.insert(Effects, { | |
6614 | prt, | |
6615 | "Block2", | |
6616 | delay, | |
6617 | x3, | |
6618 | y3, | |
6619 | z3, | |
6620 | msh | |
6621 | }) | |
6622 | end | |
6623 | end; | |
6624 | }; | |
6625 | ||
6626 | Cylinder = { | |
6627 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
6628 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
6629 | prt.Anchored = true | |
6630 | prt.CFrame = cframe | |
6631 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
6632 | game:GetService("Debris"):AddItem(prt, 10) | |
6633 | table.insert(Effects, { | |
6634 | prt, | |
6635 | "Cylinder", | |
6636 | delay, | |
6637 | x3, | |
6638 | y3, | |
6639 | z3, | |
6640 | msh | |
6641 | }) | |
6642 | end; | |
6643 | }; | |
6644 | Head = { | |
6645 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
6646 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
6647 | prt.Anchored = true | |
6648 | prt.CFrame = cframe | |
6649 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
6650 | game:GetService("Debris"):AddItem(prt, 10) | |
6651 | table.insert(Effects, { | |
6652 | prt, | |
6653 | "Cylinder", | |
6654 | delay, | |
6655 | x3, | |
6656 | y3, | |
6657 | z3, | |
6658 | msh | |
6659 | }) | |
6660 | end; | |
6661 | }; | |
6662 | ||
6663 | Sphere = { | |
6664 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
6665 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
6666 | prt.Anchored = true | |
6667 | prt.CFrame = cframe | |
6668 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
6669 | game:GetService("Debris"):AddItem(prt, 10) | |
6670 | table.insert(Effects, { | |
6671 | prt, | |
6672 | "Cylinder", | |
6673 | delay, | |
6674 | x3, | |
6675 | y3, | |
6676 | z3, | |
6677 | msh | |
6678 | }) | |
6679 | end; | |
6680 | }; | |
6681 | ||
6682 | Elect = { | |
6683 | Create = function(cff, x, y, z) | |
6684 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1)) | |
6685 | prt.Anchored = true | |
6686 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
6687 | prt.CFrame = CFrame.new(prt.Position) | |
6688 | game:GetService("Debris"):AddItem(prt, 2) | |
6689 | local xval = math.random() / 2 | |
6690 | local yval = math.random() / 2 | |
6691 | local zval = math.random() / 2 | |
6692 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
6693 | table.insert(Effects, { | |
6694 | prt, | |
6695 | "Elec", | |
6696 | 0.1, | |
6697 | x, | |
6698 | y, | |
6699 | z, | |
6700 | xval, | |
6701 | yval, | |
6702 | zval | |
6703 | }) | |
6704 | end; | |
6705 | ||
6706 | }; | |
6707 | ||
6708 | Ring = { | |
6709 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
6710 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
6711 | prt.Anchored = true | |
6712 | prt.CFrame = cframe | |
6713 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
6714 | game:GetService("Debris"):AddItem(prt, 10) | |
6715 | table.insert(Effects, { | |
6716 | prt, | |
6717 | "Cylinder", | |
6718 | delay, | |
6719 | x3, | |
6720 | y3, | |
6721 | z3, | |
6722 | msh | |
6723 | }) | |
6724 | end; | |
6725 | }; | |
6726 | ||
6727 | ||
6728 | Wave = { | |
6729 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
6730 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
6731 | prt.Anchored = true | |
6732 | prt.CFrame = cframe | |
6733 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
6734 | game:GetService("Debris"):AddItem(prt, 10) | |
6735 | table.insert(Effects, { | |
6736 | prt, | |
6737 | "Cylinder", | |
6738 | delay, | |
6739 | x3, | |
6740 | y3, | |
6741 | z3, | |
6742 | msh | |
6743 | }) | |
6744 | end; | |
6745 | }; | |
6746 | ||
6747 | Break = { | |
6748 | Create = function(brickcolor, cframe, x1, y1, z1) | |
6749 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
6750 | prt.Anchored = true | |
6751 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
6752 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
6753 | local num = math.random(10, 50) / 1000 | |
6754 | game:GetService("Debris"):AddItem(prt, 10) | |
6755 | table.insert(Effects, { | |
6756 | prt, | |
6757 | "Shatter", | |
6758 | num, | |
6759 | prt.CFrame, | |
6760 | math.random() - math.random(), | |
6761 | 0, | |
6762 | math.random(50, 100) / 100 | |
6763 | }) | |
6764 | end; | |
6765 | }; | |
6766 | ||
6767 | Fire = { | |
6768 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
6769 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
6770 | prt.Anchored = true | |
6771 | prt.CFrame = cframe | |
6772 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
6773 | game:GetService("Debris"):AddItem(prt, 10) | |
6774 | table.insert(Effects, { | |
6775 | prt, | |
6776 | "Fire", | |
6777 | delay, | |
6778 | 1, | |
6779 | 1, | |
6780 | 1, | |
6781 | msh | |
6782 | }) | |
6783 | end; | |
6784 | }; | |
6785 | ||
6786 | FireWave = { | |
6787 | Create = function(brickcolor, cframe, x1, y1, z1) | |
6788 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
6789 | prt.Anchored = true | |
6790 | prt.CFrame = cframe | |
6791 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
6792 | local d = Create("Decal"){ | |
6793 | Parent = prt, | |
6794 | Texture = "rbxassetid://26356434", | |
6795 | Face = "Top", | |
6796 | } | |
6797 | local d = Create("Decal"){ | |
6798 | Parent = prt, | |
6799 | Texture = "rbxassetid://26356434", | |
6800 | Face = "Bottom", | |
6801 | } | |
6802 | game:GetService("Debris"):AddItem(prt, 10) | |
6803 | table.insert(Effects, { | |
6804 | prt, | |
6805 | "FireWave", | |
6806 | 1, | |
6807 | 30, | |
6808 | math.random(400, 600) / 100, | |
6809 | msh | |
6810 | }) | |
6811 | end; | |
6812 | }; | |
6813 | ||
6814 | Lightning = { | |
6815 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
6816 | local magz = (p0 - p1).magnitude | |
6817 | local curpos = p0 | |
6818 | local trz = { | |
6819 | -ofs, | |
6820 | ofs | |
6821 | } | |
6822 | for i = 1, tym do | |
6823 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
6824 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
6825 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
6826 | li.Material = "Neon" | |
6827 | if tym == i then | |
6828 | local magz2 = (curpos - p1).magnitude | |
6829 | li.Size = Vector3.new(th, th, magz2) | |
6830 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
6831 | table.insert(Effects, { | |
6832 | li, | |
6833 | "Disappear", | |
6834 | last | |
6835 | }) | |
6836 | else | |
6837 | do | |
6838 | do | |
6839 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
6840 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
6841 | game.Debris:AddItem(li, 10) | |
6842 | table.insert(Effects, { | |
6843 | li, | |
6844 | "Disappear", | |
6845 | last | |
6846 | }) | |
6847 | end | |
6848 | end | |
6849 | end | |
6850 | end | |
6851 | end | |
6852 | }; | |
6853 | ||
6854 | EffectTemplate = { | |
6855 | ||
6856 | }; | |
6857 | } | |
6858 | ||
6859 | function chatfunc(text) | |
6860 | local chat = coroutine.wrap(function() | |
6861 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
6862 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
6863 | end | |
6864 | local naeeym2 = Instance.new("BillboardGui",Character) | |
6865 | naeeym2.Size = UDim2.new(0,100,0,40) | |
6866 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
6867 | naeeym2.Adornee = Character.Head | |
6868 | naeeym2.Name = "TalkingBillBoard" | |
6869 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
6870 | tecks2.BackgroundTransparency = 1 | |
6871 | tecks2.BorderSizePixel = 0 | |
6872 | tecks2.Text = "" | |
6873 | tecks2.Font = "Fantasy" | |
6874 | tecks2.TextSize = 30 | |
6875 | tecks2.TextStrokeTransparency = 0 | |
6876 | tecks2.TextColor3 = Color3.new(.6,0,0) | |
6877 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
6878 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
6879 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
6880 | tecks3.BackgroundTransparency = 1 | |
6881 | tecks3.BorderSizePixel = 0 | |
6882 | tecks3.Text = "" | |
6883 | tecks3.Font = "Fantasy" | |
6884 | tecks3.TextSize = 30 | |
6885 | tecks3.TextStrokeTransparency = 0 | |
6886 | tecks3.TextColor3 = Color3.new(.6,0,0) | |
6887 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
6888 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
6889 | for i = 1,string.len(text),1 do | |
6890 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8) | |
6891 | tecks2.Text = string.sub(text,1,i) | |
6892 | tecks3.Text = string.sub(text,1,i) | |
6893 | wait(0.01) | |
6894 | end | |
6895 | wait(2) | |
6896 | for i = 1, 50 do | |
6897 | swait() | |
6898 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
6899 | tecks2.Rotation = tecks2.Rotation - .8 | |
6900 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
6901 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
6902 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
6903 | tecks3.Rotation = tecks2.Rotation + .8 | |
6904 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
6905 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
6906 | end | |
6907 | naeeym2:Destroy() | |
6908 | end) | |
6909 | chat() | |
6910 | end | |
6911 | function onChatted(msg) | |
6912 | chatfunc(msg) | |
6913 | end | |
6914 | Player.Chatted:connect(onChatted) | |
6915 | ||
6916 | abss = Instance.new("BillboardGui",Character) | |
6917 | abss.Size = UDim2.new(10,0,10,0) | |
6918 | abss.Enabled = false | |
6919 | imgl = Instance.new("ImageLabel",abss) | |
6920 | imgl.Position = UDim2.new(0,0,0,0) | |
6921 | imgl.Size = UDim2.new(1,0,1,0) | |
6922 | imgl.Image = "rbxassetid://711463989" | |
6923 | imgl.BackgroundTransparency = 1 | |
6924 | imgl.ImageColor3 = Color3.new(.9,0,0) | |
6925 | img2 = Instance.new("ImageLabel",abss) | |
6926 | img2.Position = UDim2.new(0,0,0,0) | |
6927 | img2.Size = UDim2.new(1,0,1,0) | |
6928 | img2.Image = "rbxassetid://711463989" | |
6929 | img2.BackgroundTransparency = 1 | |
6930 | img2.ImageColor3 = Color3.new(.9,0,0) | |
6931 | ||
6932 | ||
6933 | function attackone() | |
6934 | attack = true | |
6935 | Humanoid.WalkSpeed = 0 | |
6936 | if targetted.Name ~= "CKbackup" then | |
6937 | local partasdeff = Instance.new("ParticleEmitter",targetted.Torso) | |
6938 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
6939 | partasdeff.LightEmission = .1 | |
6940 | partasdeff.Size = NumberSequence.new(0.2) | |
6941 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
6942 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
6943 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
6944 | partasdeff.Transparency = bbb | |
6945 | partasdeff.Size = aaa | |
6946 | partasdeff.ZOffset = .9 | |
6947 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
6948 | partasdeff.LockedToPart = false | |
6949 | partasdeff.EmissionDirection = "Back" | |
6950 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
6951 | partasdeff.Rate = 1000 | |
6952 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
6953 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
6954 | partasdeff.Speed = NumberRange.new(6) | |
6955 | partasdeff.VelocitySpread = 10000 | |
6956 | partasdeff.Enabled=false | |
6957 | for i = 0, 3, 0.1 do | |
6958 | swait() | |
6959 | PlayAnimationFromTable({ | |
6960 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6961 | CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6962 | CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6963 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6964 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6965 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6966 | }, .1, false) | |
6967 | moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
6968 | end | |
6969 | Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
6970 | Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
6971 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
6972 | dmg(targetted) | |
6973 | partasdeff.Enabled=true | |
6974 | for i = 0, 1, 0.1 do | |
6975 | swait() | |
6976 | PlayAnimationFromTable({ | |
6977 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6978 | CFrame.new(-0.0879677385, 1.49240708, -0.127746791, 0.0201510563, -0.100440688, -0.994740784, 0.0566197298, 0.99346137, -0.0991647467, 0.998197258, -0.0543235913, 0.0257058665) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6979 | CFrame.new(2.03539443, 0.729742587, 0.0108130341, -0.00389442407, -0.967803538, 0.251676887, 0.0148300035, -0.251707017, -0.967689872, 0.999882519, -3.62247229e-05, 0.0153327845) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6980 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6981 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6982 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6983 | }, .3, false) | |
6984 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083517, -1.63770616, -0.318746239, -0.0172079317, -2.87033617e-06, -0.999851942, 0.999852002, 8.28504562e-06, -0.0172079336, 8.27014446e-06, -1.00000012, 2.72750913e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
6985 | end | |
6986 | partasdeff.Enabled=false | |
6987 | for i = 0, 2, 0.1 do | |
6988 | swait() | |
6989 | PlayAnimationFromTable({ | |
6990 | CFrame.new(0.0150662307, -4.88092428e-06, 0.0148906102, -0.01982099, -1.08002496e-12, 0.999803543, -4.46946984e-07, 1, -8.86181084e-09, -0.999803782, 3.27825546e-07, -0.0198209975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6991 | CFrame.new(-0.00189219415, 1.50098944, -0.129972562, 0.0201512501, 0.0765038878, -0.996864021, 0.0566192083, 0.995383799, 0.0775336027, 0.998202145, -0.0580037907, 0.0157258138) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6992 | CFrame.new(2.01696348, 0.389823437, -0.060955409, -0.000397110358, -0.999624014, -0.0274192169, 0.00981300231, 0.0274140034, -0.999576092, 0.999951839, -0.0006660074, 0.00979842618) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6993 | CFrame.new(-1.64040112, 0.216884568, 1.93210121e-06, 0.962137103, 0.272578239, -7.02217221e-07, -0.272574633, 0.962141275, -9.83368591e-06, -2.00979412e-06, 9.69739631e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6994 | CFrame.new(0.64369607, -1.98395038, 0.206737444, 0.19058302, -0.152998164, -0.969677031, 0.0664296299, 0.987527609, -0.142758414, 0.979424179, -0.0372077115, 0.198368743) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6995 | CFrame.new(-0.641120076, -1.92643452, -0.0258421432, 0.848103583, 0.133398816, -0.51276207, -0.0662644878, 0.986892581, 0.147146463, 0.52567035, -0.0908175632, 0.845826566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
6996 | }, .3, false) | |
6997 | moter.C0 = clerp(moter.C0, CFrame.new(0.011209704, -1.63770795, -0.318749219, -0.0172089972, -4.19956632e-06, -0.999852002, 0.999852061, 8.99471343e-06, -0.0172089972, 9.06549394e-06, -1.00000012, 4.04558159e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
6998 | end | |
6999 | coroutine.wrap(function() | |
7000 | wait(2) | |
7001 | partasdeff:Remove() | |
7002 | end)() | |
7003 | else | |
7004 | sel = math.random(1,3) | |
7005 | if sel == 1 then | |
7006 | chatfunc("...") | |
7007 | elseif sel == 2 then | |
7008 | chatfunc("No...") | |
7009 | elseif sel == 3 then | |
7010 | chatfunc("I can't do that...") | |
7011 | end | |
7012 | for i = 0, 5, 0.1 do | |
7013 | swait() | |
7014 | PlayAnimationFromTable({ | |
7015 | CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7016 | CFrame.new(-0.055980958, 1.49253583, -0.318915963, 0.999889553, 0.0107171191, -0.0102898544, -0.00218299939, 0.791040659, 0.611759722, 0.0146959936, -0.61166966, 0.790976703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
7017 | CFrame.new(1.54004693, 0.0494250022, 1.90734852e-06, 0.997847795, -0.0655719861, 0, 0.0655719936, 0.997847855, 7.53468894e-22, -4.94064563e-23, -7.51847299e-22, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7018 | CFrame.new(-1.51232088, 0.0410207808, -3.73942044e-06, 0.998558879, 0.053665854, -2.33806347e-07, -0.0536658242, 0.998558939, -1.04548817e-05, -3.27600219e-07, 1.04523697e-05, 0.99999994) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7019 | CFrame.new(0.540300906, -1.99793804, -2.11055158e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7020 | CFrame.new(-0.539562821, -1.99794102, -5.75710146e-09, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7021 | }, .3, false) | |
7022 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111967381, -1.6377008, -0.318754196, -0.0172117949, 0, -0.999851942, 0.999851942, 0, -0.0172117949, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7023 | end | |
7024 | end | |
7025 | Humanoid.WalkSpeed = 8 | |
7026 | attack = false | |
7027 | end | |
7028 | local Grabbed = false | |
7029 | ||
7030 | function hedshoot() | |
7031 | attack = true | |
7032 | ||
7033 | --local GGyro = Instance.new("BodyPosition") | |
7034 | local grab = nil | |
7035 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do | |
7036 | if v:FindFirstChild('Torso') then | |
7037 | Grabbed = true | |
7038 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Torso, 1, .8) | |
7039 | grab = v | |
7040 | end | |
7041 | end | |
7042 | Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90)), .5, .5, .5, 1, .2, 1, 0.07) | |
7043 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=200632211", RootPart, 1.5, .5) | |
7044 | for i = 0, 1, 0.1 do | |
7045 | swait() | |
7046 | if Grabbed == true then | |
7047 | grab.Humanoid.PlatformStand = true | |
7048 | --GGyro.position = Partss.Position | |
7049 | --GGyro.Parent = grab.Head | |
7050 | grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
7051 | end | |
7052 | PlayAnimationFromTable({ | |
7053 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7054 | CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7055 | CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7056 | CFrame.new(-1.66092706, 0.266950369, 2.51774691e-06, 0.876968205, 0.480548859, -2.5331974e-06, -0.480548888, 0.876968026, -7.03267551e-06, -1.13248825e-06, 7.38352537e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7057 | CFrame.new(0.146832585, -1.7542398, 0.105335698, 0.266426086, 0.491796821, -0.828946948, 0.0135936746, 0.8580302, 0.513420045, 0.96375972, -0.148056909, 0.221916124) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7058 | CFrame.new(-1.09110987, -1.74702656, 0.342675447, 0.765578806, 0.632523358, 0.117487431, -0.642276406, 0.740949869, 0.196148768, 0.0370163769, -0.225626737, 0.973510265) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7059 | }, .3, false) | |
7060 | RootPart.Velocity = RootPart.CFrame.lookVector * 90 | |
7061 | ||
7062 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7063 | end | |
7064 | if Grabbed == true then | |
7065 | Humanoid.WalkSpeed = 0 | |
7066 | for i = 0, 2, 0.1 do | |
7067 | swait() | |
7068 | if Grabbed == true then | |
7069 | grab.Humanoid.PlatformStand = true | |
7070 | --GGyro.position = Partss.Position | |
7071 | --GGyro.Parent = grab.Head | |
7072 | grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
7073 | end | |
7074 | PlayAnimationFromTable({ | |
7075 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7076 | CFrame.new(0.0029296279, 1.47845411, -0.120581962, 0.0750327855, 0.428286105, -0.900522709, 0.166523039, 0.885005891, 0.434781253, 0.983178616, -0.18258062, -0.00491504371) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7077 | CFrame.new(1.96751118, 0.433084905, -0.278422326, 0.305184275, -0.951701581, -0.033564698, 0.012345003, 0.0391969904, -0.999155343, 0.952213347, 0.304512084, 0.0237110667) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7078 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7079 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7080 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7081 | }, .3, false) | |
7082 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932121, -1.63769805, -0.318755955, -0.0172044784, -1.3951445e-05, -0.999852121, 0.999852002, 3.55020165e-06, -0.0172044784, 3.78862023e-06, -1.00000012, 1.38879986e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7083 | end | |
7084 | if grab.Name ~= "CKbackup" then | |
7085 | local partasdeff = Instance.new("ParticleEmitter",grab.Torso) | |
7086 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
7087 | partasdeff.LightEmission = .1 | |
7088 | partasdeff.Size = NumberSequence.new(0.2) | |
7089 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
7090 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
7091 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
7092 | partasdeff.Transparency = bbb | |
7093 | partasdeff.Size = aaa | |
7094 | partasdeff.ZOffset = .9 | |
7095 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
7096 | partasdeff.LockedToPart = false | |
7097 | partasdeff.EmissionDirection = "Back" | |
7098 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
7099 | partasdeff.Rate = 1000 | |
7100 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
7101 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
7102 | partasdeff.Speed = NumberRange.new(10) | |
7103 | partasdeff.VelocitySpread = 20 | |
7104 | partasdeff.Enabled=false | |
7105 | sel = math.random(1,3) | |
7106 | if sel == 1 then | |
7107 | chatfunc("Too easy...") | |
7108 | elseif sel == 2 then | |
7109 | chatfunc("Die in hell!") | |
7110 | elseif sel == 3 then | |
7111 | chatfunc("Take this, idiot!") | |
7112 | end | |
7113 | for i = 0, 2, 0.1 do | |
7114 | swait() | |
7115 | if Grabbed == true then | |
7116 | grab.Humanoid.PlatformStand = true | |
7117 | --GGyro.position = Partss.Position | |
7118 | --GGyro.Parent = grab.Head | |
7119 | grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
7120 | end | |
7121 | PlayAnimationFromTable({ | |
7122 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7123 | CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7124 | CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7125 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7126 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7127 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7128 | }, .1, false) | |
7129 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7130 | end | |
7131 | Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
7132 | Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
7133 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
7134 | dmg(grab) | |
7135 | grab.Head.Velocity = grab.Head.CFrame.lookVector * -60 | |
7136 | partasdeff.Enabled=true | |
7137 | for i = 0, 1, 0.1 do | |
7138 | swait() | |
7139 | PlayAnimationFromTable({ | |
7140 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7141 | CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7142 | CFrame.new(1.95760894, 1.20200562, -0.275867403, 0.278526366, -0.669772983, 0.688351095, 0.0506580099, -0.705469668, -0.706927419, 0.959091723, 0.23176837, -0.162562534) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7143 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7144 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7145 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7146 | }, .3, false) | |
7147 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111932531, -1.63769579, -0.318755656, -0.0172050633, -1.61863863e-05, -0.999852121, 0.999851882, 5.15580177e-06, -0.017205067, 5.453825e-06, -1, 1.60960481e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7148 | end | |
7149 | partasdeff.Enabled=false | |
7150 | for i = 0, 2.5, 0.1 do | |
7151 | swait() | |
7152 | PlayAnimationFromTable({ | |
7153 | CFrame.new(0.104281992, -1.37529127e-22, -0.179345995, 0.249840975, 5.92156003e-22, 0.968286872, -5.57068883e-22, 1, -4.67813147e-22, -0.968286872, -4.22523594e-22, 0.249840975) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7154 | CFrame.new(-0.0791492164, 1.44711375, -0.0994036943, 0.0100336075, -0.292051941, -0.95634979, -0.000366999942, 0.956396878, -0.29207015, 0.999949574, 0.00328149647, 0.00948894024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7155 | CFrame.new(1.94523025, 1.02494264, -0.272673488, 0.287940055, -0.795002162, 0.533912063, 0.0434400104, -0.546107173, -0.836588264, 0.956662774, 0.264080375, -0.122711219) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7156 | CFrame.new(-1.58139038, 0.176945746, 5.27966768e-06, 0.939729631, 0.341920435, -3.69548798e-06, -0.341920793, 0.93972975, -6.50105221e-06, -5.81145287e-07, 6.40749931e-06, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7157 | CFrame.new(0.569345832, -1.89868093, -0.00942828506, 0.266425997, -0.0769406706, -0.960779786, 0.0135936281, 0.997010291, -0.0760724545, 0.963760078, 0.00720720552, 0.266675085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7158 | CFrame.new(-0.849354744, -2.01616573, 0.241646215, 0.948664129, 0.308412433, 0.0701368451, -0.312046438, 0.948832989, 0.0484089628, -0.0516182035, -0.0678096861, 0.996362925) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7159 | }, .2, false) | |
7160 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111939851, -1.63769794, -0.31875661, -0.0172049776, -1.39437616e-05, -0.999852121, 0.999852002, 5.96046448e-06, -0.0172049757, 6.16908073e-06, -1, 1.38394535e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7161 | end | |
7162 | coroutine.wrap(function() | |
7163 | wait(2) | |
7164 | partasdeff:Remove() | |
7165 | end)() | |
7166 | else | |
7167 | grab.Humanoid.PlatformStand = false | |
7168 | for i = 0, 3, 0.1 do | |
7169 | swait() | |
7170 | PlayAnimationFromTable({ | |
7171 | CFrame.new(0.104280457, -1.46030498e-22, -0.179343686, 0.249860913, 5.18448626e-22, 0.968281686, -5.82335151e-22, 1, -5.29395592e-22, -0.968281686, -3.70576914e-22, 0.249860913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7172 | CFrame.new(0.00671941042, 1.48144531, -0.121562012, 0.0679168552, 0.388981611, -0.918738663, 0.158512011, 0.904961228, 0.394866198, 0.985018492, -0.172449201, -0.000196114182) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7173 | CFrame.new(1.5714488, -0.100437641, -0.219321564, 0.297819793, -0.653239965, -0.696118593, -0.0311920028, 0.722160041, -0.691022456, 0.954112411, 0.227513462, 0.194697708) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7174 | CFrame.new(-1.5814501, 0.177012652, 5.41775626e-06, 0.939689815, 0.342028022, -2.68220901e-06, -0.342027992, 0.939689755, -6.1805149e-06, 4.17232513e-07, 6.72787428e-06, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7175 | CFrame.new(0.569012046, -1.89856982, -0.00933695585, 0.266445845, -0.0764764398, -0.960811257, 0.0135949478, 0.997046292, -0.075590536, 0.963754177, 0.00707861409, 0.266698539) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7176 | CFrame.new(-0.849534154, -2.01595497, 0.241721377, 0.948572636, 0.308689058, 0.070150286, -0.312330276, 0.948733151, 0.0485308319, -0.0515729487, -0.067945078, 0.996355295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7177 | }, .1, false) | |
7178 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111981034, -1.63767779, -0.318741798, -0.0172085222, -1.4077872e-05, -0.999851882, 0.999851942, 7.4505806e-06, -0.0172085222, 7.68899918e-06, -1.00000012, 1.39512122e-05) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7179 | end | |
7180 | sel = math.random(1,3) | |
7181 | if sel == 1 then | |
7182 | chatfunc("I'm so silly...") | |
7183 | elseif sel == 2 then | |
7184 | chatfunc("What am i doing...") | |
7185 | elseif sel == 3 then | |
7186 | chatfunc("I can't...") | |
7187 | end | |
7188 | for i = 0, 5, 0.1 do | |
7189 | swait() | |
7190 | PlayAnimationFromTable({ | |
7191 | CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7192 | CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
7193 | CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7194 | CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7195 | CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7196 | CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7197 | }, .3, false) | |
7198 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7199 | end | |
7200 | end | |
7201 | end | |
7202 | --GGyro.Parent = nil | |
7203 | attack = false | |
7204 | Grabbed = false | |
7205 | Humanoid.WalkSpeed = 8 | |
7206 | ||
7207 | end | |
7208 | function moarblood() | |
7209 | attack = true | |
7210 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521656", Character, 1, .8) | |
7211 | RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,4) | |
7212 | local k = New("Part",LeftArm,"k",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.200000003, 0.221472204, 0.221472189),CFrame = CFrame.new(4.93319941, -1.31948221, -45.7696877, 0.141969427, -5.55023435e-05, -0.989871144, 0.989874005, 1.80069164e-05, 0.141970903, 1.06166653e-05, -1.00000143, 5.59078326e-05),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),}) | |
7213 | mot = New("Weld",k,"mot",{Part0 = k,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.141969457, 0.989873946, 1.06166663e-05, -5.55023507e-05, 1.80069164e-05, -1.00000167, -0.989871264, 0.141970903, 5.59078399e-05),C1 = CFrame.new(6.67572021e-06, -1.40000057, -3.81469727e-06, 0.989870846, -0.14197053, -1.2531201e-06, 0.141970515, 0.989870906, 1.03843358e-05, -2.33842215e-07, -1.04570581e-05, 0.99999994),}) | |
7214 | wait(.5) | |
7215 | for i = 0, 1.2, 0.1 do | |
7216 | swait() | |
7217 | PlayAnimationFromTable({ | |
7218 | CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7219 | CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7220 | CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7221 | CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7222 | CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7223 | CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7224 | }, .2, false) | |
7225 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7226 | end | |
7227 | if targetted.Name ~= "CKbackup" then | |
7228 | local grab = nil | |
7229 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do | |
7230 | if v:FindFirstChild('Head') then | |
7231 | Grabbed = true | |
7232 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Head, 1, .8) | |
7233 | grab = v | |
7234 | end | |
7235 | end | |
7236 | Humanoid.WalkSpeed = 0 | |
7237 | for i = 0, 2, 0.1 do | |
7238 | swait() | |
7239 | if Grabbed == true then | |
7240 | grab.Humanoid.PlatformStand = true | |
7241 | --GGyro.position = Partss.Position | |
7242 | --GGyro.Parent = grab.Head | |
7243 | grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
7244 | end | |
7245 | PlayAnimationFromTable({ | |
7246 | CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7247 | CFrame.new(-0.0263810754, 1.49789393, -0.36129567, 0.83927381, -0.177804202, 0.513814509, -0.0293880031, 0.928800881, 0.369412124, -0.542914331, -0.325137854, 0.774292946) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7248 | CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7249 | CFrame.new(-0.925376594, 0.275374949, -0.912649989, 0.847262561, -0.507846355, 0.155686736, 0.278232396, 0.17463918, -0.944503605, 0.452473402, 0.84355998, 0.289265245) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7250 | CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7251 | CFrame.new(-0.671897829, -2.02211738, 0.00865991414, 0.942302644, 0.108399101, -0.316726208, -0.108764961, 0.993929207, 0.0165806562, 0.31660068, 0.0188247077, 0.948372126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7252 | }, .25, false) | |
7253 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7254 | end | |
7255 | if Grabbed == true then | |
7256 | sel = math.random(1,3) | |
7257 | if sel == 1 then | |
7258 | chatfunc("My turn.") | |
7259 | elseif sel == 2 then | |
7260 | chatfunc("You the next!") | |
7261 | elseif sel == 3 then | |
7262 | chatfunc("Hope you burn in hell!") | |
7263 | end | |
7264 | local partasdeff = Instance.new("ParticleEmitter",targetted.Head) | |
7265 | partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) | |
7266 | partasdeff.LightEmission = .1 | |
7267 | partasdeff.Size = NumberSequence.new(0.2) | |
7268 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=771221224" | |
7269 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
7270 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
7271 | partasdeff.Transparency = bbb | |
7272 | partasdeff.Size = aaa | |
7273 | partasdeff.ZOffset = .9 | |
7274 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
7275 | partasdeff.LockedToPart = false | |
7276 | partasdeff.EmissionDirection = "Back" | |
7277 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
7278 | partasdeff.Rate = 1000 | |
7279 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
7280 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
7281 | partasdeff.Speed = NumberRange.new(6) | |
7282 | partasdeff.VelocitySpread = 10000 | |
7283 | partasdeff.Enabled=false | |
7284 | for i = 0, 3, 0.1 do | |
7285 | swait() | |
7286 | if Grabbed == true then | |
7287 | grab.Humanoid.PlatformStand = true | |
7288 | --GGyro.position = Partss.Position | |
7289 | --GGyro.Parent = grab.Head | |
7290 | grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
7291 | end | |
7292 | PlayAnimationFromTable({ | |
7293 | CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7294 | CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7295 | CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7296 | CFrame.new(-1.5511272, 1.22937977, -0.634234905, 0.785770595, 0.333147645, 0.521131098, 0.522403002, -0.808557391, -0.270795107, 0.331149668, 0.485022962, -0.809378147) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7297 | CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7298 | CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7299 | }, .1, false) | |
7300 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7301 | end | |
7302 | partasdeff.Enabled=true | |
7303 | grab.Torso.Transparency = 1 | |
7304 | dmg(grab) | |
7305 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", grab.Head, .8, .8) | |
7306 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082327", grab.Head, 1, .7) | |
7307 | ||
7308 | coroutine.wrap(function() | |
7309 | wait(.4) | |
7310 | partasdeff.Enabled=false | |
7311 | end)() | |
7312 | for i = 0, 3.5, 0.1 do | |
7313 | swait() | |
7314 | PlayAnimationFromTable({ | |
7315 | CFrame.new(-0.203895777, -0.0966757089, 0.221102715, 0.860356927, 5.59592329e-22, -0.509691954, -9.74120787e-23, 1, 9.33471908e-22, 0.509691954, -7.53468894e-22, 0.860356927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7316 | CFrame.new(0.0996288583, 1.46053851, -0.148588806, 0.834862471, 0.0359686315, 0.549282432, -0.0103890011, 0.998714745, -0.0496083908, -0.550360739, 0.0357096791, 0.83416307) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7317 | CFrame.new(1.70567894, 0.192227185, 0.324310064, 0.910149336, -0.402004361, -0.100104719, 0.41140601, 0.848634601, 0.332512379, -0.0487190783, -0.343819588, 0.937771142) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7318 | CFrame.new(-1.40260935, 1.29555511, -0.560751677, 0.832364976, 0.188659444, 0.521130562, 0.370884001, -0.88832134, -0.2707977, 0.411842346, 0.418681324, -0.809378505) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7319 | CFrame.new(0.648186982, -1.97843516, -0.0881449506, 0.954305232, -0.129303262, -0.269411147, 0.107586049, 0.989748061, -0.0939371213, 0.278795511, 0.0606598109, 0.958432913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7320 | CFrame.new(-0.684103072, -2.02189779, 0.0673112273, 0.973016024, 0.108399175, -0.203689545, -0.109960191, 0.993929327, 0.00367253274, 0.202851087, 0.0188243091, 0.979028702) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7321 | }, .3, false) | |
7322 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111928731, -1.63769662, -0.318741947, -0.0172089636, 8.2552433e-06, -0.999852061, 0.999852061, 7.4505806e-07, -0.0172089189, 5.66244125e-07, -1.00000012, -8.2552433e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7323 | end | |
7324 | end | |
7325 | else | |
7326 | Humanoid.WalkSpeed = 0 | |
7327 | for i = 0, 3, 0.1 do | |
7328 | swait() | |
7329 | PlayAnimationFromTable({ | |
7330 | CFrame.new(0.0246932413, -0.0966757834, -0.0092370566, 0.713696778, 5.59592329e-22, 0.700454772, -9.27150216e-22, 1, 1.45779223e-22, -0.700454772, -7.53468894e-22, 0.713696778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7331 | CFrame.new(0.098094359, 1.53651738, -0.281765848, 0.593379974, 0.280785412, -0.754360616, -0.0276839901, 0.943748772, 0.329502523, 0.804446399, -0.174636483, 0.567774832) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7332 | CFrame.new(1.58677018, 0.143787161, 0.0495693758, 0.968102753, -0.250522822, -0.00394502282, 0.250228018, 0.965921044, 0.0662006512, -0.0127741396, -0.0650762022, 0.997798622) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7333 | CFrame.new(-1.74332106, 0.446618229, -0.859300971, 0.795205951, 0.606264353, -0.0095520094, -0.0538869984, 0.0549720451, -0.997032762, -0.603940368, 0.793361068, 0.0763838589) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7334 | CFrame.new(0.648194611, -1.97843742, -0.088139981, 0.954304218, -0.129303336, -0.269414723, 0.107585981, 0.989748061, -0.0939367935, 0.278798997, 0.0606590137, 0.958431959) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7335 | CFrame.new(-0.671899676, -2.02211809, 0.00866907835, 0.94230175, 0.108399026, -0.316728801, -0.108764999, 0.993929207, 0.0165804606, 0.316603303, 0.0188252106, 0.948371291) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7336 | }, .2, false) | |
7337 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111978557, -1.63769853, -0.318748116, -0.0172083378, 3.06963921e-06, -0.999852002, 0.999851942, -2.01165676e-07, -0.0172083378, -2.4586916e-07, -1, -3.09944153e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7338 | end | |
7339 | sel = math.random(1,3) | |
7340 | if sel == 1 then | |
7341 | chatfunc("Aahhh...") | |
7342 | elseif sel == 2 then | |
7343 | chatfunc("Oh Sugarie, I thought you're enemy...") | |
7344 | elseif sel == 3 then | |
7345 | chatfunc("Sigh...") | |
7346 | end | |
7347 | for i = 0, 5, 0.1 do | |
7348 | swait() | |
7349 | PlayAnimationFromTable({ | |
7350 | CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7351 | CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0), | |
7352 | CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7353 | CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7354 | CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7355 | CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7356 | }, .3, false) | |
7357 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111991819, -1.63769639, -0.318748534, -0.0172109455, -5.96046448e-08, -0.999852002, 0.999852061, -1.19209318e-07, -0.0172108412, 5.96046519e-08, -0.99999994, -1.19209275e-07) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7358 | end | |
7359 | end | |
7360 | attack = false | |
7361 | Grabbed = false | |
7362 | k:Remove() | |
7363 | Humanoid.WalkSpeed = 8 | |
7364 | end | |
7365 | ||
7366 | function painlessrain() | |
7367 | attack = true | |
7368 | Humanoid.WalkSpeed = 0 | |
7369 | local ref1 = New("Part",m,"ref",{Transparency = 1,Size = Vector3.new(.2,.2,.2),CFrame = Torso.CFrame,Anchored = true,CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,}) | |
7370 | ||
7371 | coroutine.wrap(function() | |
7372 | for i = 0, 4 do | |
7373 | wait(.2) | |
7374 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=199145095", RootPart, 1, 1.3) | |
7375 | end | |
7376 | end)() | |
7377 | for i = 0, 4, 0.1 do | |
7378 | swait() | |
7379 | PlayAnimationFromTable({ | |
7380 | CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7381 | CFrame.new(-0.115934461, 1.42953098, -0.0387745127, 0.0422455594, -0.156738758, -0.986736298, 0.091215007, 0.984098434, -0.152414545, 0.994934857, -0.083566308, 0.0558707118) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7382 | CFrame.new(1.88563442, 0.849646449, -0.150348112, 0.134151325, -0.917590559, 0.374207288, 0.151069015, -0.354270071, -0.922860146, 0.979378283, 0.180334046, 0.0910937041) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7383 | CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7384 | CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7385 | CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7386 | }, .07, false) | |
7387 | moter.C0 = clerp(moter.C0, CFrame.new(0.00354172289, -1.19249964, -0.318736732, -0.017209189, -1.8668361e-06, -0.999851942, 0.999851882, 1.90734863e-06, -0.0172091946, 1.93715096e-06, -1.00000012, 1.82725489e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, math.rad(doe * 22)), 0.3) | |
7388 | end | |
7389 | for i = 0, 1.5, 0.1 do | |
7390 | swait() | |
7391 | PlayAnimationFromTable({ | |
7392 | CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7393 | CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7394 | CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7395 | CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7396 | CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7397 | CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7398 | }, .2, false) | |
7399 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7400 | end | |
7401 | for i = 0, 3 do | |
7402 | Effects.Block.Create(BrickColor.new("Bright red"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
7403 | Effects.Block.Create(BrickColor.new("Deep orange"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
7404 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
7405 | for i = 0, .5, 0.1 do | |
7406 | swait() | |
7407 | PlayAnimationFromTable({ | |
7408 | CFrame.new(0.160087422, -3.66470256e-23, -0.0753137618, 0.15316838, 2.95750466e-22, 0.988200247, 9.50818972e-23, 1, -3.14019425e-22, -0.988200247, 1.42057819e-22, 0.15316838) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7409 | CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7410 | CFrame.new(1.46630716, 1.08524323, -0.0336530581, 0.00764143467, -0.0426861309, 0.999059498, 0.0445286781, -0.998082876, -0.0429849848, 0.998979032, 0.0448152684, -0.0057259798) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7411 | CFrame.new(-1.53188026, 0.0735908896, 2.69562906e-06, 0.978447855, 0.206495479, 2.48849392e-06, -0.206495419, 0.978447556, -1.05270137e-05, -4.61935997e-06, 9.78633761e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7412 | CFrame.new(0.659685254, -2.0274992, -0.0100700259, 0.00885757804, -0.161218897, -0.986879349, 0.00904085487, 0.986890197, -0.161139548, 0.999920309, -0.00749491528, 0.0101990253) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7413 | CFrame.new(-0.566697419, -2.04759264, -0.0995131433, 0.988195002, 0.078684561, 0.131453067, -0.0635149851, 0.991233289, -0.115855575, -0.139416695, 0.106138662, 0.984529436) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7414 | }, .3, false) | |
7415 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112046078, -1.63744116, -0.318734497, -0.0172122065, 2.46167183e-05, -0.999852002, 0.999850631, -0.00159030408, -0.0172121339, -0.00159040466, -0.999998927, 2.57790089e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7416 | end | |
7417 | for i = 0, .5, 0.1 do | |
7418 | swait() | |
7419 | PlayAnimationFromTable({ | |
7420 | CFrame.new(0.160091802, -3.66497677e-23, -0.0753167868, 0.153125972, 2.95760942e-22, 0.988206744, 9.50910858e-23, 1, -3.14025256e-22, -0.988206744, 1.42055005e-22, 0.153125986) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7421 | CFrame.new(-0.181723118, 1.42154801, -0.0812263489, 0.0422911495, -0.473342478, -0.879862845, 0.0912349299, 0.878800809, -0.468385875, 0.994931221, -0.0604656339, 0.0803508535) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7422 | CFrame.new(1.46608233, 1.280774, -0.0335922651, 0.00761340559, -0.0420075022, 0.999088407, 0.0443810038, -0.998118579, -0.0423049256, 0.998985708, 0.044662632, -0.00573477149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7423 | CFrame.new(-1.53188074, 0.0735950321, 2.69606994e-06, 0.978446901, 0.206499115, 2.48849392e-06, -0.2064991, 0.978446841, -1.05276868e-05, -4.61935997e-06, 9.78447497e-06, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7424 | CFrame.new(0.6596874, -2.0274992, -0.0100709619, 0.00881013274, -0.161221251, -0.986878991, 0.00903601572, 0.986890376, -0.161142424, 0.999920428, -0.0074977763, 0.0101515204) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7425 | CFrame.new(-0.56669867, -2.04759455, -0.0995163321, 0.988194227, 0.0786855519, 0.131456956, -0.0635150596, 0.991232872, -0.115859069, -0.139420897, 0.106141761, 0.984528303) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7426 | }, .3, false) | |
7427 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112083405, -1.63769615, -0.31873402, -0.0172121376, -2.89082527e-06, -0.999851882, 0.999851942, 4.58210707e-07, -0.0172121413, 5.06639481e-07, -1.00000012, 2.89082527e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7428 | end | |
7429 | end | |
7430 | attack = false | |
7431 | Humanoid.WalkSpeed = 8 | |
7432 | wait(.4) | |
7433 | for i = 0, 8 do | |
7434 | wait(.2) | |
7435 | mdmg(ref1, 3) | |
7436 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410089", Character, 1.5, .7) | |
7437 | ref1.Position = Mouse.hit.p | |
7438 | ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5)) | |
7439 | Effects.Cylinder.Create(BrickColor.new("Deep orange"), ref1.CFrame, .5, 9999, .5, 0.5, 0, 0.5, 0.07) | |
7440 | end | |
7441 | ref1:Remove() | |
7442 | end | |
7443 | ||
7444 | function TargetSelect(person) | |
7445 | local dd=coroutine.wrap(function() | |
7446 | if targetted ~= person then | |
7447 | targetted = person | |
7448 | img2.Size = UDim2.new(1,0,1,0) | |
7449 | img2.ImageTransparency = 0 | |
7450 | img2.Position = UDim2.new(0,0,0,0) | |
7451 | for i = 0, 2, 0.1 do | |
7452 | swait() | |
7453 | img2.Size = img2.Size + UDim2.new(.05,0,.05,0) | |
7454 | img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0) | |
7455 | img2.ImageTransparency = img2.ImageTransparency + 0.05 | |
7456 | end | |
7457 | end | |
7458 | end) | |
7459 | dd() | |
7460 | end | |
7461 | ||
7462 | function LockOn() | |
7463 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
7464 | TargetSelect(Mouse.Target.Parent) | |
7465 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, .8) | |
7466 | end | |
7467 | end | |
7468 | ||
7469 | ||
7470 | function ofmoosic() -- 2 lazi hoh | |
7471 | delays = true | |
7472 | while wait() and kkk and kkk.Volume >= 0.02 do | |
7473 | kkk.Volume = kkk.Volume - 0.05 | |
7474 | end | |
7475 | wait(0.1) | |
7476 | kkk.Pitch = 0 | |
7477 | kkk.PlaybackSpeed = 0 | |
7478 | play = false | |
7479 | delays = false | |
7480 | end | |
7481 | function onmoosic() | |
7482 | delays = true | |
7483 | kkk.Pitch = .6 | |
7484 | kkk.PlaybackSpeed = .6 | |
7485 | while wait() and kkk and kkk.Volume <= 1.5 do | |
7486 | kkk.Volume = kkk.Volume + 0.05 | |
7487 | end | |
7488 | wait(0.1) | |
7489 | play = true | |
7490 | delays = false | |
7491 | end | |
7492 | Mouse.Button1Down:connect(function() | |
7493 | if attack == false and targetted ~= nil then | |
7494 | attackone() | |
7495 | end | |
7496 | end) | |
7497 | ||
7498 | Mouse.KeyDown:connect(function(k) | |
7499 | k = k:lower() | |
7500 | if attack == false and k == 'q' then | |
7501 | LockOn() | |
7502 | end | |
7503 | if k == 'z' and attack == false then | |
7504 | hedshoot() | |
7505 | elseif k == 'x' and attack == false and targetted ~= nil then | |
7506 | moarblood() | |
7507 | elseif k == 'c' and attack == false then | |
7508 | painlessrain() | |
7509 | elseif k == 'g' and delays == false and Character.Name == "grgrgry21" then | |
7510 | delays = true | |
7511 | chatfunc("Hey Sugarie...") | |
7512 | wait(2) | |
7513 | chatfunc("I want to tell you...") | |
7514 | wait(3) | |
7515 | chatfunc("Be my...") | |
7516 | wait(1) | |
7517 | chatfunc("Sacri-") | |
7518 | wait(.5) | |
7519 | chatfunc("I mean...") | |
7520 | wait(1) | |
7521 | chatfunc("Friend, Okay...?") | |
7522 | delays = false | |
7523 | elseif k == 'm' and play == true and delays == false then | |
7524 | ofmoosic() | |
7525 | elseif k == 'm' and play == false and delays == false then | |
7526 | onmoosic() | |
7527 | end | |
7528 | end) | |
7529 | ||
7530 | kkk = Instance.new("Sound",Character) | |
7531 | kkk.Volume = 1.5 | |
7532 | kkk.PlaybackSpeed = 1 | |
7533 | kkk.Pitch = .6 | |
7534 | kkk.SoundId = "rbxassetid://583415095" | |
7535 | kkk:Play() | |
7536 | kkk.Name = "a" | |
7537 | kkk.Looped = true | |
7538 | ||
7539 | ||
7540 | coroutine.wrap(function() | |
7541 | while true do | |
7542 | swait() | |
7543 | for i, v in pairs(Character.WeaponModel:GetChildren()) do | |
7544 | if v:IsA("Part") then | |
7545 | v.Anchored = false | |
7546 | end | |
7547 | end | |
7548 | for i, v in pairs(Character:GetChildren()) do | |
7549 | if v:IsA("Part") then | |
7550 | v.Anchored = false | |
7551 | elseif v:IsA("Accessory") then | |
7552 | v.Handle.Anchored = false | |
7553 | end | |
7554 | end | |
7555 | end | |
7556 | end)() | |
7557 | coroutine.wrap(function() | |
7558 | while 1 do | |
7559 | swait() | |
7560 | if doe <= 360 then | |
7561 | doe = doe + 2 | |
7562 | else | |
7563 | doe = 0 | |
7564 | end | |
7565 | end | |
7566 | end)() | |
7567 | while true do | |
7568 | swait() | |
7569 | for i, v in pairs(Character:GetChildren()) do | |
7570 | if v:IsA("Part") then | |
7571 | v.Material = "SmoothPlastic" | |
7572 | elseif v:IsA("Accessory") then | |
7573 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
7574 | end | |
7575 | end | |
7576 | while true do | |
7577 | swait() | |
7578 | Character.Humanoid.MaxHealth = math.huge | |
7579 | Character.Humanoid.Health = math.huge | |
7580 | imgl.Rotation = imgl.Rotation + 3 | |
7581 | img2.Rotation = img2.Rotation + 3 | |
7582 | if targetted ~= nil then | |
7583 | abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
7584 | abss.Enabled = true | |
7585 | elseif targetted == nil then | |
7586 | abss.Adornee = nil | |
7587 | abss.Enabled = false | |
7588 | end | |
7589 | ||
7590 | while true and imgl.Rotation >= 360 do | |
7591 | imgl.Rotation = 0 | |
7592 | img2.Rotation = 0 | |
7593 | end | |
7594 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
7595 | velocity = RootPart.Velocity.y | |
7596 | sine = sine + change | |
7597 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
7598 | if RootPart.Velocity.y > 1 and hit == nil then | |
7599 | Anim = "Jump" | |
7600 | if attack == false then | |
7601 | PlayAnimationFromTable({ | |
7602 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7603 | CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7604 | CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7605 | CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7606 | CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7607 | CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7608 | }, .3, false) | |
7609 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111988392, -1.63769972, -0.318750381, -0.0172117054, 0, -0.999851942, 0.999851942, 0, -0.0172116756, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7610 | end | |
7611 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
7612 | Anim = "Fall" | |
7613 | if attack == false then | |
7614 | PlayAnimationFromTable({ | |
7615 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7616 | CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7617 | CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7618 | CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7619 | CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7620 | CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7621 | }, .3, false) | |
7622 | moter.C0 = clerp(moter.C0, CFrame.new(0.0112015437, -1.63769758, -0.318750381, -0.0172110498, 0, -0.999851942, 0.999851942, 0, -0.0172110498, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7623 | end | |
7624 | elseif Torsovelocity < 1 and hit ~= nil then | |
7625 | Anim = "Idle" | |
7626 | if attack == false then | |
7627 | change = 1 | |
7628 | PlayAnimationFromTable({ | |
7629 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7630 | CFrame.new(-0.0575585738, 1.52553558, -0.218724757, 0.985934377, -0.143356442, -0.0859283879, 0.166522771, 0.886584163, 0.431554198, 0.0143168001, -0.439792335, 0.897985697) * CFrame.new(0, -.05- .05 * math.cos((sine) / 55), 0- .05 * math.cos((sine) / 55)) * CFrame.Angles(math.rad(0 - 5 * math.cos((sine) / 55)), 0, 0), | |
7631 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)), | |
7632 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)), | |
7633 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7634 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7635 | }, .3, false) | |
7636 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7637 | end | |
7638 | elseif Torsovelocity > 2 and hit ~= nil then | |
7639 | Anim = "Walk" | |
7640 | if attack == false then | |
7641 | PlayAnimationFromTable({ | |
7642 | CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0), | |
7643 | CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), | |
7644 | CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
7645 | CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
7646 | CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0), | |
7647 | CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0), | |
7648 | }, .3, false) | |
7649 | moter.C0 = clerp(moter.C0, CFrame.new(0.0111980997, -1.6377027, -0.318750381, -0.0172109306, 0, -0.999851882, 0.999851882, 0, -0.0172109306, 0, -1, 0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3) | |
7650 | end | |
7651 | end | |
7652 | if 0 < #Effects then | |
7653 | for e = 1, #Effects do | |
7654 | if Effects[e] ~= nil then | |
7655 | local Thing = Effects[e] | |
7656 | if Thing ~= nil then | |
7657 | local Part = Thing[1] | |
7658 | local Mode = Thing[2] | |
7659 | local Delay = Thing[3] | |
7660 | local IncX = Thing[4] | |
7661 | local IncY = Thing[5] | |
7662 | local IncZ = Thing[6] | |
7663 | if Thing[2] == "Shoot" then | |
7664 | local Look = Thing[1] | |
7665 | local move = 30 | |
7666 | if Thing[8] == 3 then | |
7667 | move = 10 | |
7668 | end | |
7669 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
7670 | if Thing[10] ~= nil then | |
7671 | da = pos | |
7672 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
7673 | cfa = CFrame.new(Thing[4], pos) | |
7674 | tehCF = cfa:lerp(cf2, 0.2) | |
7675 | Thing[1] = tehCF.lookVector | |
7676 | end | |
7677 | local mag = (Thing[4] - pos).magnitude | |
7678 | Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2) | |
7679 | if Thing[8] == 2 then | |
7680 | Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1) | |
7681 | end | |
7682 | Thing[4] = Thing[4] + Look * move | |
7683 | Thing[3] = Thing[3] - 1 | |
7684 | if 2 < Thing[5] then | |
7685 | Thing[5] = Thing[5] - 0.3 | |
7686 | Thing[6] = Thing[6] - 0.3 | |
7687 | end | |
7688 | if hit ~= nil then | |
7689 | Thing[3] = 0 | |
7690 | if Thing[8] == 1 or Thing[8] == 3 then | |
7691 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
7692 | else | |
7693 | if Thing[8] == 2 then | |
7694 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
7695 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then | |
7696 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
7697 | ref.Anchored = true | |
7698 | ref.CFrame = CFrame.new(pos) | |
7699 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
7700 | game:GetService("Debris"):AddItem(ref, 0.2) | |
7701 | Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2) | |
7702 | Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1) | |
7703 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
7704 | end | |
7705 | end | |
7706 | end | |
7707 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new()) | |
7708 | ref.Anchored = true | |
7709 | ref.CFrame = CFrame.new(pos) | |
7710 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
7711 | game:GetService("Debris"):AddItem(ref, 1) | |
7712 | end | |
7713 | if Thing[3] <= 0 then | |
7714 | table.remove(Effects, e) | |
7715 | end | |
7716 | end | |
7717 | do | |
7718 | do | |
7719 | if Thing[2] == "FireWave" then | |
7720 | if Thing[3] <= Thing[4] then | |
7721 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
7722 | Thing[3] = Thing[3] + 1 | |
7723 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
7724 | else | |
7725 | Part.Parent = nil | |
7726 | table.remove(Effects, e) | |
7727 | end | |
7728 | end | |
7729 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
7730 | if Thing[1].Transparency <= 1 then | |
7731 | if Thing[2] == "Block1" then | |
7732 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
7733 | Mesh = Thing[7] | |
7734 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
7735 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
7736 | else | |
7737 | if Thing[2] == "Block2" then | |
7738 | Thing[1].CFrame = Thing[1].CFrame | |
7739 | Mesh = Thing[7] | |
7740 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
7741 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
7742 | else | |
7743 | if Thing[2] == "Fire" then | |
7744 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
7745 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
7746 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
7747 | else | |
7748 | if Thing[2] == "Cylinder" then | |
7749 | Mesh = Thing[7] | |
7750 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
7751 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
7752 | else | |
7753 | if Thing[2] == "Blood" then | |
7754 | Mesh = Thing[7] | |
7755 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
7756 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
7757 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
7758 | else | |
7759 | if Thing[2] == "Elec" then | |
7760 | Mesh = Thing[10] | |
7761 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
7762 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
7763 | else | |
7764 | if Thing[2] == "Disappear" then | |
7765 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
7766 | else | |
7767 | if Thing[2] == "Shatter" then | |
7768 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
7769 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
7770 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
7771 | Thing[6] = Thing[6] + Thing[5] | |
7772 | end | |
7773 | end | |
7774 | end | |
7775 | end | |
7776 | end | |
7777 | end | |
7778 | end | |
7779 | end | |
7780 | else | |
7781 | Part.Parent = nil | |
7782 | table.remove(Effects, e) | |
7783 | end | |
7784 | end | |
7785 | end | |
7786 | end | |
7787 | end | |
7788 | end | |
7789 | end | |
7790 | end | |
7791 | end | |
7792 | end | |
7793 | end) | |
7794 | ||
7795 | LuaHammer.Name = "Lua Hammer" | |
7796 | LuaHammer.Parent = Hacks | |
7797 | LuaHammer.BackgroundColor3 = Color3.new(0, 0, 0) | |
7798 | LuaHammer.BackgroundTransparency = 0.30000001192093 | |
7799 | LuaHammer.BorderColor3 = Color3.new(0, 0.333333, 0.498039) | |
7800 | LuaHammer.Position = UDim2.new(0, 30, 0, 97) | |
7801 | LuaHammer.Size = UDim2.new(0, 116, 0, 25) | |
7802 | LuaHammer.Font = Enum.Font.SourceSans | |
7803 | LuaHammer.FontSize = Enum.FontSize.Size14 | |
7804 | LuaHammer.Text = "Lua Hammer" | |
7805 | LuaHammer.TextColor3 = Color3.new(0, 0.333333, 1) | |
7806 | LuaHammer.TextScaled = true | |
7807 | LuaHammer.TextSize = 14 | |
7808 | LuaHammer.TextWrapped = true | |
7809 | ||
7810 | LuaHammer.MouseButton1Down:connect(function() | |
7811 | local oc = oc or function(...) return ... end | |
7812 | ||
7813 | function weld(p0,p1,c0,c1,par) | |
7814 | local w = Instance.new("Weld",p0 or par) | |
7815 | w.Part0 = p0 | |
7816 | w.Part1 = p1 | |
7817 | w.C0 = c0 or CFrame.new() | |
7818 | w.C1 = c1 or CFrame.new() | |
7819 | return w | |
7820 | end | |
7821 | ||
7822 | function lerp(a, b, t) | |
7823 | return a + (b - a)*t | |
7824 | end | |
7825 | ||
7826 | do | |
7827 | local function QuaternionFromCFrame(cf) local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() local trace = m00 + m11 + m22 if trace > 0 then local s = math.sqrt(1 + trace) local recip = 0.5/s return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 else local i = 0 if m11 > m00 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00-m11-m22+1) local recip = 0.5/s return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip elseif i == 1 then local s = math.sqrt(m11-m22-m00+1) local recip = 0.5/s return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip elseif i == 2 then local s = math.sqrt(m22-m00-m11+1) local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip end end end | |
7828 | ||
7829 | local function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w*xs, w*ys, w*zs local xx = x*xs local xy = x*ys local xz = x*zs local yy = y*ys local yz = y*zs local zz = z*zs return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) end | |
7830 | ||
7831 | local function QuaternionSlerp(a, b, t) local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] local startInterp, finishInterp; if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = math.acos(cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((1-t)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = 1-t finishInterp = t end else if (1+cosTheta) > 0.0001 then local theta = math.acos(-cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((t-1)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = t-1 finishInterp = t end end return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp end | |
7832 | ||
7833 | function clerp(a,b,t) | |
7834 | local qa = {QuaternionFromCFrame(a)} | |
7835 | local qb = {QuaternionFromCFrame(b)} | |
7836 | local ax, ay, az = a.x, a.y, a.z | |
7837 | local bx, by, bz = b.x, b.y, b.z | |
7838 | ||
7839 | local _t = 1-t | |
7840 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
7841 | end | |
7842 | end | |
7843 | local his = {} | |
7844 | ||
7845 | function ctween(tar,prop,c2,t,b) | |
7846 | local function doIt() | |
7847 | local now = tick() | |
7848 | his[tar] = now | |
7849 | local c1 = tar[prop] | |
7850 | for i=1,t do | |
7851 | if his[tar] ~= now then return end | |
7852 | tar[prop] = clerp(c1,c2,1/t*i) | |
7853 | wait(1/60) | |
7854 | end | |
7855 | end | |
7856 | if b then coroutine.wrap(doIt)() else doIt() end | |
7857 | end | |
7858 | ||
7859 | function tickwave(time,length,offset) | |
7860 | return (math.abs((tick()+(offset or 0))%time-time/2)*2-time/2)/time/2*length | |
7861 | end | |
7862 | ||
7863 | function playSound(id,parent,volume,pitch) | |
7864 | local sound = Instance.new("Sound",parent or workspace) | |
7865 | sound.SoundId = "http://www.roblox.com/asset?id="..id | |
7866 | sound.Volume = volume or 1 | |
7867 | sound.Pitch = pitch or 1 | |
7868 | coroutine.wrap(function() | |
7869 | wait() | |
7870 | sound:Play() | |
7871 | wait(10) | |
7872 | sound:Stop() | |
7873 | sound:Destroy() | |
7874 | end)() | |
7875 | return sound | |
7876 | end | |
7877 | ||
7878 | local plr = game.Players.LocalPlayer | |
7879 | local char = plr.Character | |
7880 | local mouse = plr:GetMouse() | |
7881 | ||
7882 | local nk = char.Torso.Neck | |
7883 | local nk0 = CFrame.new(0,1,0) * CFrame.Angles(-math.pi/2,0,math.pi) | |
7884 | local ra,la = char["Right Arm"], char["Left Arm"] | |
7885 | ra:BreakJoints() | |
7886 | la:BreakJoints() | |
7887 | local rs = weld(char.Torso,ra,CFrame.new(1.25,.5,0), CFrame.new(-.25,.5,0),stuff) | |
7888 | local ls = weld(char.Torso,la,CFrame.new(-1.25,.5,0), CFrame.new(.25,.5,0),stuff) | |
7889 | ls.Part1.FrontSurface = "Hinge" | |
7890 | rs.Part1.FrontSurface = "Hinge" | |
7891 | local rs0 = rs.C0 | |
7892 | local ls0 = ls.C0 | |
7893 | ||
7894 | local color1 = BrickColor.new("Dark gray") | |
7895 | local color2 = BrickColor.new("Navy blue") | |
7896 | ||
7897 | local stuff = Instance.new("Model",char) | |
7898 | pcall(function() char["Hammur"]:Destroy() end) | |
7899 | stuff.Name = "Hammur" | |
7900 | wait(.5) | |
7901 | local handle = Instance.new("Part") | |
7902 | handle.FormFactor = "Custom" | |
7903 | handle.BrickColor = color1 | |
7904 | handle.Reflectance = .25 | |
7905 | handle.Size = Vector3.new(.5,5,.5) | |
7906 | handle.TopSurface = "Smooth" | |
7907 | handle.BottomSurface = "Smooth" | |
7908 | handle.CanCollide = false | |
7909 | handle.Parent = stuff | |
7910 | ||
7911 | local grip = weld(char["Right Arm"],handle,CFrame.new(0,-.95,0)*CFrame.Angles(math.rad(-90),0,0),CFrame.new(0,-1.4,0)) | |
7912 | local grip0 = grip.C0 | |
7913 | local hamend = handle:Clone() | |
7914 | Instance.new("BlockMesh",hamend) | |
7915 | hamend.Parent = stuff | |
7916 | hamend.Size = Vector3.new(2,2,3.5) | |
7917 | local hamwel = weld(handle,hamend,CFrame.new(0,3,0)) | |
7918 | local hamsd1 = hamend:Clone() | |
7919 | hamsd1.Mesh.Scale = Vector3.new(1,1,1) | |
7920 | hamsd1.Parent = stuff | |
7921 | hamsd1.Size = Vector3.new(2.3,2.3,.3) | |
7922 | weld(hamend,hamsd1,CFrame.new(0,0,1.75)) | |
7923 | local hamsd2 = hamsd1:Clone() | |
7924 | hamsd2.Parent = stuff | |
7925 | weld(hamend,hamsd2,CFrame.new(0,0,-1.75)) | |
7926 | local hamp = hamsd1:Clone() | |
7927 | hamp.Parent = stuff | |
7928 | hamp.Size = Vector3.new(.2,.2,3.5) | |
7929 | weld(hamend,hamp,CFrame.new(.95,.95,0)) | |
7930 | hamp = hamp:Clone() | |
7931 | hamp.Parent = stuff | |
7932 | weld(hamend,hamp,CFrame.new(.95,-.95,0)) | |
7933 | hamp = hamp:Clone() | |
7934 | hamp.Parent = stuff | |
7935 | weld(hamend,hamp,CFrame.new(-.95,-.95,0)) | |
7936 | hamp = hamp:Clone() | |
7937 | hamp.Parent = stuff | |
7938 | weld(hamend,hamp,CFrame.new(-.95,.95,0)) | |
7939 | hamp = hamp:Clone() | |
7940 | hamp.BrickColor = color2 | |
7941 | hamp.Reflectance = .2 | |
7942 | hamp.Size = Vector3.new(.2,.2,2.5) | |
7943 | hamp.Parent = stuff | |
7944 | weld(hamend,hamp,CFrame.new(0,.95,0)) | |
7945 | hamp = hamp:Clone() | |
7946 | hamp.Parent = stuff | |
7947 | weld(hamend,hamp,CFrame.new(0,-.95,0)) | |
7948 | hamp = hamp:Clone() | |
7949 | hamp.Parent = stuff | |
7950 | weld(hamend,hamp,CFrame.new(.95,0,0)) | |
7951 | hamp = hamp:Clone() | |
7952 | hamp.Parent = stuff | |
7953 | weld(hamend,hamp,CFrame.new(-.95,0,0)) | |
7954 | hamp = handle:Clone() | |
7955 | hamp.BrickColor = color2 | |
7956 | hamp.Reflectance = .2 | |
7957 | hamp.Parent = stuff | |
7958 | hamp.Size = Vector3.new(.4,.2,.4) | |
7959 | Instance.new("CylinderMesh",hamp) | |
7960 | weld(hamend,hamp,CFrame.new(0,-.955,1.2)) | |
7961 | hamp = hamp:Clone() | |
7962 | hamp.Parent = stuff | |
7963 | weld(hamend,hamp,CFrame.new(0,-.955,-1.2)) | |
7964 | hamp = hamp:Clone() | |
7965 | hamp.Parent = stuff | |
7966 | weld(hamend,hamp,CFrame.new(0,.955,1.2)) | |
7967 | hamp = hamp:Clone() | |
7968 | hamp.Parent = stuff | |
7969 | weld(hamend,hamp,CFrame.new(0,.955,-1.2)) | |
7970 | hamp = hamp:Clone() | |
7971 | hamp.Parent = stuff | |
7972 | weld(hamend,hamp,CFrame.new(.955,0,-1.2) * CFrame.Angles(0,0,math.rad(90))) | |
7973 | hamp = hamp:Clone() | |
7974 | hamp.Parent = stuff | |
7975 | weld(hamend,hamp,CFrame.new(.955,0,1.2) * CFrame.Angles(0,0,math.rad(90))) | |
7976 | hamp = hamp:Clone() | |
7977 | hamp.Parent = stuff | |
7978 | weld(hamend,hamp,CFrame.new(-.955,0,-1.2) * CFrame.Angles(0,0,math.rad(90))) | |
7979 | hamp = hamp:Clone() | |
7980 | hamp.Parent = stuff | |
7981 | weld(hamend,hamp,CFrame.new(-.955,0,1.2) * CFrame.Angles(0,0,math.rad(90))) | |
7982 | hamp = hamp:Clone() | |
7983 | hamp.Parent = stuff | |
7984 | weld(hamend,hamp,CFrame.new(.6,.955,0)) | |
7985 | hamp = hamp:Clone() | |
7986 | hamp.Parent = stuff | |
7987 | weld(hamend,hamp,CFrame.new(-.6,.955,0)) | |
7988 | hamp = hamp:Clone() | |
7989 | hamp.Parent = stuff | |
7990 | weld(hamend,hamp,CFrame.new(.6,-.955,0)) | |
7991 | hamp = hamp:Clone() | |
7992 | hamp.Parent = stuff | |
7993 | weld(hamend,hamp,CFrame.new(-.6,-.955,0)) | |
7994 | hamp = hamp:Clone() | |
7995 | hamp.Parent = stuff | |
7996 | weld(hamend,hamp,CFrame.new(-.955,.6,0) * CFrame.Angles(0,0,math.rad(90))) | |
7997 | hamp = hamp:Clone() | |
7998 | hamp.Parent = stuff | |
7999 | weld(hamend,hamp,CFrame.new(-.955,-.6,0) * CFrame.Angles(0,0,math.rad(90))) | |
8000 | hamp = hamp:Clone() | |
8001 | hamp.Parent = stuff | |
8002 | weld(hamend,hamp,CFrame.new(.955,.6,0) * CFrame.Angles(0,0,math.rad(90))) | |
8003 | hamp = hamp:Clone() | |
8004 | hamp.Parent = stuff | |
8005 | weld(hamend,hamp,CFrame.new(.955,-.6,0) * CFrame.Angles(0,0,math.rad(90))) | |
8006 | local luacyl = hamp:Clone() | |
8007 | luacyl.BrickColor = BrickColor.Blue() | |
8008 | luacyl.Parent = stuff | |
8009 | luacyl.Mesh.Scale = Vector3.new(1,.2,1) | |
8010 | luacyl.Size = Vector3.new(2,.2,2) | |
8011 | weld(hamsd1,luacyl,CFrame.new(0,0,.14) * CFrame.Angles(math.rad(90),0,0)) | |
8012 | hamp = luacyl:Clone() | |
8013 | hamp.BrickColor = BrickColor.White() | |
8014 | hamp.Parent = stuff | |
8015 | hamp.Size = Vector3.new(.7,.2,.7) | |
8016 | weld(luacyl,hamp,CFrame.new(.35,.01,-.35)) | |
8017 | local luamoon = luacyl:Clone() | |
8018 | luamoon.Parent = stuff | |
8019 | luamoon.Size = Vector3.new(.7,.2,.7) | |
8020 | local mnw = weld(luacyl,luamoon,CFrame.new(1.2,.02,-1.2)) | |
8021 | for r = 1,180,10 do | |
8022 | local r2 = 2 * (math.pi/180*r) | |
8023 | local l = hamsd1:Clone() | |
8024 | l.Parent = stuff | |
8025 | l.BrickColor = luacyl.BrickColor | |
8026 | l.Size = Vector3.new(.3,.2,.2) | |
8027 | l.Mesh.Scale = Vector3.new(1,.3,.3) | |
8028 | weld(luacyl,l,CFrame.new(Vector3.new(math.sin(r2)*1.7,0,math.cos(r2)*1.7),Vector3.new())) | |
8029 | end | |
8030 | hamp = hamend:Clone() | |
8031 | hamp.BrickColor = color2 | |
8032 | hamp.Reflectance = .2 | |
8033 | hamp.Size = Vector3.new(.2,.2,3.5) | |
8034 | hamp.Mesh.Scale = Vector3.new(.25,.25,1) | |
8035 | hamp.Parent = stuff | |
8036 | weld(hamend,hamp,CFrame.new(-1.05,.95,0)) | |
8037 | hamp = hamp:Clone() | |
8038 | hamp.Parent = stuff | |
8039 | weld(hamend,hamp,CFrame.new(-.95,1.05,0)) | |
8040 | hamp = hamp:Clone() | |
8041 | hamp.Parent = stuff | |
8042 | weld(hamend,hamp,CFrame.new(1.05,.95,0)) | |
8043 | hamp = hamp:Clone() | |
8044 | hamp.Parent = stuff | |
8045 | weld(hamend,hamp,CFrame.new(.95,1.05,0)) | |
8046 | hamp = hamp:Clone() | |
8047 | hamp.Parent = stuff | |
8048 | weld(hamend,hamp,CFrame.new(1.05,-.95,0)) | |
8049 | hamp = hamp:Clone() | |
8050 | hamp.Parent = stuff | |
8051 | weld(hamend,hamp,CFrame.new(.95,-1.05,0)) | |
8052 | hamp = hamp:Clone() | |
8053 | hamp.Parent = stuff | |
8054 | weld(hamend,hamp,CFrame.new(-1.05,-.95,0)) | |
8055 | hamp = hamp:Clone() | |
8056 | hamp.Parent = stuff | |
8057 | weld(hamend,hamp,CFrame.new(-.95,-1.05,0)) | |
8058 | for x = -1,1 do | |
8059 | for y = -1,1 do | |
8060 | hamp = hamp:Clone() | |
8061 | hamp.Mesh.Scale = Vector3.new(1,1,1) | |
8062 | hamp.Size = Vector3.new(.5,.5,.2) | |
8063 | hamp.Parent = stuff | |
8064 | weld(hamsd2,hamp,CFrame.new(x*.7,y*.7,-.1)) | |
8065 | end | |
8066 | end | |
8067 | ||
8068 | rs.C0 = rs0 * CFrame.Angles(math.rad(70),math.rad(50),math.rad(-20)) | |
8069 | ls.C0 = ls0 * CFrame.new(.4,.2,-.3) * CFrame.Angles(math.rad(110),math.rad(0),math.rad(00)) * CFrame.Angles(0,math.rad(60),0) | |
8070 | ||
8071 | function endScript() | |
8072 | pcall(function() runcon:disconnect() end) | |
8073 | pcall(function() kdcon:disconnect() end) | |
8074 | pcall(function() kucon:disconnect() end) | |
8075 | pcall(game.Destroy,stuff) | |
8076 | pcall(game.Destroy,bg) | |
8077 | pcall(game.Destroy,bv) | |
8078 | end | |
8079 | ||
8080 | local spintime = 3 | |
8081 | local idling = true | |
8082 | ||
8083 | runcon = game:GetService("RunService").Stepped:connect(oc(function() | |
8084 | if not stuff:IsDescendantOf(workspace) then | |
8085 | endScript() | |
8086 | end | |
8087 | local an = (tick()%spintime)*360/spintime | |
8088 | mnw.C0 = CFrame.Angles(0,math.rad(an),0) * CFrame.new(0,.04,1.7) | |
8089 | if idling then | |
8090 | rs.C0 = clerp(rs.C0,rs0 * CFrame.Angles(math.rad(70+tickwave(3,5)),math.rad(50),math.rad(-20)),.4) | |
8091 | ls.C0 = clerp(ls.C0,ls0 * CFrame.new(.4,.2,-.3) * CFrame.Angles(math.rad(115+tickwave(3,5)),math.rad(0),math.rad(-5)) * CFrame.Angles(0,math.rad(60),0),.4) | |
8092 | nk.C0 = clerp(nk.C0,nk0 * CFrame.Angles(tickwave(4,-.1),0,0),.4) | |
8093 | grip.C0 = clerp(grip.C0,grip0,.4) | |
8094 | end | |
8095 | end)) | |
8096 | ||
8097 | function cfot(tar,cf,t) | |
8098 | coroutine.wrap(function() | |
8099 | for i=1,t do | |
8100 | tar.CFrame = tar.CFrame * cf | |
8101 | wait(1/30) | |
8102 | end | |
8103 | end)() | |
8104 | end | |
8105 | ||
8106 | function DoDamage(hum,dmg) | |
8107 | if hum.Health == 0 then return end | |
8108 | local a,b = ypcall(function() | |
8109 | --hum:TakeDamage(dmg) | |
8110 | hum.Health = hum.Health - dmg | |
8111 | if not hum.Parent:FindFirstChild("Torso") then return end | |
8112 | local m = Instance.new("Model",workspace) | |
8113 | m.Name = -dmg | |
8114 | local h = Instance.new("Humanoid",m) | |
8115 | h.MaxHealth = 0 | |
8116 | local p = Instance.new("Part",m) | |
8117 | p.Name = "Head" | |
8118 | p.FormFactor = "Custom" | |
8119 | p.Size = Vector3.new(.2,.2,.2) | |
8120 | p.Transparency = 0.97 | |
8121 | p.CanCollide = false | |
8122 | p.Anchored = true | |
8123 | p:BreakJoints() | |
8124 | game.Debris:AddItem(m,5) | |
8125 | p.CFrame = CFrame.new(hum.Parent.Torso.Position) * CFrame.new(math.random(-2,2),2.5,math.random(-2,2)) | |
8126 | local rAm = math.random(3,6)/100 | |
8127 | coroutine.wrap(function() | |
8128 | for i=1,300 do | |
8129 | p.CFrame = p.CFrame * CFrame.new(0,rAm,0) | |
8130 | wait() | |
8131 | end | |
8132 | p:Destroy() | |
8133 | end)() | |
8134 | end) | |
8135 | if not a then print(b) end | |
8136 | end | |
8137 | ||
8138 | local atdeb = false | |
8139 | local basiccombo = 0 | |
8140 | local basiccombotimer = 0 | |
8141 | bg = Instance.new("BodyGyro",char.Torso) | |
8142 | bg.maxTorque = Vector3.new(1,0,1)*9e10 | |
8143 | bg.P = 10000 | |
8144 | bg.D = 500 | |
8145 | bv = Instance.new("BodyVelocity",char.Torso) | |
8146 | bv.maxForce = Vector3.new() | |
8147 | bv.P = 50000 | |
8148 | ||
8149 | kucon = mouse.KeyUp:connect(oc(function(k) | |
8150 | if k == "0" and sprint then | |
8151 | pcall(function() char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed / 1.5 end) | |
8152 | sprint = false | |
8153 | end | |
8154 | end)) | |
8155 | ||
8156 | kdcon = mouse.KeyDown:connect(oc(function(k) | |
8157 | if k == "0" and not sprint then | |
8158 | pcall(function() char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed * 1.5 end) | |
8159 | sprint = true | |
8160 | end | |
8161 | if k == "f" then | |
8162 | if atdeb then return end | |
8163 | atdeb = true | |
8164 | idling = false | |
8165 | playSound(105374058,hamend,1,1) | |
8166 | --- bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(7),0,0) | |
8167 | -- ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-20),0,0),7,true) | |
8168 | ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(150),math.rad(0),math.rad(-90)),7) | |
8169 | ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(30)),13,true) | |
8170 | ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-35),0,0),13,true) | |
8171 | ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(60)),13) | |
8172 | playSound(92597296,hamend,1,1.07) | |
8173 | local s = playSound(96626016,hamend) | |
8174 | s.Volume = 0 | |
8175 | local hitcon | |
8176 | hitcon = hamend.Touched:connect(function(hit) | |
8177 | s.Volume = 1 | |
8178 | if not hit.Anchored then | |
8179 | hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*-20 | |
8180 | end | |
8181 | local hum = hit.Parent:FindFirstChild("Humanoid") | |
8182 | if hum and not hum:IsDescendantOf(char) then | |
8183 | DoDamage(hum,30) | |
8184 | hum.PlatformStand = true | |
8185 | wait(.6) | |
8186 | hum.PlatformStand = false | |
8187 | end | |
8188 | end) | |
8189 | bg.maxTorque = Vector3.new(1,1,1)*9e10 | |
8190 | ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(35),math.rad(0),math.rad(30)),4,true) | |
8191 | ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(35),0,0),4,true) | |
8192 | ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(35),math.rad(0),math.rad(-30)),4) | |
8193 | if workspace:FindPartOnRay(Ray.new(hamend.Position,hamend.CFrame.lookVector*3),char) then | |
8194 | s.Volume = 1 | |
8195 | end | |
8196 | wait(.2) | |
8197 | bg.maxTorque = Vector3.new(1,0,1)*9e10 | |
8198 | hitcon:disconnect() | |
8199 | atdeb = false | |
8200 | idling = true | |
8201 | end | |
8202 | if k == "q" then | |
8203 | if atdeb then return end | |
8204 | atdeb = true | |
8205 | idling = false | |
8206 | playSound(105374058,hamend,1,1) | |
8207 | bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(7),0,0) | |
8208 | ctween(grip,"C0",grip0*CFrame.Angles(math.rad(-30),math.rad(-25),math.rad(-15)),9,true) | |
8209 | ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)),7,true) | |
8210 | ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-20),0,0),7,true) | |
8211 | ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)),7) | |
8212 | ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(30)),13,true) | |
8213 | ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(-35),0,0),13,true) | |
8214 | ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(160),math.rad(0),math.rad(-30)),13) | |
8215 | playSound(92597296,hamend,1,1.07) | |
8216 | local s = playSound(96626016,hamend) | |
8217 | s.Volume = 0 | |
8218 | local hitcon | |
8219 | hitcon = hamend.Touched:connect(function(hit) | |
8220 | s.Volume = 1 | |
8221 | if not hit.Anchored then | |
8222 | hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*-20 | |
8223 | end | |
8224 | local hum = hit.Parent:FindFirstChild("Humanoid") | |
8225 | if hum and not hum:IsDescendantOf(char) then | |
8226 | DoDamage(hum,30) | |
8227 | hum.PlatformStand = true | |
8228 | wait(.6) | |
8229 | hum.PlatformStand = false | |
8230 | end | |
8231 | end) | |
8232 | bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(7),0,0) | |
8233 | wait(.05) | |
8234 | bg.cframe = char.Torso.CFrame * CFrame.Angles(math.rad(-20),0,0) | |
8235 | bg.maxTorque = Vector3.new(1,1,1)*9e10 | |
8236 | ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(55),math.rad(5),math.rad(50)),7,true) | |
8237 | ctween(nk,"C0",nk0 * CFrame.Angles(math.rad(5),0,0),4,true) | |
8238 | ctween(rs,"C0",rs0*CFrame.new(-.9,0,-.9) * CFrame.Angles(math.rad(50),math.rad(5),math.rad(-50)),7) | |
8239 | if workspace:FindPartOnRay(Ray.new(hamend.Position,hamend.CFrame.lookVector*3),char) then | |
8240 | s.Volume = 1 | |
8241 | end | |
8242 | wait(.2) | |
8243 | bg.maxTorque = Vector3.new(1,0,1)*9e10 | |
8244 | hitcon:disconnect() | |
8245 | atdeb = false | |
8246 | idling = true | |
8247 | end | |
8248 | if k == "r" then | |
8249 | if atdeb then return end | |
8250 | atdeb = true | |
8251 | idling = false | |
8252 | ctween(ls,"C0",ls0*CFrame.new(.7,0,-.7) * CFrame.Angles(math.rad(70),math.rad(0),math.rad(30)),7,true) | |
8253 | ctween(grip,"C0",grip0*CFrame.Angles(math.rad(0),math.rad(90),math.rad(-60))*CFrame.Angles(0,math.rad(180),0),9,true) | |
8254 | bg.maxTorque = Vector3.new(1,1,1)*9e10 | |
8255 | bg.cframe = char.Torso.CFrame | |
8256 | ctween(rs,"C0",rs0*CFrame.new(-.7,0,-.7) * CFrame.Angles(math.rad(70),math.rad(0),math.rad(-30)),7,true) | |
8257 | local s = playSound(92597296,hamend,1,1.07) | |
8258 | s.Looped = true | |
8259 | local sndmd = {} | |
8260 | local hitcon | |
8261 | hitcon = hamend.Touched:connect(function(hit) | |
8262 | if not sndmd[hit] then sndmd[hit] = playSound(10730819,hamend) end | |
8263 | ||
8264 | if not hit.Anchored then | |
8265 | hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*60 | |
8266 | end | |
8267 | local hum = hit.Parent:FindFirstChild("Humanoid") | |
8268 | if hum and not hum:IsDescendantOf(char) then | |
8269 | DoDamage(hum,math.random(4,6)) | |
8270 | hum.Sit = true | |
8271 | wait(2) | |
8272 | hum.Sit = false | |
8273 | end | |
8274 | end) | |
8275 | for i=1,20 do | |
8276 | bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(-1440/20),0) | |
8277 | wait(.1) | |
8278 | end | |
8279 | hitcon:disconnect() | |
8280 | bg.maxTorque = Vector3.new(1,0,1)*9e10 | |
8281 | s:Stop() | |
8282 | s:Destroy() | |
8283 | atdeb = false | |
8284 | idling = true | |
8285 | end | |
8286 | if k == "e" then | |
8287 | if atdeb then return end | |
8288 | basiccombo = (tick()-basiccombotimer > .5 or basiccombo == 2) and 1 or basiccombo + 1 | |
8289 | idling = false | |
8290 | atdeb = true | |
8291 | if basiccombo == 1 then | |
8292 | ctween(ls,"C0",ls0 * CFrame.new(.2,.2,-.1) * CFrame.Angles(math.rad(120),math.rad(0),math.rad(5)) * CFrame.Angles(0,math.rad(60),0),7,true) | |
8293 | ctween(rs,"C0",rs0*CFrame.new(0,0,-.3) * CFrame.Angles(math.rad(120),math.rad(70),math.rad(-30)),7) | |
8294 | bg.maxTorque = Vector3.new(1,1,1)*9e10 | |
8295 | bg.cframe = char.Torso.CFrame * CFrame.Angles(0,math.rad(-40),0) | |
8296 | playSound(92597296,hamend,1,1.2) | |
8297 | local ac | |
8298 | local hitcon | |
8299 | hitcon = hamend.Touched:connect(function(hit) | |
8300 | if not ac then ac = playSound(10730819,hamend,1,1) end | |
8301 | if not hit.Anchored then | |
8302 | hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*50 | |
8303 | end | |
8304 | local hum = hit.Parent:FindFirstChild("Humanoid") | |
8305 | if hum and not hum:IsDescendantOf(char) then | |
8306 | DoDamage(hum,10) | |
8307 | end | |
8308 | end) | |
8309 | ctween(ls,"C0",ls0 * CFrame.new(1,.2,-1) * CFrame.Angles(math.rad(115),math.rad(0),math.rad(40)) * CFrame.Angles(0,math.rad(60),0),6,true) | |
8310 | ctween(rs,"C0",rs0*CFrame.new(0,0,-.3) * CFrame.Angles(math.rad(120),math.rad(80),math.rad(-30))* CFrame.Angles(math.rad(-50),0,0),6,true) | |
8311 | wait(.1) | |
8312 | bg.cframe = char.Torso.CFrame * CFrame.Angles(0,math.rad(40),0) | |
8313 | hitcon:disconnect() | |
8314 | elseif basiccombo == 2 then | |
8315 | ctween(ls,"C0",ls0*CFrame.new(1,0,-1) * CFrame.Angles(math.rad(5),math.rad(0),math.rad(70)),10,true) | |
8316 | ctween(grip,"C0",grip0*CFrame.Angles(math.rad(10),0,0),12,true) | |
8317 | ctween(rs,"C0",rs0*CFrame.new(0,0,0) * CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),10,true) | |
8318 | wait(.2) | |
8319 | playSound(92597296,hamend,1,.7) | |
8320 | wait(.1) | |
8321 | bg.maxTorque = Vector3.new(1,1,1)*9e10 | |
8322 | bg.cframe = char.Torso.CFrame | |
8323 | bv.maxForce = Vector3.new(1,0,1)*9e5 | |
8324 | bv.velocity = bg.cframe.lookVector * 70 | |
8325 | coroutine.wrap(function() for i=1,25 do bv.velocity = bv.velocity*.9 wait(1/30) end bv.maxForce = Vector3.new() end)() | |
8326 | local thrustcon | |
8327 | thrustcon = hamend.Touched:connect(function(hit) | |
8328 | if not hit.Anchored then | |
8329 | hit.Velocity = hit.Velocity + hamend.CFrame.lookVector*-40 | |
8330 | end | |
8331 | local hum = hit.Parent:FindFirstChild("Humanoid") | |
8332 | if hum and not hum:IsDescendantOf(char) then | |
8333 | DoDamage(hum,5) | |
8334 | --thrustcon:disconnect() | |
8335 | hum.Sit = true | |
8336 | ctween(grip,"C0",grip0*CFrame.Angles(math.rad(30),0,0),5,true) | |
8337 | if not ac then ac = playSound(92597296,hamend,1,1.15) end | |
8338 | local tor = hum.Parent:FindFirstChild("Torso") | |
8339 | if tor and not tor:FindFirstChild("torv") then | |
8340 | --tor.Velocity = bg.cframe.lookVector*30 + Vector3.new(0,100,0) | |
8341 | local torv = Instance.new("BodyVelocity",tor) | |
8342 | torv.maxForce = Vector3.new(1,1,1)*9e9 | |
8343 | torv.P = 2000 | |
8344 | torv.velocity = bg.cframe.lookVector*20 + Vector3.new(0,120,0) | |
8345 | torv.Name = "torv" | |
8346 | local torav = Instance.new("BodyAngularVelocity",tor) | |
8347 | torav.maxTorque = Vector3.new(1,1,1)*9e9 | |
8348 | torav.P = 5000 | |
8349 | torav.angularvelocity = Vector3.new(math.random()-.5,math.random()-.5,math.random()-.5)*2 | |
8350 | coroutine.wrap(function() | |
8351 | for i=1,torv.velocity.Y/196.22*30 do | |
8352 | hum.Sit = true | |
8353 | torv.velocity = torv.velocity - Vector3.new(0,196.22/30,0) | |
8354 | wait(1/30) | |
8355 | end | |
8356 | torv:Destroy() | |
8357 | torav:Destroy() | |
8358 | tor.Velocity = Vector3.new() | |
8359 | end)() | |
8360 | end | |
8361 | end | |
8362 | end) | |
8363 | ctween(ls,"C0",ls0*CFrame.new(1,0,-1) * CFrame.Angles(math.rad(80),math.rad(0),math.rad(50)),12,true) | |
8364 | ctween(grip,"C0",grip0*CFrame.Angles(math.rad(-70),0,0),12,true) | |
8365 | ctween(rs,"C0",rs0*CFrame.new(-.6,0,-.7) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(-10)),12,true) | |
8366 | Delay(.3,function() thrustcon:disconnect() end) | |
8367 | ||
8368 | end | |
8369 | wait(.1) | |
8370 | bg.maxTorque = Vector3.new(1,0,1)*9e10 | |
8371 | ||
8372 | basiccombotimer = tick() | |
8373 | atdeb = false | |
8374 | idling = true | |
8375 | ||
8376 | end -- 96626016, 92597296 | |
8377 | bg.cframe = CFrame.new(char.Torso.Position,char.Torso.Position+char.Torso.CFrame.lookVector*Vector3.new(1,0,1)) | |
8378 | end)) | |
8379 | ||
8380 | char.Humanoid.MaxHealth = 220 | |
8381 | char.Humanoid.WalkSpeed = 20 | |
8382 | wait(.3) | |
8383 | char.Humanoid.Health = 220 | |
8384 | end) | |
8385 | ||
8386 | Open.MouseButton1Down:connect(function() | |
8387 | if Username.Text == "kek" then | |
8388 | OpenGui.Visible = false | |
8389 | Hacks.Visible = true | |
8390 | else | |
8391 | Credits.Text = "Wrong Username xd" | |
8392 | wait (3) | |
8393 | Credits.Text = "ChildHood Ruiner Gui Made By Migas3456" | |
8394 | end | |
8395 | end) |