SHOW:
|
|
- or go back to the newest paste.
1 | local s = Instance.new("Sound") | |
2 | s.Name = "BGMusic" | |
3 | s.SoundId = "http://www.roblox.com/asset/?id=228576456" | |
4 | s.Pitch = 1 | |
5 | s.Volume = 1 | |
6 | s.Looped = true | |
7 | s.archivable = false | |
8 | s.Parent = game.Workspace | |
9 | wait(0.1) | |
10 | s:play() | |
11 | ||
12 | p = game.Players.LocalPlayer | |
13 | char = p.Character | |
14 | torso = char.Torso | |
15 | neck = char.Torso.Neck | |
16 | char.Head.face.Texture = "rbxassetid://0" | |
17 | ||
18 | Player=game:GetService("Players").LocalPlayer | |
19 | Character=Player.Character | |
20 | PlayerGui=Player.PlayerGui | |
21 | Backpack=Player.Backpack | |
22 | Torso=Character.Torso | |
23 | Head=Character.Head | |
24 | Humanoid=Character.Humanoid | |
25 | LeftArm=Character["Left Arm"] | |
26 | LeftLeg=Character["Left Leg"] | |
27 | RightArm=Character["Right Arm"] | |
28 | RightLeg=Character["Right Leg"] | |
29 | LS=Torso["Left Shoulder"] | |
30 | LH=Torso["Left Hip"] | |
31 | RS=Torso["Right Shoulder"] | |
32 | RH=Torso["Right Hip"] | |
33 | Face = Head.face | |
34 | Neck=Torso.Neck | |
35 | it=Instance.new | |
36 | attacktype=1 | |
37 | vt=Vector3.new | |
38 | cf=CFrame.new | |
39 | euler=CFrame.fromEulerAnglesXYZ | |
40 | angles=CFrame.Angles | |
41 | cloaked=false | |
42 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
43 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
44 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
45 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
46 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
47 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
48 | RootPart=Character.HumanoidRootPart | |
49 | RootJoint=RootPart.RootJoint | |
50 | RootCF=euler(-1.57,0,3.14) | |
51 | attack = false | |
52 | attackdebounce = false | |
53 | deb=false | |
54 | equipped=true | |
55 | hand=false | |
56 | MMouse=nil | |
57 | combo=0 | |
58 | mana=0 | |
59 | trispeed=.2 | |
60 | attackmode='none' | |
61 | local idle=0 | |
62 | local Anim="Idle" | |
63 | local Effects={} | |
64 | local gun=false | |
65 | local shoot=false | |
66 | player=nil | |
67 | mana=0 | |
68 | cam = workspace.CurrentCamera | |
69 | ZTarget = nil | |
70 | RocketTarget = nil | |
71 | local m = Instance.new("Model",Character) | |
72 | m.Name = "WeaponModel" | |
73 | ||
74 | mouse=Player:GetMouse() | |
75 | --save shoulders | |
76 | RSH, LSH=nil, nil | |
77 | --welds | |
78 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
79 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
80 | LH=Torso["Left Hip"] | |
81 | RH=Torso["Right Hip"] | |
82 | TorsoColor=Torso.BrickColor | |
83 | function NoOutline(Part) | |
84 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
85 | end | |
86 | player=Player | |
87 | ch=Character | |
88 | RSH=ch.Torso["Right Shoulder"] | |
89 | LSH=ch.Torso["Left Shoulder"] | |
90 | -- | |
91 | RSH.Parent=nil | |
92 | LSH.Parent=nil | |
93 | -- | |
94 | RW.Name="Right Shoulder" | |
95 | RW.Part0=ch.Torso | |
96 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
97 | RW.C1=cf(0, 0.5, 0) | |
98 | RW.Part1=ch["Right Arm"] | |
99 | RW.Parent=ch.Torso | |
100 | -- | |
101 | LW.Name="Left Shoulder" | |
102 | LW.Part0=ch.Torso | |
103 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
104 | LW.C1=cf(0, 0.5, 0) | |
105 | LW.Part1=ch["Left Arm"] | |
106 | LW.Parent=ch.Torso | |
107 | ||
108 | function swait(num) | |
109 | if num==0 or num==nil then | |
110 | game:service'RunService'.Heartbeat:wait(0) | |
111 | else | |
112 | for i=0,num do | |
113 | game:service'RunService'.Heartbeat:wait(0) | |
114 | end | |
115 | end | |
116 | end | |
117 | ||
118 | function nooutline(part) | |
119 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
120 | end | |
121 | ||
122 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
123 | local fp=it("Part") | |
124 | fp.formFactor=formfactor | |
125 | fp.Parent=parent | |
126 | fp.Reflectance=reflectance | |
127 | fp.Transparency=transparency | |
128 | fp.CanCollide=false | |
129 | fp.Locked=true | |
130 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
131 | fp.Name=name | |
132 | fp.Size=size | |
133 | fp.Position=Character.Torso.Position | |
134 | nooutline(fp) | |
135 | fp.Material=material | |
136 | fp:BreakJoints() | |
137 | return fp | |
138 | end | |
139 | ||
140 | function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size) | |
141 | local fp = it("Part") | |
142 | fp.formFactor = formfactor | |
143 | fp.Parent = parent | |
144 | fp.Reflectance = reflectance | |
145 | fp.Transparency = transparency | |
146 | fp.CanCollide = false | |
147 | fp.Locked=true | |
148 | fp.BrickColor = brickcolor | |
149 | fp.Name = name | |
150 | fp.Size = size | |
151 | fp.Position = EffectPart.Position | |
152 | NoOutline(fp) | |
153 | fp.Material="Neon" | |
154 | fp:BreakJoints() | |
155 | return fp | |
156 | end | |
157 | ||
158 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
159 | local mesh=it(Mesh) | |
160 | mesh.Parent=part | |
161 | if Mesh=="SpecialMesh" then | |
162 | mesh.MeshType=meshtype | |
163 | mesh.MeshId=meshid | |
164 | end | |
165 | mesh.Offset=offset | |
166 | mesh.Scale=scale | |
167 | return mesh | |
168 | end | |
169 | ||
170 | function weld(parent,part0,part1,c0,c1) | |
171 | local weld=it("Weld") | |
172 | weld.Parent=parent | |
173 | weld.Part0=part0 | |
174 | weld.Part1=part1 | |
175 | weld.C0=c0 | |
176 | weld.C1=c1 | |
177 | return weld | |
178 | end | |
179 | ||
180 | ||
181 | local function CFrameFromTopBack(at, top, back) | |
182 | local right = top:Cross(back) | |
183 | return CFrame.new(at.x, at.y, at.z, | |
184 | right.x, top.x, back.x, | |
185 | right.y, top.y, back.y, | |
186 | right.z, top.z, back.z) | |
187 | end | |
188 | ||
189 | function Triangle(a, b, c) | |
190 | local edg1 = (c-a):Dot((b-a).unit) | |
191 | local edg2 = (a-b):Dot((c-b).unit) | |
192 | local edg3 = (b-c):Dot((a-c).unit) | |
193 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
194 | a, b, c = a, b, c | |
195 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
196 | a, b, c = b, c, a | |
197 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
198 | a, b, c = c, a, b | |
199 | else | |
200 | assert(false, "unreachable") | |
201 | end | |
202 | ||
203 | local len1 = (c-a):Dot((b-a).unit) | |
204 | local len2 = (b-a).magnitude - len1 | |
205 | local width = (a + (b-a).unit*len1 - c).magnitude | |
206 | ||
207 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
208 | ||
209 | local list = {} | |
210 | ||
211 | local TrailColor = ("Institutional white") | |
212 | ||
213 | if len1 > 0.01 then | |
214 | local w1 = Instance.new('WedgePart', m) | |
215 | game:GetService("Debris"):AddItem(w1,5) | |
216 | w1.Material = "Neon" | |
217 | w1.FormFactor = 'Custom' | |
218 | w1.BrickColor = BrickColor.new(TrailColor) | |
219 | w1.Transparency = 0 | |
220 | w1.Reflectance = 0 | |
221 | w1.Material = "Neon" | |
222 | w1.CanCollide = false | |
223 | NoOutline(w1) | |
224 | local sz = Vector3.new(0.2, width, len1) | |
225 | w1.Size = sz | |
226 | local sp = Instance.new("SpecialMesh",w1) | |
227 | sp.MeshType = "Wedge" | |
228 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
229 | w1:BreakJoints() | |
230 | w1.Anchored = true | |
231 | w1.Parent = workspace | |
232 | w1.Transparency = 0.7 | |
233 | table.insert(Effects,{w1,"Disappear",.01}) | |
234 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
235 | table.insert(list,w1) | |
236 | end | |
237 | ||
238 | if len2 > 0.01 then | |
239 | local w2 = Instance.new('WedgePart', m) | |
240 | game:GetService("Debris"):AddItem(w2,5) | |
241 | w2.Material = "Neon" | |
242 | w2.FormFactor = 'Custom' | |
243 | w2.BrickColor = BrickColor.new(TrailColor) | |
244 | w2.Transparency = 0 | |
245 | w2.Reflectance = 0 | |
246 | w2.Material = "Neon" | |
247 | w2.CanCollide = false | |
248 | NoOutline(w2) | |
249 | local sz = Vector3.new(0.2, width, len2) | |
250 | w2.Size = sz | |
251 | local sp = Instance.new("SpecialMesh",w2) | |
252 | sp.MeshType = "Wedge" | |
253 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
254 | w2:BreakJoints() | |
255 | w2.Anchored = true | |
256 | w2.Parent = workspace | |
257 | w2.Transparency = 0.7 | |
258 | table.insert(Effects,{w2,"Disappear",.01}) | |
259 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
260 | table.insert(list,w2) | |
261 | end | |
262 | return unpack(list) | |
263 | end | |
264 | ||
265 | function makeShockwave(height,color,speed,range,pulse) | |
266 | local range = range or 2000 | |
267 | local p = Instance.new("Part") | |
268 | p.Anchored = true | |
269 | p.CanCollide = false | |
270 | p.FormFactor = "Custom" | |
271 | p.BrickColor = color | |
272 | p.Parent = workspace | |
273 | local m = Instance.new("SpecialMesh",p) | |
274 | m.MeshId = "rbxassetid://3270017" | |
275 | local estimateSurvival = math.floor(range/speed) * 0.03 | |
276 | game:GetService("Debris"):AddItem(p,estimateSurvival) | |
277 | Spawn(function () | |
278 | for i = 1,range,speed do | |
279 | p.Transparency = 1-math.min(0.5,3-(i/500)) | |
280 | m.Scale = Vector3.new(i,i,i*height) | |
281 | p.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(90),0,0) | |
282 | wait() | |
283 | end | |
284 | p:Destroy() | |
285 | end) | |
286 | end | |
287 | ||
288 | so = function(id,par,vol,pit) | |
289 | coroutine.resume(coroutine.create(function() | |
290 | local sou = Instance.new("Sound",par or workspace) | |
291 | sou.Volume=vol | |
292 | sou.Pitch=pit or 1 | |
293 | sou.SoundId=id | |
294 | swait() | |
295 | sou:play() | |
296 | game:GetService("Debris"):AddItem(sou,6) | |
297 | end)) | |
298 | end | |
299 | ||
300 | function clerp(a,b,t) | |
301 | local qa = {QuaternionFromCFrame(a)} | |
302 | local qb = {QuaternionFromCFrame(b)} | |
303 | local ax, ay, az = a.x, a.y, a.z | |
304 | local bx, by, bz = b.x, b.y, b.z | |
305 | local _t = 1-t | |
306 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
307 | end | |
308 | ||
309 | function QuaternionFromCFrame(cf) | |
310 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
311 | local trace = m00 + m11 + m22 | |
312 | if trace > 0 then | |
313 | local s = math.sqrt(1 + trace) | |
314 | local recip = 0.5/s | |
315 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
316 | else | |
317 | local i = 0 | |
318 | if m11 > m00 then | |
319 | i = 1 | |
320 | end | |
321 | if m22 > (i == 0 and m00 or m11) then | |
322 | i = 2 | |
323 | end | |
324 | if i == 0 then | |
325 | local s = math.sqrt(m00-m11-m22+1) | |
326 | local recip = 0.5/s | |
327 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
328 | elseif i == 1 then | |
329 | local s = math.sqrt(m11-m22-m00+1) | |
330 | local recip = 0.5/s | |
331 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
332 | elseif i == 2 then | |
333 | local s = math.sqrt(m22-m00-m11+1) | |
334 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
335 | end | |
336 | end | |
337 | end | |
338 | ||
339 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
340 | local xs, ys, zs = x + x, y + y, z + z | |
341 | local wx, wy, wz = w*xs, w*ys, w*zs | |
342 | local xx = x*xs | |
343 | local xy = x*ys | |
344 | local xz = x*zs | |
345 | local yy = y*ys | |
346 | local yz = y*zs | |
347 | local zz = z*zs | |
348 | 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)) | |
349 | end | |
350 | ||
351 | function QuaternionSlerp(a, b, t) | |
352 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
353 | local startInterp, finishInterp; | |
354 | if cosTheta >= 0.0001 then | |
355 | if (1 - cosTheta) > 0.0001 then | |
356 | local theta = math.acos(cosTheta) | |
357 | local invSinTheta = 1/math.sin(theta) | |
358 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
359 | finishInterp = math.sin(t*theta)*invSinTheta | |
360 | else | |
361 | startInterp = 1-t | |
362 | finishInterp = t | |
363 | end | |
364 | else | |
365 | if (1+cosTheta) > 0.0001 then | |
366 | local theta = math.acos(-cosTheta) | |
367 | local invSinTheta = 1/math.sin(theta) | |
368 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
369 | finishInterp = math.sin(t*theta)*invSinTheta | |
370 | else | |
371 | startInterp = t-1 | |
372 | finishInterp = t | |
373 | end | |
374 | end | |
375 | 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 | |
376 | end | |
377 | ||
378 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
379 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
380 | end | |
381 | ||
382 | Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
383 | if hit.Parent==nil then | |
384 | return | |
385 | end | |
386 | local h=hit.Parent:FindFirstChild("Humanoid") | |
387 | for _,v in pairs(hit.Parent:children()) do | |
388 | if v:IsA("Humanoid") then | |
389 | h=v | |
390 | end | |
391 | end | |
392 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
393 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
394 | end | |
395 | if hit.Parent.className=="Hat" then | |
396 | hit=hit.Parent.Parent:findFirstChild("Head") | |
397 | end | |
398 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
399 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
400 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
401 | return | |
402 | end]] | |
403 | -- hs(hit,1.2) | |
404 | local c=Instance.new("ObjectValue") | |
405 | c.Name="creator" | |
406 | c.Value=game:service("Players").LocalPlayer | |
407 | c.Parent=h | |
408 | game:GetService("Debris"):AddItem(c,.5) | |
409 | local Damage=math.random(minim,maxim) | |
410 | -- h:TakeDamage(Damage) | |
411 | local blocked=false | |
412 | local block=hit.Parent:findFirstChild("Block") | |
413 | if block~=nil then | |
414 | print(block.className) | |
415 | if block.className=="NumberValue" then | |
416 | if block.Value>0 then | |
417 | blocked=true | |
418 | if decreaseblock==nil then | |
419 | block.Value=block.Value-1 | |
420 | end | |
421 | end | |
422 | end | |
423 | if block.className=="IntValue" then | |
424 | if block.Value>0 then | |
425 | blocked=true | |
426 | if decreaseblock~=nil then | |
427 | block.Value=block.Value-1 | |
428 | end | |
429 | end | |
430 | end | |
431 | end | |
432 | if blocked==false then | |
433 | -- h:TakeDamage(Damage) | |
434 | h.Health=h.Health-Damage | |
435 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color) | |
436 | else | |
437 | h.Health=h.Health-(Damage/2) | |
438 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color) | |
439 | end | |
440 | if Type=="Knockdown" then | |
441 | local hum=hit.Parent.Humanoid | |
442 | hum.PlatformStand=true | |
443 | coroutine.resume(coroutine.create(function(HHumanoid) | |
444 | swait(1) | |
445 | HHumanoid.PlatformStand=false | |
446 | end),hum) | |
447 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
448 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
449 | local bodvol=Instance.new("BodyVelocity") | |
450 | bodvol.velocity=angle*knockback | |
451 | bodvol.P=5000 | |
452 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
453 | bodvol.Parent=hit | |
454 | local rl=Instance.new("BodyAngularVelocity") | |
455 | rl.P=3000 | |
456 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
457 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
458 | rl.Parent=hit | |
459 | game:GetService("Debris"):AddItem(bodvol,.5) | |
460 | game:GetService("Debris"):AddItem(rl,.5) | |
461 | elseif Type=="Normal" then | |
462 | local vp=Instance.new("BodyVelocity") | |
463 | vp.P=500 | |
464 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
465 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
466 | if KnockbackType==1 then | |
467 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
468 | elseif KnockbackType==2 then | |
469 | vp.velocity=Property.CFrame.lookVector*knockback | |
470 | end | |
471 | if knockback>0 then | |
472 | vp.Parent=hit.Parent.Torso | |
473 | end | |
474 | game:GetService("Debris"):AddItem(vp,.5) | |
475 | elseif Type=="Up" then | |
476 | local bodyVelocity=Instance.new("BodyVelocity") | |
477 | bodyVelocity.velocity=vt(0,60,0) | |
478 | bodyVelocity.P=5000 | |
479 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
480 | bodyVelocity.Parent=hit | |
481 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
482 | local rl=Instance.new("BodyAngularVelocity") | |
483 | rl.P=3000 | |
484 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
485 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
486 | rl.Parent=hit | |
487 | game:GetService("Debris"):AddItem(rl,.5) | |
488 | elseif Type=="Snare" then | |
489 | local bp=Instance.new("BodyPosition") | |
490 | bp.P=2000 | |
491 | bp.D=100 | |
492 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
493 | bp.position=hit.Parent.Torso.Position | |
494 | bp.Parent=hit.Parent.Torso | |
495 | game:GetService("Debris"):AddItem(bp,1) | |
496 | elseif Type=="Target" then | |
497 | local Targetting = false | |
498 | if Targetting==false then | |
499 | ZTarget=hit.Parent.Torso | |
500 | coroutine.resume(coroutine.create(function(Part) | |
501 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
502 | swait(5) | |
503 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
504 | end),ZTarget) | |
505 | local TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
506 | local targetgui=Instance.new("BillboardGui") | |
507 | targetgui.Parent=ZTarget | |
508 | targetgui.Size=UDim2.new(10,100,10,100) | |
509 | local targ=Instance.new("ImageLabel") | |
510 | targ.Parent=targetgui | |
511 | targ.BackgroundTransparency=1 | |
512 | targ.Image="rbxassetid://4834067" | |
513 | targ.Size=UDim2.new(1,0,1,0) | |
514 | cam.CameraType="Scriptable" | |
515 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
516 | local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
517 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
518 | Targetting=true | |
519 | RocketTarget=ZTarget | |
520 | for i=1,Property do | |
521 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
522 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
523 | swait() | |
524 | end | |
525 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
526 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
527 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
528 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
529 | end | |
530 | Targetting=false | |
531 | RocketTarget=nil | |
532 | targetgui.Parent=nil | |
533 | cam.CameraType="Custom" | |
534 | end | |
535 | end | |
536 | local debounce=Instance.new("BoolValue") | |
537 | debounce.Name="DebounceHit" | |
538 | debounce.Parent=hit.Parent | |
539 | debounce.Value=true | |
540 | game:GetService("Debris"):AddItem(debounce,Delay) | |
541 | c=Instance.new("ObjectValue") | |
542 | c.Name="creator" | |
543 | c.Value=Player | |
544 | c.Parent=h | |
545 | game:GetService("Debris"):AddItem(c,.5) | |
546 | end | |
547 | end | |
548 | ||
549 | ||
550 | function ShowDamage(Pos, Text, Time, Color) | |
551 | local Rate = (1 / 30) | |
552 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
553 | local Text = (Text or "") | |
554 | local Time = (Time or 2) | |
555 | local Color = (Color or Color3.new(1, 0, 0)) | |
556 | local EffectPart = part("Custom",workspace,"Neon",0,1,BrickColor.new(Color),"Effect",vt(0,0,0)) | |
557 | EffectPart.Anchored = true | |
558 | local BillboardGui = Instance.new("BillboardGui") | |
559 | BillboardGui.Size = UDim2.new(3, 0, 3, 0) | |
560 | BillboardGui.Adornee = EffectPart | |
561 | local TextLabel = Instance.new("TextLabel") | |
562 | TextLabel.BackgroundTransparency = 1 | |
563 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
564 | TextLabel.Text = Text | |
565 | TextLabel.TextColor3 = Color | |
566 | TextLabel.TextScaled = true | |
567 | TextLabel.Font = Enum.Font.ArialBold | |
568 | TextLabel.Parent = BillboardGui | |
569 | BillboardGui.Parent = EffectPart | |
570 | game.Debris:AddItem(EffectPart, (Time + 0.1)) | |
571 | EffectPart.Parent = game:GetService("Workspace") | |
572 | Delay(0, function() | |
573 | local Frames = (Time / Rate) | |
574 | for Frame = 1, Frames do | |
575 | wait(Rate) | |
576 | local Percent = (Frame / Frames) | |
577 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
578 | TextLabel.TextTransparency = Percent | |
579 | end | |
580 | if EffectPart and EffectPart.Parent then | |
581 | EffectPart:Destroy() | |
582 | end | |
583 | end) | |
584 | end | |
585 | ||
586 | --example: local con = HitboxB.Touched:connect(function(hit) Damagefunc(Hitbox,hit,Dmg,Dmg,math.random(Knockback,Knockback),"Normal",RootPart,.2,1) end) | |
587 | ||
588 | Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Handle",Vector3.new(0.399999976, 5.19999981, 0.399999976)) | |
589 | Handleweld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, -5.69614329e-008, 5.96046448e-008, 5.69614222e-008, 0.999999881, 6.38557296e-008, -5.9604556e-008, -6.38557367e-008, 1),CFrame.new(0.00374984741, 1.86080933, -1.12269855, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007)) | |
590 | mesh("CylinderMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
591 | Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Institutional white","Hitbox",Vector3.new(0.399999976, 5.79999971, 1.19999993)) | |
592 | Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(0, 4.58221436, 1.54972076e-006, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007)) | |
593 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.549069703, 0.200000003)) | |
594 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-1.7038269, -4.17234802, 0.521482468, -0.00134061801, -0.965925872, -0.258815825, 0.127585664, 0.256535649, -0.958076835, 0.991826713, -0.0343056135, 0.122894369)) | |
595 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366188102",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256)) | |
596 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.505991995, 0.200000003)) | |
597 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.0048789978, -6.39959717, -0.0483512878, -0.00134025724, -0.999999166, 3.77781362e-010, -1.4289509e-006, 1.52977009e-009, -1, 0.999999166, -0.00134026876, -1.42327076e-006)) | |
598 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366190087",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256)) | |
599 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.536077976, 0.200000003)) | |
600 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-1.70379639, -4.74310303, -0.0496940613, -0.00134061789, -0.965925515, -0.258816719, 9.96684539e-005, 0.258816808, -0.965926409, 0.999999166, -0.00132074545, -0.000250696496)) | |
601 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366187724",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256)) | |
602 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.366502315, 0.200000003)) | |
603 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(6.41351318, 1.12187362, 0.0872383118, 1.4289509e-006, -1.83359816e-009, 1, 0.0450558141, 0.998984575, -6.22948448e-008, -0.998984516, 0.0450558215, 1.4219072e-006)) | |
604 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366186808",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256)) | |
605 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.272141635, 0.200000003)) | |
606 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.68979645, 3.77229309, -0.443828583, -0.0013399038, -0.965925515, 0.258816719, -0.110641979, 0.257371128, 0.95995754, -0.99385941, -0.027349731, -0.107216768)) | |
607 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366189977",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256)) | |
608 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.34188652, 0.341886491, 0.341886491)) | |
609 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.0048789978, -5.64064026, -0.0483398438, -0.00134025724, -0.999999166, 3.77781362e-010, -1.4289509e-006, 1.52977009e-009, -1, 0.999999166, -0.00134026876, -1.42327076e-006)) | |
610 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366190286",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256)) | |
611 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.544283271, 0.200000003)) | |
612 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.68979645, -4.18066406, 0.443828583, -0.0013399038, -0.965925515, 0.258816719, 0.110641979, -0.257371128, -0.95995754, 0.99385941, 0.027349731, 0.107216768)) | |
613 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366189509",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256)) | |
614 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.50530827, 0.200000003)) | |
615 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(5.83914185, 3.16908264, -0.0102233887, 1.33372578e-006, 0.258821219, 0.965925336, -0.00719921896, -0.965900242, 0.258814514, 0.999974191, -0.00695426436, 0.00186202815)) | |
616 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366188798",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256)) | |
617 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.252995998, 0.200000003)) | |
618 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(5.49203491, -4.05382919, 0.000431060791, 0.000857862935, -0.342018634, 0.939692795, 0.00978991855, -0.93964529, -0.342010289, 0.99995172, 0.00949290115, 0.00254225265)) | |
619 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366187331",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256)) | |
620 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.536077976, 0.200000003)) | |
621 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.68981552, -4.74194336, -0.0941734314, -0.0013399038, -0.965925515, 0.258816719, -0.00951948017, -0.258792907, -0.965885937, 0.999953866, -0.0037580065, -0.00884834584)) | |
622 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366189770",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256)) | |
623 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.274876744, 0.200000003)) | |
624 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-1.7038002, 3.76046753, -0.521482468, -0.00134061801, -0.965925872, -0.258815825, -0.127585664, -0.256535649, 0.958076835, -0.991826713, 0.0343056135, -0.122894369)) | |
625 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366188387",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256)) | |
626 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.366502315, 0.200000003)) | |
627 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(6.41294861, 1.11096418, -0.0871925354, 1.4289509e-006, -1.83359816e-009, 1, 0.0424318425, -0.999099433, -6.22238758e-008, 0.999099374, 0.0424318314, -1.42191016e-006)) | |
628 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366188623",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256)) | |
629 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.50530827, 0.200000003)) | |
630 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(5.82444763, 3.1806221, -0.000411987305, 1.42099032e-006, -0.258821219, 0.965925217, -0.00982686318, 0.965878606, 0.258808762, -0.99995172, -0.00949237309, -0.00254203402)) | |
631 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366187079",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256)) | |
632 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
633 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(6.12332153, -2.99322701, 0.0102005005, -0.000627051399, 0.173652589, 0.984806776, 0.00717565231, 0.984782457, -0.173643723, -0.999974132, 0.00695775915, -0.00186358555)) | |
634 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366189081",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256)) | |
635 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","Part",Vector3.new(0.399999976, 1.60000002, 0.399999976)) | |
636 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, 2.92131805, -4.32131958, 1, 1.08324627e-007, -2.16275893e-007, 2.41579585e-007, -0.707107067, 0.707106471, -7.2315359e-008, -0.707106531, -0.707107067)) | |
637 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
638 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
639 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(4.49303436, 1.52587891e-005, 1.74960327, -7.96248685e-008, -0.707107067, 0.707106531, 1, -1.0280155e-007, 2.68496159e-008, 4.96882677e-008, 0.707106531, 0.707107067)) | |
640 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00399995, 0.699999988)) | |
641 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
642 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.74960327, 7.62939453e-006, 4.49303436, -7.96248685e-008, -0.707107067, 0.707106531, 1, -1.0280155e-007, 2.68496159e-008, 4.96882677e-008, 0.707106531, 0.707107067)) | |
643 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00399995, 0.699999988)) | |
644 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999976, 1.39999998, 0.399999976)) | |
645 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, -3.42132568, -1.92131042, 1, 1.30831239e-007, -1.86473642e-007, -3.53272753e-008, -0.70710665, -0.707106888, -2.36420846e-007, 0.707106888, -0.70710665)) | |
646 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
647 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999976, 1.39999998, 0.399999976)) | |
648 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, 3.42131805, -1.92132568, 1, -2.11684181e-007, -1.26868997e-007, -4.79209916e-008, -0.707106709, 0.707106829, -2.35375424e-007, -0.707106829, -0.707106709)) | |
649 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
650 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
651 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-1.72132874, 1.52587891e-005, 4.52131653, -5.63450442e-008, -0.707106948, -0.70710659, 1, -1.11538469e-007, 2.6172529e-008, -8.53239754e-008, -0.70710665, 0.707106948)) | |
652 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
653 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
654 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(8.34465027e-007, 0, 3, -8.17520345e-007, -1, 2.68220816e-007, 1, -8.28883913e-007, -2.16275893e-007, 2.21957407e-007, 2.68220674e-007, 1)) | |
655 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.998000026, 1)) | |
656 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999976, 1.60000002, 0.399999976)) | |
657 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, 2.92131042, 4.32132721, 1, -1.75202331e-007, 8.17472525e-008, 6.20649274e-008, 0.707106948, 0.70710665, -1.69638383e-007, -0.70710665, 0.707106948)) | |
658 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
659 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
660 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.72131348, 1.52587891e-005, 4.52132416, -7.96248685e-008, -0.707107067, 0.707106531, 1, -1.0280155e-007, 2.68496159e-008, 4.96882677e-008, 0.707106531, 0.707107067)) | |
661 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
662 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
663 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-2.12132263, 1.52587891e-005, 2.121315, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
664 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
665 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
666 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-2.12132263, 0, 2.121315, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
667 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.779999971, 1.00399995, 0.779999971)) | |
668 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
669 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(8.34465027e-007, -7.62939453e-006, 3, -8.17520345e-007, -1, 2.68220816e-007, 1, -8.28883913e-007, -2.16275893e-007, 2.21957407e-007, 2.68220674e-007, 1)) | |
670 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.779999971, 1.00399995, 0.779999971)) | |
671 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
672 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.93847656, -9.91821289e-005, -1.73847961, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
673 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
674 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
675 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.73847961, -0.000129699707, -2.93849945, 3.30619088e-008, -0.707107186, -0.707106411, 1, 1.32102684e-008, 2.78642904e-008, 1.69039538e-009, -0.707106411, 0.707107246)) | |
676 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.75, 1.00399995, 0.75)) | |
677 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
678 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.73847961, -9.15527344e-005, -2.93849945, 3.30619088e-008, -0.707107186, -0.707106411, 1, 1.32102684e-008, 2.78642904e-008, 1.69039538e-009, -0.707106411, 0.707107246)) | |
679 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
680 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
681 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.93847656, -0.000129699707, -1.73847961, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
682 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.75, 1.00399995, 0.75)) | |
683 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
684 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.87991333, -0.000137329102, -2.87993622, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
685 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.75, 1.00399995, 0.75)) | |
686 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
687 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.87991333, -9.91821289e-005, -2.87993622, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
688 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
689 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999976, 0.799999952, 0.200000003)) | |
690 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.000102996826, -2.33849335, -2.83850098, 1, -1.75202388e-007, 2.60561166e-007, -6.43755129e-008, 0.707107186, 0.707106471, -2.96079065e-007, -0.707106411, 0.707107186)) | |
691 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
692 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999976, 0.799999952, 0.200000003)) | |
693 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.000106811523, 2.33850098, -2.83849335, 1, 1.2310764e-007, 2.00956563e-007, 4.29951967e-008, 0.70710659, -0.707107067, -2.33165792e-007, 0.707107067, 0.707106531)) | |
694 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
695 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999976, 0.599999964, 0.200000003)) | |
696 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-9.15527344e-005, -2.43848419, 1.83848572, 1, -2.11684238e-007, -1.26868997e-007, -4.79209774e-008, -0.70710659, 0.707107008, -2.35375509e-007, -0.707107067, -0.70710659)) | |
697 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
698 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999976, 0.599999964, 0.200000003)) | |
699 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-9.53674316e-005, 2.43848419, 1.83849335, 1, 8.66257324e-008, -1.86473642e-007, -6.65851871e-008, -0.707107067, -0.70710659, -2.05162905e-007, 0.70710659, -0.707107067)) | |
700 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
701 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.600000024, 0.400000006, 0.600000024)) | |
702 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83848572, -9.15527344e-005, -1.83848572, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
703 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
704 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.600000024, 0.400000006, 0.600000024)) | |
705 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83848572, -9.15527344e-005, -1.83848572, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
706 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.779999971, 1.00399995, 0.779999971)) | |
707 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.683773041, 0.683772981, 0.683772981)) | |
708 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.00487947464, -6.86695862, -0.788124084, -0.00134025724, -0.999999166, 3.77781362e-010, -0.11690025, 0.000156677488, -0.993143737, 0.993142784, -0.0013310794, -0.11690034)) | |
709 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=366190426",Vector3.new(0, 0, 0),Vector3.new(0.676935315, 0.676935256, 0.676935256)) | |
710 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 5)) | |
711 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(0, 0.100021601, -0.100006104, 1, -4.42883561e-008, 8.17472667e-008, 3.29249588e-008, 1, 0, -7.6065966e-008, 0, 1)) | |
712 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1)) | |
713 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 5)) | |
714 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-7.62939453e-006, -0.0999908447, -0.100006104, 1, -4.42883561e-008, 8.17472667e-008, 3.29249588e-008, 1, 0, -7.6065966e-008, 0, 1)) | |
715 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1)) | |
716 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 1.4000001)) | |
717 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(7.62939453e-006, -2.02130127, 3.42131042, 1, -3.71378803e-008, 2.21426184e-008, 2.98652765e-008, 0.707107127, -0.707106471, 6.58542376e-009, 0.707106471, 0.707107127)) | |
718 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1)) | |
719 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
720 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-1.72132874, 1.52587891e-005, 4.52131653, -5.63450442e-008, -0.707106948, -0.70710659, 1, -1.11538469e-007, 2.6172529e-008, -8.53239754e-008, -0.70710665, 0.707106948)) | |
721 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012)) | |
722 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
723 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-2.12132263, -2.28881836e-005, 2.121315, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
724 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.540000021, 1.00600004, 0.540000021)) | |
725 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 1.4000001)) | |
726 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, 4.22131348, -2.82132721, 1, -5.14387608e-008, 8.17472667e-008, -8.21243304e-008, -0.707107127, 0.707106471, 2.54492676e-008, -0.707106471, -0.707107067)) | |
727 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1)) | |
728 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 1.60000014)) | |
729 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, -4.42131805, -2.92131805, 1, -5.7362314e-008, 2.00956563e-007, 1.05554292e-007, -0.70710659, -0.707107008, 1.70606626e-007, 0.707107008, -0.70710665)) | |
730 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1)) | |
731 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 1.4000001)) | |
732 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, -1.82131195, -3.42131042, 1, -1.84917042e-008, 2.21426131e-008, 6.59936461e-009, -0.707106948, -0.70710665, 1.6680417e-008, 0.70710665, -0.707106948)) | |
733 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1)) | |
734 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
735 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.72131348, 1.52587891e-005, 4.52132416, -7.96248685e-008, -0.707107067, 0.707106531, 1, -1.0280155e-007, 2.68496159e-008, 4.96882677e-008, 0.707106531, 0.707107067)) | |
736 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012)) | |
737 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 1.60000014)) | |
738 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, 4.42131805, -2.92131042, 1, -5.14387608e-008, 8.17472667e-008, -8.21243304e-008, -0.707107127, 0.707106471, 2.54492676e-008, -0.707106471, -0.707107067)) | |
739 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1)) | |
740 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
741 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.8203125, -7.62939453e-006, 4.42233276, -7.96248685e-008, -0.707107067, 0.707106531, 1, -1.0280155e-007, 2.68496159e-008, 4.96882677e-008, 0.707106531, 0.707107067)) | |
742 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.360000014, 1.00600004, 0.360000014)) | |
743 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 1.4000001)) | |
744 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, -1.82130432, 3.42131042, 1, -3.71378803e-008, 2.21426184e-008, 2.98652765e-008, 0.707107127, -0.707106471, 6.58542376e-009, 0.707106471, 0.707107127)) | |
745 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1)) | |
746 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 1.4000001)) | |
747 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.90734863e-005, -2.02132416, -3.42131805, 1, -2.13717362e-006, 2.00956563e-007, -1.36509493e-006, -0.707106948, -0.70710665, 1.64125504e-006, 0.70710665, -0.707106888)) | |
748 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1)) | |
749 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 1.4000001)) | |
750 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.52587891e-005, -4.22133636, -2.82131195, 1, -4.30616183e-008, 8.17472667e-008, 3.13728066e-008, -0.707106471, -0.707107067, 7.62007772e-008, 0.707107127, -0.707106471)) | |
751 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.860000014, 0.100000001, 1)) | |
752 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
753 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-2.12132263, 1.52587891e-005, 2.121315, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
754 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012)) | |
755 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
756 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(8.34465027e-007, -3.81469727e-005, 3, -8.17520345e-007, -1, 2.68220816e-007, 1, -8.28883913e-007, -2.16275893e-007, 2.21957407e-007, 2.68220674e-007, 1)) | |
757 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.540000021, 1.00600004, 0.540000021)) | |
758 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.799999952, 0.400000006, 0.799999952)) | |
759 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(4.4223175, 7.62939453e-006, 1.82032013, -7.96248685e-008, -0.707107067, 0.707106531, 1, -1.0280155e-007, 2.68496159e-008, 4.96882677e-008, 0.707106531, 0.707107067)) | |
760 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.360000014, 1.00600004, 0.360000014)) | |
761 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(1.19999993, 0.400000006, 1.19999993)) | |
762 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(8.34465027e-007, 0, 3, -8.17520345e-007, -1, 2.68220816e-007, 1, -8.28883913e-007, -2.16275893e-007, 2.21957407e-007, 2.68220674e-007, 1)) | |
763 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012)) | |
764 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.600000024, 0.400000006, 0.200000018)) | |
765 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83847046, -9.15527344e-005, -2.03849792, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
766 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00600004, 0.100000001)) | |
767 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.800000012, 0.400000006, 0.200000018)) | |
768 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-2.6000061, -9.91821289e-005, 0, 2.81561853e-007, 0, 1, 1, -2.43037192e-007, -2.75880552e-007, 2.31673781e-007, 1, -5.68434189e-014)) | |
769 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00600004, 0.100000001)) | |
770 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.600000024, 0.400000006, 0.600000024)) | |
771 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83848572, -9.15527344e-005, -1.83848572, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
772 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 1.00600004, 0.300000012)) | |
773 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.600000024, 0.400000006, 0.200000018)) | |
774 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83848572, -9.91821289e-005, -1.63848877, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
775 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00600004, 0.100000001)) | |
776 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.600000024, 0.400000006, 0.600000024)) | |
777 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83848572, -4.57763672e-005, -1.83848572, 3.30619514e-008, -0.707107067, -0.70710659, 1, -7.31267136e-008, 1.1420137e-007, -1.204086e-007, -0.70710659, 0.707107067)) | |
778 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012)) | |
779 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.600000024, 0.400000006, 0.200000018)) | |
780 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83848572, -9.15527344e-005, 2.03847504, 3.49213707e-008, 0.707106709, -0.707106829, 1, -4.94104739e-008, 1.70204615e-008, -1.88853875e-008, -0.707106829, -0.707106709)) | |
781 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00600004, 0.100000001)) | |
782 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.800000012, 0.400000006, 0.200000018)) | |
783 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.1920929e-007, -7.62939453e-006, -2.6000061, -4.80362132e-008, -1, -5.96046448e-008, 1, -5.93995821e-008, 2.00956563e-007, -1.95275234e-007, -5.96046448e-008, 1)) | |
784 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00600004, 0.100000001)) | |
785 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.800000072)) | |
786 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-9.15527344e-005, -1.87385559, 2.50312805, 1, -5.4973583e-008, 2.21426237e-008, -4.24769979e-008, -0.707106471, 0.707107067, -1.91971878e-008, -0.707107067, -0.707106471)) | |
787 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1)) | |
788 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.800000072)) | |
789 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-9.91821289e-005, -1.80315399, 2.50314331, 1, -5.4973583e-008, 2.21426237e-008, -4.24769979e-008, -0.707106471, 0.707107067, -1.91971878e-008, -0.707107067, -0.707106471)) | |
790 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1)) | |
791 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.600000024, 0.400000006, 0.200000018)) | |
792 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.83849335, -9.91821289e-005, 1.63847351, 3.49213707e-008, 0.707106709, -0.707106829, 1, -4.94104739e-008, 1.70204615e-008, -1.88853875e-008, -0.707106829, -0.707106709)) | |
793 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.699999988, 1.00600004, 0.100000001)) | |
794 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.800000072)) | |
795 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-9.15527344e-005, 1.87384033, 2.50312805, 1, -7.00857896e-008, 8.17472738e-008, 1.22637118e-008, -0.707107186, -0.707106352, 9.53098009e-008, 0.707106411, -0.707107246)) | |
796 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1)) | |
797 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003)) | |
798 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.87991333, -0.000129699707, -2.77993774, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
799 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00600004, 0.0599999987)) | |
800 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
801 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.93847656, -0.000129699707, -1.73847961, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
802 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012)) | |
803 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 1.00000012)) | |
804 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.000106811523, 2.87386322, -2.27385712, 1, -3.36030155e-008, 2.21426184e-008, 2.73657292e-008, 0.70710659, -0.707107067, 4.08589074e-009, 0.707107008, 0.70710659)) | |
805 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1)) | |
806 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.800000072)) | |
807 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-9.91821289e-005, 1.8031311, 2.50313568, 1, -7.00857896e-008, 8.17472738e-008, 1.22637118e-008, -0.707107186, -0.707106352, 9.53098009e-008, 0.707106411, -0.707107246)) | |
808 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1)) | |
809 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 1.00000012)) | |
810 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.000106811523, 2.80315399, -2.27384949, 1, -3.36030155e-008, 2.21426184e-008, 2.73657292e-008, 0.70710659, -0.707107067, 4.08589074e-009, 0.707107008, 0.70710659)) | |
811 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1)) | |
812 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
813 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.87991333, -0.000137329102, -2.87993622, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
814 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012)) | |
815 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 1.00000012)) | |
816 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-9.91821289e-005, -2.87384033, -2.27384949, 1, -1.84909084e-008, 8.1747288e-008, -4.87468412e-008, 0.707107186, 0.707106352, -5.88267284e-008, -0.707106411, 0.707107246)) | |
817 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1)) | |
818 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 1.00000012)) | |
819 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-0.000106811523, -2.8031311, -2.27385712, 1, -1.84909084e-008, 8.1747288e-008, -4.87468412e-008, 0.707107186, 0.707106352, -5.88267284e-008, -0.707106411, 0.707107246)) | |
820 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.939999998, 0.100000001, 1)) | |
821 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 0.399999917)) | |
822 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(1.73847961, -0.000129699707, -2.93849945, 3.30619088e-008, -0.707107186, -0.707106411, 1, 1.32102684e-008, 2.78642904e-008, 1.69039538e-009, -0.707106411, 0.707107246)) | |
823 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00199997, 0.800000012)) | |
824 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003)) | |
825 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-2.87993622, -0.000137329102, -2.77992249, -7.96248685e-008, -0.707106411, 0.707107246, 1, -1.08422427e-007, 2.12288125e-008, 5.76374362e-008, 0.707107186, 0.707106352)) | |
826 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00600004, 0.0599999987)) | |
827 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003)) | |
828 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.87993622, -0.00012588501, 2.9799118, -9.7821129e-009, 0.707106471, -0.707107186, 1, -9.19525149e-008, -8.87417357e-008, -1.23752272e-007, -0.707107186, -0.707106411)) | |
829 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00600004, 0.0599999987)) | |
830 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999917, 0.200000003, 0.200000003)) | |
831 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(2.87991333, -0.000129699707, -2.97993469, -4.14438972e-008, -0.707107246, -0.707106352, 1, -5.89601399e-008, -5.3324416e-009, -2.58680757e-008, -0.707106352, 0.707107306)) | |
832 | mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00600004, 0.0599999987)) | |
833 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.683773041, 0.200000003, 2.73509192)) | |
834 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-6.61967468, 0.0208930969, 0.388954163, 1.99454848e-006, -0.500001967, -0.866024256, 1, 5.25948326e-006, -7.3434984e-007, 4.93469815e-006, -0.866024315, 0.500001967)) | |
835 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(0.683773041, 0.683772981, 0.683772981)) | |
836 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.683773041, 0.200000003, 2.73509192)) | |
837 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-6.49655151, -0.02085495, 0.328704834, -4.4098274e-006, 0.500002146, -0.866024196, -1, -5.25264568e-006, 2.04716162e-006, -3.53233304e-006, 0.866024196, 0.500002146)) | |
838 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(0.683773041, 0.683772981, 0.683772981)) | |
839 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.683773041, 0.200000003, 2.73509192)) | |
840 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-6.47428894, -0.0208587646, -3.10037637, -1.42895101e-006, -3.70694409e-007, -1, -1, -3.60905688e-006, 1.42327121e-006, -3.62042033e-006, 1, -3.70689264e-007)) | |
841 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(0.683773041, 0.683772981, 0.683772981)) | |
842 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.683773041, 0.200000003, 2.73509192)) | |
843 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-4.83097839, 0.0208816528, -6.22212982, -3.97769418e-006, 0.500002563, -0.866023958, 1, 5.0941826e-006, -1.63966331e-006, 3.5988478e-006, -0.866023958, -0.500002503)) | |
844 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(0.683773041, 0.683772981, 0.683772981)) | |
845 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.683773041, 0.200000003, 2.73509192)) | |
846 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-4.71723938, -0.0208587646, -6.14561462, 1.47300841e-006, -0.500002384, -0.866024017, -1, -5.03130013e-006, 1.20483423e-006, -4.97232941e-006, 0.866024077, -0.500002384)) | |
847 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(0.683773041, 0.683772981, 0.683772981)) | |
848 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.683773041, 0.200000003, 2.73509192)) | |
849 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(-6.61105347, 0.0208778381, -3.10975885, -1.42895112e-006, 3.74361605e-007, -1, 1, 3.56889359e-006, -1.4232686e-006, 3.58025613e-006, -1, -3.74366721e-007)) | |
850 | mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"rbxasset://fonts/sword.mesh",Vector3.new(0, 0, 0),Vector3.new(0.683773041, 0.683772981, 0.683772981)) | |
851 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.5,"Institutional white","Part",Vector3.new(0.399999976, 0.399999976, 0.399999976)) | |
852 | Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, -2.85937688e-007, -2.16275936e-007, 2.21957293e-007, 3.27825603e-007, 1, -2.74574262e-007, -1, 3.2782566e-007),CFrame.new(0, 3.30000305, -1.90734863e-006, -0.744700134, -0.667399347, -5.07537834e-008, 7.83254563e-008, -1.76896435e-008, -1, 0.667399347, -0.744700074, 6.92395261e-008)) | |
853 | mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(1.35000002, 1.35000002, 1.35000002)) | |
854 | ||
855 | function attackone() | |
856 | attack = true | |
857 | local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,25,math.random(5,10),"Normal",RootPart,.2,1) end) | |
858 | for i = 0,1,0.1 do | |
859 | swait() | |
860 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),.3) | |
861 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-2),math.rad(-2),math.rad(80)),.3) | |
862 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
863 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-30)), 0.3) | |
864 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
865 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
866 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(-50)),.3) | |
867 | end | |
868 | so("rbxassetid://199145887",Hitbox,1,1) | |
869 | for i = 0,1,0.1 do | |
870 | swait() | |
871 | local blcf = Hitbox.CFrame*cf(0,0,0) | |
872 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
873 | local h = 5 | |
874 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
875 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
876 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
877 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
878 | scfr = blcf | |
879 | elseif not scfr then | |
880 | scfr = blcf | |
881 | end | |
882 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
883 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.3) | |
884 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3) | |
885 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)), 0.3) | |
886 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
887 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
888 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(100)),.3) | |
889 | end | |
890 | attack = false | |
891 | con:disconnect() | |
892 | scfr = nil | |
893 | end | |
894 | ||
895 | function attacktwo() | |
896 | attack = true | |
897 | local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,25,math.random(5,10),"Normal",RootPart,.2,1) end) | |
898 | for i = 0,1,0.1 do | |
899 | swait() | |
900 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3) | |
901 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(-2),math.rad(-50)),.3) | |
902 | RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.3) | |
903 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(-20)), 0.3) | |
904 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
905 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
906 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(20)),.3) | |
907 | end | |
908 | so("rbxassetid://199145913",Hitbox,1,1) | |
909 | for i = 0,1,0.1 do | |
910 | swait() | |
911 | local blcf = Hitbox.CFrame*cf(0,0,0) | |
912 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
913 | local h = 5 | |
914 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
915 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
916 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
917 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
918 | scfr = blcf | |
919 | elseif not scfr then | |
920 | scfr = blcf | |
921 | end | |
922 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),.3) | |
923 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-2),math.rad(60)),.3) | |
924 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, .3) * angles(math.rad(0), math.rad(-10), math.rad(70)), 0.3) | |
925 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.3) | |
926 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
927 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
928 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(60)),.3) | |
929 | end | |
930 | attack = false | |
931 | con:disconnect() | |
932 | scfr = nil | |
933 | end | |
934 | ||
935 | function attackthree() | |
936 | attack = true | |
937 | local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,25,math.random(5,10),"Normal",RootPart,.2,1) end) | |
938 | so("http://roblox.com/asset/?id=153092348",Torso,1,.8) | |
939 | for i = 0,1,0.1 do | |
940 | swait() | |
941 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) | |
942 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-2),math.rad(-80)),.3) | |
943 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(0), math.rad(130), math.rad(80)), 0.3) | |
944 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(70), math.rad(0), math.rad(-20)), 0.3) | |
945 | 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) | |
946 | 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) | |
947 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(40)),.3) | |
948 | Torso.Velocity=Head.CFrame.lookVector*100 | |
949 | end | |
950 | so("http://roblox.com/asset/?id=199145327",Torso,1,.9) | |
951 | for i = 0,1,0.1 do | |
952 | swait() | |
953 | local blcf = Hitbox.CFrame*cf(0,0,0) | |
954 | if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then | |
955 | local h = 5 | |
956 | local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p) | |
957 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
958 | local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p) | |
959 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
960 | scfr = blcf | |
961 | elseif not scfr then | |
962 | scfr = blcf | |
963 | end | |
964 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),-7*i),.3) | |
965 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.3) | |
966 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.3) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3) | |
967 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-40)), 0.3) | |
968 | 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) | |
969 | 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) | |
970 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(50)),.3) | |
971 | end | |
972 | attack = false | |
973 | con:disconnect() | |
974 | scfr = nil | |
975 | end | |
976 | ||
977 | function MagniDamage2(Part,dis,mind,maxd,force,knock) | |
978 | for _,c in pairs(workspace:children()) do | |
979 | local hum=c:findFirstChild("Humanoid") | |
980 | if hum~=nil then | |
981 | local head=c:findFirstChild("Torso") | |
982 | if head~=nil then | |
983 | local targ=head.Position-Part.Position | |
984 | local mag=targ.magnitude | |
985 | if mag<=dis and c.Name~=Character.Name then | |
986 | Damagefunc(Part,hum.Parent.Torso,mind,maxd,force,knock,RootPart,.2,1) | |
987 | end | |
988 | end | |
989 | end | |
990 | end | |
991 | end | |
992 | ||
993 | function MagniDamage(Hit,Part,magni,mindam,maxdam,knock,Type) | |
994 | for _,c in pairs(workspace:children()) do | |
995 | local hum=c:findFirstChild("Humanoid") | |
996 | if hum~=nil then | |
997 | local head=c:findFirstChild("Torso") | |
998 | if head~=nil then | |
999 | local targ=head.Position-Part.Position | |
1000 | local mag=targ.magnitude | |
1001 | if mag<=magni and c.Name~=Player.Name then | |
1002 | Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3) | |
1003 | end | |
1004 | end | |
1005 | end | |
1006 | end | |
1007 | end | |
1008 | ||
1009 | function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1010 | local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt()) | |
1011 | prt.Anchored=true | |
1012 | prt.CFrame=cframe | |
1013 | local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=102638417",vt(0,0,0),vt(x1,y1,z1)) | |
1014 | game:GetService("Debris"):AddItem(prt,5) | |
1015 | table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh}) | |
1016 | end | |
1017 | ||
1018 | function attackfour() | |
1019 | attack = true | |
1020 | Humanoid.WalkSpeed = 0 | |
1021 | for i = 0,1,0.1 do | |
1022 | swait() | |
1023 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1024 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1025 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3) | |
1026 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3) | |
1027 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
1028 | 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) | |
1029 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3) | |
1030 | end | |
1031 | MagniDamage(Hitbox,LeftLeg,20,30,50,math.random(30,40),"Knockdown",true) | |
1032 | so("http://roblox.com/asset/?id=199145264",LeftLeg,1,1.1) | |
1033 | so("http://roblox.com/asset/?id=200632561",LeftLeg,1,1) | |
1034 | MagicWave(BrickColor.new("Institutional white"),cf(LeftLeg.Position),.7,.7,.7,.7,.7,.7,.05) | |
1035 | MagicWave(BrickColor.new("Institutional white"),cf(LeftLeg.Position),.6,.6,.6,.6,.6,.6,.05) | |
1036 | for i = 0,1,0.1 do | |
1037 | swait() | |
1038 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1039 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1040 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3) | |
1041 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3) | |
1042 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3) | |
1043 | LH.C0=clerp(LH.C0,cf(-1,-1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1044 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(-10)),.3) | |
1045 | end | |
1046 | attack = false | |
1047 | Humanoid.WalkSpeed = 16 | |
1048 | end | |
1049 | ||
1050 | function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1051 | local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt()) | |
1052 | prt.Anchored=true | |
1053 | prt.CFrame=cframe | |
1054 | msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1)) | |
1055 | game:GetService("Debris"):AddItem(prt,2) | |
1056 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1057 | for i=0,1,delay do | |
1058 | wait() | |
1059 | Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1060 | Part.Transparency=i | |
1061 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1062 | end | |
1063 | Part.Parent=nil | |
1064 | end),prt,msh) | |
1065 | end | |
1066 | ||
1067 | function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1068 | local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt()) | |
1069 | prt.Anchored=true | |
1070 | prt.CFrame=cframe | |
1071 | local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) | |
1072 | game:GetService("Debris"):AddItem(prt,2) | |
1073 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1074 | local wld=nil | |
1075 | for i=0,1,delay do | |
1076 | wait() | |
1077 | Part.CFrame=Part.CFrame | |
1078 | Part.Transparency=i | |
1079 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1080 | end | |
1081 | Part.Parent=nil | |
1082 | end),prt,msh) | |
1083 | end | |
1084 | ||
1085 | function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1086 | local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(2.5,2.5,2.5)) | |
1087 | prt.Anchored=true | |
1088 | prt.CFrame=cframe | |
1089 | msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1)) | |
1090 | game:GetService("Debris"):AddItem(prt,5) | |
1091 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1092 | for i=0,1,delay do | |
1093 | wait() | |
1094 | Part.CFrame=Part.CFrame | |
1095 | Part.Transparency=i | |
1096 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1097 | end | |
1098 | Part.Parent=nil | |
1099 | end),prt,msh) | |
1100 | end | |
1101 | ||
1102 | function ChargeBall2(parent) | |
1103 | local counter=0 | |
1104 | local size=1 | |
1105 | for i=0,1 do | |
1106 | swait() | |
1107 | counter=counter+1 | |
1108 | if counter%10==0 then | |
1109 | if size==3 then | |
1110 | MagicRing(BrickColor.new("Institutional white"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent) | |
1111 | elseif size==2 then | |
1112 | MagicRing(BrickColor.new("Institutional white"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent) | |
1113 | end | |
1114 | end | |
1115 | if counter%5==0 then | |
1116 | if size==1 then | |
1117 | MagicBlock(BrickColor.new("Institutional white"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent) | |
1118 | MagicWave(BrickColor.new("Institutional white"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05) | |
1119 | elseif size==2 then | |
1120 | MagicBlock(BrickColor.new("Institutional white"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent) | |
1121 | MagicWave(BrickColor.new("Institutional white"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05) | |
1122 | elseif size==3 then | |
1123 | MagicBlock(BrickColor.new("Institutional white"),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent) | |
1124 | MagicWave(BrickColor.new("Institutional white"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),1,1,1,1,.5,1,0.05) | |
1125 | end | |
1126 | end | |
1127 | end | |
1128 | end | |
1129 | ||
1130 | ||
1131 | function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1132 | local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(5,5,5)) | |
1133 | prt.Anchored=true | |
1134 | prt.CFrame=cframe | |
1135 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=24388358",vt(0,0,0),vt(x1,y1,z1)) | |
1136 | game:GetService("Debris"):AddItem(prt,5) | |
1137 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1138 | for i=0,1,delay do | |
1139 | wait() | |
1140 | Part.CFrame=Part.CFrame | |
1141 | Part.Transparency=i | |
1142 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1143 | end | |
1144 | Part.Parent=nil | |
1145 | end),prt,msh) | |
1146 | end | |
1147 | ||
1148 | function MagicRing2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) | |
1149 | local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(5,5,5)) | |
1150 | prt.Anchored=true | |
1151 | prt.CFrame=cframe | |
1152 | msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=9982590",vt(0,0,0),vt(x1,y1,z1)) | |
1153 | game:GetService("Debris"):AddItem(prt,5) | |
1154 | coroutine.resume(coroutine.create(function(Part,Mesh) | |
1155 | for i=0,1,delay do | |
1156 | wait() | |
1157 | Part.CFrame=Part.CFrame | |
1158 | Part.Transparency=i | |
1159 | Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) | |
1160 | end | |
1161 | Part.Parent=nil | |
1162 | end),prt,msh) | |
1163 | end | |
1164 | ||
1165 | local n = 0 | |
1166 | ||
1167 | function Blast() | |
1168 | ||
1169 | local ChatService = game:GetService("Chat") | |
1170 | ||
1171 | neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0) | |
1172 | ChatService:Chat(Head, "Nebula's Ghostly Cluster!", "Red") | |
1173 | wait(0) | |
1174 | n=2 | |
1175 | attack = true | |
1176 | for i=0,1,0.1 do | |
1177 | swait() | |
1178 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),.3) | |
1179 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-2),math.rad(-2),math.rad(30)),.3) | |
1180 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3) | |
1181 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3) | |
1182 | 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) | |
1183 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1184 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3) | |
1185 | end | |
1186 | so("http://roblox.com/asset/?id=431105970",Torso,2,1) | |
1187 | so("http://roblox.com/asset/?id=469345336",Torso,2,1) | |
1188 | local charging=true | |
1189 | for _,c in pairs(workspace:children()) do | |
1190 | if c.className=="Model" then | |
1191 | if c:findFirstChild("Torso")~=nil and c:findFirstChild("Humanoid")~=nil and c.Name~="Vanta" then | |
1192 | print(c) | |
1193 | local Tors=c:findFirstChild("Torso") | |
1194 | coroutine.resume(coroutine.create(function(Part) | |
1195 | local ef=part(3,Character,"Neon",0,0.5,BrickColor.new("Institutional white"),"Laser",vt(1,0.2,1)) | |
1196 | ef.Anchored=true | |
1197 | local emsh=mesh("SpecialMesh",ef,"Head","",vt(0,0,0),vt(1,0.2,1)) | |
1198 | game:GetService("Debris"):AddItem(ef,5) | |
1199 | while charging==true do | |
1200 | wait() | |
1201 | local TheHit=Part.Position | |
1202 | local MouseLook=cf((LeftArm.Position+TheHit)/2,TheHit) | |
1203 | local hit,pos = rayCast(LeftArm.Position,MouseLook.lookVector,999,Character) | |
1204 | local mag=(LeftArm.Position-pos).magnitude | |
1205 | ef.CFrame=CFrame.new((LeftArm.Position+pos)/2,pos)*euler(1.57,0,0) | |
1206 | emsh.Scale=vt(1,mag*5,1) | |
1207 | end | |
1208 | ef.Parent=nil | |
1209 | local TheHit=Part.Position | |
1210 | local MouseLook=cf((Torso.Position+TheHit)/2,TheHit) | |
1211 | wait() | |
1212 | local hit,pos = rayCast(Torso.Position,MouseLook.lookVector,999,Character) | |
1213 | local mag=(Torso.Position-pos).magnitude | |
1214 | if hit~=nil then | |
1215 | Damagefunc(hit,hit,50,50,50,"Knockdown",RootPart,0) | |
1216 | MagicCircle(BrickColor.new("Institutional white"),cf(pos),10,10,10,50,50,50,0.02) | |
1217 | MagicBlock(BrickColor.new("Institutional white"),cf(pos),10,10,10,14,14,14,0.02) | |
1218 | MagicBlock(BrickColor.new("Institutional white"),cf(pos),10,10,10,16,16,16,0.02) | |
1219 | MagicBlock(BrickColor.new("Institutional white"),cf(pos),10,10,10,18,18,18,0.02) | |
1220 | MagicCylinder(BrickColor.new("Institutional white"),CFrame.new((LeftArm.Position+pos)/2,pos)*euler(1.57,0,0),5,mag*5,5,0.5,0,0.5,0.01) | |
1221 | so("http://roblox.com/asset/?id=402347142",hit,1,0.6) | |
1222 | so("http://roblox.com/asset/?id=138186576",hit,5,1) | |
1223 | so("http://roblox.com/asset/?id=412831137",hit,2,1) | |
1224 | so("http://roblox.com/asset/?id=416318205",hit,2,1) | |
1225 | so("http://roblox.com/asset/?id=138186576",hit,5,0.75) | |
1226 | end | |
1227 | end),Tors) | |
1228 | end | |
1229 | end | |
1230 | end | |
1231 | wait(1) | |
1232 | n=2 | |
1233 | --[[for i=0,1,0.2 do | |
1234 | wait() | |
1235 | Neck.C0=cf(0,1,0)*euler(-0.4+0.2*i*n,0,0) | |
1236 | RW.C0=cf(1+0.5*i*n,0.5,-0.5+0.5*i*n)*euler(1.4+0.17*i*n,0,-1.2+2.77*i*n) | |
1237 | LW.C0=cf(-1-0.5*i*n,0.5,-0.5+0.5*i*n)*euler(1.6-0.03*i*n,0,1.4-2.97*i*n) | |
1238 | n=n-0.2 | |
1239 | end]]-- | |
1240 | charging=false | |
1241 | wait(1) | |
1242 | n=2 | |
1243 | --[[for i=0,1,0.1 do | |
1244 | wait() | |
1245 | Neck.C0=cf(0,1,0)*euler(-0.2,0,0) | |
1246 | RW.C0=cf(1.5,0.5,0)*euler(1.57-1.57*i*n,0,1.57-1.37*i*n) | |
1247 | LW.C0=cf(-1.5,0.5,0)*euler(1.57-1.57*i*n,0,-1.57+1.37*i*n) | |
1248 | n=n-0.1 | |
1249 | end]]-- | |
1250 | attack = false | |
1251 | end | |
1252 | ||
1253 | function BlackBlast() | |
1254 | ||
1255 | local ChatService = game:GetService("Chat") | |
1256 | ||
1257 | neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0) | |
1258 | ChatService:Chat(Head, "Shade Cluster!", "Red") | |
1259 | wait(0) | |
1260 | n=2 | |
1261 | attack = true | |
1262 | for i=0,1,0.1 do | |
1263 | swait() | |
1264 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),.3) | |
1265 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-2),math.rad(-2),math.rad(30)),.3) | |
1266 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3) | |
1267 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3) | |
1268 | 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) | |
1269 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1270 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3) | |
1271 | end | |
1272 | so("http://roblox.com/asset/?id=431105970",Torso,2,1) | |
1273 | so("http://roblox.com/asset/?id=402981977",Torso,5,0.6) | |
1274 | local charging=true | |
1275 | for _,c in pairs(workspace:children()) do | |
1276 | if c.className=="Model" then | |
1277 | if c:findFirstChild("Torso")~=nil and c:findFirstChild("Humanoid")~=nil and c.Name~="Vanta" then | |
1278 | print(c) | |
1279 | local Tors=c:findFirstChild("Torso") | |
1280 | coroutine.resume(coroutine.create(function(Part) | |
1281 | local ef=part(3,Character,"Neon",0,0.5,BrickColor.new("Really black"),"Laser",vt(1,0.2,1)) | |
1282 | ef.Anchored=true | |
1283 | local emsh=mesh("SpecialMesh",ef,"Head","",vt(0,0,0),vt(1,0.2,1)) | |
1284 | game:GetService("Debris"):AddItem(ef,5) | |
1285 | while charging==true do | |
1286 | wait() | |
1287 | local TheHit=Part.Position | |
1288 | local MouseLook=cf((LeftArm.Position+TheHit)/2,TheHit) | |
1289 | local hit,pos = rayCast(LeftArm.Position,MouseLook.lookVector,999,Character) | |
1290 | local mag=(LeftArm.Position-pos).magnitude | |
1291 | ef.CFrame=CFrame.new((LeftArm.Position+pos)/2,pos)*euler(1.57,0,0) | |
1292 | emsh.Scale=vt(1,mag*5,1) | |
1293 | end | |
1294 | ef.Parent=nil | |
1295 | local TheHit=Part.Position | |
1296 | local MouseLook=cf((Torso.Position+TheHit)/2,TheHit) | |
1297 | wait() | |
1298 | local hit,pos = rayCast(Torso.Position,MouseLook.lookVector,999,Character) | |
1299 | local mag=(Torso.Position-pos).magnitude | |
1300 | if hit~=nil then | |
1301 | Damagefunc(hit,hit,75,80,99,"Knockdown",RootPart,0) | |
1302 | MagicCircle(BrickColor.new("Really black"),cf(pos),30,30,30,70,70,70,0.02) | |
1303 | MagicBlock(BrickColor.new("Really black"),cf(pos),30,30,30,34,34,34,0.02) | |
1304 | MagicBlock(BrickColor.new("Really black"),cf(pos),30,30,30,36,36,36,0.02) | |
1305 | MagicBlock(BrickColor.new("Really black"),cf(pos),30,30,30,38,38,38,0.02) | |
1306 | MagicCylinder(BrickColor.new("Really black"),CFrame.new((LeftArm.Position+pos)/2,pos)*euler(1.57,0,0),5,mag*5,5,0.5,0,0.5,0.01) | |
1307 | so("http://roblox.com/asset/?id=144699494",hit,7,0.6) | |
1308 | so("http://roblox.com/asset/?id=138186576",hit,5,1) | |
1309 | so("http://roblox.com/asset/?id=414516914",hit,7,0.5) | |
1310 | so("http://roblox.com/asset/?id=416318205",hit,2,1) | |
1311 | so("http://roblox.com/asset/?id=138186576",hit,5,0.75) | |
1312 | end | |
1313 | end),Tors) | |
1314 | end | |
1315 | end | |
1316 | end | |
1317 | wait(1) | |
1318 | n=2 | |
1319 | --[[for i=0,1,0.2 do | |
1320 | wait() | |
1321 | Neck.C0=cf(0,1,0)*euler(-0.4+0.2*i*n,0,0) | |
1322 | RW.C0=cf(1+0.5*i*n,0.5,-0.5+0.5*i*n)*euler(1.4+0.17*i*n,0,-1.2+2.77*i*n) | |
1323 | LW.C0=cf(-1-0.5*i*n,0.5,-0.5+0.5*i*n)*euler(1.6-0.03*i*n,0,1.4-2.97*i*n) | |
1324 | n=n-0.2 | |
1325 | end]]-- | |
1326 | charging=false | |
1327 | wait(1) | |
1328 | n=2 | |
1329 | --[[for i=0,1,0.1 do | |
1330 | wait() | |
1331 | Neck.C0=cf(0,1,0)*euler(-0.2,0,0) | |
1332 | RW.C0=cf(1.5,0.5,0)*euler(1.57-1.57*i*n,0,1.57-1.37*i*n) | |
1333 | LW.C0=cf(-1.5,0.5,0)*euler(1.57-1.57*i*n,0,-1.57+1.37*i*n) | |
1334 | n=n-0.1 | |
1335 | end]]-- | |
1336 | attack = false | |
1337 | end | |
1338 | ||
1339 | function PlaySound(id, pitch, parent, volume) | |
1340 | if volume == nil then volume=tonumber(1) end | |
1341 | local epicsound = Instance.new("Sound") | |
1342 | epicsound.Name = "Epicosound" | |
1343 | epicsound.SoundId = "rbxassetid://"..id | |
1344 | epicsound.Volume = volume | |
1345 | epicsound.Pitch = pitch | |
1346 | epicsound.Looped = false | |
1347 | epicsound.Parent = parent | |
1348 | wait() | |
1349 | epicsound:Play() | |
1350 | game:service'Debris':AddItem(epicsound, 8) | |
1351 | end | |
1352 | ||
1353 | Shots = {416315847, 416315847, 416315847, 416315847, 416315847} | |
1354 | ||
1355 | Shot = function(part) | |
1356 | local shot=math.random(1, #Shots) | |
1357 | PlaySound(Shots[shot], 1, part) | |
1358 | end | |
1359 | ||
1360 | function CelestialStorm() | |
1361 | ||
1362 | local ChatService = game:GetService("Chat") | |
1363 | ||
1364 | neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0) | |
1365 | ChatService:Chat(Head, "Nebula's Storm!", "Red") | |
1366 | wait(0) | |
1367 | local n=2 | |
1368 | attack = true | |
1369 | for i=0,1,0.1 do | |
1370 | swait() | |
1371 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1372 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-2),math.rad(0)),.3) | |
1373 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3) | |
1374 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(-20)), 0.3) | |
1375 | 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) | |
1376 | 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) | |
1377 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3) | |
1378 | end | |
1379 | for i=1,math.random(5,10) do | |
1380 | wait(.05) | |
1381 | MagicBlock(BrickColor.new("Institutional white"),LeftArm.CFrame*cf(0,-1,0),5,5,5,5,5,5,0.1) | |
1382 | local orb=part(3,Character,"Neon",0,0.5,BrickColor.new("Institutional white"),"Orb",vt()) | |
1383 | orb.Anchored=true | |
1384 | Shot(orb) | |
1385 | local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(10,10,10)) | |
1386 | orb.CFrame=cf(Player:GetMouse().Hit.p+vt(math.random(-10,10),math.random(50,100),math.random(-10,10))) | |
1387 | MagicCircle(BrickColor.new("Institutional white"),orb.CFrame,10,10,10,15,15,15,0.1) | |
1388 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
1389 | wait(1) | |
1390 | Part.Parent=nil | |
1391 | local spread=vt((math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16)*(Part.Position-(Part.Position+vt(0,-1,0))).magnitude/100 | |
1392 | local TheHit=Part.Position+vt(0,-1,0) | |
1393 | local MouseLook=cf((Part.Position+TheHit)/2,TheHit+spread) | |
1394 | local hit,pos = rayCast(Part.Position,MouseLook.lookVector,999,Character) | |
1395 | local mag=(Part.Position-pos).magnitude | |
1396 | MagicCylinder(BrickColor.new("Institutional white"),CFrame.new((Part.Position+pos)/2,pos)*angles(1.57,0,0) ,1,mag*5,1,0.5,0,0.5,0.05) | |
1397 | MagicBlock(BrickColor.new("Institutional white"),Part.CFrame,25,25,25,1,1,1,0.1) | |
1398 | MagicBlock(BrickColor.new("Institutional white"),cf(pos),1,1,1,30,30,30,0.1) | |
1399 | MagicBlock(BrickColor.new("Institutional white"),cf(pos),1,1,1,35,35,35,0.1) | |
1400 | MagicBlock(BrickColor.new("Institutional white"),cf(pos),1,1,1,40,40,40,0.1) | |
1401 | MagicRing(BrickColor.new("Institutional white"),cf(pos)*euler(1.57,math.random(-100,100)/100,math.random(-100,100)/100),1,1,1,2,2,2,0.05) | |
1402 | local ref=part(3,workspace,"Neon",0,1,BrickColor.new("Institutional white"),"Effect",vt()) | |
1403 | ref.CFrame=cf(pos) | |
1404 | so("http://roblox.com/asset/?id=506384002",ref,2,1) | |
1405 | so("http://roblox.com/asset/?id=402347142",ref,2,1) | |
1406 | coroutine.resume(coroutine.create(function(Part) | |
1407 | wait(1) | |
1408 | Part.Parent=nil | |
1409 | end),ref) | |
1410 | MagniDamage(ref,ref,20,20,20,20,"Normal",RootPart) | |
1411 | if hit~=nil then | |
1412 | Damagefunc(ref,hit,20,20,20,"Knockdown",RootPart,0) | |
1413 | end | |
1414 | end),orb,omsh) | |
1415 | end | |
1416 | wait(0.5) | |
1417 | local n=2 | |
1418 | for i=0,1,0.1 do | |
1419 | wait() | |
1420 | --[[Neck.C0=cf(0,1,0)*euler(0.4-0.6*i*n,0,0) | |
1421 | RW.C0=cf(1.5,0.5,0)*euler(3.14-3.14*i*n,0,0.3*i*n) | |
1422 | RW.C1=cf(0,0.5,0)*euler(0,0,0) | |
1423 | LW.C0=cf(-1.5,0.5,0)*euler(-0.2+0.2*i*n,0,-0.3) | |
1424 | LW.C1=cf(0,0.5,0)*euler(0,0,0)]] | |
1425 | n=n-0.1 | |
1426 | end | |
1427 | attack = false | |
1428 | end | |
1429 | ||
1430 | function PillarStorm() | |
1431 | ||
1432 | local ChatService = game:GetService("Chat") | |
1433 | ||
1434 | neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0) | |
1435 | ChatService:Chat(Head, "Shadeful Rain!", "Red") | |
1436 | wait(0) | |
1437 | local n=2 | |
1438 | attack = true | |
1439 | for i=0,1,0.1 do | |
1440 | swait() | |
1441 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1442 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-2),math.rad(0)),.3) | |
1443 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3) | |
1444 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(-20)), 0.3) | |
1445 | 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) | |
1446 | 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) | |
1447 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3) | |
1448 | end | |
1449 | for i=1,math.random(5,10) do | |
1450 | wait(.05) | |
1451 | MagicBlock(BrickColor.new("Really black"),LeftArm.CFrame*cf(0,-1,0),15,15,15,15,15,15,0.1) | |
1452 | local orb=part(3,Character,"Neon",0,0.5,BrickColor.new("Really black"),"Orb",vt()) | |
1453 | orb.Anchored=true | |
1454 | Shot(orb) | |
1455 | local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(10,10,10)) | |
1456 | orb.CFrame=cf(Player:GetMouse().Hit.p+vt(math.random(-10,10),math.random(50,100),math.random(-10,10))) | |
1457 | MagicCircle(BrickColor.new("Really black"),orb.CFrame,15,15,15,20,20,20,0.1) | |
1458 | coroutine.resume(coroutine.create(function(Part,Mesh,Weld) | |
1459 | wait(1) | |
1460 | Part.Parent=nil | |
1461 | local spread=vt((math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16,(math.random(-1,0)+math.random())*16)*(Part.Position-(Part.Position+vt(0,-1,0))).magnitude/100 | |
1462 | local TheHit=Part.Position+vt(0,-1,0) | |
1463 | local MouseLook=cf((Part.Position+TheHit)/2,TheHit+spread) | |
1464 | local hit,pos = rayCast(Part.Position,MouseLook.lookVector,999,Character) | |
1465 | local mag=(Part.Position-pos).magnitude | |
1466 | MagicCylinder(BrickColor.new("Really black"),CFrame.new((Part.Position+pos)/2,pos)*angles(1.57,0,0) ,1,mag*5,1,0.5,0,0.5,0.05) | |
1467 | MagicBlock(BrickColor.new("Really black"),Part.CFrame,65,65,65,1,1,1,0.1) | |
1468 | MagicBlock(BrickColor.new("Really black"),cf(pos),1,1,1,70,70,70,0.1) | |
1469 | MagicBlock(BrickColor.new("Really black"),cf(pos),1,1,1,75,75,75,0.1) | |
1470 | MagicBlock(BrickColor.new("Really black"),cf(pos),1,1,1,80,80,80,0.1) | |
1471 | MagicRing2(BrickColor.new("Really black"),cf(pos)*euler(1.57,math.random(-100,100)/100,math.random(-100,100)/100),1,1,1,2,2,2,0.05) | |
1472 | local ref=part(3,workspace,"Neon",0,1,BrickColor.new("Really black"),"Effect",vt()) | |
1473 | ref.CFrame=cf(pos) | |
1474 | so("http://roblox.com/asset/?id=416318205",ref,1,1) | |
1475 | so("http://roblox.com/asset/?id=144699494",ref,25,1) | |
1476 | so("http://roblox.com/asset/?id=414516914",ref,25,0.5) | |
1477 | coroutine.resume(coroutine.create(function(Part) | |
1478 | wait(1) | |
1479 | Part.Parent=nil | |
1480 | end),ref) | |
1481 | MagniDamage(ref,ref,42,42,42,42,"Normal",RootPart) | |
1482 | if hit~=nil then | |
1483 | Damagefunc(ref,hit,31,31,31,"Knockdown",RootPart,0) | |
1484 | end | |
1485 | end),orb,omsh) | |
1486 | end | |
1487 | wait(0.5) | |
1488 | local n=2 | |
1489 | for i=0,1,0.1 do | |
1490 | wait() | |
1491 | --[[Neck.C0=cf(0,1,0)*euler(0.4-0.6*i*n,0,0) | |
1492 | RW.C0=cf(1.5,0.5,0)*euler(3.14-3.14*i*n,0,0.3*i*n) | |
1493 | RW.C1=cf(0,0.5,0)*euler(0,0,0) | |
1494 | LW.C0=cf(-1.5,0.5,0)*euler(-0.2+0.2*i*n,0,-0.3) | |
1495 | LW.C1=cf(0,0.5,0)*euler(0,0,0)]] | |
1496 | n=n-0.1 | |
1497 | end | |
1498 | attack = false | |
1499 | end | |
1500 | ||
1501 | function PortalStorm() | |
1502 | ||
1503 | local ChatService = game:GetService("Chat") | |
1504 | ||
1505 | neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0) | |
1506 | ChatService:Chat(Head, "Nebula's Demiseful Destruction!", "Red") | |
1507 | wait(0) | |
1508 | Humanoid.WalkSpeed=0 | |
1509 | attack=true | |
1510 | for i=0,1,.1 do | |
1511 | swait() | |
1512 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1513 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1514 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-40)), 0.3) | |
1515 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(40)), 0.3) | |
1516 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(5),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1517 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1518 | Handleweld.C0=clerp(Handleweld.C0,cf(-1,-2.3,-.4)*angles(math.rad(-165),math.rad(-15),math.rad(50)),.3) | |
1519 | end | |
1520 | so("http://www.roblox.com/asset/?id=469345336",handle,2,1) | |
1521 | wait(2) | |
1522 | ChargeBall2(handle,100) | |
1523 | makeShockwave(0.5,BrickColor.new("Institutional white"),50,1000,0) | |
1524 | makeShockwave(0.5,BrickColor.new("Institutional white"),45,1000,0) | |
1525 | makeShockwave(0.5,BrickColor.new("Institutional white"),40,1000,0) | |
1526 | makeShockwave(0.5,BrickColor.new("Institutional white"),35,1000,0) | |
1527 | makeShockwave(0.5,BrickColor.new("Institutional white"),30,1000,0) | |
1528 | makeShockwave(0.5,BrickColor.new("Institutional white"),25,1000,0) | |
1529 | makeShockwave(0.5,BrickColor.new("Institutional white"),20,1000,0) | |
1530 | makeShockwave(0.5,BrickColor.new("Institutional white"),15,1000,0) | |
1531 | makeShockwave(0.5,BrickColor.new("Institutional white"),10,1000,0) | |
1532 | MagicWave(BrickColor.new("Institutional white"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01) | |
1533 | wait(0) | |
1534 | so("http://www.roblox.com/asset/?id=402347142",game.Workspace,1,1) | |
1535 | wait(0) | |
1536 | so("http://www.roblox.com/asset/?id=138186576",game.Workspace,10,0.75) | |
1537 | delay(0.5,function () | |
1538 | MagniDamage2(Torso,75,75,75,math.random(50,70),"Knockdown",RootPart) | |
1539 | end) | |
1540 | Humanoid.Health=Humanoid.Health-0 | |
1541 | makeShockwave(4,BrickColor.new("Institutional white"),10,25000,1) | |
1542 | attack=false | |
1543 | Humanoid.WalkSpeed=9 | |
1544 | wait(4) | |
1545 | Humanoid.WalkSpeed=16 | |
1546 | end | |
1547 | ||
1548 | function RoaringStorm() | |
1549 | ||
1550 | local ChatService = game:GetService("Chat") | |
1551 | ||
1552 | neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0) | |
1553 | ChatService:Chat(Head, "Shadeful Demise!", "Red") | |
1554 | wait(0) | |
1555 | Humanoid.WalkSpeed=0 | |
1556 | attack=true | |
1557 | for i=0,1,.1 do | |
1558 | swait() | |
1559 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1560 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1561 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-40)), 0.3) | |
1562 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(40)), 0.3) | |
1563 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(5),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1564 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1565 | Handleweld.C0=clerp(Handleweld.C0,cf(-1,-2.3,-.4)*angles(math.rad(-165),math.rad(-15),math.rad(50)),.3) | |
1566 | end | |
1567 | so("http://www.roblox.com/asset/?id=402981977",handle,3,0.6) | |
1568 | wait(1) | |
1569 | so("http://www.roblox.com/asset/?id=348676461",handle,1,0.45) | |
1570 | wait(0) | |
1571 | ChargeBall2(handle,100) | |
1572 | makeShockwave(0.5,BrickColor.new("Really black"),30,5000,0) | |
1573 | makeShockwave(0.5,BrickColor.new("Really black"),27.5,7500,0) | |
1574 | MagicWave(BrickColor.new("Really black"),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.random(-50,50),0),2,2,2,.5,.3,.5,0.01) | |
1575 | wait(0) | |
1576 | so("http://www.roblox.com/asset/?id=435742675",game.Workspace,5,1) | |
1577 | wait(0) | |
1578 | so("http://www.roblox.com/asset/?id=138186576",game.Workspace,2,0.75) | |
1579 | so("http://www.roblox.com/asset/?id=414516914",game.Workspace,2,0.5) | |
1580 | delay(0.5,function () | |
1581 | MagniDamage2(Torso,100,95,99,math.random(50,70),"Knockdown",RootPart) | |
1582 | end) | |
1583 | Humanoid.Health=Humanoid.Health-0 | |
1584 | makeShockwave(14,BrickColor.new("Really black"),22,35000,1) | |
1585 | makeShockwave(13,BrickColor.new("Really black"),21,32500,1) | |
1586 | makeShockwave(12,BrickColor.new("Really black"),20,30000,1) | |
1587 | makeShockwave(11,BrickColor.new("Really black"),19,27500,1) | |
1588 | makeShockwave(10,BrickColor.new("Really black"),18,25000,1) | |
1589 | makeShockwave(9,BrickColor.new("Really black"),17,22500,1) | |
1590 | makeShockwave(8,BrickColor.new("Really black"),16,20000,1) | |
1591 | makeShockwave(7,BrickColor.new("Really black"),15,17500,1) | |
1592 | makeShockwave(6,BrickColor.new("Really black"),14,15000,1) | |
1593 | makeShockwave(5,BrickColor.new("Really black"),13,12500,1) | |
1594 | makeShockwave(4,BrickColor.new("Really black"),12,10000,1) | |
1595 | makeShockwave(3,BrickColor.new("Really black"),11,7500,1) | |
1596 | makeShockwave(2,BrickColor.new("Really black"),10,5000,1) | |
1597 | makeShockwave(1,BrickColor.new("Really black"),9,2500,1) | |
1598 | attack=false | |
1599 | Humanoid.WalkSpeed=9 | |
1600 | wait(10) | |
1601 | Humanoid.WalkSpeed=16 | |
1602 | game.Lighting.TimeOfDay = "00:00:00" | |
1603 | game.Lighting.Ambient = Color3.new(0,0,0) | |
1604 | game.Lighting.FogColor = Color3.new(0,0,0) | |
1605 | game.Lighting.FogEnd = 500 | |
1606 | game.Lighting.FogStart = 0 | |
1607 | game.Lighting.GlobalShadows = true | |
1608 | end | |
1609 | ||
1610 | ||
1611 | ||
1612 | mouse.Button1Down:connect(function() | |
1613 | if attack == false and attacktype == 1 then | |
1614 | attacktype = 2 | |
1615 | attackone() | |
1616 | elseif attack == false and attacktype == 2 then | |
1617 | attacktype = 3 | |
1618 | attacktwo() | |
1619 | elseif attack == false and attacktype == 3 then | |
1620 | attacktype = 4 | |
1621 | attackthree() | |
1622 | elseif attack == false and attacktype == 4 then | |
1623 | attacktype = 1 | |
1624 | attackfour() | |
1625 | end | |
1626 | end) | |
1627 | ||
1628 | mouse.KeyDown:connect(function(k) | |
1629 | k=k:lower() | |
1630 | if attack == false and k == 'q' then | |
1631 | CelestialStorm() | |
1632 | end | |
1633 | if attack == false and k == 'f' then | |
1634 | PillarStorm() | |
1635 | end | |
1636 | if attack == false and k == 'e' then | |
1637 | Blast() | |
1638 | end | |
1639 | if attack == false and k == 'x' then | |
1640 | BlackBlast() | |
1641 | end | |
1642 | if attack == false and k == 'r' then | |
1643 | PortalStorm() | |
1644 | end | |
1645 | if attack == false and k == 'z' then | |
1646 | RoaringStorm() | |
1647 | end | |
1648 | end) | |
1649 | ||
1650 | ||
1651 | local sine = 0 | |
1652 | local change = 1 | |
1653 | local val = 0 | |
1654 | local donum=0 | |
1655 | ||
1656 | while true do | |
1657 | swait() | |
1658 | sine = sine + change | |
1659 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
1660 | local velderp=RootPart.Velocity.y | |
1661 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
1662 | if equipped==true or equipped==false then | |
1663 | if attack==false then | |
1664 | idle=idle+1 | |
1665 | else | |
1666 | idle=0 | |
1667 | end | |
1668 | if idle>=500 then | |
1669 | if attack==false then | |
1670 | end | |
1671 | end | |
1672 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
1673 | Anim="Jump" | |
1674 | if attack==false then | |
1675 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1676 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1677 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.3) | |
1678 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3) | |
1679 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1680 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1681 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.3) | |
1682 | end | |
1683 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
1684 | Anim="Fall" | |
1685 | if attack==false then | |
1686 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1687 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) | |
1688 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(50)), 0.3) | |
1689 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-50)), 0.3) | |
1690 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
1691 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
1692 | end | |
1693 | elseif torvel<1 and hitfloor~=nil then | |
1694 | Anim="Idle" | |
1695 | if attack==false then | |
1696 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-30)),.3) | |
1697 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-2),math.rad(-2),math.rad(30)),.3) | |
1698 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3) | |
1699 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-20)), 0.3) | |
1700 | 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) | |
1701 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1702 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(10)),.3) | |
1703 | end | |
1704 | elseif torvel>2 and hitfloor~=nil then | |
1705 | Anim="Walk" | |
1706 | if attack==false then | |
1707 | change=3 | |
1708 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1709 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3) | |
1710 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-15)*math.cos(sine/13), math.rad(0), math.rad(10)), 0.3) | |
1711 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15)*math.cos(sine/13), math.rad(0), math.rad(-10)), 0.3) | |
1712 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1713 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3) | |
1714 | Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.3) | |
1715 | end | |
1716 | end | |
1717 | end | |
1718 | if #Effects>0 then | |
1719 | for e=1,#Effects do | |
1720 | if Effects[e]~=nil then | |
1721 | local Thing=Effects[e] | |
1722 | if Thing~=nil then | |
1723 | local Part=Thing[1] | |
1724 | local Mode=Thing[2] | |
1725 | local Delay=Thing[3] | |
1726 | local IncX=Thing[4] | |
1727 | local IncY=Thing[5] | |
1728 | local IncZ=Thing[6] | |
1729 | if Thing[1].Transparency<=1 then | |
1730 | if Thing[2]=="Block1" then | |
1731 | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1732 | Mesh=Thing[1].Mesh | |
1733 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1734 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1735 | elseif Thing[2]=="Cylinder" then | |
1736 | Mesh=Thing[1].Mesh | |
1737 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1738 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1739 | elseif Thing[2]=="Blood" then | |
1740 | Mesh=Thing[7] | |
1741 | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
1742 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1743 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1744 | elseif Thing[2]=="Elec" then | |
1745 | Mesh=Thing[1].Mesh | |
1746 | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) | |
1747 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1748 | elseif Thing[2]=="Disappear" then | |
1749 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1750 | end | |
1751 | else | |
1752 | Part.Parent=nil | |
1753 | table.remove(Effects,e) | |
1754 | end | |
1755 | end | |
1756 | end | |
1757 | end | |
1758 | end | |
1759 | end |