SHOW:
|
|
- or go back to the newest paste.
1 | - | class Person |
1 | + | paly = game.Players.LocalPlayer |
2 | Player = game:GetService("Players").LocalPlayer | |
3 | - | def initialize( name, height, dna_code, wife = nil ) |
3 | + | p = game.Players.LocalPlayer |
4 | - | @name, @height, @dna_code, @wife = name, height, dna_code, wife |
4 | + | char = paly.Character |
5 | vt = Vector3.new | |
6 | rarm = char["Right Arm"] | |
7 | - | def height |
7 | + | hed = char.Head |
8 | - | @name + " is " + @height + " tall." |
8 | + | larm = char["Left Arm"] |
9 | rleg = char["Right Leg"] | |
10 | lleg = char["Left Leg"] | |
11 | - | def married? |
11 | + | local maincolor = BrickColor.random() |
12 | - | !@wife.nil? |
12 | + | local effolemode = false |
13 | local wrathmode = false | |
14 | local noobmode = false | |
15 | - | def wife |
15 | + | local randomname = "???" |
16 | - | married? ? @wife : 'none' |
16 | + | local randomnamefem = "???" |
17 | local randomchanger = 6 | |
18 | if paly.Name == "NoobyGames12" then | |
19 | randomchanger = 6 | |
20 | end | |
21 | - | p = Person.new( 'Jason King', '188cm', 'sdfasdfadfdfs...', 'Sinéad' ) |
21 | + | if randomchanger == 6 then |
22 | - | puts p.wife |
22 | + | randomnamefem = "Yuki" |
23 | effolemode = true | |
24 | - | p2 = Person.new( 'Ruben Ascencio', 'not quite 188cm', 'sdfdfddsassdd' ) |
24 | + | maincolor = BrickColor.new("Really black") |
25 | - | puts p2.wife |
25 | + | |
26 | local torsmesh = Instance.new("CharacterMesh", char) | |
27 | torsmesh.BodyPart = "Torso" | |
28 | torsmesh.MeshId = "48112070" | |
29 | local dec2 = Instance.new("Decal", char) | |
30 | dec2.Face = "Front" | |
31 | dec2.Texture = "rbxassetid://381091841" | |
32 | dec2.Parent = char.Head | |
33 | char.Head.face.Transparency = 1 | |
34 | char.Head.face.Texture = "http://www.roblox.com/asset/?id=0" | |
35 | ||
36 | for i,v in pairs(char:children()) do | |
37 | if v:IsA("Hat") then | |
38 | v:Destroy() | |
39 | end | |
40 | end | |
41 | for i,v in pairs(char:children()) do | |
42 | if v:IsA("Accessory") then | |
43 | v:Destroy() | |
44 | end | |
45 | end | |
46 | for i,v in pairs(char:children()) do | |
47 | if v:IsA("Hair") then | |
48 | v:Destroy() | |
49 | end | |
50 | end | |
51 | for i,v in pairs(char:children()) do | |
52 | if v:IsA("Shirt") then | |
53 | v:Destroy() | |
54 | end | |
55 | end | |
56 | for i,v in pairs(char:children()) do | |
57 | if v:IsA("Pants") then | |
58 | v:Destroy() | |
59 | end | |
60 | end | |
61 | ||
62 | local eye12 = Instance.new("Part") | |
63 | eye12.Parent = char | |
64 | eye12.Size = Vector3.new(0.2, 0.2, 0.2) | |
65 | eye12.Archivable = true | |
66 | eye12.Transparency = 0 | |
67 | eye12.Shape = "Ball" | |
68 | eye12.BrickColor = maincolor | |
69 | eye12.Material = "Neon" | |
70 | eye12.CanCollide = false | |
71 | local mesh2 = Instance.new("SpecialMesh",eye12) | |
72 | mesh2.MeshType = "Sphere" | |
73 | mesh2.Scale = Vector3.new(0.75, 1, 1) | |
74 | local weld1en2 = Instance.new("Weld") | |
75 | weld1en2.Parent = hed | |
76 | weld1en2.Part0 = hed | |
77 | weld1en2.Part1 = eye12 | |
78 | weld1en2.C1 = CFrame.new(0.115, -0.19, 0.5475) | |
79 | local eye1 = Instance.new("Part") | |
80 | eye1.Parent = char | |
81 | eye1.Size = Vector3.new(0.2, 0.2, 0.2) | |
82 | eye1.Archivable = true | |
83 | eye1.Transparency = 0 | |
84 | eye1.Shape = "Ball" | |
85 | eye1.BrickColor = maincolor | |
86 | eye1.Material = "Neon" | |
87 | eye1.CanCollide = false | |
88 | local mesh = Instance.new("SpecialMesh",eye1) | |
89 | mesh.MeshType = "Sphere" | |
90 | mesh.Scale = Vector3.new(0.75, 1, 1) | |
91 | local weld1en = Instance.new("Weld") | |
92 | weld1en.Parent = hed | |
93 | weld1en.Part0 = hed | |
94 | weld1en.Part1 = eye1 | |
95 | weld1en.C1 = CFrame.new(-0.115, -0.19, 0.5475) | |
96 | ||
97 | local BC = char["Body Colors"] | |
98 | BC.HeadColor = BrickColor.new("White") | |
99 | BC.LeftArmColor = BrickColor.new("White") | |
100 | BC.LeftLegColor = BrickColor.new("White") | |
101 | BC.RightArmColor = BrickColor.new("White") | |
102 | BC.RightLegColor = BrickColor.new("White") | |
103 | BC.TorsoColor = BrickColor.new("White") | |
104 | ||
105 | ypcall(function() | |
106 | shirt = Instance.new("Shirt", char) | |
107 | shirt.Name = "Shirt" | |
108 | pants = Instance.new("Pants", char) | |
109 | pants.Name = "Pants" | |
110 | char.Shirt.ShirtTemplate = "rbxassetid://211752973" | |
111 | char.Pants.PantsTemplate = "rbxassetid://179059579" | |
112 | end) | |
113 | Reaper2 = Instance.new("Model") | |
114 | Reaper2.Parent = Player.Character | |
115 | Reaper2.Name = "Reaper2" | |
116 | rh2 = Instance.new("Part") | |
117 | rh2.Parent = Reaper2 | |
118 | rh2.BrickColor = maincolor | |
119 | rh2.Locked = true | |
120 | rh2.CanCollide = false | |
121 | mesh2 = Instance.new("SpecialMesh") | |
122 | rh2.formFactor = "Symmetric" | |
123 | mesh2.MeshType = "FileMesh" | |
124 | mesh2.MeshId = "http://www.roblox.com/asset/?id=167554431" | |
125 | mesh2.Parent = rh2 | |
126 | local weld2 = Instance.new("Weld") | |
127 | weld2.Parent = rh2 | |
128 | rh2.Transparency = 0 | |
129 | weld2.Part0 = rh2 | |
130 | weld2.Part1 = Player.Character.Head | |
131 | weld2.C0 = CFrame.new(-0.05, -0.05, -0.1025)*CFrame.Angles(0, 0, 0) | |
132 | ||
133 | Reaper3 = Instance.new("Model") | |
134 | Reaper3.Parent = Player.Character | |
135 | Reaper3.Name = "Reaper3" | |
136 | rh3 = Instance.new("Part") | |
137 | rh3.Parent = Reaper3 | |
138 | rh3.BrickColor = BrickColor.new("Really black") | |
139 | rh3.Locked = true | |
140 | rh3.CanCollide = false | |
141 | mesh3 = Instance.new("SpecialMesh") | |
142 | rh3.formFactor = "Symmetric" | |
143 | mesh3.MeshType = "FileMesh" | |
144 | mesh3.MeshId = "http://www.roblox.com/asset/?id=101176852" | |
145 | mesh3.Parent = rh3 | |
146 | local weld3 = Instance.new("Weld") | |
147 | weld3.Parent = rh3 | |
148 | rh3.Transparency = 0 | |
149 | weld3.Part0 = rh3 | |
150 | weld3.Part1 = Player.Character.Head | |
151 | weld3.C0 = CFrame.new(0, -1.23, 0)*CFrame.Angles(0, 0, 0) | |
152 | ||
153 | local orbe = Instance.new("Part") | |
154 | orbe.Parent = char | |
155 | orbe.Size = Vector3.new(0.2, 0.2, 0.2) | |
156 | orbe.Archivable = true | |
157 | orbe.Transparency = 1 | |
158 | orbe.BrickColor = maincolor | |
159 | orbe.Material = "Neon" | |
160 | orbe.CanCollide = false | |
161 | local weld1e = Instance.new("Weld") | |
162 | weld1e.Parent = rleg | |
163 | weld1e.Part0 = rleg | |
164 | weld1e.Part1 = orbe | |
165 | weld1e.C1 = CFrame.new(0, 1.125, 0) | |
166 | local pt1e = NumberSequenceKeypoint.new(0,0.85,0) | |
167 | local pt2e = NumberSequenceKeypoint.new(1,0,0) | |
168 | local effectoe = Instance.new("ParticleEmitter",orbe) | |
169 | effectoe.LightEmission = 1 | |
170 | effectoe.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
171 | effectoe.Color = ColorSequence.new(maincolor.Color) | |
172 | effectoe.Rate = 10000 | |
173 | effectoe.Lifetime = NumberRange.new(1) | |
174 | effectoe.Size = NumberSequence.new({pt1e,pt2e}) | |
175 | effectoe.Speed = NumberRange.new(0,0) | |
176 | effectoe.RotSpeed = NumberRange.new(100,100) | |
177 | ||
178 | local orbze = Instance.new("Part") | |
179 | orbze.Parent = char | |
180 | orbze.Size = Vector3.new(0.2, 0.2, 0.2) | |
181 | orbze.Archivable = true | |
182 | orbze.Transparency = 1 | |
183 | orbze.BrickColor = maincolor | |
184 | orbze.Material = "Neon" | |
185 | orbze.CanCollide = false | |
186 | local weldz1 = Instance.new("Weld") | |
187 | weldz1.Parent = lleg | |
188 | weldz1.Part0 = lleg | |
189 | weldz1.Part1 = orbze | |
190 | weldz1.C1 = CFrame.new(0, 1.125, 0) | |
191 | local effectone = Instance.new("ParticleEmitter",orbze) | |
192 | effectone.LightEmission = 1 | |
193 | effectone.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
194 | effectone.Color = ColorSequence.new(maincolor.Color) | |
195 | effectone.Rate = 10000 | |
196 | effectone.Lifetime = NumberRange.new(1) | |
197 | effectone.Size = NumberSequence.new({pt1e,pt2e}) | |
198 | effectone.Speed = NumberRange.new(0,0) | |
199 | effectone.RotSpeed = NumberRange.new(100,100) | |
200 | end | |
201 | ||
202 | if effolemode == true then | |
203 | maincolor = BrickColor.new("Royal purple") | |
204 | end | |
205 | ||
206 | local orb = Instance.new("Part") | |
207 | orb.Parent = char | |
208 | orb.Size = Vector3.new(1, 1, 1) | |
209 | orb.Archivable = true | |
210 | orb.Transparency = 1 | |
211 | orb.BrickColor = BrickColor.new("Bright orange") | |
212 | orb.Material = "Wood" | |
213 | orb.CanCollide = false | |
214 | local weld1 = Instance.new("Weld") | |
215 | weld1.Parent = rarm | |
216 | weld1.Part0 = rarm | |
217 | weld1.Part1 = orb | |
218 | weld1.C1 = CFrame.new(0, 1.125, 0) | |
219 | local pt1 = NumberSequenceKeypoint.new(0,0.475,0) | |
220 | local pt2 = NumberSequenceKeypoint.new(1,0,0) | |
221 | local effecto = Instance.new("ParticleEmitter",orb) | |
222 | effecto.LightEmission = 1 | |
223 | effecto.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
224 | effecto.Color = ColorSequence.new(maincolor.Color) | |
225 | effecto.Rate = 10000 | |
226 | effecto.Lifetime = NumberRange.new(1) | |
227 | effecto.Size = NumberSequence.new({pt1,pt2}) | |
228 | effecto.Speed = NumberRange.new(0,0) | |
229 | effecto.RotSpeed = NumberRange.new(100,100) | |
230 | ||
231 | local orbz = Instance.new("Part") | |
232 | orbz.Parent = char | |
233 | orbz.Size = Vector3.new(1, 1, 1) | |
234 | orbz.Archivable = true | |
235 | orbz.Transparency = 1 | |
236 | orbz.BrickColor = BrickColor.new("Bright orange") | |
237 | orbz.Material = "Wood" | |
238 | orbz.CanCollide = false | |
239 | local weldz1 = Instance.new("Weld") | |
240 | weldz1.Parent = larm | |
241 | weldz1.Part0 = larm | |
242 | weldz1.Part1 = orbz | |
243 | weldz1.C1 = CFrame.new(0, 1.125, 0) | |
244 | local effecton = Instance.new("ParticleEmitter",orbz) | |
245 | effecton.LightEmission = 1 | |
246 | effecton.Texture = "rbxasset://textures/particles/smoke_main.dds" | |
247 | effecton.Color = ColorSequence.new(maincolor.Color) | |
248 | effecton.Rate = 10000 | |
249 | effecton.Lifetime = NumberRange.new(1) | |
250 | effecton.Size = NumberSequence.new({pt1,pt2}) | |
251 | effecton.Speed = NumberRange.new(0,0) | |
252 | effecton.RotSpeed = NumberRange.new(100,100) | |
253 | ||
254 | ||
255 | p = game.Players.LocalPlayer | |
256 | char = p.Character | |
257 | torso = char.Torso | |
258 | neck = char.Torso.Neck | |
259 | hum = char.Humanoid | |
260 | hum.MaxHealth = 99999999 | |
261 | wait() | |
262 | hum.Health =hum.MaxHealth | |
263 | ||
264 | CV="Hot pink" | |
265 | ||
266 | local txt = Instance.new("BillboardGui", char) | |
267 | txt.Adornee = char .Head | |
268 | txt.Name = "_status" | |
269 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
270 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
271 | local text = Instance.new("TextLabel", txt) | |
272 | text.Size = UDim2.new(10, 0, 7, 0) | |
273 | text.FontSize = "Size24" | |
274 | text.TextScaled = true | |
275 | text.TextTransparency = 0 | |
276 | text.BackgroundTransparency = 1 | |
277 | text.TextTransparency = 0 | |
278 | text.TextStrokeTransparency = 0 | |
279 | text.Font = "SciFi" | |
280 | text.TextStrokeColor3 = Color3.new(0,0,0) | |
281 | ||
282 | v=Instance.new("Part") | |
283 | v.Name = "ColorBrick" | |
284 | v.Parent=p.Character | |
285 | v.FormFactor="Symmetric" | |
286 | v.Anchored=true | |
287 | v.CanCollide=false | |
288 | v.BottomSurface="Smooth" | |
289 | v.TopSurface="Smooth" | |
290 | v.Size=Vector3.new(10,5,3) | |
291 | v.Transparency=1 | |
292 | v.CFrame=char.Torso.CFrame | |
293 | v.BrickColor=BrickColor.new(CV) | |
294 | v.Transparency=1 | |
295 | text.TextColor3 = BrickColor.new("Really black").Color | |
296 | v.Shape="Block" | |
297 | text.Text = "Yuki" | |
298 | ||
299 | ||
300 | euler = CFrame.fromEulerAnglesXYZ | |
301 | angles = CFrame.Angles | |
302 | local player = "LocalPlayer" | |
303 | local Character = game.Players[player].Character | |
304 | it = Instance.new | |
305 | vt = Vector3.new | |
306 | bc = BrickColor.new | |
307 | cf = CFrame.new | |
308 | mr = math.rad | |
309 | local Weapon = {} | |
310 | local p = game.Players.LocalPlayer | |
311 | local char = p.Character | |
312 | local mouse = p:GetMouse() | |
313 | local larm = char["Left Arm"] | |
314 | local rarm = char["Right Arm"] | |
315 | local lleg = char["Left Leg"] | |
316 | local rleg = char["Right Leg"] | |
317 | local hed = char.Head | |
318 | local torso = char.Torso | |
319 | local hum = char.Humanoid | |
320 | local cam = game.Workspace.CurrentCamera | |
321 | local root = char.HumanoidRootPart | |
322 | local deb = false | |
323 | local shot = 0 | |
324 | ||
325 | local debris=game:service"Debris" | |
326 | local l = game:GetService("Lighting") | |
327 | local rs = game:GetService("RunService").RenderStepped | |
328 | ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1} | |
329 | math.randomseed(os.time()) | |
330 | for i,v in pairs (hed:GetChildren()) do | |
331 | if v:IsA("Sound") then | |
332 | v:Destroy() | |
333 | end | |
334 | end | |
335 | ---------------------------------------------------- BeastClaw | |
336 | NoOutline = function(Part) | |
337 | Part.TopSurface = 10 | |
338 | end | |
339 | part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size) | |
340 | local fp = it("Part") | |
341 | fp.formFactor = formfactor | |
342 | fp.Parent = parent | |
343 | fp.Reflectance = reflectance | |
344 | fp.Transparency = transparency | |
345 | fp.CanCollide = false | |
346 | fp.Locked = true | |
347 | fp.BrickColor = brickcolor | |
348 | fp.Name = name | |
349 | fp.Size = size | |
350 | NoOutline(fp) | |
351 | fp.Material = "Neon" | |
352 | fp:BreakJoints() | |
353 | return fp | |
354 | end | |
355 | mesh = function(Mesh, part, meshtype, meshid, offset, scale) | |
356 | local mesh = it(Mesh) | |
357 | mesh.Parent = part | |
358 | if Mesh == "SpecialMesh" then | |
359 | mesh.MeshType = meshtype | |
360 | if meshid ~= "nil" then | |
361 | mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid | |
362 | end | |
363 | end | |
364 | mesh.Offset = offset | |
365 | mesh.Scale = scale | |
366 | return mesh | |
367 | end | |
368 | weld = function(parent, part0, part1, c0) | |
369 | local weld = it("Motor6D") | |
370 | weld.Parent = parent | |
371 | weld.Part0 = part0 | |
372 | weld.Part1 = part1 | |
373 | weld.C0 = c0 | |
374 | return weld | |
375 | end | |
376 | gui = function(GuiType, parent, text, backtrans, backcol, pos, size, image) | |
377 | local gui = it(GuiType) | |
378 | gui.Parent = parent | |
379 | gui.BackgroundTransparency = backtrans | |
380 | gui.BackgroundColor3 = backcol | |
381 | gui.SizeConstraint = "RelativeXY" | |
382 | gui.Position = pos | |
383 | gui.Size = size | |
384 | if GuiType == "TextLabel" then | |
385 | gui.Text = text | |
386 | gui.TextXAlignment = "Center" | |
387 | gui.TextYAlignment = "Center" | |
388 | gui.Font = "SourceSans" | |
389 | gui.FontSize = "Size14" | |
390 | gui.TextWrapped = false | |
391 | gui.TextStrokeTransparency = 0 | |
392 | gui.TextColor = TorsoColor | |
393 | else | |
394 | if GuiType == "ImageLabel" then | |
395 | gui.Image = "rbxassetid://" .. image | |
396 | gui.ImageColor3 = backcol | |
397 | end | |
398 | end | |
399 | return gui | |
400 | end | |
401 | local handle = nil | |
402 | AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef) | |
403 | prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt()) | |
404 | prt.Material = neon | |
405 | msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1)) | |
406 | wld = weld(handle, prt, wldpar, ceef) | |
407 | v = it("NumberValue", prt) | |
408 | v.Value = trans | |
409 | v.Name = "MainTransparency" | |
410 | return prt, msh, wld | |
411 | end | |
412 | AesthPartHand = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef, wldpare) | |
413 | prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt()) | |
414 | prt.Material = neon | |
415 | msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1)) | |
416 | wld = weld(wldpare, prt, wldpar, ceef) | |
417 | v = it("NumberValue", prt) | |
418 | v.Value = trans | |
419 | v.Name = "MainTransparency" | |
420 | return prt, msh, wld | |
421 | end | |
422 | local modelzorzez = Instance.new("Model") | |
423 | modelzorzez.Parent = workspace.CurrentCamera | |
424 | modelzorzez.Name = "none" | |
425 | local Torso = Character.Torso | |
426 | local LeftArm = Character["Left Arm"] | |
427 | local RightArm = Character["Right Arm"] | |
428 | local LeftLeg = Character["Left Leg"] | |
429 | local RightLeg = Character["Right Leg"] | |
430 | local Head = Character.Head | |
431 | local RootPart = Character.HumanoidRootPart | |
432 | handle = part(3, modelzorzez, 0, 1, BrickColor.new("Really black"), "Handle", vt()) | |
433 | local handlewld = weld(handle, handle, Torso, euler(0, 0, -0.8) * cf(0, 0, -0.7)) | |
434 | ||
435 | -- SAHHHH DUUDEEE | |
436 | ||
437 | ||
438 | ||
439 | ||
440 | -- params : ... | |
441 | ||
442 | wait(0.016666666666667) | |
443 | script.Archivable = false | |
444 | Effects = {} | |
445 | local Player = game.Players.localPlayer | |
446 | local Character = Player.Character | |
447 | local Humanoid = Character.Humanoid | |
448 | local mouse = Player:GetMouse() | |
449 | local m = Instance.new("Model", Character) | |
450 | m.Name = "WeaponModel" | |
451 | local effect = Instance.new("Model", Character) | |
452 | effect.Name = "effecsfsafzx" | |
453 | local demon = Instance.new("Model", Character) | |
454 | demon.Name = "demdemd" | |
455 | local LeftArm = Character["Left Arm"] | |
456 | local RightArm = Character["Right Arm"] | |
457 | local LeftLeg = Character["Left Leg"] | |
458 | local RightLeg = Character["Right Leg"] | |
459 | local do2target = nil | |
460 | local Head = Character.Head | |
461 | local Torso = Character.Torso | |
462 | TorsoColor = BrickColor.new("Royal purple") | |
463 | z = Instance.new("Sound", Torso) | |
464 | z.SoundId = "rbxassetid://0" -- Put Music ID Here. | |
465 | z.Looped = true | |
466 | z.Pitch = 0 | |
467 | z.Volume = 0 | |
468 | wait(.1) | |
469 | z:Play() | |
470 | local cam = game.Workspace.CurrentCamera | |
471 | local RootPart = Character.HumanoidRootPart | |
472 | local RootJoint = RootPart.RootJoint | |
473 | local equipped = false | |
474 | local attack = false | |
475 | local Anim = "Idle" | |
476 | local idle = 0 | |
477 | local attacktype = 1 | |
478 | local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude | |
479 | local velocity = RootPart.Velocity.y | |
480 | local sine = 0 | |
481 | local change = 1 | |
482 | local mana = 0 | |
483 | local it = Instance.new | |
484 | vt = Vector3.new | |
485 | local grabbed = false | |
486 | local cf = CFrame.new | |
487 | local mr = math.rad | |
488 | local angles = CFrame.Angles | |
489 | local ud = UDim2.new | |
490 | local c3 = Color3.new | |
491 | clerp = function(a, b, t) | |
492 | ||
493 | return a:lerp(b, t) | |
494 | end | |
495 | ||
496 | local RbxUtility = LoadLibrary("RbxUtility") | |
497 | local Create = RbxUtility.Create | |
498 | RemoveOutlines = function(part) | |
499 | ||
500 | part.TopSurface = 10 | |
501 | end | |
502 | ||
503 | CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) | |
504 | ||
505 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material}) | |
506 | RemoveOutlines(Part) | |
507 | return Part | |
508 | end | |
509 | ||
510 | CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) | |
511 | ||
512 | local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale}) | |
513 | if Mesh == "SpecialMesh" then | |
514 | Msh.MeshType = MeshType | |
515 | Msh.MeshId = MeshId | |
516 | end | |
517 | return Msh | |
518 | end | |
519 | ||
520 | local co1 = 3 | |
521 | local co2 = 10 | |
522 | local co3 = 15 | |
523 | local co4 = 30 | |
524 | local cooldown1 = 0 | |
525 | local cooldown2 = 0 | |
526 | local cooldown3 = 0 | |
527 | local cooldown4 = 0 | |
528 | local maxEnergy = 100 | |
529 | local Energy = 0 | |
530 | local skill1stam = 1000 | |
531 | local skill2stam = 1000 | |
532 | local skill3stam = 1000 | |
533 | local skill4stam = 1000 | |
534 | local recovermana = 5 | |
535 | local skillcolorscheme = BrickColor.new("White").Color | |
536 | local scrn = Instance.new("ScreenGui", Player.PlayerGui) | |
537 | makeframe = function(par, trans, pos, size, color) | |
538 | ||
539 | local frame = Instance.new("Frame", par) | |
540 | frame.BackgroundTransparency = trans | |
541 | frame.BorderSizePixel = 0 | |
542 | frame.Position = pos | |
543 | frame.Size = size | |
544 | frame.BackgroundColor3 = color | |
545 | return frame | |
546 | end | |
547 | ||
548 | makelabel = function(par, text) | |
549 | ||
550 | local label = Instance.new("TextLabel", par) | |
551 | label.BackgroundTransparency = 1 | |
552 | label.Size = UDim2.new(1, 0, 1, 0) | |
553 | label.Position = UDim2.new(0, 0, 0, 0) | |
554 | label.TextColor3 = Color3.new(255, 255, 255) | |
555 | label.TextStrokeTransparency = 0 | |
556 | label.FontSize = Enum.FontSize.Size32 | |
557 | label.Font = Enum.Font.SourceSansLight | |
558 | label.BorderSizePixel = 0 | |
559 | label.TextScaled = true | |
560 | label.Text = text | |
561 | end | |
562 | ||
563 | ArtificialHB = Instance.new("BindableEvent", script) | |
564 | ArtificialHB.Name = "Heartbeat" | |
565 | script:WaitForChild("Heartbeat") | |
566 | frame = 0.033333333333333 | |
567 | tf = 0 | |
568 | allowframeloss = false | |
569 | tossremainder = false | |
570 | lastframe = tick() | |
571 | script.Heartbeat:Fire() | |
572 | game:GetService("RunService").Heartbeat:connect(function(s, p) | |
573 | ||
574 | tf = tf + s | |
575 | if frame <= tf then | |
576 | if allowframeloss then | |
577 | script.Heartbeat:Fire() | |
578 | lastframe = tick() | |
579 | else | |
580 | for i = 1, math.floor(tf / frame) do | |
581 | script.Heartbeat:Fire() | |
582 | end | |
583 | lastframe = tick() | |
584 | end | |
585 | if tossremainder then | |
586 | tf = 0 | |
587 | else | |
588 | tf = tf - frame * math.floor(tf / frame) | |
589 | end | |
590 | end | |
591 | end | |
592 | ) | |
593 | swait = function(num) | |
594 | ||
595 | if num == 0 or num == nil then | |
596 | ArtificialHB.Event:wait() | |
597 | else | |
598 | for i = 0, num do | |
599 | ArtificialHB.Event:wait() | |
600 | end | |
601 | end | |
602 | end | |
603 | ||
604 | CreateWeld = function(Parent, Part0, Part1, C0, C1) | |
605 | ||
606 | local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1}) | |
607 | return Weld | |
608 | end | |
609 | ||
610 | rayCast = function(Position, Direction, Range, Ignore) | |
611 | ||
612 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) | |
613 | end | |
614 | ||
615 | CreateSound = function(id, par, vol, pit) | |
616 | ||
617 | coroutine.resume(coroutine.create(function() | |
618 | ||
619 | local sou = Instance.new("Sound", par or workspace) | |
620 | sou.Volume = vol | |
621 | sou.Pitch = pit or 1 | |
622 | sou.SoundId = id | |
623 | swait() | |
624 | sou:play() | |
625 | game:GetService("Debris"):AddItem(sou, 6) | |
626 | end | |
627 | )) | |
628 | end | |
629 | ||
630 | local getclosest = function(obj, distance) | |
631 | ||
632 | local last, lastx = distance + 1, nil | |
633 | for i,v in pairs(workspace:GetChildren()) do | |
634 | if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then | |
635 | local t = v.Torso | |
636 | local dist = t.Position - obj.Position.magnitude | |
637 | if dist <= distance and dist < last then | |
638 | last = dist | |
639 | lastx = v | |
640 | end | |
641 | end | |
642 | end | |
643 | return lastx | |
644 | end | |
645 | ||
646 | CreatePart2 = function(Parent, Material, Reflectance, Transparency, PartType, BColor, Name, Size) | |
647 | ||
648 | if PartType == "Part" then | |
649 | local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material}) | |
650 | RemoveOutlines(Part) | |
651 | return Part | |
652 | else | |
653 | do | |
654 | if PartType == "WedgePart" then | |
655 | local Part = Create("WedgePart")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material}) | |
656 | RemoveOutlines(Part) | |
657 | return Part | |
658 | end | |
659 | end | |
660 | end | |
661 | end | |
662 | ||
663 | Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Dirt brown", "Handle", Vector3.new(1, 2, 1)) | |
664 | HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
665 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
666 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142869996, -0.598956585, -0.401195407, 0, 0, 1, 0.25881803, -0.965926111, 0, 0.965926111, 0.25881803, 0)) | |
667 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.150000006)) | |
668 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
669 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.858075142, -0.276378155, -0.49209857, 0.353552133, -0.866025269, 0.353555113, 0.707108736, -9.03335206e-07, -0.707104981, 0.612371027, 0.500000358, 0.61237365)) | |
670 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.100000001)) | |
671 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
672 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142959999, -0.79026103, -0.577523232, 0, 0, 1, 0.0581610166, -0.998307228, 0, 0.998307228, 0.0581610166, 0)) | |
673 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.400000006, 1, 0.100000001)) | |
674 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
675 | ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.857914209, 0.258751988, -0.512362957, 0.353553236, -0.866025567, -0.353553236, -0.707106471, 3.09715034e-07, -0.707107246, 0.612372994, 0.499999791, -0.6123721)) | |
676 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.100000001)) | |
677 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
678 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.508293927, 0.581420183, 0.355297565, -1, 0, 0, 0, -0.694275975, -0.719708979, 0, -0.719708979, 0.694275975)) | |
679 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1)) | |
680 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
681 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, -0.605236769, -0.322324991, 1, 0, 0, 0, 0.719708979, -0.694275975, 0, 0.694275975, 0.719708979)) | |
682 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1)) | |
683 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003)) | |
684 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, 0.0117408261, -0.729162693, 1, 0, 0, 0, -0.0252030101, -0.999682367, 0, 0.999682367, -0.0252030101)) | |
685 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.208000004, 0.47299999, 0.47299999)) | |
686 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
687 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.123879015, -0.278857708, -0.00617899979, 0.965925336, -0.2588211, 0, 0.2588211, 0.965925336, 0, 0, 0, 1)) | |
688 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.821169853, 0.388499111, 1.00999999)) | |
689 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.445813209, 0.210449979, 1.04200566)) | |
690 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.223450184, 0.0305250883, -0.00618699985, -0.25881803, 0.965926111, 0, -0.965926111, -0.25881803, 0, 0, 0, 1)) | |
691 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999)) | |
692 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
693 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.407537222, 0.0663063526, -0.00618699985, 0.707106352, -0.707107365, 0, 0.707107365, 0.707106352, 0, 0, 0, 1)) | |
694 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.821169853, 0.388499111, 1.00999999)) | |
695 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.664211631, 0.210449979, 1.04200566)) | |
696 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0544009209, 0.0101571083, -0.00617499975, 0.499998987, 0.866025984, 0, -0.866025984, 0.499998987, 0, 0, 0, 1)) | |
697 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999)) | |
698 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
699 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.212381959, -0.663311005, -0.00618499983, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
700 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.730365157, 0.388499111, 1.00999999)) | |
701 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
702 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0184851885, 0.339620829, -0.0061809998, 0.715359032, -0.698757052, 0, 0.698757052, 0.715359032, 0, 0, 0, 1)) | |
703 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.834142029, 0.388499111, 1.00999999)) | |
704 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.627083898, 0.210449979, 1.04200566)) | |
705 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.280005217, -0.363016367, -0.00617299974, 0.707106352, 0.707107365, 0, -0.707107365, 0.707106352, 0, 0, 0, 1)) | |
706 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999)) | |
707 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.329999983)) | |
708 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, 0.00543988496, -0.414242506, 1, 0, 0, 0, -0.0252030101, -0.999682367, 0, 0.999682367, -0.0252030101)) | |
709 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1)) | |
710 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", TorsoColor, "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
711 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.453824013, -0.291407824, -0.00616900017, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
712 | CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.83414197, 0.388499111, 1.00999999)) | |
713 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
714 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51018995, -0.50767684, 0.297928989, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
715 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445)) | |
716 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.796189725)) | |
717 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0117785633, -0.903934956, 0.39272213, 0.707106352, 0, 0.707107365, 0, 1, 0, -0.707107365, 0, 0.707106352)) | |
718 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
719 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
720 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51076597, -0.677359819, -0.295575023, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
721 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445)) | |
722 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.524428368)) | |
723 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0118038058, 0.689624906, 0.570050001, 0.707103848, 0, 0.707109809, -0.707109809, 0, 0.707103848, 0, -1, 0)) | |
724 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
725 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
726 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.510767996, -0.508222818, -0.295575023, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
727 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445)) | |
728 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 1.06329954)) | |
729 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.285520971, -0.664801836, -0.00591700012, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
730 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.311503083, 0.543544471, 1)) | |
731 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.728394926, 0.35408181, 1.04200566)) | |
732 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.159419954, -0.695495844, -0.00616900017, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
733 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
734 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.796342552, 0.65287286, 1.04582763)) | |
735 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.144507021, 0.270431995, -0.00702500017, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
736 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
737 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 1.04200566)) | |
738 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0228680372, -0.903097868, -0.00617699977, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
739 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
740 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
741 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51076597, -0.157143831, -0.295579016, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
742 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445)) | |
743 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.475480139, 0.404664904, 1.04200566)) | |
744 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.236273766, -0.56151557, -0.0061809998, 0.707106352, 0.707107365, 0, -0.707107365, 0.707106352, 0, 0, 0, 1)) | |
745 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
746 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.796189725)) | |
747 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000811070204, -0.902295828, 0.381639034, -0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, -0.707106829)) | |
748 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
749 | Part = CreatePart2(m, Enum.Material.Neon, 0, 0, "Part", "Really black", "Part", Vector3.new(1, 1, 1)) | |
750 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142869996, -0.618730307, -0.382281303, 0, 0, 1, 0.36670509, -0.93033725, 0, 0.93033725, 0.36670509, 0)) | |
751 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.709999979, 0.100000001)) | |
752 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.524428368)) | |
753 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000812500715, 0.678554535, 0.570062876, -0.707106829, 0, 0.707106829, -0.707106829, 0, -0.707106829, 0, -1, 0)) | |
754 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1)) | |
755 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.274916351, 0.495625556, 1.04582763)) | |
756 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.386464, 0.349603176, -0.00702300016, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
757 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
758 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 1.06329954)) | |
759 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.285515964, -0.215442896, -0.00591900013, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
760 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.311503083, 0.543544471, 1)) | |
761 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
762 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51019901, -0.156597853, 0.297930986, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
763 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445)) | |
764 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(1.06224263, 1.11860847, 1.04200566)) | |
765 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00774800777, 0.0171630383, -0.0061809998, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
766 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) | |
767 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
768 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.510194004, -0.67681098, 0.297922999, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
769 | CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445)) | |
770 | ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "WedgePart", TorsoColor, "ClawMaterial", Vector3.new(1.0507766, 0.342107773, 0.210450009)) | |
771 | ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00591100007, -0.468749046, 0.193565369, 0, 0, 1, -0.700001419, -0.714141428, 0, 0.714141428, -0.700001419, 0)) | |
772 | CreateMesh("SpecialMesh", ClawMaterial, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.961421788)) | |
773 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
774 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00134065747, 0.207813978, 0.709334135, 0.707106829, 0, -0.707106829, 0, -1, 0, -0.707106829, 0, -0.707106829)) | |
775 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 0.961421788)) | |
776 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
777 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00947299972, -0.114370823, -0.440932035, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
778 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.561885834, 0.961421788)) | |
779 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.411995441, 0.210450009)) | |
780 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00891099963, -0.798730135, 0.476718009, 0, 0, 1, 0, -1, 0, 1, 0, 0)) | |
781 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.644903481)) | |
782 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.04586256, 0.210449979, 0.27767837)) | |
783 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00726700015, 0.0232260227, 0.391721964, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
784 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.764251173, 1)) | |
785 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.385787576, 0.210450009)) | |
786 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00509499991, -0.792718172, 0.456955969, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
787 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.644903481)) | |
788 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
789 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00509600015, -0.696686029, 0.42363596, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
790 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.961427808, 0.961421788)) | |
791 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009)) | |
792 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012203753, 0.206679821, 0.707822442, -0.707106352, 0, -0.707107365, 0, -1, 0, -0.707107365, 0, 0.707106352)) | |
793 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 0.961421788)) | |
794 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009)) | |
795 | PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00947900023, -0.695355177, 0.440928012, 0, 0, 1, 0, -1, 0, 1, 0, 0)) | |
796 | CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.961427808, 0.961421788)) | |
797 | MotorOne = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 1, TorsoColor, "MotorOne", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
798 | MotorOneWeld = CreateWeld(m, Handle, MotorOne, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.165818453, -0.00628910959, -0.978227913, -0.0732169896, -0.996971905, -0.0261989962, -0.542171299, 0.0618378855, -0.83798945, 0.837072074, -0.0471507274, -0.545057178)) | |
799 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
800 | ShardWeld = CreateWeld(m, MotorOne, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413149118, -0.00709122419, -1.08955288, 0.90752846, 5.51342964e-07, -0.419990718, -1.73971057e-06, 1, -2.44379044e-06, 0.419990718, 2.95042992e-06, 0.90752852)) | |
801 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.20000005, 0.200000003, 0.200000003)) | |
802 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
803 | ShardWeld = CreateWeld(m, MotorOne, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.205875158, -0.00710588694, -1.48987699, 0.747897685, -5.36441803e-07, -0.663814127, -1.66893005e-06, 1, -2.68220901e-06, 0.663814127, 3.12924385e-06, 0.747897744)) | |
804 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
805 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.319999993)) | |
806 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151987076, 0.549069643, -0.614215612, -1.19581819e-06, 1, 1.37090683e-06, -0.999459982, -1.24052167e-06, 0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
807 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 2.73999977, 0.339999974)) | |
808 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151856542, -0.490994453, -0.295432806, -1.19581819e-06, 1, 1.37090683e-06, -0.961226821, -7.5250864e-07, -0.27575928, -0.27575931, -1.57952309e-06, 0.96122694)) | |
809 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.479999989)) | |
810 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.015198648, 0.650615692, -0.406500697, -1.19581819e-06, 1, 1.37090683e-06, -0.978774786, -8.94069672e-07, -0.204939544, -0.204939514, -1.51991844e-06, 0.978774667)) | |
811 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.339999974)) | |
812 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0152282119, 0.624634504, 0.129744053, -1.19581819e-06, 1, 1.37090683e-06, -0.832109034, -2.5331974e-07, -0.554612279, -0.554612339, -1.78813934e-06, 0.832108974)) | |
813 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.480000019)) | |
814 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0152042508, 0.944105864, 0.894237399, 1.19581819e-06, -1, -1.37090683e-06, -0.999459982, -1.24052167e-06, 0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
815 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
816 | ClawWeld = CreateWeld(m, MotorOne, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.86121058, -0.0170745254, -0.650540829, 1.00000012, 0, 3.7252903e-09, 0, 1, 0, 3.7252903e-09, 0, 1.00000024)) | |
817 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2.5, 0.300000012, 0.519999981)) | |
818 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
819 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151966214, -1.64906764, 1.03426063, -1.19581819e-06, 1, 1.37090683e-06, 0.999459982, 1.24052167e-06, -0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
820 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
821 | PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0252064466, -1.54980397, -0.844281435, 1.19581819e-06, -1, -1.37090683e-06, 0.999459982, 1.24052167e-06, -0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
822 | MotorTwo = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 1, TorsoColor, "MotorTwo", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
823 | MotorTwoWeld = CreateWeld(m, Handle, MotorTwo, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0479729176, -0.503670454, -0.786706924, 0.0261989962, -0.996971905, -0.0732169896, 0.83798945, 0.0618378855, -0.542171299, 0.545057178, -0.0471507274, 0.837072074)) | |
824 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
825 | ShardWeld = CreateWeld(m, MotorTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413152218, -0.00709152222, -1.08955348, 0.90752846, 5.66244125e-07, -0.419990689, -1.74157321e-06, 1, -2.47359276e-06, 0.419990718, 2.98023224e-06, 0.907528639)) | |
826 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.20000005, 0.200000003, 0.200000003)) | |
827 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
828 | ShardWeld = CreateWeld(m, MotorTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.20587635, -0.00710582733, -1.4898783, 0.747897685, -5.36441803e-07, -0.663814127, -1.6707927e-06, 1, -2.68220901e-06, 0.663814127, 3.12924385e-06, 0.747897804)) | |
829 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
830 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.319999993)) | |
831 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151982307, 0.549069643, -0.614216566, -1.19395554e-06, 1, 1.37090683e-06, -0.999459982, -1.24005601e-06, 0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
832 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 2.73999977, 0.339999974)) | |
833 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151848793, -0.490990877, -0.295432806, -1.19395554e-06, 1, 1.37090683e-06, -0.961226821, -7.74860382e-07, -0.27575931, -0.27575925, -1.63912773e-06, 0.961226881)) | |
834 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.479999989)) | |
835 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151979923, 0.650617838, -0.406501412, -1.19395554e-06, 1, 1.37090683e-06, -0.978774786, -8.94069672e-07, -0.204939544, -0.204939514, -1.51991844e-06, 0.978774667)) | |
836 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.339999974)) | |
837 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0152257681, 0.624636889, 0.129745722, -1.19395554e-06, 1, 1.37090683e-06, -0.832109034, -2.38418579e-07, -0.554612279, -0.554612339, -1.78813934e-06, 0.832108974)) | |
838 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.480000019)) | |
839 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.015203476, 0.944107533, 0.894238472, 1.19395554e-06, -1, -1.37090683e-06, -0.999459982, -1.24005601e-06, 0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
840 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
841 | ClawWeld = CreateWeld(m, MotorTwo, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.86121142, -0.0170750618, -0.650540113, 1.00000012, -1.86264515e-09, 4.65661287e-09, -1.86264515e-09, 1, 0, 4.65661287e-09, 0, 1.00000024)) | |
842 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2.5, 0.300000012, 0.519999981)) | |
843 | CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
844 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151972771, -1.64906967, 1.03426158, -1.19395554e-06, 1, 1.37090683e-06, 0.999459982, 1.24005601e-06, -0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982)) | |
845 | CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
846 | PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0252062082, -1.54980803, -0.844281912, 1.19395554e-06, -1, -1.37090683e-06, 0.999459982, 1.24005601e-06, -0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982)) | |
847 | MotorThumb = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 0, TorsoColor, "MotorThumb", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
848 | MotorThumbWeld = CreateWeld(m, Handle, MotorThumb, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.436262846, -0.542311668, -0.983556807, -0.068211019, -0.995336354, 0.0682120249, -0.707106829, -7.08211871e-07, -0.707106709, 0.703809023, -0.0964656472, -0.703809083)) | |
849 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
850 | ClawWeld = CreateWeld(m, MotorThumb, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.607737899, 0.0110911727, 0.0515184402, 0.925057888, -4.47034836e-08, 0.379826128, -5.96046448e-08, 0.99999994, 2.68220901e-07, -0.379826188, -2.98023224e-07, 0.925057888)) | |
851 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2, 0.300000012, 0.370000005)) | |
852 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
853 | ShardWeld = CreateWeld(m, MotorThumb, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.414689064, 0.0210665464, 0.175723732, 0.990283549, 1.41561031e-06, -0.13906303, -1.4193356e-06, 0.99999994, 1.49011612e-07, 0.13906303, 8.94069672e-08, 0.990283489)) | |
854 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
855 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
856 | ShardWeld = CreateWeld(m, MotorThumb, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.222025633, 0.0210601687, -0.0396541655, 0.908135235, 2.08616257e-06, -0.418677092, -1.47148967e-06, 1.00000012, 1.75833702e-06, 0.418677121, -9.23871994e-07, 0.908135176)) | |
857 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
858 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
859 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129690766, -0.393394113, 0.191975117, -7.11530447e-07, 1, 2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097559, 0.258097589, 2.08616257e-07, -0.966118932)) | |
860 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.200000003)) | |
861 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129775405, -0.706632137, 0.168079853, -7.11530447e-07, 1, 2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097559, -0.258097589, -2.08616257e-07, 0.966118932)) | |
862 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
863 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00299531221, -0.294105291, -0.00194394588, 7.11530447e-07, -1, -2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097559, -0.258097589, -2.08616257e-07, 0.966118932)) | |
864 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.390000015)) | |
865 | PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012973249, -0.311598301, 0.0969114304, 7.11530447e-07, -1, -2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097559, 0.258097589, 2.08616257e-07, -0.966118932)) | |
866 | MotorThumbTwo = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 0, TorsoColor, "MotorThumbTwo", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
867 | MotorThumbTwoWeld = CreateWeld(m, Handle, MotorThumbTwo, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.444597721, 0.423756033, -0.897562623, -0.0682120249, -0.995336354, -0.068211019, 0.707106709, -7.08211871e-07, -0.707106829, 0.703809083, -0.0964656621, 0.703809023)) | |
868 | Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Claw", Vector3.new(1, 1, 1)) | |
869 | ClawWeld = CreateWeld(m, MotorThumbTwo, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.607738018, 0.0110911727, 0.0515185595, 0.925057888, -4.47034836e-08, 0.379826128, -5.96046448e-08, 0.99999994, 2.68220901e-07, -0.379826188, -2.98023224e-07, 0.925057888)) | |
870 | CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2, 0.300000012, 0.370000005)) | |
871 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
872 | ShardWeld = CreateWeld(m, MotorThumbTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.414689064, 0.0210665464, 0.175723612, 0.990283549, 1.42306089e-06, -0.139062777, -1.4193356e-06, 0.99999994, 1.49011612e-07, 0.139062807, 1.1920929e-07, 0.990283608)) | |
873 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
874 | Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", TorsoColor, "Shard", Vector3.new(1, 1, 1)) | |
875 | ShardWeld = CreateWeld(m, MotorThumbTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.222025394, 0.0210601091, -0.0396541059, 0.908135235, 2.08616257e-06, -0.418677092, -1.72480941e-06, 1, 1.16229057e-06, 0.418677121, -3.57627869e-07, 0.908135176)) | |
876 | CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003)) | |
877 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003)) | |
878 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.012969017, -0.393394232, 0.191974878, -7.11530447e-07, 1, 2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097589, 0.258097559, 1.78813934e-07, -0.966118813)) | |
879 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.200000003)) | |
880 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129775107, -0.706632137, 0.168079972, -7.11530447e-07, 1, 2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097589, -0.258097559, -1.78813934e-07, 0.966118813)) | |
881 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003)) | |
882 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00299596786, -0.29410553, -0.00194442272, 7.11530447e-07, -1, -2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097589, -0.258097559, -1.78813934e-07, 0.966118813)) | |
883 | Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.390000015)) | |
884 | PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012973249, -0.311598063, 0.0969111919, 7.11530447e-07, -1, -2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097589, 0.258097559, 1.78813934e-07, -0.966118813)) | |
885 | MagniHit = CreatePart(m, Enum.Material.Neon, 0, 1, "Really black", "MagniHit", Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
886 | MagniHitWeld = CreateWeld(m, Character.HumanoidRootPart, MagniHit, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.01003361, -0.230025291, 0.070048213, 0, 0, -1, 0, 1, 0, 1, 0, 0)) | |
887 | local CBlade = {} | |
888 | local CBladeWelds = {} | |
889 | for _,c in pairs(m:children()) do | |
890 | if c.className == "Part" then | |
891 | table.insert(CBlade, R67_PC6072) | |
892 | end | |
893 | end | |
894 | for _,c in pairs(m:children()) do | |
895 | if c.className == "Weld" then | |
896 | table.insert(CBladeWelds, R67_PC6072) | |
897 | print(R66_PC6093) | |
898 | end | |
899 | end | |
900 | -- NIGH-OMNI FATAL ERROR at PC6105: Re-wrote register: R67 in 'AssignReg' | |
901 | ||
902 | -- NIGH-OMNI FATAL ERROR at PC6106: Re-wrote register: R67 in 'AssignReg' | |
903 | ||
904 | --Hit = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", R66_PC6093, R67_PC6072(5, 0.200000003, 5)) | |
905 | -- NIGH-OMNI FATAL ERROR at PC6120: Re-wrote register: R66 in 'AssignReg' | |
906 | ||
907 | -- NIGH-OMNI FATAL ERROR at PC6134: Re-wrote register: R66 in 'AssignReg' | |
908 | ||
909 | HitWeld = CreateWeld(demon, Character.HumanoidRootPart, Hit, CFrame.new(0, R66_PC6093, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(R66_PC6093, -3.50004387, 0.0299530029, 0, 1, 0, 0, 0, -1, -1, 0, 0)) | |
910 | CreateMesh("SpecialMesh", Hit, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(3, 4, 3)) | |
911 | FakeMotor = CreatePart(demon, Enum.Material.Neon, 0, 1, "Really black", "FakeMotor", Vector3.new(2.01999998, 0.2016, 2.36000013)) | |
912 | FakeMotorWeld = CreateWeld(demon, Hit, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0199999809, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
913 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
914 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -5.06998634, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
915 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(2.5, 10, 2.5)) | |
916 | Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019)) | |
917 | PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -7.1599884, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1)) | |
918 | CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(1, 10, 1)) | |
919 | TornadoHat = CreatePart(demon, Enum.Material.Neon, 0.20000000298023, 0.5, "Really black", "TornadoHat", Vector3.new(3, 0.400000006, 3)) | |
920 | TornadoHatWeld = CreateWeld(demon, FakeMotor, TornadoHat, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00997924805, -1.65001106, -0.0699994564, 0, 0, -1, 0, -1, 0, -1, 0, 0)) | |
921 | CreateMesh("SpecialMesh", TornadoHat, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1051557", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5)) | |
922 | local DBlade = {} | |
923 | local DBladeWelds = {} | |
924 | for _,c in pairs(demon:children()) do | |
925 | if c.className == "Part" then | |
926 | table.insert(DBlade, c) | |
927 | end | |
928 | end | |
929 | for _,c in pairs(demon:children()) do | |
930 | if c.className == "Weld" then | |
931 | table.insert(DBladeWelds, c) | |
932 | print(c) | |
933 | end | |
934 | end | |
935 | demon.Parent = nil | |
936 | ||
937 | paly = game.Players.LocalPlayer | |
938 | char = paly.Character | |
939 | torso = char.Torso | |
940 | neck = char.Torso.Neck | |
941 | hum = char.Humanoid | |
942 | Player = game:GetService("Players").LocalPlayer | |
943 | local mouse = Player:GetMouse() | |
944 | Character = Player.Character | |
945 | tors = Character.Torso | |
946 | lleg = Character["Left Leg"] | |
947 | root = Character.HumanoidRootPart | |
948 | hed = Character.Head | |
949 | rleg = Character["Right Leg"] | |
950 | rarm = Character["Right Arm"] | |
951 | larm = Character["Left Arm"] | |
952 | local Effects = {} | |
953 | attack = false | |
954 | vt = Vector3.new | |
955 | bc = BrickColor.new | |
956 | br = BrickColor.random | |
957 | it = Instance.new | |
958 | cf = CFrame.new | |
959 | euler = CFrame.fromEulerAnglesXYZ | |
960 | angles = CFrame.Angles | |
961 | matr = math.random | |
962 | local basiccooldown = math.huge | |
963 | local ultcooldown = math.huge | |
964 | local secondcooldown = math.huge | |
965 | local thirdcooldown = math.huge | |
966 | ||
967 | local boll = Instance.new("Part",game.Lighting) | |
968 | boll.Transparency = 0.5 | |
969 | boll.Material = "Neon" | |
970 | boll.BrickColor = tors.BrickColor | |
971 | boll.Anchored = true | |
972 | boll.Size = vt(1,1,1) | |
973 | boll.Shape = "Ball" | |
974 | boll.CanCollide = false | |
975 | ||
976 | local shur = Instance.new("Part",game.Lighting) | |
977 | shur.Transparency = 0 | |
978 | shur.Material = "Neon" | |
979 | shur.BrickColor = tors.BrickColor | |
980 | shur.Anchored = true | |
981 | shur.Size = vt(5,0.2,5) | |
982 | shur.CanCollide = false | |
983 | local Meshshur = Instance.new("CylinderMesh",shur) | |
984 | ||
985 | ||
986 | local boll = Instance.new("Part",game.Lighting) | |
987 | boll.Transparency = 0.5 | |
988 | boll.Material = "Neon" | |
989 | boll.BrickColor = bc("Bright red") | |
990 | boll.Anchored = true | |
991 | boll.Size = vt(1,1,1) | |
992 | boll.Shape = "Ball" | |
993 | boll.CanCollide = false | |
994 | ||
995 | local shur = Instance.new("Part",game.Lighting) | |
996 | shur.Transparency = 0 | |
997 | shur.Material = "Neon" | |
998 | shur.BrickColor = bc("Bright red") | |
999 | shur.Anchored = true | |
1000 | shur.Size = vt(5,0.2,5) | |
1001 | shur.CanCollide = false | |
1002 | local Meshshur = Instance.new("CylinderMesh",shur) | |
1003 | ||
1004 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
1005 | if hit.Parent==nil then | |
1006 | return | |
1007 | end | |
1008 | h=hit.Parent:FindFirstChild("Humanoid") | |
1009 | for _,v in pairs(hit.Parent:children()) do | |
1010 | if v:IsA("Humanoid") then | |
1011 | h=v | |
1012 | end | |
1013 | end | |
1014 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
1015 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
1016 | end | |
1017 | if hit.Parent.className=="Hat" then | |
1018 | hit=hit.Parent.Parent:findFirstChild("Head") | |
1019 | end | |
1020 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
1021 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
1022 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
1023 | return | |
1024 | end]] | |
1025 | -- hs(hit,1.2) | |
1026 | c=Instance.new("ObjectValue") | |
1027 | c.Name="creator" | |
1028 | c.Value=game:service("Players").LocalPlayer | |
1029 | c.Parent=h | |
1030 | game:GetService("Debris"):AddItem(c,.5) | |
1031 | Damage=math.random(minim,maxim) | |
1032 | -- h:TakeDamage(Damage) | |
1033 | blocked=false | |
1034 | block=hit.Parent:findFirstChild("Block") | |
1035 | if block~=nil then | |
1036 | print(block.className) | |
1037 | if block.className=="NumberValue" then | |
1038 | if block.Value>0 then | |
1039 | blocked=true | |
1040 | if decreaseblock==nil then | |
1041 | block.Value=block.Value-1 | |
1042 | end | |
1043 | end | |
1044 | end | |
1045 | if block.className=="IntValue" then | |
1046 | if block.Value>0 then | |
1047 | blocked=true | |
1048 | if decreaseblock~=nil then | |
1049 | block.Value=block.Value-1 | |
1050 | end | |
1051 | end | |
1052 | end | |
1053 | end | |
1054 | if blocked==false then | |
1055 | -- h:TakeDamage(Damage) | |
1056 | h.Health=h.Health-Damage | |
1057 | showDamage(hit.Parent,Damage,.5,TorsoColor) | |
1058 | else | |
1059 | h.Health=h.Health-(Damage/2) | |
1060 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) | |
1061 | end | |
1062 | if Type=="Knockdown" then | |
1063 | hum=hit.Parent.Humanoid | |
1064 | hum.PlatformStand=true | |
1065 | coroutine.resume(coroutine.create(function(HHumanoid) | |
1066 | swait(1) | |
1067 | HHumanoid.PlatformStand=false | |
1068 | end),hum) | |
1069 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
1070 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
1071 | local bodvol=Instance.new("BodyVelocity") | |
1072 | bodvol.velocity=angle*knockback | |
1073 | bodvol.P=5000 | |
1074 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
1075 | bodvol.Parent=hit | |
1076 | rl=Instance.new("BodyAngularVelocity") | |
1077 | rl.P=3000 | |
1078 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
1079 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
1080 | rl.Parent=hit | |
1081 | game:GetService("Debris"):AddItem(bodvol,.5) | |
1082 | game:GetService("Debris"):AddItem(rl,.5) | |
1083 | elseif Type=="Normal" then | |
1084 | vp=Instance.new("BodyVelocity") | |
1085 | vp.P=500 | |
1086 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
1087 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
1088 | if KnockbackType==1 then | |
1089 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
1090 | elseif KnockbackType==2 then | |
1091 | vp.velocity=Property.CFrame.lookVector*knockback | |
1092 | end | |
1093 | if knockback>0 then | |
1094 | vp.Parent=hit.Parent.Torso | |
1095 | end | |
1096 | game:GetService("Debris"):AddItem(vp,.5) | |
1097 | elseif Type=="Up" then | |
1098 | local bodyVelocity=Instance.new("BodyVelocity") | |
1099 | bodyVelocity.velocity=vt(0,10,0) | |
1100 | bodyVelocity.P=1000 | |
1101 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
1102 | bodyVelocity.Parent=hit | |
1103 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
1104 | rl=Instance.new("BodyAngularVelocity") | |
1105 | rl.P=3000 | |
1106 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
1107 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
1108 | rl.Parent=hit | |
1109 | game:GetService("Debris"):AddItem(rl,.5) | |
1110 | elseif Type=="Snare" then | |
1111 | bp=Instance.new("BodyPosition") | |
1112 | bp.P=2000 | |
1113 | bp.D=100 | |
1114 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1115 | bp.position=hit.Parent.Torso.Position | |
1116 | bp.Parent=hit.Parent.Torso | |
1117 | game:GetService("Debris"):AddItem(bp,1) | |
1118 | elseif Type=="Target" then | |
1119 | if Targetting==false then | |
1120 | ZTarget=hit.Parent.Torso | |
1121 | coroutine.resume(coroutine.create(function(Part) | |
1122 | swait(5) | |
1123 | end),ZTarget) | |
1124 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
1125 | targetgui=Instance.new("BillboardGui") | |
1126 | targetgui.Parent=ZTarget | |
1127 | targetgui.Size=UDim2.new(10,100,10,100) | |
1128 | targ=Instance.new("ImageLabel") | |
1129 | targ.Parent=targetgui | |
1130 | targ.BackgroundTransparency=1 | |
1131 | targ.Image="rbxassetid://4834067" | |
1132 | targ.Size=UDim2.new(1,0,1,0) | |
1133 | cam.CameraType="Scriptable" | |
1134 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1135 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1136 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1137 | Targetting=true | |
1138 | RocketTarget=ZTarget | |
1139 | for i=1,Property do | |
1140 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
1141 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
1142 | swait() | |
1143 | end | |
1144 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
1145 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
1146 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
1147 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
1148 | end | |
1149 | Targetting=false | |
1150 | RocketTarget=nil | |
1151 | targetgui.Parent=nil | |
1152 | cam.CameraType="Custom" | |
1153 | end | |
1154 | end | |
1155 | debounce=Instance.new("BoolValue") | |
1156 | debounce.Name="DebounceHit" | |
1157 | debounce.Parent=hit.Parent | |
1158 | debounce.Value=true | |
1159 | game:GetService("Debris"):AddItem(debounce,Delay) | |
1160 | c=Instance.new("ObjectValue") | |
1161 | c.Name="creator" | |
1162 | c.Value=Player | |
1163 | c.Parent=h | |
1164 | game:GetService("Debris"):AddItem(c,.5) | |
1165 | CRIT=false | |
1166 | hitDeb=true | |
1167 | AttackPos=6 | |
1168 | end | |
1169 | end | |
1170 | ||
1171 | showDamage=function(Char,Dealt,du,Color) | |
1172 | m=Instance.new("Model") | |
1173 | m.Name=tostring(Dealt) | |
1174 | h=Instance.new("Humanoid") | |
1175 | h.Health=0 | |
1176 | h.MaxHealth=0 | |
1177 | h.Parent=m | |
1178 | c=Instance.new("Part") | |
1179 | c.Transparency=0 | |
1180 | c.Material = "Neon" | |
1181 | c.BrickColor=bc("New Yeller") | |
1182 | c.Name="Head" | |
1183 | c.TopSurface=0 | |
1184 | c.BottomSurface=0 | |
1185 | local tick = Instance.new("Sound",c) | |
1186 | tick.SoundId = "rbxassetid://12221976" | |
1187 | tick.Volume = 5 | |
1188 | tick.Pitch = 4 | |
1189 | tick:Play() | |
1190 | c.formFactor="Plate" | |
1191 | c.Size=Vector3.new(1,.4,1) | |
1192 | ms=Instance.new("CylinderMesh") | |
1193 | ms.Scale=Vector3.new(.8,.8,.8) | |
1194 | if CRIT==true then | |
1195 | ms.Scale=Vector3.new(1,1.25,1) | |
1196 | end | |
1197 | ms.Parent=c | |
1198 | c.Reflectance=0 | |
1199 | Instance.new("BodyGyro").Parent=c | |
1200 | c.Parent=m | |
1201 | if Char:findFirstChild("Head")~=nil then | |
1202 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
1203 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
1204 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
1205 | end | |
1206 | f=Instance.new("BodyPosition") | |
1207 | f.P=2000 | |
1208 | f.D=100 | |
1209 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
1210 | f.position=c.Position+Vector3.new(0,3,0) | |
1211 | f.Parent=c | |
1212 | game:GetService("Debris"):AddItem(m,.5+du) | |
1213 | c.CanCollide=false | |
1214 | m.Parent=workspace | |
1215 | c.CanCollide=false | |
1216 | p:Destroy() | |
1217 | end | |
1218 | ||
1219 | function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type) | |
1220 | for _, c in pairs(workspace:children()) do | |
1221 | local hum = c:findFirstChild("Humanoid") | |
1222 | if hum ~= nil then | |
1223 | local head = c:findFirstChild("Torso") | |
1224 | if head ~= nil then | |
1225 | local targ = head.Position - Part.Position | |
1226 | local mag = targ.magnitude | |
1227 | if mag <= magni and c.Name ~= Player.Name then | |
1228 | Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3) | |
1229 | end | |
1230 | end | |
1231 | end | |
1232 | end | |
1233 | end | |
1234 | ||
1235 | function Explode(rad,par) | |
1236 | local expart = Instance.new("Part",script.Parent) | |
1237 | local expart2 = Instance.new("Part",script.Parent) | |
1238 | local partMesh = Instance.new("SpecialMesh",expart) | |
1239 | partMesh.MeshType = "Sphere" | |
1240 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
1241 | partMesh2.MeshType = "Sphere" | |
1242 | local expld = Instance.new("Explosion", script.Parent) | |
1243 | local plode = Instance.new("Sound",expart) | |
1244 | plode.SoundId = "rbxassetid://165970126" | |
1245 | plode.Volume = 1 | |
1246 | plode.Pitch = 1 | |
1247 | plode.Looped = false | |
1248 | plode:Play() | |
1249 | expld.BlastRadius = rad | |
1250 | expld.Position = par.Position | |
1251 | partMesh.Scale = vt(rad,rad,rad) | |
1252 | expart.Size = vt(1,1,1)*1.5 | |
1253 | expart.Transparency = 0 | |
1254 | expart.Anchored = true | |
1255 | expart.Material = "Neon" | |
1256 | expart.BrickColor = bc("White") | |
1257 | expart.CFrame = par.CFrame | |
1258 | partMesh2.Scale = vt(rad,rad,rad) | |
1259 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
1260 | expart2.Transparency = 0.5 | |
1261 | expart2.Anchored = true | |
1262 | expart2.Material = "Neon" | |
1263 | expart2.BrickColor = bc("New Yeller") | |
1264 | expart2.CFrame = par.CFrame | |
1265 | local value = 1*rad/6.5 | |
1266 | par:Destroy() | |
1267 | for i = 0, 100 do | |
1268 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
1269 | expart.CFrame = expart.CFrame | |
1270 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
1271 | expart2.CFrame = expart.CFrame | |
1272 | value = value - 0.035*rad/6.5 | |
1273 | if value < 1 then | |
1274 | value = 0.25 | |
1275 | expart.Transparency = expart.Transparency + 0.025 | |
1276 | expart2.Transparency = expart2.Transparency + 0.025 | |
1277 | end | |
1278 | wait() | |
1279 | end | |
1280 | plode.Parent = nil | |
1281 | expart.Parent = nil | |
1282 | expart2.Parent = nil | |
1283 | expld.Parent = nil | |
1284 | end | |
1285 | ||
1286 | function ExplodeMass(rad,par) | |
1287 | local expart = Instance.new("Part",script.Parent) | |
1288 | local expart2 = Instance.new("Part",script.Parent) | |
1289 | local partMesh = Instance.new("SpecialMesh",expart) | |
1290 | partMesh.MeshType = "Sphere" | |
1291 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
1292 | partMesh2.MeshType = "Sphere" | |
1293 | local expld = Instance.new("Explosion", script.Parent) | |
1294 | local plode = Instance.new("Sound",workspace) | |
1295 | plode.SoundId = "rbxassetid://579687077" | |
1296 | plode.Volume = 1 | |
1297 | plode.Pitch = 0.85 | |
1298 | plode.Looped = false | |
1299 | plode:Play() | |
1300 | local plodez = Instance.new("Sound",workspace) | |
1301 | plodez.SoundId = "rbxassetid://288641686" | |
1302 | plodez.Volume = 1 | |
1303 | plodez.Pitch = 0.75 | |
1304 | plodez.Looped = false | |
1305 | plodez:Play() | |
1306 | local plodeza = Instance.new("Sound",workspace) | |
1307 | plodeza.SoundId = "rbxassetid://197161452" | |
1308 | plodeza.Volume = 0.85 | |
1309 | plodeza.Pitch = 0.65 | |
1310 | plodeza.Looped = false | |
1311 | plodeza:Play() | |
1312 | local plodezar = Instance.new("Sound",workspace) | |
1313 | plodezar.SoundId = "rbxassetid://197161452" | |
1314 | plodezar.Volume = 0.85 | |
1315 | plodezar.Pitch = 0.25 | |
1316 | plodezar.Looped = false | |
1317 | plodezar:Play() | |
1318 | expld.BlastRadius = rad | |
1319 | expld.Position = par.Position | |
1320 | wait(0.5) | |
1321 | par:Destroy() | |
1322 | plode.Parent = nil | |
1323 | expart.Parent = nil | |
1324 | expart2.Parent = nil | |
1325 | expld.Parent = nil | |
1326 | end | |
1327 | function ExplodeMassen(rad,par) | |
1328 | local expart = Instance.new("Part",script.Parent) | |
1329 | local expart2 = Instance.new("Part",script.Parent) | |
1330 | local partMesh = Instance.new("SpecialMesh",expart) | |
1331 | partMesh.MeshType = "Sphere" | |
1332 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
1333 | partMesh2.MeshType = "Sphere" | |
1334 | local expld = Instance.new("Explosion", script.Parent) | |
1335 | local plode = Instance.new("Sound",workspace) | |
1336 | plode.SoundId = "rbxassetid://579687077" | |
1337 | plode.Volume = 1 | |
1338 | plode.Pitch = 0.85 | |
1339 | plode.Looped = false | |
1340 | plode:Play() | |
1341 | local plodez = Instance.new("Sound",workspace) | |
1342 | plodez.SoundId = "rbxassetid://288641686" | |
1343 | plodez.Volume = 1 | |
1344 | plodez.Pitch = 0.75 | |
1345 | plodez.Looped = false | |
1346 | plodez:Play() | |
1347 | local plodeza = Instance.new("Sound",workspace) | |
1348 | plodeza.SoundId = "rbxassetid://197161452" | |
1349 | plodeza.Volume = 0.85 | |
1350 | plodeza.Pitch = 0.65 | |
1351 | plodeza.Looped = false | |
1352 | plodeza:Play() | |
1353 | local plodezar = Instance.new("Sound",workspace) | |
1354 | plodezar.SoundId = "rbxassetid://197161452" | |
1355 | plodezar.Volume = 0.85 | |
1356 | plodezar.Pitch = 0.25 | |
1357 | plodezar.Looped = false | |
1358 | plodezar:Play() | |
1359 | expld.BlastRadius = rad | |
1360 | expld.Position = par.Position | |
1361 | partMesh.Scale = vt(rad,rad,rad) | |
1362 | expart.Size = vt(1,1,1)*1.5 | |
1363 | expart.Transparency = 0 | |
1364 | expart.Anchored = true | |
1365 | expart.Material = "Neon" | |
1366 | expart.BrickColor = bc("White") | |
1367 | expart.CFrame = par.CFrame | |
1368 | partMesh2.Scale = vt(rad,rad,rad) | |
1369 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
1370 | expart2.Transparency = 0.5 | |
1371 | expart2.Anchored = true | |
1372 | expart2.Material = "Neon" | |
1373 | expart2.BrickColor = tors.BrickColor | |
1374 | expart2.CFrame = par.CFrame | |
1375 | local value = 1*rad/10 | |
1376 | par:Destroy() | |
1377 | for i = 0, 300 do | |
1378 | partMesh.Scale = partMesh.Scale + vt(value,value,value) | |
1379 | expart.CFrame = expart.CFrame | |
1380 | partMesh2.Scale = partMesh2.Scale + vt(value,value,value) | |
1381 | expart2.CFrame = expart.CFrame | |
1382 | value = value - 0.0175*rad/10 | |
1383 | if value <= 0 then | |
1384 | expart.Transparency = expart.Transparency + 0.0125 | |
1385 | expart2.Transparency = expart2.Transparency + 0.0125 | |
1386 | value = 0.25 | |
1387 | end | |
1388 | wait() | |
1389 | end | |
1390 | plode.Parent = nil | |
1391 | expart.Parent = nil | |
1392 | expart2.Parent = nil | |
1393 | expld.Parent = nil | |
1394 | end | |
1395 | local Ultramode = false | |
1396 | ||
1397 | function Transform() | |
1398 | if basiccooldown >= 5 then | |
1399 | hum.WalkSpeed = 0 | |
1400 | local sparta = Instance.new("Part",workspace) | |
1401 | local msher = Instance.new("SpecialMesh",sparta) | |
1402 | msher.MeshType = "Sphere" | |
1403 | msher.Scale = vt(1,1,1) | |
1404 | wit = BrickColor.new("Really black").Color | |
1405 | local glowz = Instance.new("ParticleEmitter") | |
1406 | glowz.LightEmission = 1 | |
1407 | glowz.Parent = sparta | |
1408 | glowz.Texture = "rbxassetid://284205403" | |
1409 | glowz.Color = ColorSequence.new(wit) | |
1410 | glowz.Size = NumberSequence.new(15) | |
1411 | glowz.Speed = NumberRange.new(100,250) | |
1412 | glowz.LockedToPart = false | |
1413 | glowz.Transparency = NumberSequence.new(0.75) | |
1414 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
1415 | glowz.Lifetime = NumberRange.new(1) | |
1416 | glowz.Rate = 50000 | |
1417 | glowz.VelocitySpread = 9001 | |
1418 | local sa2 = Instance.new("Sound",sparta) | |
1419 | sa2.SoundId = "rbxassetid://93724183" | |
1420 | sa2.Pitch = 0.5 | |
1421 | sa2.Volume = 5 | |
1422 | sa2.Looped = false | |
1423 | sa2:Play() | |
1424 | local saz2 = Instance.new("Sound",sparta) | |
1425 | saz2.SoundId = "rbxassetid://199145659" | |
1426 | saz2.Pitch = 0.45 | |
1427 | saz2.Volume = 5*2 | |
1428 | saz2.Looped = false | |
1429 | local plode = Instance.new("Sound",sparta) | |
1430 | plode.SoundId = "rbxassetid://153274423" | |
1431 | plode.Volume = 5 | |
1432 | plode.Pitch = 1 | |
1433 | plode.Looped = false | |
1434 | local ploder = Instance.new("Sound",sparta) | |
1435 | ploder.SoundId = "rbxassetid://130972023" | |
1436 | ploder.Volume = 5 | |
1437 | ploder.Pitch = 1 | |
1438 | ploder.Looped = false | |
1439 | sparta.Size = vt(1,1,1) | |
1440 | sparta.BrickColor = BrickColor.new("Really black") | |
1441 | sparta.Material = "Neon" | |
1442 | sparta.Transparency = 0 | |
1443 | sparta.Anchored = true | |
1444 | sparta.CanCollide = false | |
1445 | sparta.CFrame = tors.CFrame | |
1446 | sparta.Rotation = vt(0,0,0) | |
1447 | local value2 = 2 | |
1448 | for i = 0, 24 do | |
1449 | value2 = value2 - 0.065 | |
1450 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1451 | wait() | |
1452 | end | |
1453 | for i = 0, 10 do | |
1454 | value2 = value2 + 0.06575 | |
1455 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1456 | wait() | |
1457 | end | |
1458 | for i = 0, 10 do | |
1459 | value2 = value2 - 0.2 | |
1460 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1461 | wait() | |
1462 | end | |
1463 | for i = 0, 10 do | |
1464 | value2 = value2 + 0.275 | |
1465 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1466 | wait() | |
1467 | end | |
1468 | for i = 0, 10 do | |
1469 | value2 = value2 - 0.4 | |
1470 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1471 | wait() | |
1472 | end | |
1473 | for i = 0, 10 do | |
1474 | value2 = value2 + 0.475 | |
1475 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1476 | wait() | |
1477 | end | |
1478 | for i = 0, 10 do | |
1479 | value2 = value2 - 0.6 | |
1480 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1481 | wait() | |
1482 | end | |
1483 | for i = 0, 10 do | |
1484 | value2 = value2 + 0.675 | |
1485 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1486 | wait() | |
1487 | end | |
1488 | for i = 0, 10 do | |
1489 | value2 = value2 - 0.7 | |
1490 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1491 | wait() | |
1492 | end | |
1493 | for i = 0, 10 do | |
1494 | value2 = value2 + 0.775 | |
1495 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1496 | wait() | |
1497 | end | |
1498 | saz2:Play() | |
1499 | wait(2.75) | |
1500 | plode:Play() | |
1501 | ploder:Play() | |
1502 | Ultramode = true | |
1503 | for i = 0, 75 do | |
1504 | value2 = value2 - 0.0575 | |
1505 | glowz.Rate = 0 | |
1506 | sparta.Transparency = sparta.Transparency + 0.025 | |
1507 | msher.Scale = msher.Scale + vt(value2,value2,value2) | |
1508 | wait() | |
1509 | end | |
1510 | hum.WalkSpeed = 16 | |
1511 | sparta:Destroy() | |
1512 | end | |
1513 | end | |
1514 | ||
1515 | ||
1516 | function Blaze2() | |
1517 | if ultcooldown >= 30 then | |
1518 | local sloc = Instance.new("Part",workspace) | |
1519 | local msh = Instance.new("SpecialMesh",sloc) | |
1520 | msh.MeshType = "Sphere" | |
1521 | sloc.Size = vt(1,1,1) | |
1522 | sloc.Transparency = 1 | |
1523 | sloc.BrickColor = tors.BrickColor | |
1524 | sloc.Position = hed.Position + vt(0,0.1,0) | |
1525 | sloc.CanCollide = false | |
1526 | sloc.Shape = "Ball" | |
1527 | sloc.Anchored = true | |
1528 | sloc.Material = "Neon" | |
1529 | local s = Instance.new("Sound",char) | |
1530 | s.SoundId = "rbxassetid://289315275" | |
1531 | s.Pitch = 1 | |
1532 | s.Volume = 2.75 | |
1533 | s.Looped = false | |
1534 | s:Play() | |
1535 | local s2 = Instance.new("Sound",char) | |
1536 | s2.SoundId = "rbxassetid://671759140" | |
1537 | s2.Pitch = 0.425 | |
1538 | s2.Volume = 1 | |
1539 | s2.Looped = false | |
1540 | s2:Play() | |
1541 | local val = 0.65*5 | |
1542 | for i = 0 , 75 do | |
1543 | sloc.Transparency = sloc.Transparency - 0.035 | |
1544 | msh.Scale = msh.Scale + vt(val,val,val) | |
1545 | val = val - 0.0075*5 | |
1546 | wait() | |
1547 | end | |
1548 | wait(2) | |
1549 | local sen = Instance.new("Sound",char) | |
1550 | sen.SoundId = "rbxassetid://289315275" | |
1551 | sen.Pitch = 1 | |
1552 | sen.Volume = 2.75 | |
1553 | sen.Looped = false | |
1554 | sen:Play() | |
1555 | local tick = Instance.new("Sound",char) | |
1556 | tick.SoundId = "rbxassetid://446876721" | |
1557 | tick.Volume = 2.5 | |
1558 | tick.Pitch = 0.5 | |
1559 | tick:Play() | |
1560 | msh.Scale = msh.Scale - vt(1,1,1) | |
1561 | sloc.Transparency = sloc.Transparency + 0.015 | |
1562 | local spart = Instance.new("Part",workspace) | |
1563 | local msh2 = Instance.new("SpecialMesh",spart) | |
1564 | msh2.MeshType = "Sphere" | |
1565 | spart.Size = vt(2,2,2) | |
1566 | spart.Shape = "Ball" | |
1567 | spart.BrickColor = tors.BrickColor | |
1568 | spart.Material = "Neon" | |
1569 | spart.Transparency = 0 | |
1570 | spart.Anchored = false | |
1571 | msh2.Scale = msh.Scale/2 | |
1572 | spart.Rotation = hed.Rotation | |
1573 | spart.CanCollide = false | |
1574 | spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0)) | |
1575 | local bv = Instance.new("BodyVelocity") | |
1576 | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) | |
1577 | bv.velocity = mouse.Hit.lookVector * 125 | |
1578 | bv.Parent = spart | |
1579 | sloc:Destroy() | |
1580 | wait(0.00001) | |
1581 | pewdiepie=spart.Touched:connect(function(hit) | |
1582 | ExplodeMassen(100,spart) | |
1583 | end) | |
1584 | wait(5) | |
1585 | sloc:Destroy() | |
1586 | tick:Destroy() | |
1587 | s:Destroy() | |
1588 | sen:Destroy() | |
1589 | s2:Destroy() | |
1590 | end | |
1591 | if ultcooldown < 1 then | |
1592 | for i = 0, 29 do | |
1593 | ultcooldown = ultcooldown + 1 | |
1594 | wait(1) | |
1595 | end | |
1596 | end | |
1597 | end | |
1598 | ||
1599 | function Blaze() | |
1600 | if ultcooldown >= 30 then | |
1601 | local ff = Instance.new("ForceField",char) | |
1602 | local s = Instance.new("Sound",char) | |
1603 | s.SoundId = "rbxassetid://289315275" | |
1604 | s.Pitch = 1 | |
1605 | s.Volume = 2.75 | |
1606 | s.Looped = false | |
1607 | s:Play() | |
1608 | local s2 = Instance.new("Sound",char) | |
1609 | s2.SoundId = "rbxassetid://671759140" | |
1610 | s2.Pitch = 0.425 | |
1611 | s2.Volume = 1 | |
1612 | s2.Looped = false | |
1613 | s2:Play() | |
1614 | local spart = boll:Clone() | |
1615 | local spart2 = shur:Clone() | |
1616 | local msh = Instance.new("SpecialMesh",spart) | |
1617 | msh.MeshType = "Sphere" | |
1618 | spart.Parent = workspace | |
1619 | spart.Transparency = 1 | |
1620 | spart.Anchored = true | |
1621 | spart.Position = tors.Position + vt(0,1,0) | |
1622 | spart.Size = spart.Size + vt(1,1,1) | |
1623 | for i = 0, 10 do | |
1624 | spart.BrickColor = tors.BrickColor | |
1625 | spart.Transparency = spart.Transparency + -0.05 | |
1626 | spart.Position = tors.Position + vt(0,1,0) | |
1627 | spart.Size = spart.Size + vt(3,3,3) | |
1628 | wait(0) | |
1629 | end | |
1630 | for i = 0, 5 do | |
1631 | spart.BrickColor = tors.BrickColor | |
1632 | spart.Transparency = spart.Transparency + -0.05 | |
1633 | spart.Position = tors.Position + vt(0,1,0) | |
1634 | spart.Size = spart.Size + vt(2.5,2.5,2.5) | |
1635 | wait(0) | |
1636 | end | |
1637 | for i = 0, 5 do | |
1638 | spart.BrickColor = tors.BrickColor | |
1639 | spart.Transparency = spart.Transparency + -0.05 | |
1640 | spart.Position = tors.Position + vt(0,1,0) | |
1641 | spart.Size = spart.Size + vt(1,1,1) | |
1642 | wait(0) | |
1643 | end | |
1644 | for i = 0, 10 do | |
1645 | spart.BrickColor = tors.BrickColor | |
1646 | wait(0.1) | |
1647 | end | |
1648 | for i = 0, 20 do | |
1649 | spart.BrickColor = tors.BrickColor | |
1650 | spart.Transparency = spart.Transparency + 0.05 | |
1651 | spart.Position = tors.Position + vt(0,1,0) | |
1652 | spart.Size = spart.Size + vt(-5,-5,-5) | |
1653 | wait(0) | |
1654 | end | |
1655 | local sp = spart:Clone() | |
1656 | sp.Parent = workspace | |
1657 | sp.Position = spart.Position | |
1658 | local sp2 = sp:Clone() | |
1659 | sp2.Parent = workspace | |
1660 | sp2.Transparency = 0.5 | |
1661 | local msh2 = sp2.Mesh | |
1662 | msh2.Scale = vt(1250,1250,1250) | |
1663 | wit = tors.BrickColor.Color | |
1664 | local glowz = Instance.new("ParticleEmitter") | |
1665 | glowz.LightEmission = 0.75 | |
1666 | glowz.Parent = sp2 | |
1667 | glowz.Texture = "rbxassetid://284205403" | |
1668 | glowz.Color = ColorSequence.new(wit) | |
1669 | glowz.Size = NumberSequence.new(50) | |
1670 | glowz.Speed = NumberRange.new(425,450) | |
1671 | glowz.LockedToPart = false | |
1672 | glowz.Transparency = NumberSequence.new(0.75) | |
1673 | glowz.RotSpeed = NumberRange.new(-2000,2000) | |
1674 | glowz.Lifetime = NumberRange.new(1) | |
1675 | glowz.Rate = 50000 | |
1676 | glowz.VelocitySpread = 9001 | |
1677 | spart2.Parent = workspace | |
1678 | spart2.Mesh.Scale = vt(25, 90000, 25) | |
1679 | spart2.Position = tors.Position | |
1680 | local seen = Instance.new("Sound",char) | |
1681 | seen.SoundId = "rbxassetid://445796828" | |
1682 | seen.Pitch = 0.75 | |
1683 | seen.Volume = 1.75 | |
1684 | seen.Looped = true | |
1685 | seen:Play() | |
1686 | local sen = Instance.new("Sound",char) | |
1687 | sen.SoundId = "rbxassetid://289315275" | |
1688 | sen.Pitch = 0.98 | |
1689 | sen.Volume = 2.65 | |
1690 | sen.Looped = false | |
1691 | sen:Play() | |
1692 | local tick = Instance.new("Sound",char) | |
1693 | tick.SoundId = "rbxassetid://446876721" | |
1694 | tick.Volume = 5 | |
1695 | tick.Pitch = 0.5 | |
1696 | tick:Play() | |
1697 | local seena = Instance.new("Sound",char) | |
1698 | seena.SoundId = "rbxassetid://300916057" | |
1699 | seena.Pitch = 0.5 | |
1700 | seena.Volume = 2.5 | |
1701 | seena.Looped = false | |
1702 | seena:Play() | |
1703 | spart.Transparency = 0 | |
1704 | ExplodeMass(1000,sp) | |
1705 | for i = 0, 450 do | |
1706 | spart2.Position = spart.Position + vt(math.random(-1,1),0,math.random(-1,1)) | |
1707 | sp2.Position = spart.Position | |
1708 | spart2.Mesh.Scale = spart2.Mesh.Scale + vt(0.035, 0, 0.035) | |
1709 | spart2.BrickColor = tors.BrickColor | |
1710 | msh2.Scale = msh2.Scale + vt(3.5,3.5,3.5) | |
1711 | msh.Scale = msh.Scale + vt(50,50,50) | |
1712 | sp2.Transparency = sp2.Transparency + 0.0005 | |
1713 | spart.Transparency = spart.Transparency + 0.0025 | |
1714 | spart2.Transparency = spart2.Transparency + 0.0025 | |
1715 | wait(0) | |
1716 | end | |
1717 | spart:Destroy() | |
1718 | seena:Destroy() | |
1719 | ff:Destroy() | |
1720 | seen:Destroy() | |
1721 | sen:Destroy() | |
1722 | tick:Destroy() | |
1723 | spart2:Destroy() | |
1724 | s:Destroy() | |
1725 | sp:Destroy() | |
1726 | sp2:Destroy() | |
1727 | s2:Destroy() | |
1728 | end | |
1729 | if ultcooldown < 1 then | |
1730 | for i = 0, 29 do | |
1731 | ultcooldown = ultcooldown + 1 | |
1732 | wait(1) | |
1733 | end | |
1734 | end | |
1735 | end | |
1736 | ||
1737 | -- sin | |
1738 | Player=game:GetService("Players").LocalPlayer | |
1739 | Character=Player.Character | |
1740 | PlayerGui=Player.PlayerGui | |
1741 | Backpack=Player.Backpack | |
1742 | Torso=Character.Torso | |
1743 | Head=Character.Head | |
1744 | Humanoid=Character.Humanoid | |
1745 | m=Instance.new('Model',Character) | |
1746 | LeftArm=Character["Left Arm"] | |
1747 | LeftLeg=Character["Left Leg"] | |
1748 | RightArm=Character["Right Arm"] | |
1749 | RightLeg=Character["Right Leg"] | |
1750 | LS=Torso["Left Shoulder"] | |
1751 | LH=Torso["Left Hip"] | |
1752 | RS=Torso["Right Shoulder"] | |
1753 | RH=Torso["Right Hip"] | |
1754 | Face = Head.face | |
1755 | Neck=Torso.Neck | |
1756 | it=Instance.new | |
1757 | attacktype=1 | |
1758 | vt=Vector3.new | |
1759 | cf=CFrame.new | |
1760 | euler=CFrame.fromEulerAnglesXYZ | |
1761 | angles=CFrame.Angles | |
1762 | cloaked=false | |
1763 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1764 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
1765 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
1766 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
1767 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
1768 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
1769 | RootPart=Character.HumanoidRootPart | |
1770 | RootJoint=RootPart.RootJoint | |
1771 | RootCF=euler(-1.57,0,3.14) | |
1772 | attack = false | |
1773 | attackdebounce = false | |
1774 | deb=false | |
1775 | equipped=true | |
1776 | hand=false | |
1777 | MMouse=nil | |
1778 | combo=0 | |
1779 | mana=0 | |
1780 | trispeed=1 | |
1781 | pathtrans=.7 | |
1782 | attackmode='none' | |
1783 | local idle=0 | |
1784 | local Anim="Idle" | |
1785 | local Effects={} | |
1786 | local gun=false | |
1787 | local shoot=false | |
1788 | player=nil | |
1789 | cloak=false | |
1790 | lightcolor='Bright blue' | |
1791 | ||
1792 | local Color1=BrickColor.new("Royal purple") | |
1793 | ||
1794 | local fengui=it("GuiMain") | |
1795 | fengui.Parent=Player.PlayerGui | |
1796 | fengui.Name="WeaponGUI" | |
1797 | local fenframe=it("Frame") | |
1798 | fenframe.Parent=fengui | |
1799 | fenframe.BackgroundColor3=Color3.new(255,255,255) | |
1800 | fenframe.BackgroundTransparency=1 | |
1801 | fenframe.BorderColor3=Color3.new(17,17,17) | |
1802 | fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0) | |
1803 | fenframe.Position=UDim2.new(0.4,0,0.1,0) | |
1804 | local fenbarmana1=it("TextLabel") | |
1805 | fenbarmana1.Parent=fenframe | |
1806 | fenbarmana1.Text=" " | |
1807 | fenbarmana1.BackgroundTransparency=0 | |
1808 | fenbarmana1.BackgroundColor3=Color3.new(0,0,0) | |
1809 | fenbarmana1.SizeConstraint="RelativeXY" | |
1810 | fenbarmana1.TextXAlignment="Center" | |
1811 | fenbarmana1.TextYAlignment="Center" | |
1812 | fenbarmana1.Position=UDim2.new(0,0,0,0) | |
1813 | fenbarmana1.Size=UDim2.new(4,0,0.2,0) | |
1814 | local fenbarmana2=it("TextLabel") | |
1815 | fenbarmana2.Parent=fenframe | |
1816 | fenbarmana2.Text=" " | |
1817 | fenbarmana2.BackgroundTransparency=0 | |
1818 | fenbarmana2.BackgroundColor3=Torso.Color | |
1819 | fenbarmana2.SizeConstraint="RelativeXY" | |
1820 | fenbarmana2.TextXAlignment="Center" | |
1821 | fenbarmana2.TextYAlignment="Center" | |
1822 | fenbarmana2.Position=UDim2.new(0,0,0,0) | |
1823 | fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0) | |
1824 | local fenbarmana3=it("TextLabel") | |
1825 | fenbarmana3.Parent=fenframe | |
1826 | fenbarmana3.Text=" " | |
1827 | fenbarmana3.BackgroundTransparency=0 | |
1828 | fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3) | |
1829 | fenbarmana3.SizeConstraint="RelativeXY" | |
1830 | fenbarmana3.TextXAlignment="Center" | |
1831 | fenbarmana3.TextYAlignment="Center" | |
1832 | fenbarmana3.Position=UDim2.new(0,0,0,0) | |
1833 | fenbarmana3.Size=UDim2.new(0,0,0.2,0) | |
1834 | local fenbarmana4=it("TextLabel") | |
1835 | fenbarmana4.Parent=fenframe | |
1836 | fenbarmana4.Text="Energy("..mana..")" | |
1837 | fenbarmana4.BackgroundTransparency=1 | |
1838 | fenbarmana4.BackgroundColor3=Color3.new(0,0,0) | |
1839 | fenbarmana4.SizeConstraint="RelativeXY" | |
1840 | fenbarmana4.TextXAlignment="Center" | |
1841 | fenbarmana4.TextYAlignment="Center" | |
1842 | fenbarmana4.Position=UDim2.new(0,0,-0.3,0) | |
1843 | fenbarmana4.Size=UDim2.new(4,0,0.2,0) | |
1844 | fenbarmana4.FontSize="Size9" | |
1845 | fenbarmana4.TextStrokeTransparency=0 | |
1846 | fenbarmana4.TextColor=BrickColor.new("White") | |
1847 | ||
1848 | mouse=Player:GetMouse() | |
1849 | --save shoulders | |
1850 | RSH, LSH=nil, nil | |
1851 | --welds | |
1852 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
1853 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
1854 | LH=Torso["Left Hip"] | |
1855 | RH=Torso["Right Hip"] | |
1856 | TorsoColor=BrickColor.new("Royal purple") | |
1857 | function NoOutline(Part) | |
1858 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
1859 | end | |
1860 | player=Player | |
1861 | ch=Character | |
1862 | RSH=ch.Torso["Right Shoulder"] | |
1863 | LSH=ch.Torso["Left Shoulder"] | |
1864 | -- | |
1865 | RSH.Parent=nil | |
1866 | LSH.Parent=nil | |
1867 | -- | |
1868 | RW.Name="Right Shoulder" | |
1869 | RW.Part0=ch.Torso | |
1870 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
1871 | RW.C1=cf(0, 0.5, 0) | |
1872 | RW.Part1=ch["Right Arm"] | |
1873 | RW.Parent=ch.Torso | |
1874 | -- | |
1875 | LW.Name="Left Shoulder" | |
1876 | LW.Part0=ch.Torso | |
1877 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
1878 | LW.C1=cf(0, 0.5, 0) | |
1879 | LW.Part1=ch["Left Arm"] | |
1880 | LW.Parent=ch.Torso | |
1881 | ||
1882 | ||
1883 | function part(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
1884 | local fp=it("Part") | |
1885 | fp.formFactor=formfactor | |
1886 | fp.Parent=parent | |
1887 | fp.Reflectance=reflectance | |
1888 | fp.Transparency=transparency | |
1889 | fp.CanCollide=false | |
1890 | fp.Locked=true | |
1891 | fp.BrickColor=brickcolor | |
1892 | fp.Name=name | |
1893 | fp.Size=size | |
1894 | fp.Position=Torso.Position | |
1895 | NoOutline(fp) | |
1896 | fp.Material="Neon" | |
1897 | fp:BreakJoints() | |
1898 | return fp | |
1899 | end | |
1900 | ||
1901 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
1902 | local mesh=it(Mesh) | |
1903 | mesh.Parent=part | |
1904 | if Mesh=="SpecialMesh" then | |
1905 | mesh.MeshType=meshtype | |
1906 | if meshid~="nil" then | |
1907 | mesh.MeshId="http://www.roblox.com/asset/?id="..meshid | |
1908 | end | |
1909 | end | |
1910 | mesh.Offset=offset | |
1911 | mesh.Scale=scale | |
1912 | return mesh | |
1913 | end | |
1914 | ||
1915 | function weld(parent,part0,part1,c0) | |
1916 | local weld=it("Weld") | |
1917 | weld.Parent=parent | |
1918 | weld.Part0=part0 | |
1919 | weld.Part1=part1 | |
1920 | weld.C0=c0 | |
1921 | return weld | |
1922 | end | |
1923 | ||
1924 | local Color1=BrickColor.new("Royal purple") | |
1925 | ||
1926 | local bodvel=Instance.new("BodyVelocity") | |
1927 | local bg=Instance.new("BodyGyro") | |
1928 | ||
1929 | function swait(num) | |
1930 | if num==0 or num==nil then | |
1931 | game:service'RunService'.Stepped:wait(0) | |
1932 | else | |
1933 | for i=0,num do | |
1934 | game:service'RunService'.Stepped:wait(0) | |
1935 | end | |
1936 | end | |
1937 | end | |
1938 | ||
1939 | ||
1940 | so = function(id,par,vol,pit) | |
1941 | coroutine.resume(coroutine.create(function() | |
1942 | local sou = Instance.new("Sound",par or workspace) | |
1943 | sou.Volume=vol | |
1944 | sou.Pitch=pit or 1 | |
1945 | sou.SoundId=id | |
1946 | swait() | |
1947 | sou:play() | |
1948 | game:GetService("Debris"):AddItem(sou,6) | |
1949 | end)) | |
1950 | end | |
1951 | ||
1952 | function clerp(a,b,t) | |
1953 | local qa = {QuaternionFromCFrame(a)} | |
1954 | local qb = {QuaternionFromCFrame(b)} | |
1955 | local ax, ay, az = a.x, a.y, a.z | |
1956 | local bx, by, bz = b.x, b.y, b.z | |
1957 | local _t = 1-t | |
1958 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
1959 | end | |
1960 | ||
1961 | function QuaternionFromCFrame(cf) | |
1962 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
1963 | local trace = m00 + m11 + m22 | |
1964 | if trace > 0 then | |
1965 | local s = math.sqrt(1 + trace) | |
1966 | local recip = 0.5/s | |
1967 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
1968 | else | |
1969 | local i = 0 | |
1970 | if m11 > m00 then | |
1971 | i = 1 | |
1972 | end | |
1973 | if m22 > (i == 0 and m00 or m11) then | |
1974 | i = 2 | |
1975 | end | |
1976 | if i == 0 then | |
1977 | local s = math.sqrt(m00-m11-m22+1) | |
1978 | local recip = 0.5/s | |
1979 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
1980 | elseif i == 1 then | |
1981 | local s = math.sqrt(m11-m22-m00+1) | |
1982 | local recip = 0.5/s | |
1983 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
1984 | elseif i == 2 then | |
1985 | local s = math.sqrt(m22-m00-m11+1) | |
1986 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
1987 | end | |
1988 | end | |
1989 | end | |
1990 | ||
1991 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
1992 | local xs, ys, zs = x + x, y + y, z + z | |
1993 | local wx, wy, wz = w*xs, w*ys, w*zs | |
1994 | local xx = x*xs | |
1995 | local xy = x*ys | |
1996 | local xz = x*zs | |
1997 | local yy = y*ys | |
1998 | local yz = y*zs | |
1999 | local zz = z*zs | |
2000 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
2001 | end | |
2002 | ||
2003 | function QuaternionSlerp(a, b, t) | |
2004 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
2005 | local startInterp, finishInterp; | |
2006 | if cosTheta >= 0.0001 then | |
2007 | if (1 - cosTheta) > 0.0001 then | |
2008 | local theta = math.acos(cosTheta) | |
2009 | local invSinTheta = 1/math.sin(theta) | |
2010 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
2011 | finishInterp = math.sin(t*theta)*invSinTheta | |
2012 | else | |
2013 | startInterp = 1-t | |
2014 | finishInterp = t | |
2015 | end | |
2016 | else | |
2017 | if (1+cosTheta) > 0.0001 then | |
2018 | local theta = math.acos(-cosTheta) | |
2019 | local invSinTheta = 1/math.sin(theta) | |
2020 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
2021 | finishInterp = math.sin(t*theta)*invSinTheta | |
2022 | else | |
2023 | startInterp = t-1 | |
2024 | finishInterp = t | |
2025 | end | |
2026 | end | |
2027 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
2028 | end | |
2029 | ||
2030 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
2031 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
2032 | end | |
2033 | ||
2034 | function SkullEffect(brickcolor,cframe,x1,y1,z1,delay) | |
2035 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2036 | prt.Anchored=true | |
2037 | prt.CFrame=cframe | |
2038 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1)) | |
2039 | --http://www.roblox.com/asset/?id=4770560 | |
2040 | game:GetService("Debris"):AddItem(prt,2) | |
2041 | CF=prt.CFrame | |
2042 | coroutine.resume(coroutine.create(function(Part,Mesh,TehCF) | |
2043 | for i=0,1,0.2 do | |
2044 | wait() | |
2045 | Part.CFrame=CF*cf(0,0,-0.4) | |
2046 | end | |
2047 | for i=0,1,delay do | |
2048 | wait() | |
2049 | --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5) | |
2050 | Mesh.Scale=Mesh.Scale | |
2051 | end | |
2052 | for i=0,1,0.1 do | |
2053 | wait() | |
2054 | Part.Transparency=i | |
2055 | end | |
2056 | Part.Parent=nil | |
2057 | end),prt,msh,CF) | |
2058 | end | |
2059 | ||
2060 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2061 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2062 | prt.Anchored=true | |
2063 | prt.CFrame=cframe | |
2064 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2065 | game:GetService("Debris"):AddItem(prt,5) | |
2066 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2067 | for i=0,1,delay do | |
2068 | wait() | |
2069 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2070 | Part.Transparency=i | |
2071 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2072 | end | |
2073 | Part.Parent=nil | |
2074 | end),prt,msh) | |
2075 | end | |
2076 | ||
2077 | function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2078 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2079 | prt.Anchored=false | |
2080 | prt.CFrame=cframe | |
2081 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2082 | local wld=weld(prt,prt,Parent,cframe) | |
2083 | game:GetService("Debris"):AddItem(prt,5) | |
2084 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2085 | for i=0,1,delay do | |
2086 | wait() | |
2087 | Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe | |
2088 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2089 | Part.Transparency=i | |
2090 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2091 | end | |
2092 | Part.Parent=nil | |
2093 | end),prt,msh,wld) | |
2094 | end | |
2095 | ||
2096 | function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay) | |
2097 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2098 | prt.Anchored=false | |
2099 | prt.CFrame=cframe | |
2100 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2101 | local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0)) | |
2102 | game:GetService("Debris"):AddItem(prt,5) | |
2103 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
2104 | for i=0,1,delay do | |
2105 | wait() | |
2106 | Weld.C0=euler(i*20,0,0) | |
2107 | --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2108 | Part.Transparency=i | |
2109 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2110 | end | |
2111 | Part.Parent=nil | |
2112 | end),prt,msh,wld) | |
2113 | end | |
2114 | ||
2115 | function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2116 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2117 | prt.Anchored=true | |
2118 | prt.CFrame=cframe | |
2119 | local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
2120 | game:GetService("Debris"):AddItem(prt,2) | |
2121 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2122 | for i=0,1,delay do | |
2123 | wait() | |
2124 | Part.CFrame=Part.CFrame | |
2125 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2126 | local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2127 | prt2.Anchored=true | |
2128 | prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2129 | local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5)) | |
2130 | game:GetService("Debris"):AddItem(prt2,2) | |
2131 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2132 | for i=0,1,0.1 do | |
2133 | wait() | |
2134 | Part.CFrame=Part.CFrame*cf(0,0.5,0) | |
2135 | end | |
2136 | Part.Parent=nil | |
2137 | end),prt2,msh2) | |
2138 | end | |
2139 | for i=0,1,delay*2 do | |
2140 | wait() | |
2141 | Part.CFrame=Part.CFrame | |
2142 | Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i) | |
2143 | end | |
2144 | Part.Parent=nil | |
2145 | end),prt,msh) | |
2146 | end | |
2147 | ||
2148 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2149 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2150 | prt.Anchored=true | |
2151 | prt.CFrame=cframe | |
2152 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2153 | game:GetService("Debris"):AddItem(prt,2) | |
2154 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2155 | for i=0,1,delay do | |
2156 | wait() | |
2157 | Part.CFrame=Part.CFrame | |
2158 | Part.Transparency=i | |
2159 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2160 | end | |
2161 | Part.Parent=nil | |
2162 | end),prt,msh) | |
2163 | end | |
2164 | ||
2165 | function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3) | |
2166 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2167 | prt.Anchored=true | |
2168 | prt.CFrame=cframe*euler(x2,y2,z2) | |
2169 | --"http://www.roblox.com/asset/?id=168892465" | |
2170 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1)) | |
2171 | game:GetService("Debris"):AddItem(prt,2) | |
2172 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2173 | for i=0,1,0.03 do | |
2174 | wait() | |
2175 | Part.CFrame=Part.CFrame | |
2176 | Part.Transparency=i | |
2177 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2178 | end | |
2179 | Part.Parent=nil | |
2180 | end),prt,msh) | |
2181 | end | |
2182 | ||
2183 | function BreakEffect(brickcolor,cframe,x1,y1,z1) | |
2184 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2185 | prt.Anchored=true | |
2186 | prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
2187 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
2188 | game:GetService("Debris"):AddItem(prt,2) | |
2189 | coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb) | |
2190 | CF=Part.CFrame | |
2191 | Numbb=0 | |
2192 | randnumb=math.random()/10 | |
2193 | rand1=math.random()/10 | |
2194 | for i=0,1,rand1 do | |
2195 | wait() | |
2196 | CF=CF*cf(0,math.random()/2,0) | |
2197 | --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0) | |
2198 | Part.CFrame=CF*euler(Numbb,0,0) | |
2199 | Part.Transparency=i | |
2200 | Numbb=Numbb+randnumb | |
2201 | end | |
2202 | Part.Parent=nil | |
2203 | end),prt,CF,Numbb,randnumb) | |
2204 | end | |
2205 | ||
2206 | function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2207 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2208 | prt.Anchored=true | |
2209 | prt.CFrame=cframe | |
2210 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1)) | |
2211 | game:GetService("Debris"):AddItem(prt,5) | |
2212 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2213 | for i=0,1,delay do | |
2214 | wait() | |
2215 | Part.CFrame=Part.CFrame*euler(0,0.7,0) | |
2216 | Part.Transparency=i | |
2217 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2218 | end | |
2219 | Part.Parent=nil | |
2220 | end),prt,msh) | |
2221 | end | |
2222 | ||
2223 | function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
2224 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2225 | prt.Anchored=true | |
2226 | prt.CFrame=cframe | |
2227 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1)) | |
2228 | game:GetService("Debris"):AddItem(prt,2) | |
2229 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
2230 | for i=0,1,delay do | |
2231 | wait() | |
2232 | Part.CFrame=Part.CFrame*cf(0,y3/2,0) | |
2233 | Part.Transparency=i | |
2234 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
2235 | end | |
2236 | Part.Parent=nil | |
2237 | end),prt,msh) | |
2238 | end | |
2239 | ||
2240 | function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay) | |
2241 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
2242 | prt.Anchored=true | |
2243 | prt.CFrame=cframe*cf(x,y,z) | |
2244 | msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1)) | |
2245 | game:GetService("Debris"):AddItem(prt,5) | |
2246 | coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee) | |
2247 | local num=math.random() | |
2248 | local num2=math.random(-3,2)+math.random() | |
2249 | local numm=0 | |
2250 | for i=0,1,delay*2 do | |
2251 | swait() | |
2252 | Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0) | |
2253 | Part.Transparency=i | |
2254 | numm=numm+0.01 | |
2255 | end | |
2256 | Part.Parent=nil | |
2257 | Mesh.Parent=nil | |
2258 | end),prt,msh,x,y,z) | |
2259 | end | |
2260 | ||
2261 | Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
2262 | if hit.Parent==nil then | |
2263 | return | |
2264 | end | |
2265 | h=hit.Parent:FindFirstChild("Humanoid") | |
2266 | for _,v in pairs(hit.Parent:children()) do | |
2267 | if v:IsA("Humanoid") then | |
2268 | h=v | |
2269 | end | |
2270 | end | |
2271 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
2272 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
2273 | end | |
2274 | if hit.Parent.className=="Hat" then | |
2275 | hit=hit.Parent.Parent:findFirstChild("Head") | |
2276 | end | |
2277 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
2278 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
2279 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
2280 | return | |
2281 | end]] | |
2282 | -- hs(hit,1.2) | |
2283 | c=Instance.new("ObjectValue") | |
2284 | c.Name="creator" | |
2285 | c.Value=game:service("Players").LocalPlayer | |
2286 | c.Parent=h | |
2287 | game:GetService("Debris"):AddItem(c,.5) | |
2288 | Damage=math.random(minim,maxim) | |
2289 | -- h:TakeDamage(Damage) | |
2290 | blocked=false | |
2291 | block=hit.Parent:findFirstChild("Block") | |
2292 | if block~=nil then | |
2293 | print(block.className) | |
2294 | if block.className=="NumberValue" then | |
2295 | if block.Value>0 then | |
2296 | blocked=true | |
2297 | if decreaseblock==nil then | |
2298 | block.Value=block.Value-1 | |
2299 | end | |
2300 | end | |
2301 | end | |
2302 | if block.className=="IntValue" then | |
2303 | if block.Value>0 then | |
2304 | blocked=true | |
2305 | if decreaseblock~=nil then | |
2306 | block.Value=block.Value-1 | |
2307 | end | |
2308 | end | |
2309 | end | |
2310 | end | |
2311 | if blocked==false then | |
2312 | -- h:TakeDamage(Damage) | |
2313 | h.Health=h.Health-Damage | |
2314 | showDamage(hit.Parent,Damage,.5,TorsoColor) | |
2315 | else | |
2316 | h.Health=h.Health-(Damage/2) | |
2317 | showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) | |
2318 | end | |
2319 | if Type=="Knockdown" then | |
2320 | hum=hit.Parent.Humanoid | |
2321 | hum.PlatformStand=true | |
2322 | coroutine.resume(coroutine.create(function(HHumanoid) | |
2323 | swait(1) | |
2324 | HHumanoid.PlatformStand=false | |
2325 | end),hum) | |
2326 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
2327 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
2328 | local bodvol=Instance.new("BodyVelocity") | |
2329 | bodvol.velocity=angle*knockback | |
2330 | bodvol.P=5000 | |
2331 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
2332 | bodvol.Parent=hit | |
2333 | rl=Instance.new("BodyAngularVelocity") | |
2334 | rl.P=3000 | |
2335 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
2336 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
2337 | rl.Parent=hit | |
2338 | game:GetService("Debris"):AddItem(bodvol,.5) | |
2339 | game:GetService("Debris"):AddItem(rl,.5) | |
2340 | elseif Type=="Normal" then | |
2341 | vp=Instance.new("BodyVelocity") | |
2342 | vp.P=500 | |
2343 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
2344 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
2345 | if KnockbackType==1 then | |
2346 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
2347 | elseif KnockbackType==2 then | |
2348 | vp.velocity=Property.CFrame.lookVector*knockback | |
2349 | end | |
2350 | if knockback>0 then | |
2351 | vp.Parent=hit.Parent.Torso | |
2352 | end | |
2353 | game:GetService("Debris"):AddItem(vp,.5) | |
2354 | elseif Type=="Up" then | |
2355 | local bodyVelocity=Instance.new("BodyVelocity") | |
2356 | bodyVelocity.velocity=vt(0,10,0) | |
2357 | bodyVelocity.P=1000 | |
2358 | bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009) | |
2359 | bodyVelocity.Parent=hit | |
2360 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
2361 | rl=Instance.new("BodyAngularVelocity") | |
2362 | rl.P=3000 | |
2363 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
2364 | rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)) | |
2365 | rl.Parent=hit | |
2366 | game:GetService("Debris"):AddItem(rl,.5) | |
2367 | elseif Type=="Snare" then | |
2368 | bp=Instance.new("BodyPosition") | |
2369 | bp.P=2000 | |
2370 | bp.D=100 | |
2371 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
2372 | bp.position=hit.Parent.Torso.Position | |
2373 | bp.Parent=hit.Parent.Torso | |
2374 | game:GetService("Debris"):AddItem(bp,1) | |
2375 | elseif Type=="Target" then | |
2376 | if Targetting==false then | |
2377 | ZTarget=hit.Parent.Torso | |
2378 | coroutine.resume(coroutine.create(function(Part) | |
2379 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
2380 | swait(5) | |
2381 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
2382 | end),ZTarget) | |
2383 | TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
2384 | targetgui=Instance.new("BillboardGui") | |
2385 | targetgui.Parent=ZTarget | |
2386 | targetgui.Size=UDim2.new(10,100,10,100) | |
2387 | targ=Instance.new("ImageLabel") | |
2388 | targ.Parent=targetgui | |
2389 | targ.BackgroundTransparency=1 | |
2390 | targ.Image="rbxassetid://4834067" | |
2391 | targ.Size=UDim2.new(1,0,1,0) | |
2392 | cam.CameraType="Scriptable" | |
2393 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
2394 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
2395 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
2396 | Targetting=true | |
2397 | RocketTarget=ZTarget | |
2398 | for i=1,Property do | |
2399 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
2400 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
2401 | swait() | |
2402 | end | |
2403 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
2404 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
2405 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
2406 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
2407 | end | |
2408 | Targetting=false | |
2409 | RocketTarget=nil | |
2410 | targetgui.Parent=nil | |
2411 | cam.CameraType="Custom" | |
2412 | end | |
2413 | end | |
2414 | debounce=Instance.new("BoolValue") | |
2415 | debounce.Name="DebounceHit" | |
2416 | debounce.Parent=hit.Parent | |
2417 | debounce.Value=true | |
2418 | game:GetService("Debris"):AddItem(debounce,Delay) | |
2419 | c=Instance.new("ObjectValue") | |
2420 | c.Name="creator" | |
2421 | c.Value=Player | |
2422 | c.Parent=h | |
2423 | game:GetService("Debris"):AddItem(c,.5) | |
2424 | CRIT=false | |
2425 | hitDeb=true | |
2426 | AttackPos=6 | |
2427 | end | |
2428 | end | |
2429 | ||
2430 | showDamage=function(Char,Dealt,du,Color) | |
2431 | m=Instance.new("Model") | |
2432 | m.Name=tostring(Dealt) | |
2433 | h=Instance.new("Humanoid") | |
2434 | h.Health=0 | |
2435 | h.MaxHealth=0 | |
2436 | h.Parent=m | |
2437 | c=Instance.new("Part") | |
2438 | c.Transparency=0 | |
2439 | c.BrickColor=TorsoColor | |
2440 | c.Name="Head" | |
2441 | c.TopSurface=0 | |
2442 | c.BottomSurface=0 | |
2443 | c.formFactor="Plate" | |
2444 | c.Size=Vector3.new(1,.4,1) | |
2445 | ms=Instance.new("CylinderMesh") | |
2446 | ms.Scale=Vector3.new(.8,.8,.8) | |
2447 | so("http://www.roblox.com/asset/?id=199149269",c,1,1) | |
2448 | if CRIT==true then | |
2449 | ms.Scale=Vector3.new(1,1.25,1) | |
2450 | end | |
2451 | ms.Parent=c | |
2452 | c.Reflectance=0 | |
2453 | Instance.new("BodyGyro").Parent=c | |
2454 | c.Parent=m | |
2455 | if Char:findFirstChild("Head")~=nil then | |
2456 | c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
2457 | elseif Char.Parent:findFirstChild("Head")~=nil then | |
2458 | c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0)) | |
2459 | end | |
2460 | f=Instance.new("BodyPosition") | |
2461 | f.P=2000 | |
2462 | f.D=100 | |
2463 | f.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
2464 | f.position=c.Position+Vector3.new(0,3,0) | |
2465 | f.Parent=c | |
2466 | game:GetService("Debris"):AddItem(m,.5+du) | |
2467 | c.CanCollide=false | |
2468 | m.Parent=workspace | |
2469 | c.CanCollide=false | |
2470 | end | |
2471 | ||
2472 | Player=game:GetService('Players').LocalPlayer | |
2473 | Character=Player.Character | |
2474 | Mouse=Player:GetMouse() | |
2475 | m=Instance.new('Model',Character) | |
2476 | ||
2477 | ||
2478 | local function weldBetween(a, b) | |
2479 | local weldd = Instance.new("ManualWeld") | |
2480 | weldd.Part0 = a | |
2481 | weldd.Part1 = b | |
2482 | weldd.C0 = CFrame.new() | |
2483 | weldd.C1 = b.CFrame:inverse() * a.CFrame | |
2484 | weldd.Parent = a | |
2485 | return weldd | |
2486 | end | |
2487 | ||
2488 | it=Instance.new | |
2489 | ||
2490 | function nooutline(part) | |
2491 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
2492 | end | |
2493 | ||
2494 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
2495 | local fp=it("Part") | |
2496 | fp.formFactor=formfactor | |
2497 | fp.Parent=parent | |
2498 | fp.Reflectance=reflectance | |
2499 | fp.Transparency=transparency | |
2500 | fp.CanCollide=false | |
2501 | fp.Locked=true | |
2502 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
2503 | fp.Name=name | |
2504 | fp.Size=size | |
2505 | fp.Position=Character.Torso.Position | |
2506 | nooutline(fp) | |
2507 | fp.Material=material | |
2508 | fp:BreakJoints() | |
2509 | return fp | |
2510 | end | |
2511 | ||
2512 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
2513 | local mesh=it(Mesh) | |
2514 | mesh.Parent=part | |
2515 | if Mesh=="SpecialMesh" then | |
2516 | mesh.MeshType=meshtype | |
2517 | mesh.MeshId=meshid | |
2518 | end | |
2519 | mesh.Offset=offset | |
2520 | mesh.Scale=scale | |
2521 | return mesh | |
2522 | end | |
2523 | ||
2524 | function weld(parent,part0,part1,c0,c1) | |
2525 | local weld=it("Weld") | |
2526 | weld.Parent=parent | |
2527 | weld.Part0=part0 | |
2528 | weld.Part1=part1 | |
2529 | weld.C0=c0 | |
2530 | weld.C1=c1 | |
2531 | return weld | |
2532 | end | |
2533 | ||
2534 | local modelzorz=Instance.new("Model") | |
2535 | modelzorz.Parent=Character | |
2536 | modelzorz.Name="Claw1" | |
2537 | ||
2538 | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1)) | |
2539 | Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963)) | |
2540 | mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2541 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2542 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906)) | |
2543 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2544 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862)) | |
2545 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2546 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2547 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996)) | |
2548 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2549 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459)) | |
2550 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2551 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592)) | |
2552 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2553 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537)) | |
2554 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2555 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266)) | |
2556 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2557 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906)) | |
2558 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2559 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265)) | |
2560 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2561 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829)) | |
2562 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2563 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562)) | |
2564 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2565 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2566 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682)) | |
2567 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2568 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805)) | |
2569 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2570 | Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
2571 | Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086)) | |
2572 | mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) | |
2573 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2574 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474)) | |
2575 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2576 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2577 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891)) | |
2578 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2579 | ||
2580 | local modelzorz2=Instance.new("Model") | |
2581 | modelzorz2.Parent=Character | |
2582 | modelzorz2.Name="Claw2" | |
2583 | ||
2584 | Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1)) | |
2585 | Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559)) | |
2586 | mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2587 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2588 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183)) | |
2589 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2590 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009)) | |
2591 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2592 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139)) | |
2593 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2594 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765)) | |
2595 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2596 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2597 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858)) | |
2598 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2599 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2600 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958)) | |
2601 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2602 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964)) | |
2603 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2604 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2605 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885)) | |
2606 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2607 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137)) | |
2608 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2609 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2610 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696)) | |
2611 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2612 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073)) | |
2613 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002)) | |
2614 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2615 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183)) | |
2616 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2617 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377)) | |
2618 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2619 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329)) | |
2620 | Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
2621 | Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636)) | |
2622 | mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) | |
2623 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2624 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835)) | |
2625 | ||
2626 | local modelzorz3=Instance.new("Model") | |
2627 | modelzorz3.Parent=Character | |
2628 | modelzorz3.Name="Eye" | |
2629 | ||
2630 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
2631 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
2632 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1)) | |
2633 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
2634 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
2635 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996)) | |
2636 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
2637 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
2638 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963)) | |
2639 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
2640 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
2641 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039)) | |
2642 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
2643 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
2644 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039)) | |
2645 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
2646 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752)) | |
2647 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
2648 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
2649 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
2650 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702)) | |
2651 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
2652 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537)) | |
2653 | local moosick = it("Sound",Character) | |
2654 | moosick.SoundId = "rbxassetid://613035749" | |
2655 | --142653441, 175067863 | |
2656 | moosick.Looped = true | |
2657 | moosick.Pitch = 0.9775 | |
2658 | moosick.Volume = 1.5 | |
2659 | moosick:Play() | |
2660 | ||
2661 | anim = Character:findFirstChild("Animate") | |
2662 | if anim then | |
2663 | anim:Destroy() | |
2664 | end | |
2665 | ||
2666 | local particleemitter = Instance.new("ParticleEmitter", Handle) | |
2667 | particleemitter.VelocitySpread = 180 | |
2668 | particleemitter.Lifetime = NumberRange.new(0.1) | |
2669 | particleemitter.Speed = NumberRange.new(2) | |
2670 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) | |
2671 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
2672 | particleemitter.Rate = 100 | |
2673 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
2674 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
2675 | particleemitter.LightEmission = 0.8 | |
2676 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
2677 | ||
2678 | local particleemitter = Instance.new("ParticleEmitter", Handle2) | |
2679 | particleemitter.VelocitySpread = 180 | |
2680 | particleemitter.Lifetime = NumberRange.new(0.1) | |
2681 | particleemitter.Speed = NumberRange.new(2) | |
2682 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) | |
2683 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
2684 | particleemitter.Rate = 100 | |
2685 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
2686 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
2687 | particleemitter.LightEmission = 0.8 | |
2688 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
2689 | ||
2690 | local particleemitter = Instance.new("ParticleEmitter", handle) | |
2691 | particleemitter.VelocitySpread = 180 | |
2692 | particleemitter.Lifetime = NumberRange.new(0.1) | |
2693 | particleemitter.Speed = NumberRange.new(2) | |
2694 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)}) | |
2695 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
2696 | particleemitter.Rate = 100 | |
2697 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
2698 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
2699 | particleemitter.LightEmission = 0.8 | |
2700 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
2701 | ||
2702 | local light = Instance.new("PointLight", Character.Torso) | |
2703 | light.Color = Color3.new(255,255,255) | |
2704 | light.Brightness = 5 | |
2705 | light.Range = 15 | |
2706 | ||
2707 | particleemitter.Enabled = true | |
2708 | ||
2709 | local Footsteps = it("Sound",Character.Torso) | |
2710 | Footsteps.SoundId = "rbxassetid://142665235" | |
2711 | Footsteps.Looped = true | |
2712 | Footsteps.Pitch = 0.8 | |
2713 | Footsteps.Volume = 0.3 | |
2714 | ||
2715 | local Footsteps2 = it("Sound",Character.Torso) | |
2716 | Footsteps2.SoundId = "rbxassetid://142665235" | |
2717 | Footsteps2.Looped = true | |
2718 | Footsteps2.Pitch = 1 | |
2719 | Footsteps2.Volume = 0.4 | |
2720 | ||
2721 | local cam = game.Workspace.CurrentCamera | |
2722 | ||
2723 | --cam.CameraSubject = Character | |
2724 | ||
2725 | for i,v in pairs(Head:children()) do | |
2726 | if v:IsA("Sound") then | |
2727 | v:Destroy() | |
2728 | end | |
2729 | end | |
2730 | ||
2731 | mouse.Button1Down:connect(function() | |
2732 | if attack==false and attacktype==1 then | |
2733 | attacktype=2 | |
2734 | attackone() | |
2735 | elseif attack==false and attacktype==2 then | |
2736 | attacktype=3 | |
2737 | attacktwo() | |
2738 | elseif attack==false and attacktype==3 then | |
2739 | attacktype=4 | |
2740 | attackthree() | |
2741 | elseif attack==false and attacktype==4 then | |
2742 | attacktype=1 | |
2743 | attackfour() | |
2744 | end | |
2745 | end) | |
2746 | ||
2747 | mouse.KeyDown:connect(function(k) | |
2748 | k=k:lower() | |
2749 | if k=='e' then | |
2750 | if attack==false and mana>=20 then | |
2751 | Push() | |
2752 | end | |
2753 | elseif k=='g' then | |
2754 | if attack==false and mana>=50 then | |
2755 | Twirl() | |
2756 | end | |
2757 | elseif k=='v' then | |
2758 | if attack==false and mana>=25 then | |
2759 | MagicJump() | |
2760 | end | |
2761 | elseif k=='c' then | |
2762 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
2763 | attack=true | |
2764 | for i = 1, 40 do | |
2765 | swait() | |
2766 | Neck.C0 = clerp(Neck.C0, necko * euler(-0.5, 0, 0), 0.1) | |
2767 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.1) | |
2768 | RW.C0 = clerp(RW.C0, cf(1.3, 1, 0) * euler(2.5, 0, 0) * euler(0, 0, 0.4), 0.1) | |
2769 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
2770 | LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(0.6, 0, 0) * euler(0, 0, -0.5), 0.1) | |
2771 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
2772 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.1) | |
2773 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.1) | |
2774 | end | |
2775 | Blaze() | |
2776 | attack = false | |
2777 | end | |
2778 | elseif k=='x' then | |
2779 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
2780 | attack=true | |
2781 | for i = 1, 15 do | |
2782 | swait() | |
2783 | Neck.C0 = clerp(Neck.C0, necko * euler(0.5, 0, 0), 0.3) | |
2784 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0), 0.35) | |
2785 | RW.C0 = clerp(RW.C0, cf(1.5, 1, 0) * euler(0, 0, 0) * euler(0.3, 0, 0.6), 0.35) | |
2786 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
2787 | LW.C0 = clerp(LW.C0, cf(-1.5, 1, 0) * euler(-0.5, 0, 0) * euler(0, 0, -0.7), 0.35) | |
2788 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
2789 | RH.C0 = clerp(RH.C0, cf(1, 0.25, -0.5) * euler(0.55, 0, 0) * euler(0, math.pi / 2.2, 0), 0.35) | |
2790 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5) * euler(-0.7, 0, 0) * euler(0, -math.pi / 1.8, 0), 0.35) | |
2791 | end | |
2792 | so("http://www.roblox.com/asset/?id=163619849",workspace,2.5,0.35) | |
2793 | so("http://www.roblox.com/asset/?id=299058146",workspace,2.5,0.65) | |
2794 | for i = 0, 30 do | |
2795 | BlastEffect(BrickColor.new("Really black"),cf(tors.Position) * euler(0, math.random(-50, 50), 0) ,.9,5,.9,5,0.2,5) | |
2796 | wait(0.1) | |
2797 | end | |
2798 | local parteffected = Instance.new("Part",tors) | |
2799 | parteffected.Transparency = 1 | |
2800 | parteffected.Position = tors.Position | |
2801 | parteffected.CanCollide = false | |
2802 | parteffected.Anchored = true | |
2803 | so("http://www.roblox.com/asset/?id=153832545",workspace,0.5,0.5) | |
2804 | so("http://www.roblox.com/asset/?id=165970126",workspace,1,0.4) | |
2805 | BlastEffect(BrickColor.new("Really black"),cf(parteffected.Position) * euler(0, math.random(-50, 50), 0),.9,.9,.9,15,5,15) | |
2806 | MagicCircle(BrickColor.new("Really black"),cf(parteffected.Position),5,5,5,15,15,15,0.05) | |
2807 | MagicCircle(BrickColor.new("Really black"),cf(parteffected.Position),5,5,5,22.5,22.5,22.5,0.05) | |
2808 | BlastEffect(BrickColor.new("Really black"),cf(parteffected.Position) * euler(0, math.random(-50, 50), 0),.9,25,.9,30,5,30) | |
2809 | local sbs = Instance.new("BodyPosition", RootPart) | |
2810 | sbs.P = 3000 | |
2811 | sbs.D = 1000 | |
2812 | sbs.maxForce = Vector3.new(500000, 500000000, 500000) | |
2813 | sbs.position = RootPart.CFrame.p + Vector3.new(0, 2000, 0) | |
2814 | for i = 1, 40 do | |
2815 | swait() | |
2816 | Neck.C0 = clerp(Neck.C0, necko * euler(-0.5, 0, 0), 0.1) | |
2817 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * euler(0, 0, 0), 0.1) | |
2818 | RW.C0 = clerp(RW.C0, cf(1.3, 1, 0) * euler(2.5, 0, 0) * euler(0, 0, 0.4), 0.1) | |
2819 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
2820 | LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0) * euler(0.6, 0, 0) * euler(0, 0, -0.5), 0.1) | |
2821 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1) | |
2822 | RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 0, 0.1) * euler(0, math.pi / 2, 0), 0.1) | |
2823 | LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, 0, -0.1) * euler(0, -math.pi / 2, 0), 0.1) | |
2824 | end | |
2825 | wait(3) | |
2826 | Blaze2() | |
2827 | attack = false | |
2828 | parteffected:Destroy() | |
2829 | sbs:Destroy() | |
2830 | end | |
2831 | elseif k=='q' then | |
2832 | if attack==false then | |
2833 | idle=1000 | |
2834 | end | |
2835 | elseif k=='h' then | |
2836 | if attack==false then | |
2837 | mana=100 | |
2838 | end | |
2839 | elseif k=='y' then | |
2840 | if attack==false and mana>=100 then | |
2841 | Shred() | |
2842 | end | |
2843 | elseif k=='f' then | |
2844 | if attack==false and mana>=40 then | |
2845 | Spin() | |
2846 | end | |
2847 | elseif k=='r' then | |
2848 | if attack==false and mana>=20 then | |
2849 | Clap() | |
2850 | end | |
2851 | elseif k=='t' then | |
2852 | if attack==false then | |
2853 | Hai() | |
2854 | end | |
2855 | elseif k=='0' then | |
2856 | if attack==false then | |
2857 | Humanoid.WalkSpeed=(24) | |
2858 | end | |
2859 | elseif k=='j' then | |
2860 | if attack==false then | |
2861 | Humanoid.Health = 10 | |
2862 | print("Congrats, you commited suicide.") | |
2863 | end | |
2864 | end | |
2865 | end) | |
2866 | ||
2867 | mouse.KeyDown:connect(function(k) | |
2868 | if k == "z" and Ultramode == false then | |
2869 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
2870 | attack = true | |
2871 | for i = 1, 15 do | |
2872 | swait() | |
2873 | Neck.C0 = clerp(Neck.C0, necko * euler(0.5, 0, 0), 0.3) | |
2874 | RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * euler(0.5, 0, 0), 0.35) | |
2875 | RW.C0 = clerp(RW.C0, cf(1.5, 1, 0) * euler(0, 0, 0) * euler(0.3, 0, 0.6), 0.35) | |
2876 | RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
2877 | LW.C0 = clerp(LW.C0, cf(-1.5, 1, 0) * euler(-0.5, 0, 0) * euler(0, 0, -0.7), 0.35) | |
2878 | LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2) | |
2879 | RH.C0 = clerp(RH.C0, cf(1, 0.25, -0.5) * euler(0.55, 0, 0) * euler(0, math.pi / 2.2, 0), 0.35) | |
2880 | LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5) * euler(-0.7, 0, 0) * euler(0, -math.pi / 1.8, 0), 0.35) | |
2881 | end | |
2882 | m:Destroy() | |
2883 | local m = Instance.new("Model", Character) | |
2884 | m.Name = "WeaponModel" | |
2885 | local parta = Instance.new("Part",Character) | |
2886 | parta.Size = vt(10,10,10) | |
2887 | parta.BrickColor = BrickColor.new("Really black") | |
2888 | parta.Material = "Neon" | |
2889 | parta.Shape = "Ball" | |
2890 | parta.Transparency = 0 | |
2891 | parta.Anchored = true | |
2892 | parta.CanCollide = false | |
2893 | parta.CFrame = tors.CFrame | |
2894 | Transform() | |
2895 | parta:Destroy() | |
2896 | ||
2897 | local modelzorzz=Instance.new("Model") | |
2898 | modelzorzz.Parent=Character | |
2899 | modelzorzz.Name="Claw1" | |
2900 | ||
2901 | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(3, 3, 3)) | |
2902 | Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963)) | |
2903 | mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2904 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2905 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906)) | |
2906 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2907 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862)) | |
2908 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2909 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2910 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996)) | |
2911 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2912 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459)) | |
2913 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2914 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592)) | |
2915 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2916 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537)) | |
2917 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2918 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266)) | |
2919 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2920 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906)) | |
2921 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2922 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265)) | |
2923 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2924 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829)) | |
2925 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2926 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562)) | |
2927 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2928 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2929 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682)) | |
2930 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2931 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805)) | |
2932 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2933 | Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
2934 | Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086)) | |
2935 | mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) | |
2936 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2937 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474)) | |
2938 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2939 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2940 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891)) | |
2941 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2942 | ||
2943 | local modelzorzz2=Instance.new("Model") | |
2944 | modelzorzz2.Parent=Character | |
2945 | modelzorzz2.Name="Claw2" | |
2946 | ||
2947 | Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(3, 3, 3)) | |
2948 | Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559)) | |
2949 | mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
2950 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2951 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183)) | |
2952 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2953 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009)) | |
2954 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2955 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139)) | |
2956 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2957 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765)) | |
2958 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2959 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2960 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858)) | |
2961 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2962 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2963 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958)) | |
2964 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2965 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964)) | |
2966 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2967 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2968 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885)) | |
2969 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2970 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137)) | |
2971 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2972 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2973 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696)) | |
2974 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1)) | |
2975 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073)) | |
2976 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(2, 5, 2)) | |
2977 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2978 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183)) | |
2979 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2980 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377)) | |
2981 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2982 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329)) | |
2983 | Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1)) | |
2984 | Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636)) | |
2985 | mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15)) | |
2986 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(2.20000005, 1, 1)) | |
2987 | Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835)) | |
2988 | ||
2989 | local modelzorzz3=Instance.new("Model") | |
2990 | modelzorzz3.Parent=Character | |
2991 | modelzorzz3.Name="Eye" | |
2992 | ||
2993 | handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
2994 | handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0)) | |
2995 | mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1)) | |
2996 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
2997 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
2998 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996)) | |
2999 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005)) | |
3000 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
3001 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963)) | |
3002 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
3003 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
3004 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039)) | |
3005 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998)) | |
3006 | Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0)) | |
3007 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039)) | |
3008 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
3009 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752)) | |
3010 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
3011 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1)) | |
3012 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
3013 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702)) | |
3014 | Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964)) | |
3015 | Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537)) | |
3016 | ||
3017 | p = game.Players.LocalPlayer | |
3018 | char = p.Character | |
3019 | torso = char.Torso | |
3020 | neck = char.Torso.Neck | |
3021 | hum = char.Humanoid | |
3022 | hum.MaxHealth = 1527500 | |
3023 | wait() | |
3024 | hum.Health =hum.MaxHealth | |
3025 | ||
3026 | local particleemitter = Instance.new("ParticleEmitter", Handle) | |
3027 | particleemitter.VelocitySpread = 180 | |
3028 | particleemitter.Lifetime = NumberRange.new(0.1) | |
3029 | particleemitter.Speed = NumberRange.new(2) | |
3030 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) | |
3031 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
3032 | particleemitter.Rate = 100 | |
3033 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
3034 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
3035 | particleemitter.LightEmission = 0.8 | |
3036 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
3037 | ||
3038 | local particleemitter = Instance.new("ParticleEmitter", Handle2) | |
3039 | particleemitter.VelocitySpread = 180 | |
3040 | particleemitter.Lifetime = NumberRange.new(0.1) | |
3041 | particleemitter.Speed = NumberRange.new(2) | |
3042 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)}) | |
3043 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
3044 | particleemitter.Rate = 100 | |
3045 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
3046 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
3047 | particleemitter.LightEmission = 0.8 | |
3048 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
3049 | ||
3050 | local particleemitter = Instance.new("ParticleEmitter", handle) | |
3051 | particleemitter.VelocitySpread = 180 | |
3052 | particleemitter.Lifetime = NumberRange.new(0.1) | |
3053 | particleemitter.Speed = NumberRange.new(2) | |
3054 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)}) | |
3055 | particleemitter.RotSpeed = NumberRange.new(-45, 45) | |
3056 | particleemitter.Rate = 100 | |
3057 | particleemitter.Rotation = NumberRange.new(-45, 45) | |
3058 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)}) | |
3059 | particleemitter.LightEmission = 0.8 | |
3060 | particleemitter.Color = ColorSequence.new(Color3.new(1, 1, 1), Color3.new(0, 0, 0)) | |
3061 | ||
3062 | particleemitter.Enabled = true | |
3063 | MagicCircle(BrickColor.new("Really black"),cf(Torso.Position),75,75,75,35,35,35,0.025) | |
3064 | MagicCircle(BrickColor.new("Really black"),cf(Torso.Position),76,76,76,36,36,36,0.025) | |
3065 | so("http://www.roblox.com/asset/?id=150829983",Character,3,0.475) | |
3066 | so("http://www.roblox.com/asset/?id=231917742",Character,3,0.75) | |
3067 | for i=0,1,0.005 do | |
3068 | swait() | |
3069 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1) | |
3070 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1) | |
3071 | handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
3072 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1) | |
3073 | Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1) | |
3074 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
3075 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
3076 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
3077 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
3078 | end | |
3079 | for i=0,1,0.04 do | |
3080 | swait() | |
3081 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
3082 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3083 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3084 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3085 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
3086 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
3087 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
3088 | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) | |
3089 | end | |
3090 | attack = false | |
3091 | end | |
3092 | end | |
3093 | end) | |
3094 | ||
3095 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
3096 | local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) | |
3097 | prt.Anchored=true | |
3098 | prt.CFrame=cframe | |
3099 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
3100 | game:GetService("Debris"):AddItem(prt,2) | |
3101 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
3102 | for i=0,1,delay do | |
3103 | wait() | |
3104 | Part.CFrame=Part.CFrame | |
3105 | Part.Transparency=i | |
3106 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
3107 | end | |
3108 | Part.Parent=nil | |
3109 | end),prt,msh) | |
3110 | end | |
3111 | ||
3112 | TrailDeb = false | |
3113 | ||
3114 | function equipanim() | |
3115 | attack=true | |
3116 | Humanoid.WalkSpeed = 0 | |
3117 | if TrailDeb == false then | |
3118 | TrailDeb = true | |
3119 | end | |
3120 | ||
3121 | ||
3122 | coroutine.wrap(function() | |
3123 | local Old = handle.CFrame.p | |
3124 | while wait()do | |
3125 | if not TrailDeb then break end | |
3126 | local New = handle.CFrame.p | |
3127 | local Mag =(Old -New).magnitude | |
3128 | local Dis =(Old +New)/2 | |
3129 | local Trail = Instance.new("Part",Character) | |
3130 | Trail.Material = "Neon" | |
3131 | Trail.Anchored = true | |
3132 | Trail.CanCollide = false | |
3133 | Trail.BrickColor = TorsoColor | |
3134 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3135 | Trail.TopSurface = 0 | |
3136 | Trail.BottomSurface = 0 | |
3137 | Trail.formFactor = "Custom" | |
3138 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3139 | local ms = Instance.new("BlockMesh",Trail) | |
3140 | ms.Scale = Vector3.new(1,1,1) | |
3141 | local TM = Instance.new("CylinderMesh",Trail) | |
3142 | TM.Scale = Vector3.new(1,1,1) | |
3143 | Old = New | |
3144 | coroutine.wrap(function() | |
3145 | for i = 1,0,-0.1 do | |
3146 | wait() | |
3147 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3148 | end | |
3149 | Trail:remove() | |
3150 | end)() | |
3151 | coroutine.wrap(function() | |
3152 | for i = 1,10 do | |
3153 | wait() | |
3154 | Trail.Transparency = Trail.Transparency +0.1 | |
3155 | end end)()end end)() | |
3156 | coroutine.wrap(function() | |
3157 | local Old = Handle.CFrame.p | |
3158 | while wait()do | |
3159 | if not TrailDeb then break end | |
3160 | local New = Handle.CFrame.p | |
3161 | local Mag =(Old -New).magnitude | |
3162 | local Dis =(Old +New)/2 | |
3163 | local Trail = Instance.new("Part",Character) | |
3164 | Trail.Material = "Neon" | |
3165 | Trail.Anchored = true | |
3166 | Trail.CanCollide = false | |
3167 | Trail.BrickColor = TorsoColor | |
3168 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3169 | Trail.TopSurface = 0 | |
3170 | Trail.BottomSurface = 0 | |
3171 | Trail.formFactor = "Custom" | |
3172 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3173 | local ms = Instance.new("BlockMesh",Trail) | |
3174 | ms.Scale = Vector3.new(1,1,1) | |
3175 | local TM = Instance.new("CylinderMesh",Trail) | |
3176 | TM.Scale = Vector3.new(1,1,1) | |
3177 | Old = New | |
3178 | coroutine.wrap(function() | |
3179 | for i = 1,0,-0.1 do | |
3180 | wait() | |
3181 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3182 | end | |
3183 | Trail:remove() | |
3184 | end)() | |
3185 | coroutine.wrap(function() | |
3186 | for i = 1,10 do | |
3187 | wait() | |
3188 | Trail.Transparency = Trail.Transparency +0.1 | |
3189 | end end)()end end)() | |
3190 | coroutine.wrap(function() | |
3191 | local Old = Handle2.CFrame.p | |
3192 | while wait()do | |
3193 | if not TrailDeb then break end | |
3194 | local New = Handle2.CFrame.p | |
3195 | local Mag =(Old -New).magnitude | |
3196 | local Dis =(Old +New)/2 | |
3197 | local Trail = Instance.new("Part",Character) | |
3198 | Trail.Material = "Neon" | |
3199 | Trail.Anchored = true | |
3200 | Trail.CanCollide = false | |
3201 | Trail.BrickColor = TorsoColor | |
3202 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3203 | Trail.TopSurface = 0 | |
3204 | Trail.BottomSurface = 0 | |
3205 | Trail.formFactor = "Custom" | |
3206 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3207 | local ms = Instance.new("BlockMesh",Trail) | |
3208 | ms.Scale = Vector3.new(1,1,1) | |
3209 | local TM = Instance.new("CylinderMesh",Trail) | |
3210 | TM.Scale = Vector3.new(1,1,1) | |
3211 | Old = New | |
3212 | coroutine.wrap(function() | |
3213 | for i = 1,0,-0.1 do | |
3214 | wait() | |
3215 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3216 | end | |
3217 | Trail:remove() | |
3218 | end)() | |
3219 | coroutine.wrap(function() | |
3220 | for i = 1,10 do | |
3221 | wait() | |
3222 | Trail.Transparency = Trail.Transparency +0.1 | |
3223 | end end)()end end)() | |
3224 | so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5) | |
3225 | for i=0,1,0.005 do | |
3226 | swait() | |
3227 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2) | |
3228 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2) | |
3229 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3230 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3231 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3232 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2) | |
3233 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2) | |
3234 | end | |
3235 | for i=0,1,0.005 do | |
3236 | swait() | |
3237 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2) | |
3238 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2) | |
3239 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3240 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3241 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05) | |
3242 | LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2) | |
3243 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2) | |
3244 | end | |
3245 | so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9) | |
3246 | so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9) | |
3247 | for i=0,1,0.005 do | |
3248 | swait() | |
3249 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1) | |
3250 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1) | |
3251 | handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1) | |
3252 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1) | |
3253 | Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1) | |
3254 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
3255 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
3256 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1) | |
3257 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1) | |
3258 | end | |
3259 | for i=0,1,0.04 do | |
3260 | swait() | |
3261 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
3262 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3263 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3264 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3265 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
3266 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
3267 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
3268 | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) | |
3269 | end | |
3270 | --dmgstop() | |
3271 | attack=false | |
3272 | Humanoid.WalkSpeed = 12 | |
3273 | if TrailDeb == true then | |
3274 | TrailDeb = false | |
3275 | end | |
3276 | end | |
3277 | ||
3278 | function attackone() | |
3279 | attack=true | |
3280 | if TrailDeb == false then | |
3281 | TrailDeb = true | |
3282 | end | |
3283 | ||
3284 | ||
3285 | coroutine.wrap(function() | |
3286 | local Old = Handle.CFrame.p | |
3287 | while wait()do | |
3288 | if not TrailDeb then break end | |
3289 | local New = Handle.CFrame.p | |
3290 | local Mag =(Old -New).magnitude | |
3291 | local Dis =(Old +New)/2 | |
3292 | local Trail = Instance.new("Part",Character) | |
3293 | Trail.Material = "Neon" | |
3294 | Trail.Anchored = true | |
3295 | Trail.CanCollide = false | |
3296 | Trail.BrickColor = TorsoColor | |
3297 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3298 | Trail.TopSurface = 0 | |
3299 | Trail.BottomSurface = 0 | |
3300 | Trail.formFactor = "Custom" | |
3301 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3302 | local ms = Instance.new("BlockMesh",Trail) | |
3303 | ms.Scale = Vector3.new(1,1,1) | |
3304 | local TM = Instance.new("CylinderMesh",Trail) | |
3305 | TM.Scale = Vector3.new(1,1,1) | |
3306 | Old = New | |
3307 | coroutine.wrap(function() | |
3308 | for i = 1,0,-0.1 do | |
3309 | wait() | |
3310 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3311 | end | |
3312 | Trail:remove() | |
3313 | end)() | |
3314 | coroutine.wrap(function() | |
3315 | for i = 1,10 do | |
3316 | wait() | |
3317 | Trail.Transparency = Trail.Transparency +0.1 | |
3318 | end end)()end end)() | |
3319 | con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3320 | for i=0,1,0.08 do | |
3321 | swait() | |
3322 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3) | |
3323 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3) | |
3324 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3325 | Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
3326 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3327 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3) | |
3328 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
3329 | end | |
3330 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9) | |
3331 | so("http://www.roblox.com/asset/?id=159972643",Torso,1,1) | |
3332 | for i=0,1,0.1 do | |
3333 | swait() | |
3334 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3) | |
3335 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
3336 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3337 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2) | |
3338 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3339 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3) | |
3340 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
3341 | end | |
3342 | --dmgstop() | |
3343 | attack=false | |
3344 | con1:disconnect() | |
3345 | if TrailDeb == true then | |
3346 | TrailDeb = false | |
3347 | end | |
3348 | end | |
3349 | ||
3350 | function attacktwo() | |
3351 | attack=true | |
3352 | if TrailDeb == false then | |
3353 | TrailDeb = true | |
3354 | end | |
3355 | ||
3356 | ||
3357 | coroutine.wrap(function() | |
3358 | local Old = Handle2.CFrame.p | |
3359 | while wait()do | |
3360 | if not TrailDeb then break end | |
3361 | local New = Handle2.CFrame.p | |
3362 | local Mag =(Old -New).magnitude | |
3363 | local Dis =(Old +New)/2 | |
3364 | local Trail = Instance.new("Part",Character) | |
3365 | Trail.Material = "Neon" | |
3366 | Trail.Anchored = true | |
3367 | Trail.CanCollide = false | |
3368 | Trail.BrickColor = TorsoColor | |
3369 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3370 | Trail.TopSurface = 0 | |
3371 | Trail.BottomSurface = 0 | |
3372 | Trail.formFactor = "Custom" | |
3373 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3374 | local ms = Instance.new("BlockMesh",Trail) | |
3375 | ms.Scale = Vector3.new(1,1,1) | |
3376 | local TM = Instance.new("CylinderMesh",Trail) | |
3377 | TM.Scale = Vector3.new(1,1,1) | |
3378 | Old = New | |
3379 | coroutine.wrap(function() | |
3380 | for i = 1,0,-0.1 do | |
3381 | wait() | |
3382 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3383 | end | |
3384 | Trail:remove() | |
3385 | end)() | |
3386 | coroutine.wrap(function() | |
3387 | for i = 1,10 do | |
3388 | wait() | |
3389 | Trail.Transparency = Trail.Transparency +0.1 | |
3390 | end end)()end end)() | |
3391 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3392 | for i=0,1,0.08 do | |
3393 | swait() | |
3394 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
3395 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
3396 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3397 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2) | |
3398 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3399 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3) | |
3400 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) | |
3401 | end | |
3402 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) | |
3403 | so("http://www.roblox.com/asset/?id=159972627",Torso,1,1) | |
3404 | for i=0,1,0.1 do | |
3405 | swait() | |
3406 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
3407 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3) | |
3408 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3409 | Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2) | |
3410 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3411 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
3412 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3) | |
3413 | end | |
3414 | --dmgstop() | |
3415 | attack=false | |
3416 | con1:disconnect() | |
3417 | if TrailDeb == true then | |
3418 | TrailDeb = false | |
3419 | end | |
3420 | end | |
3421 | ||
3422 | function attackthree() | |
3423 | attack=true | |
3424 | if TrailDeb == false then | |
3425 | TrailDeb = true | |
3426 | end | |
3427 | ||
3428 | ||
3429 | coroutine.wrap(function() | |
3430 | local Old = Handle.CFrame.p | |
3431 | while wait()do | |
3432 | if not TrailDeb then break end | |
3433 | local New = Handle.CFrame.p | |
3434 | local Mag =(Old -New).magnitude | |
3435 | local Dis =(Old +New)/2 | |
3436 | local Trail = Instance.new("Part",Character) | |
3437 | Trail.Material = "Neon" | |
3438 | Trail.Anchored = true | |
3439 | Trail.CanCollide = false | |
3440 | Trail.BrickColor = TorsoColor | |
3441 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3442 | Trail.TopSurface = 0 | |
3443 | Trail.BottomSurface = 0 | |
3444 | Trail.formFactor = "Custom" | |
3445 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3446 | local ms = Instance.new("BlockMesh",Trail) | |
3447 | ms.Scale = Vector3.new(1,1,1) | |
3448 | local TM = Instance.new("CylinderMesh",Trail) | |
3449 | TM.Scale = Vector3.new(1,1,1) | |
3450 | Old = New | |
3451 | coroutine.wrap(function() | |
3452 | for i = 1,0,-0.1 do | |
3453 | wait() | |
3454 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3455 | end | |
3456 | Trail:remove() | |
3457 | end)() | |
3458 | coroutine.wrap(function() | |
3459 | for i = 1,10 do | |
3460 | wait() | |
3461 | Trail.Transparency = Trail.Transparency +0.1 | |
3462 | end end)()end end)() | |
3463 | con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end) | |
3464 | for i=0,1,0.08 do | |
3465 | swait() | |
3466 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
3467 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
3468 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3469 | Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2) | |
3470 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3471 | RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3) | |
3472 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
3473 | end | |
3474 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
3475 | so("http://www.roblox.com/asset/?id=159882477",Torso,1,1) | |
3476 | for i=0,1,0.05 do | |
3477 | swait() | |
3478 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
3479 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
3480 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3481 | Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2) | |
3482 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3483 | RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3) | |
3484 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3) | |
3485 | end | |
3486 | --dmgstop() | |
3487 | attack=false | |
3488 | con1:disconnect() | |
3489 | if TrailDeb == true then | |
3490 | TrailDeb = false | |
3491 | end | |
3492 | end | |
3493 | ||
3494 | function attackfour() | |
3495 | attack=true | |
3496 | if TrailDeb == false then | |
3497 | TrailDeb = true | |
3498 | end | |
3499 | ||
3500 | ||
3501 | coroutine.wrap(function() | |
3502 | local Old = Handle2.CFrame.p | |
3503 | while wait()do | |
3504 | if not TrailDeb then break end | |
3505 | local New = Handle2.CFrame.p | |
3506 | local Mag =(Old -New).magnitude | |
3507 | local Dis =(Old +New)/2 | |
3508 | local Trail = Instance.new("Part",Character) | |
3509 | Trail.Material = "Neon" | |
3510 | Trail.Anchored = true | |
3511 | Trail.CanCollide = false | |
3512 | Trail.BrickColor = TorsoColor | |
3513 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3514 | Trail.TopSurface = 0 | |
3515 | Trail.BottomSurface = 0 | |
3516 | Trail.formFactor = "Custom" | |
3517 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3518 | local ms = Instance.new("BlockMesh",Trail) | |
3519 | ms.Scale = Vector3.new(1,1,1) | |
3520 | local TM = Instance.new("CylinderMesh",Trail) | |
3521 | TM.Scale = Vector3.new(1,1,1) | |
3522 | Old = New | |
3523 | coroutine.wrap(function() | |
3524 | for i = 1,0,-0.1 do | |
3525 | wait() | |
3526 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3527 | end | |
3528 | Trail:remove() | |
3529 | end)() | |
3530 | coroutine.wrap(function() | |
3531 | for i = 1,10 do | |
3532 | wait() | |
3533 | Trail.Transparency = Trail.Transparency +0.1 | |
3534 | end end)()end end)() | |
3535 | coroutine.wrap(function() | |
3536 | local Old = Handle.CFrame.p | |
3537 | while wait()do | |
3538 | if not TrailDeb then break end | |
3539 | local New = Handle.CFrame.p | |
3540 | local Mag =(Old -New).magnitude | |
3541 | local Dis =(Old +New)/2 | |
3542 | local Trail = Instance.new("Part",Character) | |
3543 | Trail.Material = "Neon" | |
3544 | Trail.Anchored = true | |
3545 | Trail.CanCollide = false | |
3546 | Trail.BrickColor = TorsoColor | |
3547 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3548 | Trail.TopSurface = 0 | |
3549 | Trail.BottomSurface = 0 | |
3550 | Trail.formFactor = "Custom" | |
3551 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3552 | local ms = Instance.new("BlockMesh",Trail) | |
3553 | ms.Scale = Vector3.new(1,1,1) | |
3554 | local TM = Instance.new("CylinderMesh",Trail) | |
3555 | TM.Scale = Vector3.new(1,1,1) | |
3556 | Old = New | |
3557 | coroutine.wrap(function() | |
3558 | for i = 1,0,-0.1 do | |
3559 | wait() | |
3560 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3561 | end | |
3562 | Trail:remove() | |
3563 | end)() | |
3564 | coroutine.wrap(function() | |
3565 | for i = 1,10 do | |
3566 | wait() | |
3567 | Trail.Transparency = Trail.Transparency +0.1 | |
3568 | end end)()end end)() | |
3569 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3570 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3571 | for i=0,1,0.08 do | |
3572 | swait() | |
3573 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3) | |
3574 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3575 | Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3576 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3577 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3) | |
3578 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3) | |
3579 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3) | |
3580 | LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3) | |
3581 | end | |
3582 | if anim then | |
3583 | anim.Disabled=true | |
3584 | end | |
3585 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7) | |
3586 | so("http://www.roblox.com/asset/?id=159882584",Torso,1,1) | |
3587 | for i=0,1,0.04 do | |
3588 | swait() | |
3589 | Torso.Velocity=RootPart.CFrame.lookVector*50 | |
3590 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3) | |
3591 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3592 | Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3593 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3594 | RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3595 | LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3596 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
3597 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
3598 | end | |
3599 | --dmgstop() | |
3600 | attack=false | |
3601 | con1:disconnect() | |
3602 | con2:disconnect() | |
3603 | if anim then | |
3604 | anim.Disabled=false | |
3605 | end | |
3606 | if TrailDeb == true then | |
3607 | TrailDeb = false | |
3608 | end | |
3609 | end | |
3610 | ||
3611 | function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2) | |
3612 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
3613 | prt.Anchored = true | |
3614 | prt.CFrame = cframe | |
3615 | local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1)) | |
3616 | coroutine.resume(coroutine.create(function() | |
3617 | for i = 0, 1, 0.05 do | |
3618 | wait() | |
3619 | prt.Transparency = i | |
3620 | msh.Scale = msh.Scale + vt(x2, y2, z2) | |
3621 | end | |
3622 | prt.Parent = nil | |
3623 | end)) | |
3624 | end | |
3625 | ||
3626 | function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type) | |
3627 | for _, c in pairs(workspace:children()) do | |
3628 | local hum = c:findFirstChild("Humanoid") | |
3629 | if hum ~= nil then | |
3630 | local head = c:findFirstChild("Torso") | |
3631 | if head ~= nil then | |
3632 | local targ = head.Position - Part.Position | |
3633 | local mag = targ.magnitude | |
3634 | if mag <= magni and c.Name ~= Player.Name then | |
3635 | Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3) | |
3636 | end | |
3637 | end | |
3638 | end | |
3639 | end | |
3640 | end | |
3641 | ||
3642 | function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) | |
3643 | local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5)) | |
3644 | prt.Anchored = true | |
3645 | prt.CFrame = cframe | |
3646 | local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1)) | |
3647 | game:GetService("Debris"):AddItem(prt, 2) | |
3648 | coroutine.resume(coroutine.create(function(Part, Mesh) | |
3649 | for i = 0, 1, delay do | |
3650 | swait() | |
3651 | Part.CFrame = Part.CFrame | |
3652 | Part.Transparency = i | |
3653 | Mesh.Scale = Mesh.Scale + vt(x3, y3, z3) | |
3654 | end | |
3655 | Part.Parent = nil | |
3656 | end), prt, msh) | |
3657 | end | |
3658 | ||
3659 | function MagicJump() | |
3660 | if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then | |
3661 | attack=true | |
3662 | mana=mana-25 | |
3663 | --[[ Humanoid.WalkSpeed = 0 | |
3664 | for i=0,1,0.01 do | |
3665 | swait() | |
3666 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1) | |
3667 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1) | |
3668 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
3669 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1) | |
3670 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1) | |
3671 | RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1) | |
3672 | LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1) | |
3673 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1) | |
3674 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1) | |
3675 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1) | |
3676 | end]]-- | |
3677 | Humanoid.Jump = true | |
3678 | Torso.Velocity = vt(0, 150, 0) | |
3679 | Humanoid.WalkSpeed = 64 | |
3680 | so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8) | |
3681 | so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8) | |
3682 | for i=0,1,0.05 do | |
3683 | swait() | |
3684 | Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3) | |
3685 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
3686 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3) | |
3687 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
3688 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3) | |
3689 | RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2) | |
3690 | LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) | |
3691 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
3692 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2) | |
3693 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2) | |
3694 | end | |
3695 | for i=0,1,0.02 do | |
3696 | swait() | |
3697 | Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) | |
3698 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
3699 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) | |
3700 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) | |
3701 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
3702 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) | |
3703 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
3704 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) | |
3705 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
3706 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3707 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
3708 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
3709 | end | |
3710 | Humanoid.WalkSpeed = 0 | |
3711 | swait(8) | |
3712 | so("http://www.roblox.com/asset/?id=199145477",Torso,1,1) | |
3713 | so("http://www.roblox.com/asset/?id=199145477",Torso,1,1) | |
3714 | local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character) | |
3715 | if hit~=nil then | |
3716 | swait(2) | |
3717 | local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt()) | |
3718 | ref.Anchored=true | |
3719 | ref.CFrame=cf(pos) | |
3720 | game:GetService("Debris"):AddItem(ref,3) | |
3721 | for i=1,10 do | |
3722 | local Col=BrickColor.new("Really black") | |
3723 | local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100)) | |
3724 | groundpart.Anchored=true | |
3725 | groundpart.CanCollide=false | |
3726 | groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
3727 | local Col2=TorsoColor | |
3728 | local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100)) | |
3729 | groundpart2.Anchored=true | |
3730 | groundpart2.CanCollide=false | |
3731 | groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
3732 | game:GetService("Debris"):AddItem(groundpart,5) | |
3733 | game:GetService("Debris"):AddItem(groundpart2,5) | |
3734 | end | |
3735 | BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4) | |
3736 | BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2) | |
3737 | MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05) | |
3738 | MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05) | |
3739 | for i=0,1,0.06 do | |
3740 | swait() | |
3741 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
3742 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
3743 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3) | |
3744 | RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3) | |
3745 | LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3) | |
3746 | RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
3747 | LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
3748 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
3749 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
3750 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
3751 | end | |
3752 | end | |
3753 | swait(20) | |
3754 | Humanoid.WalkSpeed = 12 | |
3755 | --dmgstop() | |
3756 | attack=false | |
3757 | end | |
3758 | end | |
3759 | ||
3760 | function Spin() | |
3761 | attack=true | |
3762 | mana=mana-40 | |
3763 | if TrailDeb == false then | |
3764 | TrailDeb = true | |
3765 | end | |
3766 | ||
3767 | coroutine.wrap(function() | |
3768 | local Old = Handle2.CFrame.p | |
3769 | while wait()do | |
3770 | if not TrailDeb then break end | |
3771 | local New = Handle2.CFrame.p | |
3772 | local Mag =(Old -New).magnitude | |
3773 | local Dis =(Old +New)/2 | |
3774 | local Trail = Instance.new("Part",Character) | |
3775 | Trail.Material = "Neon" | |
3776 | Trail.Anchored = true | |
3777 | Trail.CanCollide = false | |
3778 | Trail.BrickColor = TorsoColor | |
3779 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3780 | Trail.TopSurface = 0 | |
3781 | Trail.BottomSurface = 0 | |
3782 | Trail.formFactor = "Custom" | |
3783 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3784 | local ms = Instance.new("BlockMesh",Trail) | |
3785 | ms.Scale = Vector3.new(1,1,1) | |
3786 | local TM = Instance.new("CylinderMesh",Trail) | |
3787 | TM.Scale = Vector3.new(1,1,1) | |
3788 | Old = New | |
3789 | coroutine.wrap(function() | |
3790 | for i = 1,0,-0.1 do | |
3791 | wait() | |
3792 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3793 | end | |
3794 | Trail:remove() | |
3795 | end)() | |
3796 | coroutine.wrap(function() | |
3797 | for i = 1,10 do | |
3798 | wait() | |
3799 | Trail.Transparency = Trail.Transparency +0.1 | |
3800 | end end)()end end)() | |
3801 | coroutine.wrap(function() | |
3802 | local Old = Handle.CFrame.p | |
3803 | while wait()do | |
3804 | if not TrailDeb then break end | |
3805 | local New = Handle.CFrame.p | |
3806 | local Mag =(Old -New).magnitude | |
3807 | local Dis =(Old +New)/2 | |
3808 | local Trail = Instance.new("Part",Character) | |
3809 | Trail.Material = "Neon" | |
3810 | Trail.Anchored = true | |
3811 | Trail.CanCollide = false | |
3812 | Trail.BrickColor = TorsoColor | |
3813 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3814 | Trail.TopSurface = 0 | |
3815 | Trail.BottomSurface = 0 | |
3816 | Trail.formFactor = "Custom" | |
3817 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3818 | local ms = Instance.new("BlockMesh",Trail) | |
3819 | ms.Scale = Vector3.new(1,1,1) | |
3820 | local TM = Instance.new("CylinderMesh",Trail) | |
3821 | TM.Scale = Vector3.new(1,1,1) | |
3822 | Old = New | |
3823 | coroutine.wrap(function() | |
3824 | for i = 1,0,-0.1 do | |
3825 | wait() | |
3826 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3827 | end | |
3828 | Trail:remove() | |
3829 | end)() | |
3830 | coroutine.wrap(function() | |
3831 | for i = 1,10 do | |
3832 | wait() | |
3833 | Trail.Transparency = Trail.Transparency +0.1 | |
3834 | end end)()end end)() | |
3835 | Footsteps:Stop() | |
3836 | Footsteps2:Stop() | |
3837 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3838 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3839 | so("http://www.roblox.com/asset/?id=159882497",Torso,1,1) | |
3840 | for i=0,1,0.1 do | |
3841 | swait() | |
3842 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
3843 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3844 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3845 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3846 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3847 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3848 | end | |
3849 | if anim then | |
3850 | anim.Disabled=true | |
3851 | end | |
3852 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) | |
3853 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) | |
3854 | for i=0,1,0.05 do | |
3855 | swait() | |
3856 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
3857 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
3858 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3859 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3860 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3861 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3862 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3863 | end | |
3864 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) | |
3865 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) | |
3866 | for i=0,1,0.05 do | |
3867 | swait() | |
3868 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
3869 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
3870 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3871 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3872 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3873 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3874 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3875 | end | |
3876 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2) | |
3877 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1) | |
3878 | for i=0,1,0.05 do | |
3879 | swait() | |
3880 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
3881 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3) | |
3882 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3883 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3884 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3885 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3886 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3887 | end | |
3888 | --dmgstop() | |
3889 | Humanoid.WalkSpeed=12 | |
3890 | attack=false | |
3891 | con1:disconnect() | |
3892 | con2:disconnect() | |
3893 | if anim then | |
3894 | anim.Disabled=false | |
3895 | end | |
3896 | if TrailDeb == true then | |
3897 | TrailDeb = false | |
3898 | end | |
3899 | end | |
3900 | ||
3901 | function Twirl() | |
3902 | mana=mana-50 | |
3903 | attack=true | |
3904 | if TrailDeb == false then | |
3905 | TrailDeb = true | |
3906 | end | |
3907 | ||
3908 | ||
3909 | coroutine.wrap(function() | |
3910 | local Old = Handle2.CFrame.p | |
3911 | while wait()do | |
3912 | if not TrailDeb then break end | |
3913 | local New = Handle2.CFrame.p | |
3914 | local Mag =(Old -New).magnitude | |
3915 | local Dis =(Old +New)/2 | |
3916 | local Trail = Instance.new("Part",Character) | |
3917 | Trail.Material = "Neon" | |
3918 | Trail.Anchored = true | |
3919 | Trail.CanCollide = false | |
3920 | Trail.BrickColor = TorsoColor | |
3921 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3922 | Trail.TopSurface = 0 | |
3923 | Trail.BottomSurface = 0 | |
3924 | Trail.formFactor = "Custom" | |
3925 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3926 | local ms = Instance.new("BlockMesh",Trail) | |
3927 | ms.Scale = Vector3.new(1,1,1) | |
3928 | local TM = Instance.new("CylinderMesh",Trail) | |
3929 | TM.Scale = Vector3.new(1,1,1) | |
3930 | Old = New | |
3931 | coroutine.wrap(function() | |
3932 | for i = 1,0,-0.1 do | |
3933 | wait() | |
3934 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3935 | end | |
3936 | Trail:remove() | |
3937 | end)() | |
3938 | coroutine.wrap(function() | |
3939 | for i = 1,10 do | |
3940 | wait() | |
3941 | Trail.Transparency = Trail.Transparency +0.1 | |
3942 | end end)()end end)() | |
3943 | coroutine.wrap(function() | |
3944 | local Old = Handle.CFrame.p | |
3945 | while wait()do | |
3946 | if not TrailDeb then break end | |
3947 | local New = Handle.CFrame.p | |
3948 | local Mag =(Old -New).magnitude | |
3949 | local Dis =(Old +New)/2 | |
3950 | local Trail = Instance.new("Part",Character) | |
3951 | Trail.Material = "Neon" | |
3952 | Trail.Anchored = true | |
3953 | Trail.CanCollide = false | |
3954 | Trail.BrickColor = TorsoColor | |
3955 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
3956 | Trail.TopSurface = 0 | |
3957 | Trail.BottomSurface = 0 | |
3958 | Trail.formFactor = "Custom" | |
3959 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
3960 | local ms = Instance.new("BlockMesh",Trail) | |
3961 | ms.Scale = Vector3.new(1,1,1) | |
3962 | local TM = Instance.new("CylinderMesh",Trail) | |
3963 | TM.Scale = Vector3.new(1,1,1) | |
3964 | Old = New | |
3965 | coroutine.wrap(function() | |
3966 | for i = 1,0,-0.1 do | |
3967 | wait() | |
3968 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
3969 | end | |
3970 | Trail:remove() | |
3971 | end)() | |
3972 | coroutine.wrap(function() | |
3973 | for i = 1,10 do | |
3974 | wait() | |
3975 | Trail.Transparency = Trail.Transparency +0.1 | |
3976 | end end)()end end)() | |
3977 | Footsteps:Stop() | |
3978 | Footsteps2:Stop() | |
3979 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3980 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
3981 | so("http://www.roblox.com/asset/?id=159882598",Torso,1,1) | |
3982 | for i=0,1,0.1 do | |
3983 | swait() | |
3984 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
3985 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3986 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
3987 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
3988 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
3989 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
3990 | end | |
3991 | if anim then | |
3992 | anim.Disabled=true | |
3993 | end | |
3994 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
3995 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
3996 | for i=0,1,0.05 do | |
3997 | swait() | |
3998 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
3999 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
4000 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4001 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4002 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4003 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4004 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4005 | end | |
4006 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
4007 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
4008 | for i=0,1,0.05 do | |
4009 | swait() | |
4010 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
4011 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
4012 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4013 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4014 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4015 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4016 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4017 | end | |
4018 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
4019 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
4020 | for i=0,1,0.05 do | |
4021 | swait() | |
4022 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
4023 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
4024 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4025 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4026 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4027 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4028 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4029 | end | |
4030 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1) | |
4031 | so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8) | |
4032 | for i=0,1,0.05 do | |
4033 | swait() | |
4034 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
4035 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3) | |
4036 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4037 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4038 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4039 | RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4040 | LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4041 | end | |
4042 | --dmgstop() | |
4043 | Humanoid.WalkSpeed=12 | |
4044 | attack=false | |
4045 | con1:disconnect() | |
4046 | con2:disconnect() | |
4047 | if anim then | |
4048 | anim.Disabled=false | |
4049 | end | |
4050 | if TrailDeb == true then | |
4051 | TrailDeb = false | |
4052 | end | |
4053 | end | |
4054 | ||
4055 | function Shred() | |
4056 | attack=true | |
4057 | mana=mana-100 | |
4058 | if TrailDeb == false then | |
4059 | TrailDeb = true | |
4060 | end | |
4061 | ||
4062 | ||
4063 | coroutine.wrap(function() | |
4064 | local Old = Handle2.CFrame.p | |
4065 | while wait()do | |
4066 | if not TrailDeb then break end | |
4067 | local New = Handle2.CFrame.p | |
4068 | local Mag =(Old -New).magnitude | |
4069 | local Dis =(Old +New)/2 | |
4070 | local Trail = Instance.new("Part",Character) | |
4071 | Trail.Material = "Neon" | |
4072 | Trail.Anchored = true | |
4073 | Trail.CanCollide = false | |
4074 | Trail.BrickColor = TorsoColor | |
4075 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4076 | Trail.TopSurface = 0 | |
4077 | Trail.BottomSurface = 0 | |
4078 | Trail.formFactor = "Custom" | |
4079 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4080 | local ms = Instance.new("BlockMesh",Trail) | |
4081 | ms.Scale = Vector3.new(1,1,1) | |
4082 | local TM = Instance.new("CylinderMesh",Trail) | |
4083 | TM.Scale = Vector3.new(1,1,1) | |
4084 | Old = New | |
4085 | coroutine.wrap(function() | |
4086 | for i = 1,0,-0.1 do | |
4087 | wait() | |
4088 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4089 | end | |
4090 | Trail:remove() | |
4091 | end)() | |
4092 | coroutine.wrap(function() | |
4093 | for i = 1,10 do | |
4094 | wait() | |
4095 | Trail.Transparency = Trail.Transparency +0.1 | |
4096 | end end)()end end)() | |
4097 | coroutine.wrap(function() | |
4098 | local Old = Handle.CFrame.p | |
4099 | while wait()do | |
4100 | if not TrailDeb then break end | |
4101 | local New = Handle.CFrame.p | |
4102 | local Mag =(Old -New).magnitude | |
4103 | local Dis =(Old +New)/2 | |
4104 | local Trail = Instance.new("Part",Character) | |
4105 | Trail.Material = "Neon" | |
4106 | Trail.Anchored = true | |
4107 | Trail.CanCollide = false | |
4108 | Trail.BrickColor = TorsoColor | |
4109 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4110 | Trail.TopSurface = 0 | |
4111 | Trail.BottomSurface = 0 | |
4112 | Trail.formFactor = "Custom" | |
4113 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4114 | local ms = Instance.new("BlockMesh",Trail) | |
4115 | ms.Scale = Vector3.new(1,1,1) | |
4116 | local TM = Instance.new("CylinderMesh",Trail) | |
4117 | TM.Scale = Vector3.new(1,1,1) | |
4118 | Old = New | |
4119 | coroutine.wrap(function() | |
4120 | for i = 1,0,-0.1 do | |
4121 | wait() | |
4122 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4123 | end | |
4124 | Trail:remove() | |
4125 | end)() | |
4126 | coroutine.wrap(function() | |
4127 | for i = 1,10 do | |
4128 | wait() | |
4129 | Trail.Transparency = Trail.Transparency +0.1 | |
4130 | end end)()end end)() | |
4131 | Footsteps:Stop() | |
4132 | Footsteps2:Stop() | |
4133 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4134 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4135 | so("http://www.roblox.com/asset/?id=159882578",Torso,1,1) | |
4136 | for i=0,1,0.1 do | |
4137 | swait() | |
4138 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4139 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4140 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4141 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4142 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4143 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4144 | end | |
4145 | if anim then | |
4146 | anim.Disabled=true | |
4147 | end | |
4148 | for i=0,1,0.05 do | |
4149 | swait() | |
4150 | Torso.Velocity=RootPart.CFrame.lookVector*20 | |
4151 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) | |
4152 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) | |
4153 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5) | |
4154 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4155 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4156 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4157 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4158 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4159 | end | |
4160 | for i=0,1,0.05 do | |
4161 | swait() | |
4162 | Torso.Velocity=RootPart.CFrame.lookVector*40 | |
4163 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) | |
4164 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) | |
4165 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5) | |
4166 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4167 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4168 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4169 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4170 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4171 | end | |
4172 | for i=0,1,0.05 do | |
4173 | swait() | |
4174 | Torso.Velocity=RootPart.CFrame.lookVector*60 | |
4175 | so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2) | |
4176 | so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1) | |
4177 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5) | |
4178 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4179 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4180 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4181 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4182 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4183 | end | |
4184 | so("http://www.roblox.com/asset/?id=159882625",Torso,1,1) | |
4185 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
4186 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
4187 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
4188 | so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1) | |
4189 | for i=0,1,0.05 do | |
4190 | swait() | |
4191 | Torso.Velocity=RootPart.CFrame.lookVector*80 | |
4192 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5) | |
4193 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4194 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4195 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4196 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4197 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4198 | end | |
4199 | for i=0,1,0.005 do | |
4200 | swait() | |
4201 | Torso.Velocity=RootPart.CFrame.lookVector*100 | |
4202 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5) | |
4203 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4204 | Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4205 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2) | |
4206 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3) | |
4207 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3) | |
4208 | end | |
4209 | --dmgstop() | |
4210 | Humanoid.WalkSpeed=12 | |
4211 | attack=false | |
4212 | con1:disconnect() | |
4213 | con2:disconnect() | |
4214 | if anim then | |
4215 | anim.Disabled=false | |
4216 | end | |
4217 | if TrailDeb == true then | |
4218 | TrailDeb = false | |
4219 | end | |
4220 | end | |
4221 | ||
4222 | function Push() | |
4223 | attack=true | |
4224 | mana=mana-20 | |
4225 | if TrailDeb == false then | |
4226 | TrailDeb = true | |
4227 | end | |
4228 | ||
4229 | ||
4230 | coroutine.wrap(function() | |
4231 | local Old = Handle2.CFrame.p | |
4232 | while wait()do | |
4233 | if not TrailDeb then break end | |
4234 | local New = Handle2.CFrame.p | |
4235 | local Mag =(Old -New).magnitude | |
4236 | local Dis =(Old +New)/2 | |
4237 | local Trail = Instance.new("Part",Character) | |
4238 | Trail.Material = "Neon" | |
4239 | Trail.Anchored = true | |
4240 | Trail.CanCollide = false | |
4241 | Trail.BrickColor = TorsoColor | |
4242 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4243 | Trail.TopSurface = 0 | |
4244 | Trail.BottomSurface = 0 | |
4245 | Trail.formFactor = "Custom" | |
4246 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4247 | local ms = Instance.new("BlockMesh",Trail) | |
4248 | ms.Scale = Vector3.new(1,1,1) | |
4249 | local TM = Instance.new("CylinderMesh",Trail) | |
4250 | TM.Scale = Vector3.new(1,1,1) | |
4251 | Old = New | |
4252 | coroutine.wrap(function() | |
4253 | for i = 1,0,-0.1 do | |
4254 | wait() | |
4255 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4256 | end | |
4257 | Trail:remove() | |
4258 | end)() | |
4259 | coroutine.wrap(function() | |
4260 | for i = 1,10 do | |
4261 | wait() | |
4262 | Trail.Transparency = Trail.Transparency +0.1 | |
4263 | end end)()end end)() | |
4264 | coroutine.wrap(function() | |
4265 | local Old = Handle.CFrame.p | |
4266 | while wait()do | |
4267 | if not TrailDeb then break end | |
4268 | local New = Handle.CFrame.p | |
4269 | local Mag =(Old -New).magnitude | |
4270 | local Dis =(Old +New)/2 | |
4271 | local Trail = Instance.new("Part",Character) | |
4272 | Trail.Material = "Neon" | |
4273 | Trail.Anchored = true | |
4274 | Trail.CanCollide = false | |
4275 | Trail.BrickColor = TorsoColor | |
4276 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4277 | Trail.TopSurface = 0 | |
4278 | Trail.BottomSurface = 0 | |
4279 | Trail.formFactor = "Custom" | |
4280 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4281 | local ms = Instance.new("BlockMesh",Trail) | |
4282 | ms.Scale = Vector3.new(1,1,1) | |
4283 | local TM = Instance.new("CylinderMesh",Trail) | |
4284 | TM.Scale = Vector3.new(1,1,1) | |
4285 | Old = New | |
4286 | coroutine.wrap(function() | |
4287 | for i = 1,0,-0.1 do | |
4288 | wait() | |
4289 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4290 | end | |
4291 | Trail:remove() | |
4292 | end)() | |
4293 | coroutine.wrap(function() | |
4294 | for i = 1,10 do | |
4295 | wait() | |
4296 | Trail.Transparency = Trail.Transparency +0.1 | |
4297 | end end)()end end)() | |
4298 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4299 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4300 | for i=0,1,0.1 do | |
4301 | swait() | |
4302 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4303 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4304 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4305 | Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
4306 | Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
4307 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3) | |
4308 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3) | |
4309 | end | |
4310 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) | |
4311 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
4312 | so("http://www.roblox.com/asset/?id=159882481",Torso,1,1) | |
4313 | for i=0,1,0.1 do | |
4314 | swait() | |
4315 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4316 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4317 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4318 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
4319 | Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
4320 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3) | |
4321 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3) | |
4322 | end | |
4323 | --dmgstop() | |
4324 | attack=false | |
4325 | con1:disconnect() | |
4326 | con2:disconnect() | |
4327 | if TrailDeb == true then | |
4328 | TrailDeb = false | |
4329 | end | |
4330 | end | |
4331 | ||
4332 | function Clap() | |
4333 | attack=true | |
4334 | mana=mana-20 | |
4335 | if TrailDeb == false then | |
4336 | TrailDeb = true | |
4337 | end | |
4338 | ||
4339 | ||
4340 | coroutine.wrap(function() | |
4341 | local Old = Handle2.CFrame.p | |
4342 | while wait()do | |
4343 | if not TrailDeb then break end | |
4344 | local New = Handle2.CFrame.p | |
4345 | local Mag =(Old -New).magnitude | |
4346 | local Dis =(Old +New)/2 | |
4347 | local Trail = Instance.new("Part",Character) | |
4348 | Trail.Material = "Neon" | |
4349 | Trail.Anchored = true | |
4350 | Trail.CanCollide = false | |
4351 | Trail.BrickColor = TorsoColor | |
4352 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4353 | Trail.TopSurface = 0 | |
4354 | Trail.BottomSurface = 0 | |
4355 | Trail.formFactor = "Custom" | |
4356 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4357 | local ms = Instance.new("BlockMesh",Trail) | |
4358 | ms.Scale = Vector3.new(1,1,1) | |
4359 | local TM = Instance.new("CylinderMesh",Trail) | |
4360 | TM.Scale = Vector3.new(1,1,1) | |
4361 | Old = New | |
4362 | coroutine.wrap(function() | |
4363 | for i = 1,0,-0.1 do | |
4364 | wait() | |
4365 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4366 | end | |
4367 | Trail:remove() | |
4368 | end)() | |
4369 | coroutine.wrap(function() | |
4370 | for i = 1,10 do | |
4371 | wait() | |
4372 | Trail.Transparency = Trail.Transparency +0.1 | |
4373 | end end)()end end)() | |
4374 | coroutine.wrap(function() | |
4375 | local Old = Handle.CFrame.p | |
4376 | while wait()do | |
4377 | if not TrailDeb then break end | |
4378 | local New = Handle.CFrame.p | |
4379 | local Mag =(Old -New).magnitude | |
4380 | local Dis =(Old +New)/2 | |
4381 | local Trail = Instance.new("Part",Character) | |
4382 | Trail.Material = "Neon" | |
4383 | Trail.Anchored = true | |
4384 | Trail.CanCollide = false | |
4385 | Trail.BrickColor = TorsoColor | |
4386 | Trail.Size = Vector3.new(0.2,Mag,0.2) | |
4387 | Trail.TopSurface = 0 | |
4388 | Trail.BottomSurface = 0 | |
4389 | Trail.formFactor = "Custom" | |
4390 | Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0) | |
4391 | local ms = Instance.new("BlockMesh",Trail) | |
4392 | ms.Scale = Vector3.new(1,1,1) | |
4393 | local TM = Instance.new("CylinderMesh",Trail) | |
4394 | TM.Scale = Vector3.new(1,1,1) | |
4395 | Old = New | |
4396 | coroutine.wrap(function() | |
4397 | for i = 1,0,-0.1 do | |
4398 | wait() | |
4399 | TM.Scale = TM.Scale * Vector3.new(i,1,i) | |
4400 | end | |
4401 | Trail:remove() | |
4402 | end)() | |
4403 | coroutine.wrap(function() | |
4404 | for i = 1,10 do | |
4405 | wait() | |
4406 | Trail.Transparency = Trail.Transparency +0.1 | |
4407 | end end)()end end)() | |
4408 | con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4409 | con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end) | |
4410 | so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9) | |
4411 | for i=0,1,0.08 do | |
4412 | swait() | |
4413 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4414 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4415 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4416 | Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2) | |
4417 | Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2) | |
4418 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3) | |
4419 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3) | |
4420 | end | |
4421 | so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8) | |
4422 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
4423 | for i=0,1,0.08 do | |
4424 | swait() | |
4425 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4426 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4427 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4428 | Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2) | |
4429 | Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2) | |
4430 | LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3) | |
4431 | RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3) | |
4432 | end | |
4433 | --dmgstop() | |
4434 | attack=false | |
4435 | con1:disconnect() | |
4436 | con2:disconnect() | |
4437 | if TrailDeb == true then | |
4438 | TrailDeb = false | |
4439 | end | |
4440 | end | |
4441 | ||
4442 | function Hai() | |
4443 | attack=true | |
4444 | Humanoid.WalkSpeed=0 | |
4445 | so("http://www.roblox.com/asset/?id=159882567",Torso,1,1) | |
4446 | for i=0,1,0.1 do | |
4447 | swait() | |
4448 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4449 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4450 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4451 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
4452 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
4453 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4454 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4455 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
4456 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
4457 | end | |
4458 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8) | |
4459 | for i=0,1,0.1 do | |
4460 | swait() | |
4461 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4462 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4463 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4464 | Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2) | |
4465 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4466 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4467 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4468 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5) | |
4469 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
4470 | end | |
4471 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
4472 | for i=0,1,0.1 do | |
4473 | swait() | |
4474 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4475 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4476 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4477 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
4478 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
4479 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4480 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4481 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
4482 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
4483 | ||
4484 | end | |
4485 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8) | |
4486 | for i=0,1,0.1 do | |
4487 | swait() | |
4488 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4489 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4490 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4491 | Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2) | |
4492 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4493 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4494 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4495 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3) | |
4496 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
4497 | end | |
4498 | so("http://www.roblox.com/asset/?id=231917758",Handle,1,1) | |
4499 | for i=0,1,0.1 do | |
4500 | swait() | |
4501 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4502 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4503 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4504 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2) | |
4505 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2) | |
4506 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4507 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
4508 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3) | |
4509 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3) | |
4510 | end | |
4511 | --dmgstop() | |
4512 | Humanoid.WalkSpeed=12 | |
4513 | attack=false | |
4514 | end | |
4515 | ||
4516 | function Die() | |
4517 | attack=true | |
4518 | Footsteps:Stop() | |
4519 | Footsteps2:Stop() | |
4520 | local Fire = it("Sound",Character.Torso) | |
4521 | Fire.SoundId = "rbxassetid://192104941" | |
4522 | Fire.Looped = true | |
4523 | Fire.Pitch = 1 | |
4524 | Fire.Volume = 1 | |
4525 | local Fire2 = it("Sound",Handle2) | |
4526 | Fire2.SoundId = "rbxassetid://192104941" | |
4527 | Fire2.Looped = true | |
4528 | Fire2.Pitch = 1 | |
4529 | Fire2.Volume = 1 | |
4530 | local Fire3 = it("Sound",Handle) | |
4531 | Fire3.SoundId = "rbxassetid://192104941" | |
4532 | Fire3.Looped = true | |
4533 | Fire3.Pitch = 1 | |
4534 | Fire3.Volume = 1 | |
4535 | local Fire4 = it("Sound",handle) | |
4536 | Fire4.SoundId = "rbxassetid://192104941" | |
4537 | Fire4.Looped = true | |
4538 | Fire4.Pitch = 1 | |
4539 | Fire4.Volume = 1 | |
4540 | local fire = Instance.new("ParticleEmitter", Character.Torso) | |
4541 | fire.Lifetime = NumberRange.new(0.5) | |
4542 | fire.Speed = NumberRange.new(1, 3) | |
4543 | fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)}) | |
4544 | fire.Rate = 0 | |
4545 | fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
4546 | fire.LightEmission = 0.6 | |
4547 | fire.Texture = "http://www.roblox.com/asset/?id=242911609" | |
4548 | fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
4549 | local fire2 = Instance.new("ParticleEmitter", Handle) | |
4550 | fire2.Lifetime = NumberRange.new(0.5) | |
4551 | fire2.Speed = NumberRange.new(1, 3) | |
4552 | fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)}) | |
4553 | fire2.Rate = 0 | |
4554 | fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
4555 | fire2.LightEmission = 0.6 | |
4556 | fire2.Texture = "http://www.roblox.com/asset/?id=242911609" | |
4557 | fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
4558 | local fire3 = Instance.new("ParticleEmitter", Handle2) | |
4559 | fire3.Lifetime = NumberRange.new(0.5) | |
4560 | fire3.Speed = NumberRange.new(1, 3) | |
4561 | fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)}) | |
4562 | fire3.Rate = 0 | |
4563 | fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
4564 | fire3.LightEmission = 0.6 | |
4565 | fire3.Texture = "http://www.roblox.com/asset/?id=242911609" | |
4566 | fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
4567 | local fire4 = Instance.new("ParticleEmitter", handle) | |
4568 | fire4.Lifetime = NumberRange.new(0.5) | |
4569 | fire4.Speed = NumberRange.new(1, 3) | |
4570 | fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)}) | |
4571 | fire4.Rate = 0 | |
4572 | fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)}) | |
4573 | fire4.LightEmission = 0.6 | |
4574 | fire4.Texture = "http://www.roblox.com/asset/?id=242911609" | |
4575 | fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0)) | |
4576 | Humanoid.WalkSpeed = 0 | |
4577 | so("http://www.roblox.com/asset/?id=199149297",Head,1,1) | |
4578 | so("http://www.roblox.com/asset/?id=209527203",Head,1,1) | |
4579 | for i=0,1,0.08 do | |
4580 | swait() | |
4581 | Torso.Velocity=RootPart.CFrame.lookVector*-30 | |
4582 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2) | |
4583 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2) | |
4584 | handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
4585 | Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
4586 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2) | |
4587 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2) | |
4588 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2) | |
4589 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
4590 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2) | |
4591 | end | |
4592 | for i=0,1,0.005 do | |
4593 | swait() | |
4594 | light.Range=15-10*i | |
4595 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
4596 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
4597 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
4598 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
4599 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
4600 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
4601 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
4602 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4603 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4604 | end | |
4605 | light.Range=0 | |
4606 | for i=0,1,0.01 do | |
4607 | swait() | |
4608 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
4609 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
4610 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
4611 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
4612 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
4613 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
4614 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
4615 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4616 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4617 | end | |
4618 | so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9) | |
4619 | fire.Rate = 1000 | |
4620 | fire2.Rate = 1000 | |
4621 | fire3.Rate = 1000 | |
4622 | fire4.Rate = 1000 | |
4623 | Fire:Play() | |
4624 | Fire2:Play() | |
4625 | Fire3:Play() | |
4626 | Fire4:Play() | |
4627 | for i=0,1,0.005 do | |
4628 | swait() | |
4629 | Character.Head.face.Transparency = 0+1*i | |
4630 | LeftArm.Transparency=0+1*i | |
4631 | RightArm.Transparency=0+1*i | |
4632 | LeftLeg.Transparency=0+1*i | |
4633 | RightLeg.Transparency=0+1*i | |
4634 | Head.Transparency=0+1*i | |
4635 | Torso.Transparency=0+1*i | |
4636 | for _,v in pairs(Character:children()) do | |
4637 | if v:IsA("Hat") then | |
4638 | v.Handle.Transparency = 0+1*i | |
4639 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2) | |
4640 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4) | |
4641 | handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2) | |
4642 | Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2) | |
4643 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2) | |
4644 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2) | |
4645 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2) | |
4646 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4647 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4648 | end | |
4649 | end | |
4650 | --dmgstop() | |
4651 | end | |
4652 | Humanoid.Health = 0 | |
4653 | end | |
4654 | ||
4655 | equipanim() | |
4656 | ||
4657 | local sine = 0 | |
4658 | local change = 1 | |
4659 | local val = 0 | |
4660 | ||
4661 | local mananum=0 | |
4662 | while true do | |
4663 | swait() | |
4664 | sine = sine + change | |
4665 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
4666 | local velderp=RootPart.Velocity.y | |
4667 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
4668 | if equipped==true or equipped==false then | |
4669 | if Anim=="Idle" and attack==false then | |
4670 | idle=idle+1 | |
4671 | else | |
4672 | idle=0 | |
4673 | end | |
4674 | if Humanoid.Health <=20 then | |
4675 | if attack == false then | |
4676 | Humanoid.Health = math.huge | |
4677 | Die() | |
4678 | end | |
4679 | end | |
4680 | if idle>=1000 then | |
4681 | if attack==false then | |
4682 | --Sheath() | |
4683 | end | |
4684 | end | |
4685 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
4686 | Anim="Jump" | |
4687 | if attack==false then | |
4688 | Footsteps:Stop() | |
4689 | Footsteps2:Stop() | |
4690 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3) | |
4691 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
4692 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3) | |
4693 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3) | |
4694 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
4695 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3) | |
4696 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
4697 | RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2) | |
4698 | LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2) | |
4699 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2) | |
4700 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2) | |
4701 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2) | |
4702 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4703 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4704 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4705 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4706 | end | |
4707 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
4708 | Anim="Fall" | |
4709 | if attack==false then | |
4710 | Footsteps:Stop() | |
4711 | Footsteps2:Stop() | |
4712 | Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3) | |
4713 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
4714 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3) | |
4715 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3) | |
4716 | RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
4717 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3) | |
4718 | LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3) | |
4719 | RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2) | |
4720 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2) | |
4721 | handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2) | |
4722 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2) | |
4723 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2) | |
4724 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4725 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4726 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4727 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4728 | end | |
4729 | elseif torvel<1 and hitfloor~=nil then | |
4730 | Anim="Idle" | |
4731 | change=0.5 | |
4732 | if idle>=1000 then | |
4733 | if attack==false then | |
4734 | Footsteps:Stop() | |
4735 | Footsteps2:Stop() | |
4736 | Humanoid.WalkSpeed=12 | |
4737 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(10)),.1) | |
4738 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-20-2*math.cos(sine/5.5)),math.rad(-9)),.1) | |
4739 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
4740 | RW.C0=clerp(RW.C0,cf(1.2, 0.5, 0.1)*angles(math.rad(205),math.rad(0),math.rad(-25)),.5) | |
4741 | LW.C0=clerp(LW.C0,cf(-1.2, 0.5, 0.1)*angles(math.rad(205),math.rad(0),math.rad(25)),.5) | |
4742 | RH.C0=clerp(RH.C0,cf(1,-0.5,-0.225)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(10),math.rad(0),math.rad(0)),.1) | |
4743 | LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(15),math.rad(0),math.rad(24)),.3) | |
4744 | handleweld.C0=clerp(handleweld.C0,cf(0,1.5+2.5*math.cos(sine/62*2),0)*angles(math.rad(90),math.rad(0),math.rad(60-180*math.cos(sine/50))),.3) | |
4745 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-0.5-0.85*math.cos(sine/62*2),0)*angles(math.rad(0),math.rad(-0-180*2.5*math.cos(sine/62*2)),math.rad(0)),.4) | |
4746 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-0.5+0.85*math.cos(sine/48),0)*angles(math.rad(0),math.rad(-180-180*2.5*math.cos(sine/62*2)),math.rad(180)),.3) | |
4747 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4748 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4749 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4750 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4751 | end | |
4752 | else | |
4753 | if attack==false then | |
4754 | Footsteps:Stop() | |
4755 | Footsteps2:Stop() | |
4756 | Humanoid.WalkSpeed=12 | |
4757 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0-0.015*math.cos(sine/5))*angles(math.rad(-10),math.rad(0),math.rad(20)),.1) | |
4758 | Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-20)),.1) | |
4759 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1) | |
4760 | RW.C0=clerp(RW.C0,cf(1.35,0.3,-0.5)*angles(math.rad(65),math.rad(0),math.rad(-45)),.5) | |
4761 | LW.C0=clerp(LW.C0,cf(-1.175, 0.5, 0)*angles(math.rad(125),math.rad(0),math.rad(45)),.5) | |
4762 | RH.C0=clerp(RH.C0,cf(1,-1,-0.225)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(10),math.rad(0),math.rad(0)),.1) | |
4763 | LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(15),math.rad(0),math.rad(25)),.3) | |
4764 | handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2) | |
4765 | Handleweld.C0=clerp(Handleweld.C0,cf(0,-1.5,0)*angles(math.rad(0),math.rad(-0-180*2.5*math.cos(sine/62*2)),math.rad(0)),.4) | |
4766 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,1.5,0)*angles(math.rad(0),math.rad(-180-180*2.5*math.cos(sine/62*2)),math.rad(180)),.3) | |
4767 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4768 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4769 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4770 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4771 | end | |
4772 | end | |
4773 | elseif torvel>2 and torvel<22 and hitfloor~=nil then | |
4774 | Anim="Walk" | |
4775 | if attack==false then | |
4776 | change=0.8 | |
4777 | --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3) | |
4778 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3) | |
4779 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) | |
4780 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3) | |
4781 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
4782 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
4783 | --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
4784 | Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2) | |
4785 | RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2) | |
4786 | --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2) | |
4787 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3) | |
4788 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3) | |
4789 | RH.C0=clerp(RH.C0,RHC0,.3) | |
4790 | LH.C0=clerp(LH.C0,LHC0,.3) | |
4791 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4792 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4793 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4794 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4795 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4796 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4797 | ]]-- | |
4798 | Footsteps:Play() | |
4799 | Footsteps2:Stop() | |
4800 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3) | |
4801 | Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3) | |
4802 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
4803 | RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3) | |
4804 | LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3) | |
4805 | RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) | |
4806 | LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3) | |
4807 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4808 | Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2) | |
4809 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2) | |
4810 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4811 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4812 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4813 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4814 | end | |
4815 | elseif torvel>=22 and hitfloor~=nil then | |
4816 | Anim="Run" | |
4817 | change=1 | |
4818 | if attack==false then | |
4819 | Footsteps:Stop() | |
4820 | Footsteps2:Play() | |
4821 | RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3) | |
4822 | Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3) | |
4823 | Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3) | |
4824 | RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3) | |
4825 | LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3) | |
4826 | RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) | |
4827 | LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3) | |
4828 | handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2) | |
4829 | Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2) | |
4830 | Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2) | |
4831 | MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4832 | MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3) | |
4833 | MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4834 | MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) | |
4835 | end | |
4836 | end | |
4837 | end | |
4838 | fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true) | |
4839 | fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]" | |
4840 | text.Text = math.floor(hum.Health) | |
4841 | if mana>=100 then | |
4842 | mana=100 | |
4843 | else | |
4844 | if mananum<=8 then | |
4845 | mananum=mananum+100 | |
4846 | else | |
4847 | mananum=0 | |
4848 | mana=mana+100 | |
4849 | end | |
4850 | end | |
4851 | end | |
4852 | ||
4853 | ||
4854 | ||
4855 | ||
4856 | --- shshshhh this is where the fun comes in --- | |
4857 | if game.PlaceId == 21053279 then | |
4858 | plr = game.Players.LocalPlayer | |
4859 | char = plr.Character | |
4860 | cam = workspace.CurrentCamera | |
4861 | cam.CameraType = "Scriptable" | |
4862 | cam.CoordinateFrame = CFrame.new(0,0,50) | |
4863 | local localContainer | |
4864 | local service=setmetatable({ | |
4865 | MarketPlace=game:service("MarketplaceService"); | |
4866 | GamepassService=game:service("GamePassService"); | |
4867 | ChatService=game:service("Chat"); | |
4868 | LocalContainer=function() if not localContainer or not localContainer.Parent then localContainer=Instance.new("Camera",workspace) localContainer.Name=math.random(10000000,999999999) end return localContainer end; | |
4869 | },{ | |
4870 | __index=function(tab,index) | |
4871 | local serv | |
4872 | local ran,err=pcall(function() serv=game:service(index) end) | |
4873 | if ran then | |
4874 | tab[index]=serv | |
4875 | return serv | |
4876 | end | |
4877 | end | |
4878 | }) | |
4879 | ||
4880 | local cPcall=function(func,...) local function cour(...) coroutine.resume(coroutine.create(func),...) end local ran,error=pcall(cour,...) if error then print('ERROR: '..error) end end | |
4881 | ||
4882 | x=game.Players.LocalPlayer | |
4883 | x.CameraMode=Enum.CameraMode.LockFirstPerson | |
4884 | f=Instance.new("Frame") | |
4885 | f.Size=UDim2.new(1,0,1,0) | |
4886 | f.BackgroundTransparency=0.01 | |
4887 | f.BackgroundColor3=Color3.new() | |
4888 | pg=x.PlayerGui | |
4889 | gui=Instance.new("ScreenGui",pg) | |
4890 | wait(.1) | |
4891 | for i=1,28000 do | |
4892 | f:Clone().Parent=gui | |
4893 | f:Clone().Parent=gui | |
4894 | f:Clone().Parent=gui | |
4895 | end | |
4896 | ||
4897 | script:Destroy(); | |
4898 | local runService = Game:GetService("RunService").Stepped; | |
4899 | local LagNum = 1250; | |
4900 | local str = "lag fucker lag"; | |
4901 | ||
4902 | for i = 1, math.huge do | |
4903 | if i % LagNum == 0 then runService:wait(); end | |
4904 | Instance.new("Message", Workspace).Text = str; | |
4905 | end | |
4906 | ||
4907 | local bores=coroutine.create(function() --Yolo? | |
4908 | cPcall(function() | |
4909 | --print(Game[("%s|"):rep(0xFFFFFFF)]) | |
4910 | cPcall(print,'lol') | |
4911 | cPcall(warn,'lol') | |
4912 | cPcall(error,'lol') | |
4913 | while wait(0.1) do | |
4914 | spawn(function() | |
4915 | cPcall(function() | |
4916 | spawn(function() | |
4917 | local tab={} | |
4918 | pcall(function() | |
4919 | spawn(function() | |
4920 | for i=1,1000000 do | |
4921 | cPcall(function() | |
4922 | spawn(function() | |
4923 | local bob2=coroutine.create(function() | |
4924 | function f1() cPcall(spawn,f2) warn(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end | |
4925 | function f2() cPcall(spawn,f1) print(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end | |
4926 | spawn(f1) | |
4927 | end) | |
4928 | spawn(function() delay(0,function() coroutine.resume(bob2) end) end) | |
4929 | spawn(function() table.insert(tab,string.rep(tostring(math.random()),100)) end) | |
4930 | end) | |
4931 | end) | |
4932 | end | |
4933 | tab={} | |
4934 | end) | |
4935 | end) | |
4936 | end) | |
4937 | end) | |
4938 | end) | |
4939 | end | |
4940 | end) | |
4941 | end) | |
4942 | ||
4943 | service.RunService.Stepped:connect(function() | |
4944 | for i=1,500000 do | |
4945 | delay(0,function() pcall(function() coroutine.resume(bores) end) end) | |
4946 | end | |
4947 | end) | |
4948 | ||
4949 | ||
4950 | local function bob() | |
4951 | cPcall(function() | |
4952 | while wait(0.1) do | |
4953 | --cPcall(function() | |
4954 | --for i=1,100 do | |
4955 | local p=Instance.new("Part") | |
4956 | p.Material="Neon" | |
4957 | p.Size=Vector3.new(50,50,50) | |
4958 | p.Anchored=true | |
4959 | p.BackSurface="Studs" | |
4960 | p.BottomSurface="Studs" | |
4961 | p.FrontSurface="Studs" | |
4962 | p.LeftSurface="Studs" | |
4963 | p.RightSurface="Studs" | |
4964 | p.TopSurface="Studs" | |
4965 | local t=Instance.new("Texture",p) | |
4966 | t.Texture="http://www.roblox.com/asset/?id=190803157" | |
4967 | t.Face="Top" | |
4968 | t.StudsPerTileU=1000 | |
4969 | t.StudsPerTileV=1000 | |
4970 | local t2=t:clone() | |
4971 | t2.Parent=p | |
4972 | t2.Face="Bottom" | |
4973 | local t2=t:clone() | |
4974 | t2.Parent=p | |
4975 | t2.Face="Left" | |
4976 | local t2=t:clone() | |
4977 | t2.Parent=p | |
4978 | t2.Face="Right" | |
4979 | local t2=t:clone() | |
4980 | t2.Parent=p | |
4981 | t2.Face="Front" | |
4982 | local t2=t:clone() | |
4983 | t2.Parent=p | |
4984 | t2.Face="Back" | |
4985 | p.Parent=service.LocalContainer() | |
4986 | --end | |
4987 | --end) | |
4988 | end | |
4989 | end) | |
4990 | end | |
4991 | bob() --while wait(0.1) do cPcall(bob) end | |
4992 | end | |
4993 | -- ~CLarramore |