SHOW:
|
|
- or go back to the newest paste.
1 | Services = setmetatable({},{__index=function(s,r) return game:service(r) end}) | |
2 | Player = Services.Players.LocalPlayer | |
3 | ||
4 | ||
5 | wait()script.Parent=nil | |
6 | BodyParts={} | |
7 | abs = function(int) | |
8 | if int < 0 then return -int else return int end | |
9 | end | |
10 | rad = function(deg) | |
11 | return deg * math.pi / 180 | |
12 | end | |
13 | deg = function(rad) | |
14 | return rad * 180 / math.pi | |
15 | end | |
16 | dist = function(p1,p2) | |
17 | r,e = ypcall(function() | |
18 | p1 = p1.Position | |
19 | end) | |
20 | if not r then p1 = p1 end | |
21 | r,e = ypcall(function() | |
22 | p2 = p2.Position | |
23 | end) | |
24 | if not r then p1 = p1 end | |
25 | return math.sqrt( (p2.X-p1.X)^2 + (p2.Y-p1.Y)^2 + (p2.Z-p1.Z)^2 ) | |
26 | end | |
27 | ||
28 | ||
29 | ||
30 | ||
31 | ||
32 | function GetHum() | |
33 | for i,v in pairs(GetChar():children'') do | |
34 | if v.ClassName == 'Humanoid' then | |
35 | return v | |
36 | end | |
37 | end | |
38 | end | |
39 | ||
40 | function GetChar() | |
41 | return Player.Character | |
42 | end | |
43 | ||
44 | function Died() | |
45 | for i,v in pairs(GetChar():children'') do | |
46 | if v.ClassName == 'Part' then | |
47 | table.insert(BodyParts,{v.CFrame,v}) | |
48 | elseif v.ClassName == 'Hat' then | |
49 | v.Parent=workspace | |
50 | table.insert(BodyParts,{v.Handle.CFrame,v.Handle,1}) | |
51 | end | |
52 | end | |
53 | ||
54 | wait(3) | |
55 | for i,v in pairs(BodyParts) do | |
56 | v[2].Anchored=true | |
57 | if v[2].Name == 'Torso' then pos = v[1] end | |
58 | end | |
59 | ||
60 | for i,v in pairs(BodyParts) do | |
61 | coroutine.resume(coroutine.create(function() | |
62 | repeat Services.RunService.Heartbeat:wait() | |
63 | v[2].CFrame = v[2].CFrame:lerp(v[1],.1) | |
64 | until dist(v[2],v[1]) < .05 | |
65 | v[2].CFrame=v[1] | |
66 | end)) | |
67 | end | |
68 | end | |
69 | ||
70 | Player.CharacterAdded:connect(function(char) | |
71 | char:WaitForChild('Torso') | |
72 | for i,v in pairs(BodyParts) do | |
73 | if v[3] then | |
74 | v[2]:Remove() | |
75 | end | |
76 | end | |
77 | BodyParts={} | |
78 | char.Torso.CFrame=pos or CFrame.new(0,12,0) | |
79 | GetHum().Died:connect(Died) | |
80 | end) | |
81 | GetHum().Died:connect(Died) | |
82 | print'rannering' | |
83 | local p = game.Players.LocalPlayer | |
84 | local char = p.Character | |
85 | local hed = char.Head | |
86 | local LocalPlayer = p | |
87 | ||
88 | local Player = game.Players.localPlayer | |
89 | local Character = p.Character | |
90 | ||
91 | local LeftArm2 = Character["Left Arm"] | |
92 | local RightArm2 = Character["Right Arm"] | |
93 | local LeftLeg2 = Character["Left Leg"] | |
94 | local RightLeg2 = Character["Right Leg"] | |
95 | local Head2 = Character.Head | |
96 | local Torso2 = Character.Torso | |
97 | ||
98 | char.Humanoid.MaxHealth = math.huge | |
99 | char.Humanoid.Health = math.huge | |
100 | ||
101 | ||
102 | for i,v in pairs(char:GetChildren()) do | |
103 | if v.ClassName == "Accessory" or v.ClassName == "Hat" then | |
104 | v:destroy() | |
105 | end | |
106 | end | |
107 | ||
108 | local Hair = Instance.new("Part") | |
109 | Hair.Parent = char | |
110 | Hair.Name = "Hair" | |
111 | Hair.Size = Vector3.new(1, 1, 1) | |
112 | Hair.CFrame = char.Head.CFrame | |
113 | Hair:BreakJoints() | |
114 | Hair.CanCollide = false | |
115 | - | Hair.BrickColor = BrickColor.new("Yellow") |
115 | + | Hair.BrickColor = BrickColor.new("New yeller") |
116 | Hair.TopSurface = "Smooth" | |
117 | Hair.BottomSurface = "Smooth" | |
118 | Weld = Instance.new("Weld") | |
119 | Weld.Name = "Weld" | |
120 | Weld.Part0 = char.Head | |
121 | Weld.Part1 = Hair | |
122 | Weld.Parent = char.Head | |
123 | Weld.C0 = CFrame.new(0.1,0,0.2)*CFrame.fromEulerAnglesXYZ(0,0,0) | |
124 | Mesh = Instance.new("SpecialMesh") | |
125 | Mesh.Parent = Hair | |
126 | Mesh.MeshId = "rbxassetid://886288384" | |
127 | Mesh.Scale = Vector3.new(0.11,0.1,0.08) | |
128 | ||
129 | cut = Instance.new("Sound", Character) | |
130 | cut.SoundId = "https://www.roblox.com/asset/?id=97095069" | |
131 | cut.Volume = 1.5 | |
132 | thri = Instance.new("Sound", Character) | |
133 | thri.SoundId = "https://www.roblox.com/asset/?id=186311262" | |
134 | thri.Volume = 2.5 | |
135 | WRY = Instance.new("Sound", Character) | |
136 | WRY.SoundId = "https://www.roblox.com/asset/?id=910713928" | |
137 | WRY.Volume = 5 | |
138 | ||
139 | ff = Instance.new("ForceField", game.Players.LocalPlayer.Character) | |
140 | ff.Visible = false | |
141 | ||
142 | local Players=game:service'Players' | |
143 | local Player=Players.LocalPlayer | |
144 | local Mouse=Player:GetMouse'' | |
145 | local RenderStepped=game:service'RunService'.RenderStepped | |
146 | ||
147 | local MeshId='http://www.roblox.com/asset?id=202083123' | |
148 | ||
149 | local KnifeSpeed= 250.255 | |
150 | ||
151 | Player:GetMouse().KeyDown:connect(function(key) | |
152 | key = key:lower() | |
153 | if key == "e" then | |
154 | cut:Play() | |
155 | if Mouse.Target then | |
156 | local Knife=Instance.new('Part',Player.Character) | |
157 | Knife.CanCollide=false | |
158 | Knife.BrickColor = BrickColor.new("Really black") | |
159 | Knife.Size=Vector3.new(2,2,2) | |
160 | Knife.CFrame=Player.Character.Torso.CFrame | |
161 | local KnifeMesh=Instance.new('SpecialMesh',Knife) | |
162 | KnifeMesh.MeshType='FileMesh' | |
163 | KnifeMesh.MeshId=MeshId | |
164 | KnifeMesh.Scale=Vector3.new(1,1,1) | |
165 | local BodyVel=Instance.new('BodyVelocity',Knife) | |
166 | BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
167 | local BodyGyro=Instance.new('BodyGyro',Knife) | |
168 | BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge) | |
169 | BodyGyro.P=2e4 | |
170 | coroutine.wrap(function() | |
171 | RenderStepped:connect(function() | |
172 | BodyGyro.cframe=CFrame.new(Knife.Position,Mouse.Hit.p) | |
173 | BodyVel.velocity=Knife.CFrame.lookVector*KnifeSpeed | |
174 | end) | |
175 | end)() | |
176 | Knife.Touched:connect(function(p) | |
177 | if p.Parent~=Player.Character and p.Parent:FindFirstChild'Humanoid' then | |
178 | p.Parent:BreakJoints() | |
179 | Knife:Destroy'' | |
180 | thri:Play() | |
181 | end | |
182 | end) | |
183 | end | |
184 | end | |
185 | end) | |
186 | ||
187 | mse = Player:GetMouse() | |
188 | ||
189 | sound = Instance.new("Sound", Character) | |
190 | sound.SoundId = "https://www.roblox.com/asset/?id=840567549" | |
191 | sound.Volume = 10 | |
192 | sound2 = Instance.new("Sound", Character) | |
193 | - | sound2.SoundId = "https://www.roblox.com/asset/?id=1054568598" |
193 | + | sound2.SoundId = "https://www.roblox.com/asset/?id=616594208" |
194 | sound2.Volume = 10 | |
195 | sound3 = Instance.new("Sound", Character) | |
196 | - | sound3.SoundId = "https://www.roblox.com/asset/?id=1055792303" |
196 | + | sound3.SoundId = "https://www.roblox.com/asset/?id=616576400" |
197 | sound3.Volume = 10 | |
198 | sound4 = Instance.new("Sound", Character) | |
199 | - | sound4.SoundId = "https://www.roblox.com/asset/?id=1055792303" |
199 | + | sound4.SoundId = "https://www.roblox.com/asset/?id=616576400" |
200 | sound4.Volume = 10 | |
201 | TSTheme = Instance.new("Sound", Character) | |
202 | - | TSTheme.SoundId = "https://www.roblox.com/asset/?id=1055792303" |
202 | + | TSTheme.SoundId = "https://www.roblox.com/asset/?id=616576400" |
203 | TSTheme.Volume = 10 | |
204 | canworld = true | |
205 | mse.KeyDown:connect(function(key) | |
206 | key = key:lower() | |
207 | if key == "t" then | |
208 | if canworld == false then return end | |
209 | if canworld then | |
210 | canworld = false | |
211 | sound3:Play() | |
212 | sound:Play() | |
213 | sound4:Play() | |
214 | TSTheme:Play() | |
215 | local sky = Instance.new("Sky",game.Lighting) | |
216 | sky.CelestialBodiesShown = false | |
217 | sky.MoonAngularSize = 11 | |
218 | sky.MoonTextureId = "rbxasset://sky/moon.jpg" | |
219 | sky.SkyboxBk = "rbxassetid://566616113" | |
220 | sky.SkyboxDn = "rbxassetid://566616232" | |
221 | sky.SkyboxFt = "rbxassetid://566616141" | |
222 | sky.SkyboxLf = "rbxassetid://566616044" | |
223 | sky.SkyboxRt = "rbxassetid://566616082" | |
224 | sky.SkyboxUp = "rbxassetid://566616187" | |
225 | sky.StarCount = 3000 | |
226 | sky.SunAngularSize = 21 | |
227 | sky.SunTextureId = "rbxasset://sky/sun.jpg" | |
228 | local function spawnpart() | |
229 | sphere = Instance.new("Part") | |
230 | --game.Debris:AddItem(sphere,3) | |
231 | local sm = Instance.new("SpecialMesh", sphere) | |
232 | sm.MeshType = "Sphere" | |
233 | sphere.Transparency = 0.5 | |
234 | sphere.Anchored = true | |
235 | sphere.CanCollide = false | |
236 | sphere.Material = "Neon" | |
237 | sphere.BrickColor = BrickColor.new("Pastel brown") | |
238 | end | |
239 | ||
240 | local function weld(lol) | |
241 | local weld = Instance.new("Weld", Player.Character.Torso) | |
242 | weld.Part0 = Player.Character.Torso | |
243 | weld.Part1 = lol | |
244 | weld.C0 = Player.Character.Torso.CFrame:inverse() | |
245 | weld.C1 = lol.CFrame:inverse() | |
246 | end | |
247 | wait() | |
248 | spawnpart() | |
249 | for i, v in pairs(game.Players:GetChildren()) do | |
250 | t = v.Character:FindFirstChild("Torso") | |
251 | if t then | |
252 | t.Anchored = true | |
253 | Player.Character:FindFirstChild("Torso").Anchored = false | |
254 | end | |
255 | RA = v.Character:FindFirstChild("Right Arm") | |
256 | if RA then | |
257 | RA.Anchored = true | |
258 | Player.Character:FindFirstChild("Right Arm").Anchored = false | |
259 | end | |
260 | LA = v.Character:FindFirstChild("Left Arm") | |
261 | if LA then | |
262 | LA.Anchored = true | |
263 | Player.Character:FindFirstChild("Left Arm").Anchored = false | |
264 | end | |
265 | RL = v.Character:FindFirstChild("Right Leg") | |
266 | if RL then | |
267 | RL.Anchored = true | |
268 | Player.Character:FindFirstChild("Right Leg").Anchored = false | |
269 | end | |
270 | LL = v.Character:FindFirstChild("Left Leg") | |
271 | if LL then | |
272 | LL.Anchored = true | |
273 | Player.Character:FindFirstChild("Left Leg").Anchored = false | |
274 | end | |
275 | end | |
276 | weld(sphere) | |
277 | cce = Instance.new("ColorCorrectionEffect", game.Lighting) | |
278 | cce.Saturation = -5 | |
279 | --game.Debris:AddItem(cce, 5) | |
280 | sphere.Parent = Character.Torso | |
281 | for i = 1,3 do | |
282 | sphere.Size = sphere.Size + Vector3.new(50,50,50) | |
283 | wait() | |
284 | end | |
285 | wait() | |
286 | sphere:Destroy() | |
287 | KnifeSpeed = 0 | |
288 | cce.Saturation = -0.1 | |
289 | wait(0.3) | |
290 | cce.Saturation = -0.2 | |
291 | wait(0.3) | |
292 | cce.Saturation = -0.3 | |
293 | wait(0.2) | |
294 | cce.Saturation = -1.5 | |
295 | wait() | |
296 | end | |
297 | end | |
298 | end | |
299 | ) | |
300 | ||
301 | mse.KeyDown:connect(function(key) | |
302 | key = key:lower() | |
303 | if key == "y" then | |
304 | canworld = true | |
305 | sound2:Play() | |
306 | wait() | |
307 | KnifeSpeed = 1 | |
308 | cce.Saturation = -1.3 | |
309 | wait(0.5) | |
310 | KnifeSpeed = 1.2 | |
311 | cce.Saturation = -0.5 | |
312 | wait(0.5) | |
313 | KnifeSpeed = 1.4 | |
314 | cce.Saturation = -0.4 | |
315 | wait(0.3) | |
316 | KnifeSpeed = 1.5 | |
317 | cce.Saturation = -0.2 | |
318 | wait(0.2) | |
319 | cce.Saturation = 0 | |
320 | ||
321 | for i, v in pairs(game.Players:GetChildren()) do | |
322 | t = v.Character:FindFirstChild("Torso") | |
323 | if t then | |
324 | t.Anchored = false | |
325 | end | |
326 | RA = v.Character:FindFirstChild("Right Arm") | |
327 | if RA then | |
328 | RA.Anchored = false | |
329 | end | |
330 | LA = v.Character:FindFirstChild("Left Arm") | |
331 | if LA then | |
332 | LA.Anchored = false | |
333 | end | |
334 | RL = v.Character:FindFirstChild("Right Leg") | |
335 | if RL then | |
336 | RL.Anchored = false | |
337 | end | |
338 | LL = v.Character:FindFirstChild("Left Leg") | |
339 | if LL then | |
340 | LL.Anchored = false | |
341 | end | |
342 | end | |
343 | KnifeSpeed = 250.255 | |
344 | game.Lighting.Sky:Remove() | |
345 | TSTheme:Stop() | |
346 | game.Lighting.ColorCorrection:Remove() | |
347 | end | |
348 | end) | |
349 | CV="Institutional white" | |
350 | p = game.Players.LocalPlayer | |
351 | char = p.Character | |
352 | local txt = Instance.new("BillboardGui", char) | |
353 | txt.Adornee = char .Head | |
354 | txt.Name = "_status" | |
355 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
356 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
357 | local text = Instance.new("TextLabel", txt) | |
358 | text.Size = UDim2.new(10, 0, 7, 0) | |
359 | text.FontSize = "Size24" | |
360 | text.TextScaled = true | |
361 | text.TextTransparency = 0 | |
362 | text.BackgroundTransparency = 1 | |
363 | text.TextTransparency = 0 | |
364 | text.TextStrokeTransparency = 0 | |
365 | text.Font = "Cartoon" | |
366 | text.TextStrokeColor3 = Color3.new(255,0,0) | |
367 | ||
368 | v=Instance.new("Part") | |
369 | v.Name = "ColorBrick" | |
370 | v.Parent=p.Character | |
371 | v.FormFactor="Symmetric" | |
372 | v.Anchored=true | |
373 | v.CanCollide=false | |
374 | v.BottomSurface="Smooth" | |
375 | v.TopSurface="Smooth" | |
376 | v.Size=Vector3.new(1,1,1) | |
377 | v.Transparency=1 | |
378 | v.CFrame=char.Torso.CFrame | |
379 | v.BrickColor=BrickColor.new(CV) | |
380 | v.Transparency=1 | |
381 | text.TextColor3 = Color3.new(255,255,255) | |
382 | v.Shape="Block" | |
383 | - | text.Text = "Dio" |
383 | + | text.Text = "Kuha#3371" |
384 | ||
385 | ||
386 | ||
387 | wait(1 / 60) | |
388 | Effects = { } | |
389 | local Player = game.Players.localPlayer | |
390 | local Character = Player.Character | |
391 | local Humanoid = Character.Humanoid | |
392 | local Mouse = Player:GetMouse() | |
393 | local LeftArm = Character["Left Arm"] | |
394 | local RightArm = Character["Right Arm"] | |
395 | local LeftLeg = Character["Left Leg"] | |
396 | local RightLeg = Character["Right Leg"] | |
397 | local Head = Character.Head | |
398 | local Torso = Character.Torso | |
399 | local Camera = game.Workspace.CurrentCamera | |
400 | local RootPart = Character.HumanoidRootPart | |
401 | local RootJoint = RootPart.RootJoint | |
402 | local attack = false | |
403 | local Anim = 'Idle' | |
404 | local attacktype = 1 | |
405 | local delays = false | |
406 | local play = true | |
407 | local targetted = nil | |
408 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
409 | local velocity = RootPart.Velocity.y | |
410 | local sine = 0 | |
411 | local change = 1 | |
412 | local doe = 0 | |
413 | local Create = LoadLibrary("RbxUtility").Create | |
414 | Humanoid.WalkSpeed = 50 | |
415 | local m = Create("Model"){ | |
416 | Parent = Character, | |
417 | Name = "WeaponModel", | |
418 | } | |
419 | - | local Orin = "rbxassetid://301558913" |
419 | + | local Orin = "rbxassetid://160813662" |
420 | Head.face.Texture = Orin | |
421 | spawn(function() | |
422 | while wait() do | |
423 | Head.BrickColor = BrickColor.new("Really black") | |
424 | RightArm.BrickColor = BrickColor.new("Really black") | |
425 | LeftArm.BrickColor = BrickColor.new("Really black") | |
426 | Torso.BrickColor = BrickColor.new("Really black") | |
427 | RightLeg.BrickColor = BrickColor.new("Really black") | |
428 | LeftLeg.BrickColor = BrickColor.new("Really black") | |
429 | end | |
430 | end) | |
431 | for i,v in pairs(Character:children()) do | |
432 | if v:IsA("Shirt") then | |
433 | v:Destroy() | |
434 | end | |
435 | end | |
436 | for i,v in pairs(Character:children()) do | |
437 | if v:IsA("Pants") then | |
438 | v:Destroy() | |
439 | end | |
440 | end | |
441 | for i,v in pairs(Character:children()) do | |
442 | if v:IsA("Accessory") then | |
443 | v:Destroy() | |
444 | end | |
445 | end | |
446 | ||
447 | shirt = Instance.new("Shirt", Character) | |
448 | shirt.Name = "Shirt" | |
449 | pants = Instance.new("Pants", Character) | |
450 | pants.Name = "Pants" | |
451 | Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=754386702" | |
452 | Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=773358745" | |
453 | Humanoid.Animator.Parent = nil | |
454 | Character.Animate.Parent = nil | |
455 | hat = Instance.new("Hat", game.ReplicatedStorage) | |
456 | hat.Name = "Hair?" | |
457 | hat.AttachmentForward = Vector3.new(0,0,-1) | |
458 | hat.AttachmentPos = Vector3.new(0,-0.05,0.1) | |
459 | hat.AttachmentRight = Vector3.new(1,0,0) | |
460 | hat.AttachmentUp = Vector3.new(0,1,0) | |
461 | local handle = Instance.new("Part",hat) | |
462 | handle.Rotation = Vector3.new(0, 90, 0) | |
463 | handle.Name = "Handle" | |
464 | handle.TopSurface = "Smooth" | |
465 | handle.BottomSurface = "Smooth" | |
466 | handle.Size = Vector3.new(1,1,1) | |
467 | handle.Transparency = 1 | |
468 | local mesh = Instance.new("SpecialMesh",handle) | |
469 | mesh.MeshType = "FileMesh" | |
470 | mesh.MeshId = "http://www.roblox.com/asset/?id=" | |
471 | mesh.TextureId = "rbxassetid://252864626" | |
472 | mesh.Scale = Vector3.new(1.05,1.05,1.05) | |
473 | hat.Parent = Character | |
474 | ||
475 | local newMotor = function(part0, part1, c0, c1) | |
476 | local w = Create('Motor'){ | |
477 | Parent = part0, | |
478 | Part0 = part0, | |
479 | Part1 = part1, | |
480 | C0 = c0, | |
481 | C1 = c1, | |
482 | } | |
483 | return w | |
484 | end | |
485 | ||
486 | function clerp(a, b, t) | |
487 | return a:lerp(b, t) | |
488 | end | |
489 | ||
490 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
491 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
492 | ||
493 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
494 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
495 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
496 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
497 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
498 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
499 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
500 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
501 | ||
502 | local rarmc1 = RW.C1 | |
503 | local larmc1 = LW.C1 | |
504 | local rlegc1 = RH.C1 | |
505 | local llegc1 = LH.C1 | |
506 | ||
507 | local resetc1 = false | |
508 | ||
509 | function PlayAnimationFromTable(table, speed, bool) | |
510 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
511 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
512 | RW.C0 = clerp(RW.C0, table[3], speed) | |
513 | LW.C0 = clerp(LW.C0, table[4], speed) | |
514 | RH.C0 = clerp(RH.C0, table[5], speed) | |
515 | LH.C0 = clerp(LH.C0, table[6], speed) | |
516 | if bool == true then | |
517 | if resetc1 == false then | |
518 | resetc1 = true | |
519 | RootJoint.C1 = RootJoint.C1 | |
520 | Torso.Neck.C1 = Torso.Neck.C1 | |
521 | RW.C1 = rarmc1 | |
522 | LW.C1 = larmc1 | |
523 | RH.C1 = rlegc1 | |
524 | LH.C1 = llegc1 | |
525 | end | |
526 | end | |
527 | end | |
528 | ||
529 | ArtificialHB = Create("BindableEvent", script){ | |
530 | Parent = script, | |
531 | Name = "Heartbeat", | |
532 | } | |
533 | ||
534 | script:WaitForChild("Heartbeat") | |
535 | ||
536 | frame = 1 / 30 | |
537 | tf = 0 | |
538 | allowframeloss = false | |
539 | tossremainder = false | |
540 | lastframe = tick() | |
541 | script.Heartbeat:Fire() | |
542 | ||
543 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
544 | tf = tf + s | |
545 | if tf >= frame then | |
546 | if allowframeloss then | |
547 | script.Heartbeat:Fire() | |
548 | lastframe = tick() | |
549 | else | |
550 | for i = 1, math.floor(tf / frame) do | |
551 | script.Heartbeat:Fire() | |
552 | end | |
553 | lastframe = tick() | |
554 | end | |
555 | if tossremainder then | |
556 | tf = 0 | |
557 | else | |
558 | tf = tf - frame * math.floor(tf / frame) | |
559 | end | |
560 | end | |
561 | end) | |
562 | ||
563 | function swait(num) | |
564 | if num == 0 or num == nil then | |
565 | ArtificialHB.Event:wait() | |
566 | else | |
567 | for i = 0, num do | |
568 | ArtificialHB.Event:wait() | |
569 | end | |
570 | end | |
571 | end | |
572 | ||
573 | function RemoveOutlines(part) | |
574 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
575 | end | |
576 | ||
577 | CFuncs = { | |
578 | ["Part"] = { | |
579 | Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
580 | local Part = Create("Part"){ | |
581 | Parent = Parent, | |
582 | Reflectance = Reflectance, | |
583 | Transparency = Transparency, | |
584 | CanCollide = false, | |
585 | Locked = true, | |
586 | BrickColor = BrickColor.new(tostring(BColor)), | |
587 | Name = Name, | |
588 | Size = Size, | |
589 | Material = Material, | |
590 | } | |
591 | RemoveOutlines(Part) | |
592 | return Part | |
593 | end; | |
594 | }; | |
595 | ||
596 | ["Mesh"] = { | |
597 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
598 | local Msh = Create(Mesh){ | |
599 | Parent = Part, | |
600 | Offset = OffSet, | |
601 | Scale = Scale, | |
602 | } | |
603 | if Mesh == "SpecialMesh" then | |
604 | Msh.MeshType = MeshType | |
605 | Msh.MeshId = MeshId | |
606 | end | |
607 | return Msh | |
608 | end; | |
609 | }; | |
610 | ||
611 | ["Mesh"] = { | |
612 | Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
613 | local Msh = Create(Mesh){ | |
614 | Parent = Part, | |
615 | Offset = OffSet, | |
616 | Scale = Scale, | |
617 | } | |
618 | if Mesh == "SpecialMesh" then | |
619 | Msh.MeshType = MeshType | |
620 | Msh.MeshId = MeshId | |
621 | end | |
622 | return Msh | |
623 | end; | |
624 | }; | |
625 | ||
626 | ["Weld"] = { | |
627 | Create = function(Parent, Part0, Part1, C0, C1) | |
628 | local Weld = Create("Weld"){ | |
629 | Parent = Parent, | |
630 | Part0 = Part0, | |
631 | Part1 = Part1, | |
632 | C0 = C0, | |
633 | C1 = C1, | |
634 | } | |
635 | return Weld | |
636 | end; | |
637 | }; | |
638 | ||
639 | ["Sound"] = { | |
640 | Create = function(id, par, vol, pit) | |
641 | coroutine.resume(coroutine.create(function() | |
642 | local S = Create("Sound"){ | |
643 | Volume = vol, | |
644 | Pitch = pit or 1, | |
645 | SoundId = id, | |
646 | Parent = par or workspace, | |
647 | } | |
648 | wait() | |
649 | S:play() | |
650 | game:GetService("Debris"):AddItem(S, 6) | |
651 | end)) | |
652 | end; | |
653 | }; | |
654 | ||
655 | ["ParticleEmitter"] = { | |
656 | Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) | |
657 | local fp = Create("ParticleEmitter"){ | |
658 | Parent = Parent, | |
659 | Color = ColorSequence.new(Color1, Color2), | |
660 | LightEmission = LightEmission, | |
661 | Size = Size, | |
662 | Texture = Texture, | |
663 | Transparency = Transparency, | |
664 | ZOffset = ZOffset, | |
665 | Acceleration = Accel, | |
666 | Drag = Drag, | |
667 | LockedToPart = LockedToPart, | |
668 | VelocityInheritance = VelocityInheritance, | |
669 | EmissionDirection = EmissionDirection, | |
670 | Enabled = Enabled, | |
671 | Lifetime = LifeTime, | |
672 | Rate = Rate, | |
673 | Rotation = Rotation, | |
674 | RotSpeed = RotSpeed, | |
675 | Speed = Speed, | |
676 | VelocitySpread = VelocitySpread, | |
677 | } | |
678 | return fp | |
679 | end; | |
680 | }; | |
681 | ||
682 | CreateTemplate = { | |
683 | ||
684 | }; | |
685 | } | |
686 | ||
687 | ||
688 | ||
689 | New = function(Object, Parent, Name, Data) | |
690 | local Object = Instance.new(Object) | |
691 | for Index, Value in pairs(Data or {}) do | |
692 | Object[Index] = Value | |
693 | end | |
694 | Object.Parent = Parent | |
695 | Object.Name = Name | |
696 | return Object | |
697 | end | |
698 | ||
699 | ||
700 | ShadowHead = New("Part",Character,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Institutional white"),Transparency = 1,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),}) | |
701 | Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),}) | |
702 | 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),}) | |
703 | ||
704 | 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,}) | |
705 | moter = New("Weld",Handle,"mot",{Part0 = RightArm,Part1 = Handle,}) | |
706 | 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,}) | |
707 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.24608025, 0.123040132),}) | |
708 | 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),}) | |
709 | 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,}) | |
710 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) | |
711 | 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),}) | |
712 | 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,}) | |
713 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1.00999999, 1),}) | |
714 | 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),}) | |
715 | 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,}) | |
716 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.246080264, 1),}) | |
717 | 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),}) | |
718 | 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,}) | |
719 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) | |
720 | 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),}) | |
721 | 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,}) | |
722 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.492160469, 0.246080235, 0.123040132),}) | |
723 | 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),}) | |
724 | 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,}) | |
725 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.7382406),}) | |
726 | 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),}) | |
727 | Partss = New("Part",m,"Part",{BrickColor = BrickColor.new("Institutional white"),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),}) | |
728 | Mesh = New("SpecialMesh",Partss,"Mesh",{Scale = Vector3.new(0.123040125, 1, 1),MeshType = Enum.MeshType.Cylinder,}) | |
729 | 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),}) | |
730 | 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,}) | |
731 | 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,}) | |
732 | 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),}) | |
733 | Part = New("Part",m,"Part",{BrickColor = BrickColor.new("Institutional white"),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),}) | |
734 | 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),}) | |
735 | 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,}) | |
736 | 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),}) | |
737 | 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,}) | |
738 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.492160618, 0.492160439),MeshType = Enum.MeshType.Cylinder,}) | |
739 | 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),}) | |
740 | 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,}) | |
741 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.246080264, 0.615200639),MeshType = Enum.MeshType.Wedge,}) | |
742 | 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),}) | |
743 | 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,}) | |
744 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) | |
745 | 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),}) | |
746 | 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,}) | |
747 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(0.24608025, 0.369120389, 0.861280918),MeshType = Enum.MeshType.Wedge,}) | |
748 | 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),}) | |
749 | 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,}) | |
750 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
751 | 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),}) | |
752 | 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,}) | |
753 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
754 | 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),}) | |
755 | 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,}) | |
756 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 0.369120389, 0.492160529),MeshType = Enum.MeshType.Wedge,}) | |
757 | 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),}) | |
758 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Institutional white"),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, 0, 0),}) | |
759 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) | |
760 | 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),}) | |
761 | 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,}) | |
762 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.861280859),MeshType = Enum.MeshType.Wedge,}) | |
763 | 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),}) | |
764 | Wedge = New("WedgePart",m,"Wedge",{BrickColor = BrickColor.new("Institutional white"),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, 0, 0),}) | |
765 | Mesh = New("SpecialMesh",Wedge,"Mesh",{Scale = Vector3.new(1, 1, 0.738240719),MeshType = Enum.MeshType.Wedge,}) | |
766 | 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),}) | |
767 | ||
768 | for _,v in pairs(m:children()) do | |
769 | if v:IsA("Part") then | |
770 | v.CanCollide = false | |
771 | end | |
772 | end | |
773 | if Character.Name == "TheNeonKaratedKid" or Character.Name == "rokeliuxas" or Character.Name == "Pedrob03" then | |
774 | for _,v in pairs(Character:children()) do | |
775 | if v:IsA("Accessory") then | |
776 | v:Remove() | |
777 | end | |
778 | end | |
779 | Handle = New("Part",m,"Handle",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Transparency = 1,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, 0, 0),}) | |
780 | Mesh = New("SpecialMesh",Handle,"Mesh",{Offset = Vector3.new(0, 0.100000001, 0),MeshId = "http://www.roblox.com/asset/?id=62246019",MeshType = Enum.MeshType.FileMesh,}) | |
781 | 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),}) | |
782 | Handle1 = New("Part",m,"Handle1",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Transparency = 1,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, 0, 0),}) | |
783 | 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,}) | |
784 | 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),}) | |
785 | end | |
786 | ||
787 | ||
788 | function rayCast(Position, Direction, Range, Ignore) | |
789 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
790 | end | |
791 | ||
792 | FindNearestTorso = function(pos) | |
793 | local list = (game.Workspace:children()) | |
794 | local torso = nil | |
795 | local dist = 1000 | |
796 | local temp, human, temp2 = nil, nil, nil | |
797 | for x = 1, #list do | |
798 | temp2 = list[x] | |
799 | if temp2.className == "Model" and temp2.Name ~= Character.Name then | |
800 | temp = temp2:findFirstChild("Torso") | |
801 | human = temp2:findFirstChild("Humanoid") | |
802 | if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then | |
803 | local dohit = true | |
804 | if dohit == true then | |
805 | torso = temp | |
806 | dist = (temp.Position - pos).magnitude | |
807 | end | |
808 | end | |
809 | end | |
810 | end | |
811 | return torso, dist | |
812 | end | |
813 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
814 | if SinglePlayer then | |
815 | return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance | |
816 | end | |
817 | local List = {} | |
818 | for i, v in pairs(workspace:GetChildren()) do | |
819 | if v:IsA("Model") then | |
820 | if v:findFirstChild("Torso") then | |
821 | if v ~= Character then | |
822 | if (v.Torso.Position - Position).magnitude <= Distance then | |
823 | table.insert(List, v) | |
824 | end | |
825 | end | |
826 | end | |
827 | end | |
828 | end | |
829 | return List | |
830 | end | |
831 | function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) | |
832 | if hit.Parent == nil then | |
833 | return | |
834 | end | |
835 | local h = hit.Parent:FindFirstChild("Humanoid") | |
836 | for _, v in pairs(hit.Parent:children()) do | |
837 | if v:IsA("Humanoid") then | |
838 | h = v | |
839 | end | |
840 | end | |
841 | if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then | |
842 | if hit.Parent:findFirstChild("DebounceHit") ~= nil then | |
843 | if hit.Parent.DebounceHit.Value == true then | |
844 | return | |
845 | end | |
846 | end | |
847 | local c = Create("ObjectValue"){ | |
848 | Name = "creator", | |
849 | Value = game:service("Players").LocalPlayer, | |
850 | Parent = h, | |
851 | } | |
852 | game:GetService("Debris"):AddItem(c, .5) | |
853 | if HitSound ~= nil and HitPitch ~= nil then | |
854 | CFuncs.Sound.Create(HitSound, hit, 1, HitPitch) | |
855 | end | |
856 | local Damage = math.random(minim, maxim) | |
857 | local blocked = false | |
858 | local block = hit.Parent:findFirstChild("Block") | |
859 | if block ~= nil then | |
860 | if block.className == "IntValue" then | |
861 | if block.Value > 0 then | |
862 | blocked = true | |
863 | block.Value = block.Value - 1 | |
864 | print(block.Value) | |
865 | end | |
866 | end | |
867 | end | |
868 | if blocked == false then | |
869 | h.Health = h.Health - Damage | |
870 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Hot pink").Color) | |
871 | else | |
872 | h.Health = h.Health - (Damage / 2) | |
873 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Hot pink").Color) | |
874 | end | |
875 | if Type == "Knockdown" then | |
876 | local hum = hit.Parent.Humanoid | |
877 | hum.PlatformStand = true | |
878 | coroutine.resume(coroutine.create(function(HHumanoid) | |
879 | swait(1) | |
880 | HHumanoid.PlatformStand = false | |
881 | end), hum) | |
882 | local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit | |
883 | local bodvol = Create("BodyVelocity"){ | |
884 | velocity = angle * knockback, | |
885 | P = 5000, | |
886 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
887 | Parent = hit, | |
888 | } | |
889 | local rl = Create("BodyAngularVelocity"){ | |
890 | P = 3000, | |
891 | maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, | |
892 | angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), | |
893 | Parent = hit, | |
894 | } | |
895 | game:GetService("Debris"):AddItem(bodvol, .5) | |
896 | game:GetService("Debris"):AddItem(rl, .5) | |
897 | elseif Type == "Normal" then | |
898 | local vp = Create("BodyVelocity"){ | |
899 | P = 500, | |
900 | maxForce = Vector3.new(math.huge, 0, math.huge), | |
901 | velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05, | |
902 | } | |
903 | if knockback > 0 then | |
904 | vp.Parent = hit.Parent.Torso | |
905 | end | |
906 | game:GetService("Debris"):AddItem(vp, .5) | |
907 | elseif Type == "Up" then | |
908 | local bodyVelocity = Create("BodyVelocity"){ | |
909 | velocity = Vector3.new(0, 20, 0), | |
910 | P = 5000, | |
911 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
912 | Parent = hit, | |
913 | } | |
914 | game:GetService("Debris"):AddItem(bodyVelocity, .5) | |
915 | elseif Type == "DarkUp" then | |
916 | coroutine.resume(coroutine.create(function() | |
917 | for i = 0, 1, 0.1 do | |
918 | swait() | |
919 | Effects.Block.Create(BrickColor.new("Really red"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1) | |
920 | end | |
921 | end)) | |
922 | local bodyVelocity = Create("BodyVelocity"){ | |
923 | velocity = Vector3.new(0, 20, 0), | |
924 | P = 5000, | |
925 | maxForce = Vector3.new(8e+003, 8e+003, 8e+003), | |
926 | Parent = hit, | |
927 | } | |
928 | game:GetService("Debris"):AddItem(bodyVelocity, 1) | |
929 | elseif Type == "Snare" then | |
930 | local bp = Create("BodyPosition"){ | |
931 | P = 2000, | |
932 | D = 100, | |
933 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
934 | position = hit.Parent.Torso.Position, | |
935 | Parent = hit.Parent.Torso, | |
936 | } | |
937 | game:GetService("Debris"):AddItem(bp, 1) | |
938 | elseif Type == "Freeze" then | |
939 | local BodPos = Create("BodyPosition"){ | |
940 | P = 50000, | |
941 | D = 1000, | |
942 | maxForce = Vector3.new(math.huge, math.huge, math.huge), | |
943 | position = hit.Parent.Torso.Position, | |
944 | Parent = hit.Parent.Torso, | |
945 | } | |
946 | local BodGy = Create("BodyGyro") { | |
947 | maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge , | |
948 | P = 20e+003, | |
949 | Parent = hit.Parent.Torso, | |
950 | cframe = hit.Parent.Torso.CFrame, | |
951 | } | |
952 | hit.Parent.Torso.Anchored = true | |
953 | coroutine.resume(coroutine.create(function(Part) | |
954 | swait(1.5) | |
955 | Part.Anchored = false | |
956 | end), hit.Parent.Torso) | |
957 | game:GetService("Debris"):AddItem(BodPos, 3) | |
958 | game:GetService("Debris"):AddItem(BodGy, 3) | |
959 | end | |
960 | local debounce = Create("BoolValue"){ | |
961 | Name = "DebounceHit", | |
962 | Parent = hit.Parent, | |
963 | Value = true, | |
964 | } | |
965 | game:GetService("Debris"):AddItem(debounce, Delay) | |
966 | c = Create("ObjectValue"){ | |
967 | Name = "creator", | |
968 | Value = Player, | |
969 | Parent = h, | |
970 | } | |
971 | game:GetService("Debris"):AddItem(c, .5) | |
972 | end | |
973 | end | |
974 | ||
975 | function ShowDamage(Pos, Text, Time, Color) | |
976 | local Rate = (1 / 30) | |
977 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
978 | local Text = (Text or "") | |
979 | local Time = (Time or 2) | |
980 | local Color = (Color or Color3.new(255, 255, 255)) | |
981 | local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) | |
982 | EffectPart.Anchored = true | |
983 | local BillboardGui = Create("BillboardGui"){ | |
984 | Size = UDim2.new(3, 0, 3, 0), | |
985 | Adornee = EffectPart, | |
986 | Parent = EffectPart, | |
987 | } | |
988 | local TextLabel = Create("TextLabel"){ | |
989 | BackgroundTransparency = 1, | |
990 | Size = UDim2.new(1, 0, 1, 0), | |
991 | Text = Text, | |
992 | Font = "Arcade", | |
993 | TextColor3 = Color, | |
994 | TextScaled = true, | |
995 | Parent = BillboardGui, | |
996 | } | |
997 | game.Debris:AddItem(EffectPart, (Time)) | |
998 | EffectPart.Parent = game:GetService("Workspace") | |
999 | delay(0, function() | |
1000 | local Frames = (Time / Rate) | |
1001 | for Frame = 1, Frames do | |
1002 | wait(Rate) | |
1003 | local Percent = (Frame / Frames) | |
1004 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
1005 | TextLabel.TextTransparency = Percent | |
1006 | end | |
1007 | if EffectPart and EffectPart.Parent then | |
1008 | EffectPart:Destroy() | |
1009 | end | |
1010 | end) | |
1011 | end | |
1012 | ||
1013 | function dmg(dude) | |
1014 | if dude.Name ~= Character then | |
1015 | dude.Humanoid.PlatformStand = true | |
1016 | local bgf = Instance.new("BodyGyro",dude.Head) | |
1017 | bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) | |
1018 | local val = Instance.new("BoolValue",dude) | |
1019 | val.Name = "IsHit" | |
1020 | for i = 1, 6 do | |
1021 | local blo = Instance.new("Part",game.Workspace) | |
1022 | blo.Size = Vector3.new(.6,.2,.6) | |
1023 | blo.Material = "SmoothPlastic" | |
1024 | blo.BrickColor = BrickColor.new("Really red") | |
1025 | --blo.Position = dude.Head.Position | |
1026 | blo.CFrame = dude.Head.CFrame | |
1027 | game:GetService("Debris"):AddItem(blo,30) | |
1028 | end | |
1029 | local ds = coroutine.wrap(function() | |
1030 | wait(.2) | |
1031 | dude.Torso:BreakJoints() | |
1032 | end) | |
1033 | ds() | |
1034 | end | |
1035 | end | |
1036 | ||
1037 | function mdmg(Part, Magnitude)--, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch) | |
1038 | --local buddy | |
1039 | for _, c in pairs(workspace:children()) do | |
1040 | local hum = c:findFirstChild("Humanoid") | |
1041 | if hum ~= nil then | |
1042 | local head = c:findFirstChild("Torso") | |
1043 | if head ~= nil then | |
1044 | local targ = head.Position - Part.Position | |
1045 | local mag = targ.magnitude | |
1046 | if mag <= Magnitude and c.Name ~= Player.Name then | |
1047 | if c.Name ~= Character then | |
1048 | if c.Name ~= "125thenoob" then | |
1049 | local asd = Instance.new("ParticleEmitter",c.Torso) | |
1050 | asd.Color = ColorSequence.new(Color3.new(255, 255, 255), Color3.new(255, 255, 255)) | |
1051 | asd.LightEmission = .1 | |
1052 | asd.Size = NumberSequence.new(0.2) | |
1053 | asd.Texture = "http://www.roblox.com/asset/?ID=1033897753" | |
1054 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1055 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1056 | asd.Transparency = bbb | |
1057 | asd.Size = aaa | |
1058 | asd.ZOffset = .9 | |
1059 | asd.Acceleration = Vector3.new(0, -5, 0) | |
1060 | asd.LockedToPart = false | |
1061 | asd.EmissionDirection = "Back" | |
1062 | asd.Lifetime = NumberRange.new(1, 2) | |
1063 | asd.Rate = 1000 | |
1064 | asd.Rotation = NumberRange.new(-100, 100) | |
1065 | asd.RotSpeed = NumberRange.new(-100, 100) | |
1066 | asd.Speed = NumberRange.new(6) | |
1067 | asd.VelocitySpread = 10000 | |
1068 | asd.Enabled=true | |
1069 | --Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch) | |
1070 | dmg(c) | |
1071 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", c.Torso, 1.2, .8) | |
1072 | coroutine.wrap(function() | |
1073 | wait(.2) | |
1074 | asd.Enabled = false | |
1075 | wait(2) | |
1076 | asd:Remove() | |
1077 | end)() | |
1078 | else | |
1079 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=240429289", c.Torso, 1.5, math.random(1,1.3)) | |
1080 | Effects.Sphere.Create(BrickColor.new("Really black"), c.Torso.CFrame, 30, 30, 30, .5, .5, .5, 0.04) | |
1081 | ||
1082 | end | |
1083 | end | |
1084 | end | |
1085 | end | |
1086 | end | |
1087 | end | |
1088 | end | |
1089 | EffectModel = Create("Model"){ | |
1090 | Parent = Character, | |
1091 | Name = "Effects", | |
1092 | } | |
1093 | ||
1094 | Effects = { | |
1095 | Block = { | |
1096 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) | |
1097 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1098 | prt.Anchored = true | |
1099 | prt.CFrame = cframe | |
1100 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1101 | game:GetService("Debris"):AddItem(prt, 10) | |
1102 | if Type == 1 or Type == nil then | |
1103 | table.insert(Effects, { | |
1104 | prt, | |
1105 | "Block1", | |
1106 | delay, | |
1107 | x3, | |
1108 | y3, | |
1109 | z3, | |
1110 | msh | |
1111 | }) | |
1112 | elseif Type == 2 then | |
1113 | table.insert(Effects, { | |
1114 | prt, | |
1115 | "Block2", | |
1116 | delay, | |
1117 | x3, | |
1118 | y3, | |
1119 | z3, | |
1120 | msh | |
1121 | }) | |
1122 | end | |
1123 | end; | |
1124 | }; | |
1125 | ||
1126 | Cylinder = { | |
1127 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1128 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1129 | prt.Anchored = true | |
1130 | prt.CFrame = cframe | |
1131 | local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1132 | game:GetService("Debris"):AddItem(prt, 10) | |
1133 | table.insert(Effects, { | |
1134 | prt, | |
1135 | "Cylinder", | |
1136 | delay, | |
1137 | x3, | |
1138 | y3, | |
1139 | z3, | |
1140 | msh | |
1141 | }) | |
1142 | end; | |
1143 | }; | |
1144 | Head = { | |
1145 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1146 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1147 | prt.Anchored = true | |
1148 | prt.CFrame = cframe | |
1149 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1150 | game:GetService("Debris"):AddItem(prt, 10) | |
1151 | table.insert(Effects, { | |
1152 | prt, | |
1153 | "Cylinder", | |
1154 | delay, | |
1155 | x3, | |
1156 | y3, | |
1157 | z3, | |
1158 | msh | |
1159 | }) | |
1160 | end; | |
1161 | }; | |
1162 | ||
1163 | Sphere = { | |
1164 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1165 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1166 | prt.Anchored = true | |
1167 | prt.CFrame = cframe | |
1168 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1169 | game:GetService("Debris"):AddItem(prt, 10) | |
1170 | table.insert(Effects, { | |
1171 | prt, | |
1172 | "Cylinder", | |
1173 | delay, | |
1174 | x3, | |
1175 | y3, | |
1176 | z3, | |
1177 | msh | |
1178 | }) | |
1179 | end; | |
1180 | }; | |
1181 | ||
1182 | Elect = { | |
1183 | Create = function(cff, x, y, z) | |
1184 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Really red"), "Part", Vector3.new(1, 1, 1)) | |
1185 | prt.Anchored = true | |
1186 | prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z)) | |
1187 | prt.CFrame = CFrame.new(prt.Position) | |
1188 | game:GetService("Debris"):AddItem(prt, 2) | |
1189 | local xval = math.random() / 2 | |
1190 | local yval = math.random() / 2 | |
1191 | local zval = math.random() / 2 | |
1192 | local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval)) | |
1193 | table.insert(Effects, { | |
1194 | prt, | |
1195 | "Elec", | |
1196 | 0.1, | |
1197 | x, | |
1198 | y, | |
1199 | z, | |
1200 | xval, | |
1201 | yval, | |
1202 | zval | |
1203 | }) | |
1204 | end; | |
1205 | ||
1206 | }; | |
1207 | ||
1208 | Ring = { | |
1209 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1210 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1211 | prt.Anchored = true | |
1212 | prt.CFrame = cframe | |
1213 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1214 | game:GetService("Debris"):AddItem(prt, 10) | |
1215 | table.insert(Effects, { | |
1216 | prt, | |
1217 | "Cylinder", | |
1218 | delay, | |
1219 | x3, | |
1220 | y3, | |
1221 | z3, | |
1222 | msh | |
1223 | }) | |
1224 | end; | |
1225 | }; | |
1226 | ||
1227 | ||
1228 | Wave = { | |
1229 | Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
1230 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1231 | prt.Anchored = true | |
1232 | prt.CFrame = cframe | |
1233 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1234 | game:GetService("Debris"):AddItem(prt, 10) | |
1235 | table.insert(Effects, { | |
1236 | prt, | |
1237 | "Cylinder", | |
1238 | delay, | |
1239 | x3, | |
1240 | y3, | |
1241 | z3, | |
1242 | msh | |
1243 | }) | |
1244 | end; | |
1245 | }; | |
1246 | ||
1247 | Break = { | |
1248 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1249 | local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) | |
1250 | prt.Anchored = true | |
1251 | prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
1252 | local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1253 | local num = math.random(10, 50) / 1000 | |
1254 | game:GetService("Debris"):AddItem(prt, 10) | |
1255 | table.insert(Effects, { | |
1256 | prt, | |
1257 | "Shatter", | |
1258 | num, | |
1259 | prt.CFrame, | |
1260 | math.random() - math.random(), | |
1261 | 0, | |
1262 | math.random(50, 100) / 100 | |
1263 | }) | |
1264 | end; | |
1265 | }; | |
1266 | ||
1267 | Fire = { | |
1268 | Create = function(brickcolor, cframe, x1, y1, z1, delay) | |
1269 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new()) | |
1270 | prt.Anchored = true | |
1271 | prt.CFrame = cframe | |
1272 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1273 | game:GetService("Debris"):AddItem(prt, 10) | |
1274 | table.insert(Effects, { | |
1275 | prt, | |
1276 | "Fire", | |
1277 | delay, | |
1278 | 1, | |
1279 | 1, | |
1280 | 1, | |
1281 | msh | |
1282 | }) | |
1283 | end; | |
1284 | }; | |
1285 | ||
1286 | FireWave = { | |
1287 | Create = function(brickcolor, cframe, x1, y1, z1) | |
1288 | local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new()) | |
1289 | prt.Anchored = true | |
1290 | prt.CFrame = cframe | |
1291 | msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) | |
1292 | local d = Create("Decal"){ | |
1293 | Parent = prt, | |
1294 | Texture = "rbxassetid://1033897753", | |
1295 | Face = "Top", | |
1296 | } | |
1297 | local d = Create("Decal"){ | |
1298 | Parent = prt, | |
1299 | Texture = "rbxassetid://1033897753", | |
1300 | Face = "Bottom", | |
1301 | } | |
1302 | game:GetService("Debris"):AddItem(prt, 10) | |
1303 | table.insert(Effects, { | |
1304 | prt, | |
1305 | "FireWave", | |
1306 | 1, | |
1307 | 30, | |
1308 | math.random(400, 600) / 100, | |
1309 | msh | |
1310 | }) | |
1311 | end; | |
1312 | }; | |
1313 | ||
1314 | Lightning = { | |
1315 | Create = function(p0, p1, tym, ofs, col, th, tra, last) | |
1316 | local magz = (p0 - p1).magnitude | |
1317 | local curpos = p0 | |
1318 | local trz = { | |
1319 | -ofs, | |
1320 | ofs | |
1321 | } | |
1322 | for i = 1, tym do | |
1323 | local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym)) | |
1324 | local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)]) | |
1325 | local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz | |
1326 | li.Material = "Neon" | |
1327 | if tym == i then | |
1328 | local magz2 = (curpos - p1).magnitude | |
1329 | li.Size = Vector3.new(th, th, magz2) | |
1330 | li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2) | |
1331 | table.insert(Effects, { | |
1332 | li, | |
1333 | "Disappear", | |
1334 | last | |
1335 | }) | |
1336 | else | |
1337 | do | |
1338 | do | |
1339 | li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2) | |
1340 | curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p | |
1341 | game.Debris:AddItem(li, 10) | |
1342 | table.insert(Effects, { | |
1343 | li, | |
1344 | "Disappear", | |
1345 | last | |
1346 | }) | |
1347 | end | |
1348 | end | |
1349 | end | |
1350 | end | |
1351 | end | |
1352 | }; | |
1353 | ||
1354 | EffectTemplate = { | |
1355 | ||
1356 | }; | |
1357 | } | |
1358 | ||
1359 | function chatfunc(text) | |
1360 | local chat = coroutine.wrap(function() | |
1361 | if Character:FindFirstChild("TalkingBillBoard")~= nil then | |
1362 | Character:FindFirstChild("TalkingBillBoard"):destroy() | |
1363 | end | |
1364 | local naeeym2 = Instance.new("BillboardGui",Character) | |
1365 | naeeym2.Size = UDim2.new(0,100,0,40) | |
1366 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
1367 | naeeym2.Adornee = Character.Head | |
1368 | naeeym2.Name = "TalkingBillBoard" | |
1369 | local tecks2 = Instance.new("TextLabel",naeeym2) | |
1370 | tecks2.BackgroundTransparency = 1 | |
1371 | tecks2.BorderSizePixel = 0 | |
1372 | tecks2.Text = "" | |
1373 | tecks2.Font = "Cartoon" | |
1374 | tecks2.TextSize = 30 | |
1375 | tecks2.TextStrokeTransparency = 0 | |
1376 | tecks2.TextColor3 = Color3.new(255,255,255) | |
1377 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
1378 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
1379 | local tecks3 = Instance.new("TextLabel",naeeym2) | |
1380 | tecks3.BackgroundTransparency = 1 | |
1381 | tecks3.BorderSizePixel = 0 | |
1382 | tecks3.Text = "" | |
1383 | tecks3.Font = "Cartoon" | |
1384 | tecks3.TextSize = 30 | |
1385 | tecks3.TextStrokeTransparency = 0 | |
1386 | tecks3.TextColor3 = Color3.new(255,255,255) | |
1387 | tecks3.TextStrokeColor3 = Color3.new(0,0,0) | |
1388 | tecks3.Size = UDim2.new(1,0,0.5,0) | |
1389 | for i = 1,string.len(text),1 do | |
1390 | - | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=445339523", Character, .6, .8) |
1390 | + | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=148636758", Character, .6, .8) |
1391 | tecks2.Text = string.sub(text,1,i) | |
1392 | tecks3.Text = string.sub(text,1,i) | |
1393 | wait(0.01) | |
1394 | end | |
1395 | wait(2) | |
1396 | for i = 1, 50 do | |
1397 | swait() | |
1398 | tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
1399 | tecks2.Rotation = tecks2.Rotation - .8 | |
1400 | tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
1401 | tecks2.TextTransparency = tecks2.TextTransparency + .04 | |
1402 | tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) | |
1403 | tecks3.Rotation = tecks2.Rotation + .8 | |
1404 | tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 | |
1405 | tecks3.TextTransparency = tecks2.TextTransparency + .04 | |
1406 | end | |
1407 | naeeym2:Destroy() | |
1408 | end) | |
1409 | chat() | |
1410 | end | |
1411 | function onChatted(msg) | |
1412 | chatfunc(msg) | |
1413 | end | |
1414 | Player.Chatted:connect(onChatted) | |
1415 | ||
1416 | abss = Instance.new("BillboardGui",Character) | |
1417 | abss.Size = UDim2.new(10,0,10,0) | |
1418 | abss.Enabled = false | |
1419 | imgl = Instance.new("ImageLabel",abss) | |
1420 | imgl.Position = UDim2.new(0,0,0,0) | |
1421 | imgl.Size = UDim2.new(1,0,1,0) | |
1422 | imgl.Image = "rbxassetid://1033897750" | |
1423 | imgl.BackgroundTransparency = 1 | |
1424 | imgl.ImageColor3 = Color3.new(.9,0,0) | |
1425 | img2 = Instance.new("ImageLabel",abss) | |
1426 | img2.Position = UDim2.new(0,0,0,0) | |
1427 | img2.Size = UDim2.new(1,0,1,0) | |
1428 | img2.Image = "rbxassetid://1033897750" | |
1429 | img2.BackgroundTransparency = 1 | |
1430 | img2.ImageColor3 = Color3.new(255,255,255) | |
1431 | ||
1432 | spawn(function() | |
1433 | - | chatfunc("ok then....") |
1433 | + | chatfunc("I Changed This Part Because Jotaro had to be Killed") |
1434 | wait(4) | |
1435 | chatfunc("I'll Create...") | |
1436 | wait(3) | |
1437 | chatfunc("And Destroy...") | |
1438 | wait(3) | |
1439 | chatfunc("MY NAME IS, Dio!") | |
1440 | end) | |
1441 | function attackone() | |
1442 | attack = true | |
1443 | Humanoid.WalkSpeed = 0 | |
1444 | if targetted.Name ~= "TheNeonKaratedKid" then | |
1445 | local partasdeff = Instance.new("ParticleEmitter",targetted.Torso) | |
1446 | partasdeff.Color = ColorSequence.new(Color3.new(255, 255, 255), Color3.new(255, 255, 255)) | |
1447 | partasdeff.LightEmission = .1 | |
1448 | partasdeff.Size = NumberSequence.new(0.2) | |
1449 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=1033897753" | |
1450 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1451 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1452 | partasdeff.Transparency = bbb | |
1453 | partasdeff.Size = aaa | |
1454 | partasdeff.ZOffset = .9 | |
1455 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1456 | partasdeff.LockedToPart = false | |
1457 | partasdeff.EmissionDirection = "Back" | |
1458 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1459 | partasdeff.Rate = 1000 | |
1460 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1461 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1462 | partasdeff.Speed = NumberRange.new(6) | |
1463 | partasdeff.VelocitySpread = 10000 | |
1464 | partasdeff.Enabled=false | |
1465 | for i = 0, 3, 0.1 do | |
1466 | swait() | |
1467 | PlayAnimationFromTable({ | |
1468 | 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), | |
1469 | 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), | |
1470 | 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), | |
1471 | 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), | |
1472 | 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), | |
1473 | 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), | |
1474 | }, .1, false) | |
1475 | 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) | |
1476 | end | |
1477 | Effects.Block.Create(BrickColor.new("Really black"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1478 | Effects.Block.Create(BrickColor.new("Really black"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1479 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1480 | dmg(targetted) | |
1481 | partasdeff.Enabled=true | |
1482 | for i = 0, 1, 0.1 do | |
1483 | swait() | |
1484 | PlayAnimationFromTable({ | |
1485 | 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), | |
1486 | 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), | |
1487 | 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), | |
1488 | 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), | |
1489 | 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), | |
1490 | 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), | |
1491 | }, .3, false) | |
1492 | 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) | |
1493 | end | |
1494 | partasdeff.Enabled=false | |
1495 | for i = 0, 2, 0.1 do | |
1496 | swait() | |
1497 | PlayAnimationFromTable({ | |
1498 | 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), | |
1499 | 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), | |
1500 | 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), | |
1501 | 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), | |
1502 | 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), | |
1503 | 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), | |
1504 | }, .3, false) | |
1505 | 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) | |
1506 | end | |
1507 | coroutine.wrap(function() | |
1508 | wait(2) | |
1509 | partasdeff:Remove() | |
1510 | end)() | |
1511 | else | |
1512 | sel = math.random(1,3) | |
1513 | if sel == 1 then | |
1514 | chatfunc("GR...") | |
1515 | elseif sel == 2 then | |
1516 | chatfunc("Ugh...") | |
1517 | elseif sel == 3 then | |
1518 | chatfunc("Aw???") | |
1519 | end | |
1520 | for i = 0, 5, 0.1 do | |
1521 | swait() | |
1522 | PlayAnimationFromTable({ | |
1523 | 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), | |
1524 | 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), | |
1525 | 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), | |
1526 | 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), | |
1527 | 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), | |
1528 | 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), | |
1529 | }, .3, false) | |
1530 | 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) | |
1531 | end | |
1532 | end | |
1533 | Humanoid.WalkSpeed = 50 | |
1534 | attack = false | |
1535 | end | |
1536 | local Grabbed = false | |
1537 | ||
1538 | function hedshoot() | |
1539 | attack = true | |
1540 | ||
1541 | --local GGyro = Instance.new("BodyPosition") | |
1542 | local grab = nil | |
1543 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 10)) do | |
1544 | if v:FindFirstChild('Torso') then | |
1545 | Grabbed = true | |
1546 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Torso, 1, .8) | |
1547 | grab = v | |
1548 | end | |
1549 | end | |
1550 | Effects.Wave.Create(BrickColor.new("Really red"), RootPart.CFrame * CFrame.Angles(0,math.rad(90),math.rad(90)), .5, .5, .5, 1, .2, 1, 0.07) | |
1551 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=200632211", RootPart, 1.5, .5) | |
1552 | for i = 0, 1, 0.1 do | |
1553 | swait() | |
1554 | if Grabbed == true then | |
1555 | grab.Humanoid.PlatformStand = true | |
1556 | --GGyro.position = Partss.Position | |
1557 | --GGyro.Parent = grab.Head | |
1558 | grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
1559 | end | |
1560 | PlayAnimationFromTable({ | |
1561 | 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), | |
1562 | 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), | |
1563 | 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), | |
1564 | 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), | |
1565 | 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), | |
1566 | 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), | |
1567 | }, .3, false) | |
1568 | RootPart.Velocity = RootPart.CFrame.lookVector * 90 | |
1569 | ||
1570 | 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) | |
1571 | end | |
1572 | if Grabbed == true then | |
1573 | Humanoid.WalkSpeed = 0 | |
1574 | for i = 0, 2, 0.1 do | |
1575 | swait() | |
1576 | if Grabbed == true then | |
1577 | grab.Humanoid.PlatformStand = true | |
1578 | --GGyro.position = Partss.Position | |
1579 | --GGyro.Parent = grab.Head | |
1580 | grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
1581 | end | |
1582 | PlayAnimationFromTable({ | |
1583 | 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), | |
1584 | 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), | |
1585 | 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), | |
1586 | 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), | |
1587 | 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), | |
1588 | 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), | |
1589 | }, .3, false) | |
1590 | 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) | |
1591 | end | |
1592 | if grab.Name ~= "TheNeonKaratedKid" then | |
1593 | local partasdeff = Instance.new("ParticleEmitter",grab.Torso) | |
1594 | partasdeff.Color = ColorSequence.new(Color3.new(255, 255, 255), Color3.new(255, 255, 255)) | |
1595 | partasdeff.LightEmission = .1 | |
1596 | partasdeff.Size = NumberSequence.new(0.2) | |
1597 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=1033897753" | |
1598 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1599 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1600 | partasdeff.Transparency = bbb | |
1601 | partasdeff.Size = aaa | |
1602 | partasdeff.ZOffset = .9 | |
1603 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1604 | partasdeff.LockedToPart = false | |
1605 | partasdeff.EmissionDirection = "Back" | |
1606 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1607 | partasdeff.Rate = 10000 | |
1608 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1609 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1610 | partasdeff.Speed = NumberRange.new(10) | |
1611 | partasdeff.VelocitySpread = 20 | |
1612 | partasdeff.Enabled=false | |
1613 | sel = math.random(1,3) | |
1614 | if sel == 1 then | |
1615 | chatfunc("MUDADA") | |
1616 | elseif sel == 2 then | |
1617 | chatfunc("CHECKMATE") | |
1618 | elseif sel == 3 then | |
1619 | chatfunc("WRYYYYYYYYY.") | |
1620 | end | |
1621 | for i = 0, 2, 0.1 do | |
1622 | swait() | |
1623 | if Grabbed == true then | |
1624 | grab.Humanoid.PlatformStand = true | |
1625 | --GGyro.position = Partss.Position | |
1626 | --GGyro.Parent = grab.Head | |
1627 | grab.Torso.CFrame = Partss.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
1628 | end | |
1629 | PlayAnimationFromTable({ | |
1630 | 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), | |
1631 | 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), | |
1632 | 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), | |
1633 | 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), | |
1634 | 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), | |
1635 | 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), | |
1636 | }, .1, false) | |
1637 | 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) | |
1638 | end | |
1639 | Effects.Block.Create(BrickColor.new("Institutional white"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1640 | Effects.Block.Create(BrickColor.new("Institutional white"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1641 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1642 | dmg(grab) | |
1643 | grab.Head.Velocity = grab.Head.CFrame.lookVector * -60 | |
1644 | partasdeff.Enabled=true | |
1645 | for i = 0, 1, 0.1 do | |
1646 | swait() | |
1647 | PlayAnimationFromTable({ | |
1648 | 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), | |
1649 | 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), | |
1650 | 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), | |
1651 | 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), | |
1652 | 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), | |
1653 | 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), | |
1654 | }, .3, false) | |
1655 | 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) | |
1656 | end | |
1657 | partasdeff.Enabled=false | |
1658 | for i = 0, 2.5, 0.1 do | |
1659 | swait() | |
1660 | PlayAnimationFromTable({ | |
1661 | 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), | |
1662 | 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), | |
1663 | 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), | |
1664 | 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), | |
1665 | 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), | |
1666 | 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), | |
1667 | }, .2, false) | |
1668 | 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) | |
1669 | end | |
1670 | coroutine.wrap(function() | |
1671 | wait(2) | |
1672 | partasdeff:Remove() | |
1673 | end)() | |
1674 | else | |
1675 | grab.Humanoid.PlatformStand = false | |
1676 | for i = 0, 3, 0.1 do | |
1677 | swait() | |
1678 | PlayAnimationFromTable({ | |
1679 | 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), | |
1680 | 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), | |
1681 | 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), | |
1682 | 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), | |
1683 | 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), | |
1684 | 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), | |
1685 | }, .1, false) | |
1686 | 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) | |
1687 | end | |
1688 | sel = math.random(1,3) | |
1689 | if sel == 1 then | |
1690 | chatfunc("Why Should I Even Try...") | |
1691 | elseif sel == 2 then | |
1692 | chatfunc("I Cant Kill My Creator...") | |
1693 | elseif sel == 3 then | |
1694 | chatfunc("I Need To Stop Trying...") | |
1695 | end | |
1696 | for i = 0, 5, 0.1 do | |
1697 | swait() | |
1698 | PlayAnimationFromTable({ | |
1699 | 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), | |
1700 | 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), | |
1701 | 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), | |
1702 | 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), | |
1703 | 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), | |
1704 | 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), | |
1705 | }, .3, false) | |
1706 | 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) | |
1707 | end | |
1708 | end | |
1709 | end | |
1710 | --GGyro.Parent = nil | |
1711 | attack = false | |
1712 | Grabbed = false | |
1713 | Humanoid.WalkSpeed = 50 | |
1714 | ||
1715 | end | |
1716 | function moarblood() | |
1717 | attack = true | |
1718 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521656", Character, 1, .8) | |
1719 | RootPart.CFrame = targetted.Torso.CFrame * CFrame.new(0,0,4) | |
1720 | local k = New("Part",LeftArm,"k",{BrickColor = BrickColor.new("Institutional white"),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),}) | |
1721 | 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),}) | |
1722 | wait(.5) | |
1723 | for i = 0, 1.2, 0.1 do | |
1724 | swait() | |
1725 | PlayAnimationFromTable({ | |
1726 | 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), | |
1727 | 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), | |
1728 | 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), | |
1729 | 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), | |
1730 | 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), | |
1731 | 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), | |
1732 | }, .2, false) | |
1733 | 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) | |
1734 | end | |
1735 | if targetted.Name ~= "TheNeonKaratedKid" then | |
1736 | local grab = nil | |
1737 | for i, v in pairs(FindNearestTorso(Torso.CFrame.p, 7)) do | |
1738 | if v:FindFirstChild('Head') then | |
1739 | Grabbed = true | |
1740 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=260430060", v.Head, 1, .8) | |
1741 | grab = v | |
1742 | end | |
1743 | end | |
1744 | Humanoid.WalkSpeed = 0 | |
1745 | for i = 0, 2, 0.1 do | |
1746 | swait() | |
1747 | if Grabbed == true then | |
1748 | grab.Humanoid.PlatformStand = true | |
1749 | --GGyro.position = Partss.Position | |
1750 | --GGyro.Parent = grab.Head | |
1751 | grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
1752 | end | |
1753 | PlayAnimationFromTable({ | |
1754 | 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), | |
1755 | 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), | |
1756 | 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), | |
1757 | 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), | |
1758 | 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), | |
1759 | 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), | |
1760 | }, .25, false) | |
1761 | 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) | |
1762 | end | |
1763 | if Grabbed == true then | |
1764 | sel = math.random(1,3) | |
1765 | if sel == 1 then | |
1766 | chatfunc("i wont use my Stoptime.") | |
1767 | elseif sel == 2 then | |
1768 | chatfunc("HINJAKU HINJAKU!!!") | |
1769 | elseif sel == 3 then | |
1770 | chatfunc("HINJAKU HINJAKU!!") | |
1771 | end | |
1772 | local partasdeff = Instance.new("ParticleEmitter",targetted.Head) | |
1773 | partasdeff.Color = ColorSequence.new(Color3.new(255, 255, 255), Color3.new(255, 255, 255)) | |
1774 | partasdeff.LightEmission = .1 | |
1775 | partasdeff.Size = NumberSequence.new(0.2) | |
1776 | partasdeff.Texture = "http://www.roblox.com/asset/?ID=1033897753" | |
1777 | aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) | |
1778 | bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) | |
1779 | partasdeff.Transparency = bbb | |
1780 | partasdeff.Size = aaa | |
1781 | partasdeff.ZOffset = .9 | |
1782 | partasdeff.Acceleration = Vector3.new(0, -5, 0) | |
1783 | partasdeff.LockedToPart = false | |
1784 | partasdeff.EmissionDirection = "Back" | |
1785 | partasdeff.Lifetime = NumberRange.new(1, 2) | |
1786 | partasdeff.Rate = 10000 | |
1787 | partasdeff.Rotation = NumberRange.new(-100, 100) | |
1788 | partasdeff.RotSpeed = NumberRange.new(-100, 100) | |
1789 | partasdeff.Speed = NumberRange.new(6) | |
1790 | partasdeff.VelocitySpread = 100000 | |
1791 | partasdeff.Enabled=false | |
1792 | for i = 0, 3, 0.1 do | |
1793 | swait() | |
1794 | if Grabbed == true then | |
1795 | grab.Humanoid.PlatformStand = true | |
1796 | --GGyro.position = Partss.Position | |
1797 | --GGyro.Parent = grab.Head | |
1798 | grab.Head.CFrame = k.CFrame * CFrame.Angles(0,math.rad(-90),0) | |
1799 | end | |
1800 | PlayAnimationFromTable({ | |
1801 | 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), | |
1802 | 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), | |
1803 | 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), | |
1804 | 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), | |
1805 | 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), | |
1806 | 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), | |
1807 | }, .1, false) | |
1808 | 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) | |
1809 | end | |
1810 | partasdeff.Enabled=true | |
1811 | grab.Torso.Transparency = 1 | |
1812 | dmg(grab) | |
1813 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082273", grab.Head, .8, .8) | |
1814 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=206082327", grab.Head, 1, .7) | |
1815 | ||
1816 | coroutine.wrap(function() | |
1817 | wait(.4) | |
1818 | partasdeff.Enabled=false | |
1819 | end)() | |
1820 | for i = 0, 3.5, 0.1 do | |
1821 | swait() | |
1822 | PlayAnimationFromTable({ | |
1823 | 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), | |
1824 | 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), | |
1825 | 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), | |
1826 | 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), | |
1827 | 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), | |
1828 | 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), | |
1829 | }, .3, false) | |
1830 | 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) | |
1831 | end | |
1832 | end | |
1833 | else | |
1834 | Humanoid.WalkSpeed = 0 | |
1835 | for i = 0, 3, 0.1 do | |
1836 | swait() | |
1837 | PlayAnimationFromTable({ | |
1838 | 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), | |
1839 | 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), | |
1840 | 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), | |
1841 | 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), | |
1842 | 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), | |
1843 | 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), | |
1844 | }, .2, false) | |
1845 | 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) | |
1846 | end | |
1847 | sel = math.random(1,3) | |
1848 | if sel == 1 then | |
1849 | chatfunc("OOOOOOOOOHHHHHHH...") | |
1850 | elseif sel == 2 then | |
1851 | chatfunc("Whhhyyyy...") | |
1852 | elseif sel == 3 then | |
1853 | chatfunc("Ahhhh...") | |
1854 | end | |
1855 | for i = 0, 5, 0.1 do | |
1856 | swait() | |
1857 | PlayAnimationFromTable({ | |
1858 | 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), | |
1859 | 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), | |
1860 | 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), | |
1861 | 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), | |
1862 | 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), | |
1863 | 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), | |
1864 | }, .3, false) | |
1865 | 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) | |
1866 | end | |
1867 | end | |
1868 | attack = false | |
1869 | Grabbed = false | |
1870 | k:Remove() | |
1871 | Humanoid.WalkSpeed = 50 | |
1872 | end | |
1873 | ||
1874 | function painlessrain() | |
1875 | attack = true | |
1876 | Humanoid.WalkSpeed = 0 | |
1877 | 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,}) | |
1878 | ||
1879 | coroutine.wrap(function() | |
1880 | for i = 0, 4 do | |
1881 | wait(.2) | |
1882 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=199145095", RootPart, 1, 1.3) | |
1883 | end | |
1884 | end)() | |
1885 | for i = 0, 4, 0.1 do | |
1886 | swait() | |
1887 | PlayAnimationFromTable({ | |
1888 | 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), | |
1889 | 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), | |
1890 | 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), | |
1891 | 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), | |
1892 | 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), | |
1893 | 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), | |
1894 | }, .07, false) | |
1895 | 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) | |
1896 | end | |
1897 | for i = 0, 1.5, 0.1 do | |
1898 | swait() | |
1899 | PlayAnimationFromTable({ | |
1900 | 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), | |
1901 | 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), | |
1902 | 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), | |
1903 | 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), | |
1904 | 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), | |
1905 | 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), | |
1906 | }, .2, false) | |
1907 | 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) | |
1908 | end | |
1909 | for i = 0, 3 do | |
1910 | Effects.Block.Create(BrickColor.new("Institutional white"), Partss.CFrame, 2, 2, 2, 0.9, 0.9, 0.9, 0.05) | |
1911 | Effects.Block.Create(BrickColor.new("Institutional white"), Partss.CFrame, 2, 2, 2, 0.5, 0.5, 0.5, 0.05) | |
1912 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=136523485", Character, 1, .5) | |
1913 | for i = 0, .5, 0.1 do | |
1914 | swait() | |
1915 | PlayAnimationFromTable({ | |
1916 | 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), | |
1917 | 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), | |
1918 | 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), | |
1919 | 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), | |
1920 | 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), | |
1921 | 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), | |
1922 | }, .3, false) | |
1923 | 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) | |
1924 | end | |
1925 | for i = 0, .5, 0.1 do | |
1926 | swait() | |
1927 | PlayAnimationFromTable({ | |
1928 | 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), | |
1929 | 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), | |
1930 | 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), | |
1931 | 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), | |
1932 | 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), | |
1933 | 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), | |
1934 | }, .3, false) | |
1935 | 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) | |
1936 | end | |
1937 | end | |
1938 | attack = false | |
1939 | Humanoid.WalkSpeed = 50 | |
1940 | wait(.4) | |
1941 | for i = 0, 8 do | |
1942 | wait(.2) | |
1943 | mdmg(ref1, 3) | |
1944 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=192410089", Character, 1.5, .7) | |
1945 | ref1.Position = Mouse.hit.p | |
1946 | ref1.CFrame = ref1.CFrame * CFrame.new(math.random(-.5,.5),0,math.random(-.5,.5)) | |
1947 | Effects.Cylinder.Create(BrickColor.new("Institutional white"), ref1.CFrame, .5, 9999, .5, 0.5, 0, 0.5, 0.07) | |
1948 | end | |
1949 | ref1:Remove() | |
1950 | end | |
1951 | ||
1952 | function TargetSelect(person) | |
1953 | local dd=coroutine.wrap(function() | |
1954 | if targetted ~= person then | |
1955 | targetted = person | |
1956 | img2.Size = UDim2.new(1,0,1,0) | |
1957 | img2.ImageTransparency = 0 | |
1958 | img2.Position = UDim2.new(0,0,0,0) | |
1959 | for i = 0, 2, 0.1 do | |
1960 | swait() | |
1961 | img2.Size = img2.Size + UDim2.new(.05,0,.05,0) | |
1962 | img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0) | |
1963 | img2.ImageTransparency = img2.ImageTransparency + 0.05 | |
1964 | end | |
1965 | end | |
1966 | end) | |
1967 | dd() | |
1968 | end | |
1969 | ||
1970 | function LockOn() | |
1971 | if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then | |
1972 | TargetSelect(Mouse.Target.Parent) | |
1973 | CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, .8) | |
1974 | end | |
1975 | end | |
1976 | ||
1977 | ||
1978 | function ofmoosic() -- 2 lazi hoh | |
1979 | delays = true | |
1980 | while wait() and kkk and kkk.Volume >= 0.02 do | |
1981 | kkk.Volume = kkk.Volume - 0.05 | |
1982 | end | |
1983 | wait(0.1) | |
1984 | kkk.Pitch = 0 | |
1985 | kkk.PlaybackSpeed = 0 | |
1986 | play = false | |
1987 | delays = false | |
1988 | end | |
1989 | function onmoosic() | |
1990 | delays = true | |
1991 | kkk.Pitch = .6 | |
1992 | kkk.PlaybackSpeed = .6 | |
1993 | while wait() and kkk and kkk.Volume <= 1.5 do | |
1994 | kkk.Volume = kkk.Volume + 0.05 | |
1995 | end | |
1996 | wait(0.1) | |
1997 | play = true | |
1998 | delays = false | |
1999 | end | |
2000 | Mouse.Button1Down:connect(function() | |
2001 | if attack == false and targetted ~= nil then | |
2002 | attackone() | |
2003 | end | |
2004 | end) | |
2005 | ||
2006 | Mouse.KeyDown:connect(function(k) | |
2007 | k = k:lower() | |
2008 | if attack == false and k == 'q' then | |
2009 | LockOn() | |
2010 | end | |
2011 | if k == 'z' and attack == false then | |
2012 | hedshoot() | |
2013 | elseif k == 'x' and attack == false and targetted ~= nil then | |
2014 | moarblood() | |
2015 | elseif k == 'c' and attack == false then | |
2016 | painlessrain() | |
2017 | elseif k == 'g' then | |
2018 | delays = true | |
2019 | chatfunc("You Know") | |
2020 | wait(1) | |
2021 | chatfunc("That") | |
2022 | wait(1) | |
2023 | chatfunc("I'm") | |
2024 | wait(1) | |
2025 | chatfunc("Not") | |
2026 | wait(2) | |
2027 | chatfunc("A Human?") | |
2028 | wait(1) | |
2029 | chatfunc("...") | |
2030 | delays = false | |
2031 | elseif k == 'm' and play == true and delays == false then | |
2032 | ofmoosic() | |
2033 | elseif k == 'm' and play == false and delays == false then | |
2034 | onmoosic() | |
2035 | end | |
2036 | end) | |
2037 | ||
2038 | kkk = Instance.new("Sound",Character) | |
2039 | kkk.Volume = 10.5 | |
2040 | kkk.PlaybackSpeed = 1 | |
2041 | kkk.Pitch = 1.8 | |
2042 | kkk.SoundId = "rbxassetid://465539504" | |
2043 | kkk:Play() | |
2044 | kkk.Name = "a" | |
2045 | kkk.Looped = true | |
2046 | ||
2047 | ||
2048 | coroutine.wrap(function() | |
2049 | while true do | |
2050 | swait() | |
2051 | for i, v in pairs(Character.WeaponModel:GetChildren()) do | |
2052 | if v:IsA("Part") then | |
2053 | v.Anchored = false | |
2054 | end | |
2055 | end | |
2056 | for i, v in pairs(Character:GetChildren()) do | |
2057 | if v:IsA("Part") then | |
2058 | v.Anchored = false | |
2059 | elseif v:IsA("Accessory") then | |
2060 | v.Handle.Anchored = false | |
2061 | end | |
2062 | end | |
2063 | end | |
2064 | end)() | |
2065 | coroutine.wrap(function() | |
2066 | while 1 do | |
2067 | swait() | |
2068 | if doe <= 360 then | |
2069 | doe = doe + 2 | |
2070 | else | |
2071 | doe = 0 | |
2072 | end | |
2073 | end | |
2074 | end)() | |
2075 | while true do | |
2076 | swait() | |
2077 | for i, v in pairs(Character:GetChildren()) do | |
2078 | if v:IsA("Part") then | |
2079 | v.Material = "SmoothPlastic" | |
2080 | elseif v:IsA("Accessory") then | |
2081 | v:WaitForChild("Handle").Material = "SmoothPlastic" | |
2082 | end | |
2083 | end | |
2084 | while true do | |
2085 | swait() | |
2086 | Character.Humanoid.MaxHealth = math.huge | |
2087 | Character.Humanoid.Health = math.huge | |
2088 | imgl.Rotation = imgl.Rotation + 3 | |
2089 | img2.Rotation = img2.Rotation + 3 | |
2090 | if targetted ~= nil then | |
2091 | abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso") | |
2092 | abss.Enabled = true | |
2093 | elseif targetted == nil then | |
2094 | abss.Adornee = nil | |
2095 | abss.Enabled = false | |
2096 | end | |
2097 | ||
2098 | while true and imgl.Rotation >= 360 do | |
2099 | imgl.Rotation = 0 | |
2100 | img2.Rotation = 0 | |
2101 | end | |
2102 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
2103 | velocity = RootPart.Velocity.y | |
2104 | sine = sine + change | |
2105 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character) | |
2106 | if RootPart.Velocity.y > 1 and hit == nil then | |
2107 | Anim = "Jump" | |
2108 | if attack == false then | |
2109 | PlayAnimationFromTable({ | |
2110 | 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), | |
2111 | 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), | |
2112 | 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), | |
2113 | 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), | |
2114 | 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), | |
2115 | 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), | |
2116 | }, .3, false) | |
2117 | 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) | |
2118 | end | |
2119 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
2120 | Anim = "Fall" | |
2121 | if attack == false then | |
2122 | PlayAnimationFromTable({ | |
2123 | 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), | |
2124 | 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), | |
2125 | 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), | |
2126 | 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), | |
2127 | 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), | |
2128 | 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), | |
2129 | }, .3, false) | |
2130 | 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) | |
2131 | end | |
2132 | elseif Torsovelocity < 1 and hit ~= nil then | |
2133 | Anim = "Idle" | |
2134 | if attack == false then | |
2135 | change = 1 | |
2136 | PlayAnimationFromTable({ | |
2137 | 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), | |
2138 | 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), | |
2139 | 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)), | |
2140 | 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)), | |
2141 | 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), | |
2142 | 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), | |
2143 | }, .3, false) | |
2144 | 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) | |
2145 | end | |
2146 | elseif Torsovelocity > 2 and hit ~= nil then | |
2147 | Anim = "Walk" | |
2148 | if attack == false then | |
2149 | PlayAnimationFromTable({ | |
2150 | 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), | |
2151 | 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), | |
2152 | 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), | |
2153 | 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), | |
2154 | 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), | |
2155 | 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), | |
2156 | }, .3, false) | |
2157 | 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) | |
2158 | end | |
2159 | end | |
2160 | if 0 < #Effects then | |
2161 | for e = 1, #Effects do | |
2162 | if Effects[e] ~= nil then | |
2163 | local Thing = Effects[e] | |
2164 | if Thing ~= nil then | |
2165 | local Part = Thing[1] | |
2166 | local Mode = Thing[2] | |
2167 | local Delay = Thing[3] | |
2168 | local IncX = Thing[4] | |
2169 | local IncY = Thing[5] | |
2170 | local IncZ = Thing[6] | |
2171 | if Thing[2] == "Shoot" then | |
2172 | local Look = Thing[1] | |
2173 | local move = 30 | |
2174 | if Thing[8] == 3 then | |
2175 | move = 10 | |
2176 | end | |
2177 | local hit, pos = rayCast(Thing[4], Thing[1], move, m) | |
2178 | if Thing[10] ~= nil then | |
2179 | da = pos | |
2180 | cf2 = CFrame.new(Thing[4], Thing[10].Position) | |
2181 | cfa = CFrame.new(Thing[4], pos) | |
2182 | tehCF = cfa:lerp(cf2, 0.2) | |
2183 | Thing[1] = tehCF.lookVector | |
2184 | end | |
2185 | local mag = (Thing[4] - pos).magnitude | |
2186 | 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) | |
2187 | if Thing[8] == 2 then | |
2188 | 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) | |
2189 | end | |
2190 | Thing[4] = Thing[4] + Look * move | |
2191 | Thing[3] = Thing[3] - 1 | |
2192 | if 2 < Thing[5] then | |
2193 | Thing[5] = Thing[5] - 0.3 | |
2194 | Thing[6] = Thing[6] - 0.3 | |
2195 | end | |
2196 | if hit ~= nil then | |
2197 | Thing[3] = 0 | |
2198 | if Thing[8] == 1 or Thing[8] == 3 then | |
2199 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2200 | else | |
2201 | if Thing[8] == 2 then | |
2202 | Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1) | |
2203 | if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then | |
2204 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Hot pink"), "Reference", Vector3.new()) | |
2205 | ref.Anchored = true | |
2206 | ref.CFrame = CFrame.new(pos) | |
2207 | CFuncs["Sound"].Create("161006093", ref, 1, 1.2) | |
2208 | game:GetService("Debris"):AddItem(ref, 0.2) | |
2209 | 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) | |
2210 | Effects["Ring"].Create(BrickColor.new("Hot pink"), 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) | |
2211 | MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1) | |
2212 | end | |
2213 | end | |
2214 | end | |
2215 | ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Hot pink"), "Reference", Vector3.new()) | |
2216 | ref.Anchored = true | |
2217 | ref.CFrame = CFrame.new(pos) | |
2218 | Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07) | |
2219 | game:GetService("Debris"):AddItem(ref, 1) | |
2220 | end | |
2221 | if Thing[3] <= 0 then | |
2222 | table.remove(Effects, e) | |
2223 | end | |
2224 | end | |
2225 | do | |
2226 | do | |
2227 | if Thing[2] == "FireWave" then | |
2228 | if Thing[3] <= Thing[4] then | |
2229 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0) | |
2230 | Thing[3] = Thing[3] + 1 | |
2231 | Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5]) | |
2232 | else | |
2233 | Part.Parent = nil | |
2234 | table.remove(Effects, e) | |
2235 | end | |
2236 | end | |
2237 | if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then | |
2238 | if Thing[1].Transparency <= 1 then | |
2239 | if Thing[2] == "Block1" then | |
2240 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2241 | Mesh = Thing[7] | |
2242 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2243 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2244 | else | |
2245 | if Thing[2] == "Block2" then | |
2246 | Thing[1].CFrame = Thing[1].CFrame | |
2247 | Mesh = Thing[7] | |
2248 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2249 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2250 | else | |
2251 | if Thing[2] == "Fire" then | |
2252 | Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0) | |
2253 | Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) | |
2254 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2255 | else | |
2256 | if Thing[2] == "Cylinder" then | |
2257 | Mesh = Thing[7] | |
2258 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2259 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2260 | else | |
2261 | if Thing[2] == "Blood" then | |
2262 | Mesh = Thing[7] | |
2263 | Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0) | |
2264 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) | |
2265 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2266 | else | |
2267 | if Thing[2] == "Elec" then | |
2268 | Mesh = Thing[10] | |
2269 | Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) | |
2270 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2271 | else | |
2272 | if Thing[2] == "Disappear" then | |
2273 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2274 | else | |
2275 | if Thing[2] == "Shatter" then | |
2276 | Thing[1].Transparency = Thing[1].Transparency + Thing[3] | |
2277 | Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) | |
2278 | Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) | |
2279 | Thing[6] = Thing[6] + Thing[5] | |
2280 | end | |
2281 | end | |
2282 | end | |
2283 | end | |
2284 | end | |
2285 | end | |
2286 | end | |
2287 | end | |
2288 | else | |
2289 | Part.Parent = nil | |
2290 | table.remove(Effects, e) | |
2291 | end | |
2292 | end | |
2293 | end | |
2294 | end | |
2295 | end | |
2296 | end | |
2297 | end | |
2298 | end | |
2299 | end | |
2300 | end |