SHOW:
|
|
- or go back to the newest paste.
1 | Player=game.Players.LocalPlayer | |
2 | Character=Player.Character | |
3 | PlayerGui=Player.PlayerGui | |
4 | Backpack=Player.Backpack | |
5 | Torso=Character.Torso | |
6 | Head=Character.Head | |
7 | Humanoid=Character.Humanoid | |
8 | m=Instance.new('Model',Character) | |
9 | LeftArm=Character["Left Arm"] | |
10 | LeftLeg=Character["Left Leg"] | |
11 | RightArm=Character["Right Arm"] | |
12 | RightLeg=Character["Right Leg"] | |
13 | LS=Torso["Left Shoulder"] | |
14 | LH=Torso["Left Hip"] | |
15 | RS=Torso["Right Shoulder"] | |
16 | RH=Torso["Right Hip"] | |
17 | Face = Head.face | |
18 | Neck=Torso.Neck | |
19 | it=Instance.new | |
20 | attacktype=1 | |
21 | vt=Vector3.new | |
22 | cf=CFrame.new | |
23 | euler=CFrame.fromEulerAnglesXYZ | |
24 | angles=CFrame.Angles | |
25 | cloaked=false | |
26 | necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
27 | necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
28 | LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) | |
29 | LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) | |
30 | RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) | |
31 | RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) | |
32 | RootPart=Character.HumanoidRootPart | |
33 | RootJoint=RootPart.RootJoint | |
34 | RootCF=euler(-1.57,0,3.14) | |
35 | attack = false | |
36 | attackdebounce = false | |
37 | deb=false | |
38 | equipped=true | |
39 | hand=false | |
40 | MMouse=nil | |
41 | combo=0 | |
42 | mana=0 | |
43 | trispeed=.2 | |
44 | attackmode='none' | |
45 | local idle=0 | |
46 | local Anim="Idle" | |
47 | local Effects={} | |
48 | local gun=false | |
49 | local shoot=false | |
50 | player=nil | |
51 | mana=0 | |
52 | cam = workspace.CurrentCamera | |
53 | ZTarget = nil | |
54 | RocketTarget = nil | |
55 | ||
56 | mouse=Player:GetMouse() | |
57 | --save shoulders | |
58 | RSH, LSH=nil, nil | |
59 | --welds | |
60 | RW, LW=Instance.new("Weld"), Instance.new("Weld") | |
61 | RW.Name="Right Shoulder" LW.Name="Left Shoulder" | |
62 | LH=Torso["Left Hip"] | |
63 | RH=Torso["Right Hip"] | |
64 | TorsoColor=Torso.BrickColor | |
65 | function NoOutline(Part) | |
66 | Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10 | |
67 | end | |
68 | player=Player | |
69 | ch=Character | |
70 | RSH=ch.Torso["Right Shoulder"] | |
71 | LSH=ch.Torso["Left Shoulder"] | |
72 | -- | |
73 | RSH.Parent=nil | |
74 | LSH.Parent=nil | |
75 | -- | |
76 | RW.Name="Right Shoulder" | |
77 | RW.Part0=ch.Torso | |
78 | RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) | |
79 | RW.C1=cf(0, 0.5, 0) | |
80 | RW.Part1=ch["Right Arm"] | |
81 | RW.Parent=ch.Torso | |
82 | -- | |
83 | LW.Name="Left Shoulder" | |
84 | LW.Part0=ch.Torso | |
85 | LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) | |
86 | LW.C1=cf(0, 0.5, 0) | |
87 | LW.Part1=ch["Left Arm"] | |
88 | LW.Parent=ch.Torso | |
89 | ||
90 | function swait(num) | |
91 | if num==0 or num==nil then | |
92 | game:service'RunService'.Heartbeat:wait(0) | |
93 | else | |
94 | for i=0,num do | |
95 | game:service'RunService'.Heartbeat:wait(0) | |
96 | end | |
97 | end | |
98 | end | |
99 | ||
100 | function nooutline(part) | |
101 | part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 | |
102 | end | |
103 | ||
104 | function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) | |
105 | local fp=it("Part") | |
106 | fp.formFactor=formfactor | |
107 | fp.Parent=parent | |
108 | fp.Reflectance=reflectance | |
109 | fp.Transparency=transparency | |
110 | fp.CanCollide=false | |
111 | fp.Locked=true | |
112 | fp.BrickColor=BrickColor.new(tostring(brickcolor)) | |
113 | fp.Name=name | |
114 | fp.Size=size | |
115 | fp.Position=Character.Torso.Position | |
116 | nooutline(fp) | |
117 | fp.Material=material | |
118 | fp:BreakJoints() | |
119 | return fp | |
120 | end | |
121 | ||
122 | function mesh(Mesh,part,meshtype,meshid,offset,scale) | |
123 | local mesh=it(Mesh) | |
124 | mesh.Parent=part | |
125 | if Mesh=="SpecialMesh" then | |
126 | mesh.MeshType=meshtype | |
127 | mesh.MeshId=meshid | |
128 | end | |
129 | mesh.Offset=offset | |
130 | mesh.Scale=scale | |
131 | return mesh | |
132 | end | |
133 | ||
134 | function weld(parent,part0,part1,c0,c1) | |
135 | local weld=it("Weld") | |
136 | weld.Parent=parent | |
137 | weld.Part0=part0 | |
138 | weld.Part1=part1 | |
139 | weld.C0=c0 | |
140 | weld.C1=c1 | |
141 | return weld | |
142 | end | |
143 | ||
144 | ||
145 | local function CFrameFromTopBack(at, top, back) | |
146 | local right = top:Cross(back) | |
147 | return CFrame.new(at.x, at.y, at.z, | |
148 | right.x, top.x, back.x, | |
149 | right.y, top.y, back.y, | |
150 | right.z, top.z, back.z) | |
151 | end | |
152 | ||
153 | function Triangle(a, b, c) | |
154 | local edg1 = (c-a):Dot((b-a).unit) | |
155 | local edg2 = (a-b):Dot((c-b).unit) | |
156 | local edg3 = (b-c):Dot((a-c).unit) | |
157 | if edg1 <= (b-a).magnitude and edg1 >= 0 then | |
158 | a, b, c = a, b, c | |
159 | elseif edg2 <= (c-b).magnitude and edg2 >= 0 then | |
160 | a, b, c = b, c, a | |
161 | elseif edg3 <= (a-c).magnitude and edg3 >= 0 then | |
162 | a, b, c = c, a, b | |
163 | else | |
164 | assert(false, "unreachable") | |
165 | end | |
166 | ||
167 | local len1 = (c-a):Dot((b-a).unit) | |
168 | local len2 = (b-a).magnitude - len1 | |
169 | local width = (a + (b-a).unit*len1 - c).magnitude | |
170 | ||
171 | local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit) | |
172 | ||
173 | local list = {} | |
174 | ||
175 | local TrailColor = ("Really red") | |
176 | ||
177 | if len1 > 0.01 then | |
178 | local w1 = Instance.new('WedgePart', m) | |
179 | game:GetService("Debris"):AddItem(w1,5) | |
180 | w1.Material = "SmoothPlastic" | |
181 | w1.FormFactor = 'Custom' | |
182 | w1.BrickColor = BrickColor.new(TrailColor) | |
183 | w1.Transparency = 0 | |
184 | w1.Reflectance = 0 | |
185 | w1.Material = "SmoothPlastic" | |
186 | w1.CanCollide = false | |
187 | NoOutline(w1) | |
188 | local sz = Vector3.new(0.2, width, len1) | |
189 | w1.Size = sz | |
190 | local sp = Instance.new("SpecialMesh",w1) | |
191 | sp.MeshType = "Wedge" | |
192 | sp.Scale = Vector3.new(0,1,1) * sz/w1.Size | |
193 | w1:BreakJoints() | |
194 | w1.Anchored = true | |
195 | w1.Parent = workspace | |
196 | w1.Transparency = 0.7 | |
197 | table.insert(Effects,{w1,"Disappear",.01}) | |
198 | w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2) | |
199 | table.insert(list,w1) | |
200 | end | |
201 | ||
202 | if len2 > 0.01 then | |
203 | local w2 = Instance.new('WedgePart', m) | |
204 | game:GetService("Debris"):AddItem(w2,5) | |
205 | w2.Material = "SmoothPlastic" | |
206 | w2.FormFactor = 'Custom' | |
207 | w2.BrickColor = BrickColor.new(TrailColor) | |
208 | w2.Transparency = 0 | |
209 | w2.Reflectance = 0 | |
210 | w2.Material = "SmoothPlastic" | |
211 | w2.CanCollide = false | |
212 | NoOutline(w2) | |
213 | local sz = Vector3.new(0.2, width, len2) | |
214 | w2.Size = sz | |
215 | local sp = Instance.new("SpecialMesh",w2) | |
216 | sp.MeshType = "Wedge" | |
217 | sp.Scale = Vector3.new(0,1,1) * sz/w2.Size | |
218 | w2:BreakJoints() | |
219 | w2.Anchored = true | |
220 | w2.Parent = workspace | |
221 | w2.Transparency = 0.7 | |
222 | table.insert(Effects,{w2,"Disappear",.01}) | |
223 | w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2) | |
224 | table.insert(list,w2) | |
225 | end | |
226 | return unpack(list) | |
227 | end | |
228 | ||
229 | ||
230 | so = function(id,par,vol,pit) | |
231 | coroutine.resume(coroutine.create(function() | |
232 | local sou = Instance.new("Sound",par or workspace) | |
233 | sou.Volume=vol | |
234 | sou.Pitch=pit or 1 | |
235 | sou.SoundId=id | |
236 | swait() | |
237 | sou:play() | |
238 | game:GetService("Debris"):AddItem(sou,6) | |
239 | end)) | |
240 | end | |
241 | ||
242 | function clerp(a,b,t) | |
243 | local qa = {QuaternionFromCFrame(a)} | |
244 | local qb = {QuaternionFromCFrame(b)} | |
245 | local ax, ay, az = a.x, a.y, a.z | |
246 | local bx, by, bz = b.x, b.y, b.z | |
247 | local _t = 1-t | |
248 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
249 | end | |
250 | ||
251 | function QuaternionFromCFrame(cf) | |
252 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
253 | local trace = m00 + m11 + m22 | |
254 | if trace > 0 then | |
255 | local s = math.sqrt(1 + trace) | |
256 | local recip = 0.5/s | |
257 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
258 | else | |
259 | local i = 0 | |
260 | if m11 > m00 then | |
261 | i = 1 | |
262 | end | |
263 | if m22 > (i == 0 and m00 or m11) then | |
264 | i = 2 | |
265 | end | |
266 | if i == 0 then | |
267 | local s = math.sqrt(m00-m11-m22+1) | |
268 | local recip = 0.5/s | |
269 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
270 | elseif i == 1 then | |
271 | local s = math.sqrt(m11-m22-m00+1) | |
272 | local recip = 0.5/s | |
273 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
274 | elseif i == 2 then | |
275 | local s = math.sqrt(m22-m00-m11+1) | |
276 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
277 | end | |
278 | end | |
279 | end | |
280 | ||
281 | function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
282 | local xs, ys, zs = x + x, y + y, z + z | |
283 | local wx, wy, wz = w*xs, w*ys, w*zs | |
284 | local xx = x*xs | |
285 | local xy = x*ys | |
286 | local xz = x*zs | |
287 | local yy = y*ys | |
288 | local yz = y*zs | |
289 | local zz = z*zs | |
290 | 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)) | |
291 | end | |
292 | ||
293 | function QuaternionSlerp(a, b, t) | |
294 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
295 | local startInterp, finishInterp; | |
296 | if cosTheta >= 0.0001 then | |
297 | if (1 - cosTheta) > 0.0001 then | |
298 | local theta = math.acos(cosTheta) | |
299 | local invSinTheta = 1/math.sin(theta) | |
300 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
301 | finishInterp = math.sin(t*theta)*invSinTheta | |
302 | else | |
303 | startInterp = 1-t | |
304 | finishInterp = t | |
305 | end | |
306 | else | |
307 | if (1+cosTheta) > 0.0001 then | |
308 | local theta = math.acos(-cosTheta) | |
309 | local invSinTheta = 1/math.sin(theta) | |
310 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
311 | finishInterp = math.sin(t*theta)*invSinTheta | |
312 | else | |
313 | startInterp = t-1 | |
314 | finishInterp = t | |
315 | end | |
316 | end | |
317 | 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 | |
318 | end | |
319 | ||
320 | function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants | |
321 | return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) | |
322 | end | |
323 | ||
324 | Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) | |
325 | if hit.Parent==nil then | |
326 | return | |
327 | end | |
328 | local h=hit.Parent:FindFirstChild("Humanoid") | |
329 | for _,v in pairs(hit.Parent:children()) do | |
330 | if v:IsA("Humanoid") then | |
331 | h=v | |
332 | end | |
333 | end | |
334 | if hit.Parent.Parent:FindFirstChild("Torso")~=nil then | |
335 | h=hit.Parent.Parent:FindFirstChild("Humanoid") | |
336 | end | |
337 | if hit.Parent.className=="Hat" then | |
338 | hit=hit.Parent.Parent:findFirstChild("Head") | |
339 | end | |
340 | if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then | |
341 | if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end | |
342 | --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then | |
343 | return | |
344 | end]] | |
345 | -- hs(hit,1.2) | |
346 | local c=Instance.new("ObjectValue") | |
347 | c.Name="creator" | |
348 | c.Value=game:service("Players").LocalPlayer | |
349 | c.Parent=h | |
350 | game:GetService("Debris"):AddItem(c,.5) | |
351 | local Damage=math.random(minim,maxim) | |
352 | -- h:TakeDamage(Damage) | |
353 | local blocked=false | |
354 | local block=hit.Parent:findFirstChild("Block") | |
355 | if block~=nil then | |
356 | print(block.className) | |
357 | if block.className=="NumberValue" then | |
358 | if block.Value>0 then | |
359 | blocked=true | |
360 | if decreaseblock==nil then | |
361 | block.Value=block.Value-1 | |
362 | end | |
363 | end | |
364 | end | |
365 | if block.className=="IntValue" then | |
366 | if block.Value>0 then | |
367 | blocked=true | |
368 | if decreaseblock~=nil then | |
369 | block.Value=block.Value-1 | |
370 | end | |
371 | end | |
372 | end | |
373 | end | |
374 | if blocked==false then | |
375 | -- h:TakeDamage(Damage) | |
376 | h.Health=h.Health-Damage | |
377 | ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color) | |
378 | else | |
379 | h.Health=h.Health-(Damage/2) | |
380 | 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) | |
381 | end | |
382 | if Type=="Knockdown" then | |
383 | local hum=hit.Parent.Humanoid | |
384 | hum.PlatformStand=true | |
385 | coroutine.resume(coroutine.create(function(HHumanoid) | |
386 | swait(1) | |
387 | HHumanoid.PlatformStand=false | |
388 | end),hum) | |
389 | local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit | |
390 | --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) | |
391 | local bodvol=Instance.new("BodyVelocity") | |
392 | bodvol.velocity=angle*knockback | |
393 | bodvol.P=5000 | |
394 | bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
395 | bodvol.Parent=hit | |
396 | local rl=Instance.new("BodyAngularVelocity") | |
397 | rl.P=3000 | |
398 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
399 | rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) | |
400 | rl.Parent=hit | |
401 | game:GetService("Debris"):AddItem(bodvol,.5) | |
402 | game:GetService("Debris"):AddItem(rl,.5) | |
403 | elseif Type=="Normal" then | |
404 | local vp=Instance.new("BodyVelocity") | |
405 | vp.P=500 | |
406 | vp.maxForce=Vector3.new(math.huge,0,math.huge) | |
407 | -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback | |
408 | if KnockbackType==1 then | |
409 | vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 | |
410 | elseif KnockbackType==2 then | |
411 | vp.velocity=Property.CFrame.lookVector*knockback | |
412 | end | |
413 | if knockback>0 then | |
414 | vp.Parent=hit.Parent.Torso | |
415 | end | |
416 | game:GetService("Debris"):AddItem(vp,.5) | |
417 | elseif Type=="Up" then | |
418 | local bodyVelocity=Instance.new("BodyVelocity") | |
419 | bodyVelocity.velocity=vt(0,60,0) | |
420 | bodyVelocity.P=5000 | |
421 | bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) | |
422 | bodyVelocity.Parent=hit | |
423 | game:GetService("Debris"):AddItem(bodyVelocity,1) | |
424 | local rl=Instance.new("BodyAngularVelocity") | |
425 | rl.P=3000 | |
426 | rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 | |
427 | rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) | |
428 | rl.Parent=hit | |
429 | game:GetService("Debris"):AddItem(rl,.5) | |
430 | elseif Type=="Snare" then | |
431 | local bp=Instance.new("BodyPosition") | |
432 | bp.P=2000 | |
433 | bp.D=100 | |
434 | bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) | |
435 | bp.position=hit.Parent.Torso.Position | |
436 | bp.Parent=hit.Parent.Torso | |
437 | game:GetService("Debris"):AddItem(bp,1) | |
438 | elseif Type=="Target" then | |
439 | local Targetting = false | |
440 | if Targetting==false then | |
441 | ZTarget=hit.Parent.Torso | |
442 | coroutine.resume(coroutine.create(function(Part) | |
443 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
444 | swait(5) | |
445 | so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) | |
446 | end),ZTarget) | |
447 | local TargHum=ZTarget.Parent:findFirstChild("Humanoid") | |
448 | local targetgui=Instance.new("BillboardGui") | |
449 | targetgui.Parent=ZTarget | |
450 | targetgui.Size=UDim2.new(10,100,10,100) | |
451 | local targ=Instance.new("ImageLabel") | |
452 | targ.Parent=targetgui | |
453 | targ.BackgroundTransparency=1 | |
454 | targ.Image="rbxassetid://4834067" | |
455 | targ.Size=UDim2.new(1,0,1,0) | |
456 | cam.CameraType="Scriptable" | |
457 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
458 | local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
459 | workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
460 | Targetting=true | |
461 | RocketTarget=ZTarget | |
462 | for i=1,Property do | |
463 | --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do | |
464 | if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then | |
465 | swait() | |
466 | end | |
467 | --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) | |
468 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) | |
469 | dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) | |
470 | cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) | |
471 | end | |
472 | Targetting=false | |
473 | RocketTarget=nil | |
474 | targetgui.Parent=nil | |
475 | cam.CameraType="Custom" | |
476 | end | |
477 | end | |
478 | local debounce=Instance.new("BoolValue") | |
479 | debounce.Name="DebounceHit" | |
480 | debounce.Parent=hit.Parent | |
481 | debounce.Value=true | |
482 | game:GetService("Debris"):AddItem(debounce,Delay) | |
483 | c=Instance.new("ObjectValue") | |
484 | c.Name="creator" | |
485 | c.Value=Player | |
486 | c.Parent=h | |
487 | game:GetService("Debris"):AddItem(c,.5) | |
488 | end | |
489 | end | |
490 | ||
491 | ||
492 | function ShowDamage(Pos, Text, Time, Color) | |
493 | local Rate = (1 / 30) | |
494 | local Pos = (Pos or Vector3.new(0, 0, 0)) | |
495 | local Text = (Text or "") | |
496 | local Time = (Time or 2) | |
497 | local Color = (Color or Color3.new(1, 0, 0)) | |
498 | local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0)) | |
499 | EffectPart.Anchored = true | |
500 | local BillboardGui = Instance.new("BillboardGui") | |
501 | BillboardGui.Size = UDim2.new(3, 0, 3, 0) | |
502 | BillboardGui.Adornee = EffectPart | |
503 | local TextLabel = Instance.new("TextLabel") | |
504 | TextLabel.BackgroundTransparency = 1 | |
505 | TextLabel.Size = UDim2.new(1, 0, 1, 0) | |
506 | TextLabel.Text = Text | |
507 | TextLabel.TextColor3 = Color | |
508 | TextLabel.TextScaled = true | |
509 | TextLabel.Font = Enum.Font.ArialBold | |
510 | TextLabel.Parent = BillboardGui | |
511 | BillboardGui.Parent = EffectPart | |
512 | game.Debris:AddItem(EffectPart, (Time + 0.1)) | |
513 | EffectPart.Parent = game:GetService("Workspace") | |
514 | Delay(0, function() | |
515 | local Frames = (Time / Rate) | |
516 | for Frame = 1, Frames do | |
517 | wait(Rate) | |
518 | local Percent = (Frame / Frames) | |
519 | EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) | |
520 | TextLabel.TextTransparency = Percent | |
521 | end | |
522 | if EffectPart and EffectPart.Parent then | |
523 | EffectPart:Destroy() | |
524 | end | |
525 | end) | |
526 | end | |
527 | ||
528 | --example: local con = HitboxB.Touched:connect(function(hit) Damagefunc(Hitbox,hit,Dmg,Dmg,math.random(Knockback,Knockback),"Normal",RootPart,.2,1) end) | |
529 | ||
530 | HandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Institutional white","HandleA",Vector3.new(1, 0.400000036, 1)) | |
531 | HandleAweld=weld(m,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000153899193, 0.000251355581, 0.0273191668, 0.999986053, -0.00443324586, 0.00291919708, 0.00440894719, 0.9999547, 0.00830902252, -0.00295585394, -0.00829610229, 0.999961197)) | |
532 | BladeHandleConnectorA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BladeHandleConnectorA",Vector3.new(1.4000001, 0.220000014, 1)) | |
533 | BladeHandleConnectorAweld=weld(m,HandleA,BladeHandleConnectorA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.899367034, -2.90870667e-005, 1.19999492, 9.53041308e-008, 0.999998093, -6.05359674e-008, 1.00000024, 9.53041308e-008, 4.95929271e-008, -4.95929271e-008, 6.05359674e-008, -0.99999994)) | |
534 | mesh("CylinderMesh",BladeHandleConnectorA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
535 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005)) | |
536 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409788251, 0.693154871, 4.9546361e-007, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
537 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005)) | |
538 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409807205, -0.706620395, 8.64267349e-006, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
539 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
540 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199968338, -1.09942245, -0.400000602, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
541 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
542 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003)) | |
543 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000187635422, 0.69285804, 0.410003811, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
544 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005)) | |
545 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.410165548, 0.693416476, 1.89989805e-007, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
546 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
547 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199938297, -1.09985983, -0.400007844, -1.00000024, -9.53041308e-008, -4.95929271e-008, 1.10472683e-007, -0.999998093, 4.47034836e-008, 1.38301402e-007, -1.21071935e-008, 0.999999762)) | |
548 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
549 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003)) | |
550 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000187516212, -0.706997454, 0.410004616, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
551 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
552 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199999571, -1.09961319, -0.400001258, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
553 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
554 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 2, 0.200000003)) | |
555 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199967861, 0.000449241139, -0.799993634, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
556 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
557 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200002074, -1.10001612, -0.699993968, -1.00000024, -9.53041308e-008, -4.95929271e-008, 1.10472683e-007, -0.999998093, 4.47034836e-008, 1.38301402e-007, -1.21071935e-008, 0.999999762)) | |
558 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003)) | |
559 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000188231468, 0.69285655, -0.409995556, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
560 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
561 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200024605, -1.09985411, -0.40000844, -1.00000024, -9.53041308e-008, -4.95929271e-008, 1.10472683e-007, -0.999998093, 4.47034836e-008, 1.38301402e-007, -1.21071935e-008, 0.999999762)) | |
562 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
563 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
564 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199978828, -1.10001445, -0.699994683, -1.00000024, -9.53041308e-008, -4.95929271e-008, 1.10472683e-007, -0.999998093, 4.47034836e-008, 1.38301402e-007, -1.21071935e-008, 0.999999762)) | |
565 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005)) | |
566 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.410178542, -0.706382692, 8.03545117e-006, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
567 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 2, 0.200000003)) | |
568 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.200001121, 0.000294554979, -0.799992144, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
569 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
570 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199998498, -1.09960449, -0.699994683, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
571 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 2, 0.200000003)) | |
572 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.22785568e-005, -4.90820967e-005, -0.599998534, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
573 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003)) | |
574 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000183939934, -0.706939399, -0.409988642, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
575 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
576 | Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199970365, -1.09944367, -0.699996531, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
577 | ||
578 | HandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Institutional white","HandleB",Vector3.new(1, 0.400000036, 1)) | |
579 | HandleBweld=weld(m,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000153899193, 0.000251355581, 0.0273191668, 0.999986053, -0.00443324586, 0.00291919708, 0.00440894719, 0.9999547, 0.00830902252, -0.00295585394, -0.00829610229, 0.999961197)) | |
580 | BladeHandleConnectorB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BladeHandleConnectorB",Vector3.new(1.4000001, 0.220000014, 1)) | |
581 | BladeHandleConnectorBweld=weld(m,HandleB,BladeHandleConnectorB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.899367034, -2.90870667e-005, 1.19999492, 9.53041308e-008, 0.999998093, -6.05359674e-008, 1.00000024, 9.53041308e-008, 4.95929271e-008, -4.95929271e-008, 6.05359674e-008, -0.99999994)) | |
582 | mesh("CylinderMesh",BladeHandleConnectorB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
583 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005)) | |
584 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409788251, 0.693154871, 4.9546361e-007, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
585 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005)) | |
586 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409807205, -0.706620395, 8.64267349e-006, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
587 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
588 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199968338, -1.09942245, -0.400000602, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
589 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
590 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003)) | |
591 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000187635422, 0.69285804, 0.410003811, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
592 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005)) | |
593 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.410165548, 0.693416476, 1.89989805e-007, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
594 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
595 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199938297, -1.09985983, -0.400007844, -1.00000024, -9.53041308e-008, -4.95929271e-008, 1.10472683e-007, -0.999998093, 4.47034836e-008, 1.38301402e-007, -1.21071935e-008, 0.999999762)) | |
596 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
597 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003)) | |
598 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000187516212, -0.706997454, 0.410004616, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
599 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
600 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199999571, -1.09961319, -0.400001258, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
601 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
602 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 2, 0.200000003)) | |
603 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199967861, 0.000449241139, -0.799993634, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
604 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
605 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200002074, -1.10001612, -0.699993968, -1.00000024, -9.53041308e-008, -4.95929271e-008, 1.10472683e-007, -0.999998093, 4.47034836e-008, 1.38301402e-007, -1.21071935e-008, 0.999999762)) | |
606 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003)) | |
607 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000188231468, 0.69285655, -0.409995556, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
608 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003)) | |
609 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200024605, -1.09985411, -0.40000844, -1.00000024, -9.53041308e-008, -4.95929271e-008, 1.10472683e-007, -0.999998093, 4.47034836e-008, 1.38301402e-007, -1.21071935e-008, 0.999999762)) | |
610 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
611 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
612 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199978828, -1.10001445, -0.699994683, -1.00000024, -9.53041308e-008, -4.95929271e-008, 1.10472683e-007, -0.999998093, 4.47034836e-008, 1.38301402e-007, -1.21071935e-008, 0.999999762)) | |
613 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005)) | |
614 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.410178542, -0.706382692, 8.03545117e-006, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
615 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.200000003, 2, 0.200000003)) | |
616 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.200001121, 0.000294554979, -0.799992144, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
617 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
618 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199998498, -1.09960449, -0.699994683, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
619 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000024, 2, 0.200000003)) | |
620 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.22785568e-005, -4.90820967e-005, -0.599998534, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
621 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003)) | |
622 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000183939934, -0.706939399, -0.409988642, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
623 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006)) | |
624 | Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199970365, -1.09944367, -0.699996531, 1.00000024, 9.53041308e-008, 4.95929271e-008, 9.53041308e-008, 0.999998093, -6.05359674e-008, 4.95929271e-008, -6.05359674e-008, 0.99999994)) | |
625 | ||
626 | BladeHandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Institutional white","BladeHandleA",Vector3.new(1.4000001, 0.220000014, 1)) | |
627 | BladeHandleAweld=weld(m,BladeHandleConnectorA,BladeHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.075024724, -0.00220115576, 0.0248177238, 0.999945879, 0.004408604, -0.00830899831, -0.0044330433, 0.999977112, -0.00291883945, 0.00829609297, 0.00295552565, 0.999961019)) | |
628 | mesh("CylinderMesh",BladeHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
629 | HitboxA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Bright violet","HitboxA",Vector3.new(0.200000003, 4.46999931, 1.20000005)) | |
630 | HitboxAweld=weld(m,BladeHandleA,HitboxA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.5664998e-006, -2.33487749, -0.0999589264, -9.65192157e-008, 0.999991477, -1.07800588e-007, 0.999988794, 1.2482451e-007, -7.72997737e-008, -6.05359674e-008, 4.40049917e-008, -0.999999583)) | |
631 | mesh("BlockMesh",HitboxA,"","",Vector3.new(0, 0, 0),Vector3.new(0.400000036, 1, 1)) | |
632 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.400000006)) | |
633 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.20343131e-005, -1.95763254, 0.421137512, -7.11224857e-009, 0.999991477, -1.07102096e-007, 0.965909183, 3.97558324e-008, -0.258840948, -0.258838028, -1.99768692e-007, -0.965919793)) | |
634 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(1.20000005, 0.200000003, 1)) | |
635 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100055456, 2.58637592e-005, -1.35097653e-005, 0.999989033, 1.22987331e-007, 7.54371285e-008, -9.65192157e-008, 0.999991477, -1.07800588e-007, 0, 1.58324838e-008, 0.999999583)) | |
636 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
637 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003)) | |
638 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.7350768e-005, 1.95778012, 0.72113359, 7.11224857e-009, -0.999991477, 1.07102096e-007, -0.965909004, 6.37955964e-008, 0.258840889, -0.258837938, -1.10128894e-007, -0.965920031)) | |
639 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
640 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003)) | |
641 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.78364527e-005, -1.57147503, -0.0175979435, 7.11224857e-009, -0.999991477, 1.07102096e-007, 0.965909183, 3.97558324e-008, -0.258840948, 0.258838028, 1.99768692e-007, 0.965919793)) | |
642 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
643 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.400000006)) | |
644 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.25782055e-005, -1.18497086, 0.214076847, -7.11224857e-009, 0.999991477, -1.07102096e-007, 0.965909183, -1.96741894e-008, -0.258841008, -0.258838087, -1.39931217e-007, -0.965919793)) | |
645 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.400000006)) | |
646 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.54122201e-005, -1.57129979, 0.317610621, -7.11224857e-009, 0.999991477, -1.07102096e-007, 0.965909183, 3.97558324e-008, -0.258840948, -0.258838028, -1.99768692e-007, -0.965919793)) | |
647 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003)) | |
648 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.79426235e-005, -1.95781136, -0.121128738, 7.11224857e-009, -0.999991477, 1.07102096e-007, 0.965909183, 3.97558324e-008, -0.258840948, 0.258838028, 1.99768692e-007, 0.965919793)) | |
649 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
650 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000083, 0.240000024, 0.200000003)) | |
651 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199986815, -6.18305057e-006, -4.63537872e-005, 0.999989033, 2.12607119e-007, 1.62981451e-007, -7.11224857e-009, 0.999991477, -1.07102096e-007, -5.96046448e-008, 1.55996531e-008, 0.999999702)) | |
652 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
653 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003)) | |
654 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.83770855e-005, -1.18514419, 0.0859245956, 7.11224857e-009, -0.999991477, 1.07102096e-007, 0.965909183, -1.96741894e-008, -0.258841008, 0.258838087, 1.39931217e-007, 0.965919793)) | |
655 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
656 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000083, 0.240000024, 0.200000003)) | |
657 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199974179, -4.68781218e-006, -4.53684479e-005, 0.999989033, 2.12607119e-007, 1.62981451e-007, -7.11224857e-009, 0.999991477, -1.07102096e-007, -5.96046448e-008, 1.55996531e-008, 0.999999702)) | |
658 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
659 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000083, 0.240000024, 0.200000003)) | |
660 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.43730164e-006, -5.69550321e-006, -0.200050429, 0.999989033, 2.12607119e-007, 1.62981451e-007, -7.11224857e-009, 0.999991477, -1.07102096e-007, -5.96046448e-008, 1.55996531e-008, 0.999999702)) | |
661 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
662 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000083, 0.240000024, 0.200000003)) | |
663 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.96046448e-006, -5.04218042e-006, 0.199951231, 0.999989033, 2.12607119e-007, 1.62981451e-007, -7.11224857e-009, 0.999991477, -1.07102096e-007, -5.96046448e-008, 1.55996531e-008, 0.999999702)) | |
664 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
665 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003)) | |
666 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.55398113e-005, 1.57145619, 0.617613614, 7.11224857e-009, -0.999991477, 1.07102096e-007, -0.965909183, -3.97558324e-008, 0.258840948, -0.258838028, -1.99768692e-007, -0.965919793)) | |
667 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
668 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.200000003, 2.59999967, 1)) | |
669 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.61515379e-005, -1.20038569, 4.36045229e-005, -7.11224857e-009, 0.999991477, -1.07102096e-007, 0.999989033, 2.12607119e-007, 1.62981451e-007, 5.96046448e-008, -1.55996531e-008, -0.999999702)) | |
670 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.210000008, 2.6099999, 0.370000035)) | |
671 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00453943107, -3.59170008, 1.00501585, -1.85742465e-007, -0.999991477, -5.37838787e-006, 0.931244195, -2.13249587e-006, 0.364371002, -0.364367813, -4.73367982e-006, 0.931253552)) | |
672 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
673 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003)) | |
674 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.74778935e-005, 1.18511844, 0.51408869, 7.11224857e-009, -0.999991477, 1.07102096e-007, -0.965909183, -3.97558324e-008, 0.258840948, -0.258838028, -1.99768692e-007, -0.965919793)) | |
675 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
676 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.210000008, 2.24000001, 0.379999995)) | |
677 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00445578899, -3.34219456, -0.964703262, 1.06241714e-007, 0.999991477, 4.18559648e-006, 0.868384421, -2.13622116e-006, 0.495875508, 0.495871097, 3.5520643e-006, -0.868393242)) | |
678 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
679 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.210000008, 2.01999998, 0.25000003)) | |
680 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00240394706, -3.73852968, 1.30653429, -1.2010787e-007, -0.999991477, -2.51666643e-006, 0.940572083, -1.03004277e-006, 0.339566648, -0.339563578, -2.24495307e-006, 0.940582037)) | |
681 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
682 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.210000008, 0.559999704, 0.929999948)) | |
683 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0019936848, -2.68281245, -0.384100318, 1.41448436e-006, 0.999991477, 9.77655873e-007, 0.989911199, -1.52611756e-006, 0.141614005, 0.141612604, 1.01001933e-006, -0.989921689)) | |
684 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.210000008, 0.709999681, 0.939999998)) | |
685 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00213447702, -2.67230463, -0.29508394, 5.1926072e-006, 0.999991417, -1.7627608e-006, 0.997284353, -5.10999234e-006, 0.073496215, 0.0734953806, -1.9420404e-006, -0.997294545)) | |
686 | mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1)) | |
687 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.200000003, 2.01999998, 0.25000003)) | |
688 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00745915249, 0.800011873, 0.771243393, 3.60022023e-006, 0.999991357, 1.05327927e-005, -0.977349043, 5.78857725e-006, -0.211586878, -0.211585045, -9.41171311e-006, 0.977359116)) | |
689 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
690 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.210000008, 2.01999998, 0.25000003)) | |
691 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00174977514, -0.143583179, 0.544506013, 3.60022023e-006, 0.999991357, 1.05327927e-005, -0.977349043, 5.78857725e-006, -0.211586878, -0.211585045, -9.41171311e-006, 0.977359116)) | |
692 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
693 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.210000008, 2.3599999, 0.25000003)) | |
694 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00457242504, 1.44972038, 0.937004209, 4.24918471e-006, 0.999991357, 1.13428105e-005, -0.97515136, 6.72199531e-006, -0.221495599, -0.221493527, -9.98610631e-006, 0.975161493)) | |
695 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
696 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.210000008, 1.98999989, 0.25000003)) | |
697 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0108854175, 1.90189612, 1.23526239, 4.78753464e-006, 0.999991357, 1.8291641e-005, -0.946396828, 1.0460848e-005, -0.322977185, -0.322974324, -1.57086179e-005, 0.946406901)) | |
698 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
699 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.210000008, 2.41999984, 0.49000001)) | |
700 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000984288286, -3.58617091, 0.587580323, -7.28723535e-007, -0.999991417, -1.8943334e-005, 0.939981222, -7.21320976e-006, 0.341198981, -0.341195881, -1.74124725e-005, 0.939991176)) | |
701 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1)) | |
702 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.210000008, 2.43000007, 0.5)) | |
703 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00097745331, -3.96163177, 0.987698019, -1.66923201e-007, -0.999991477, -7.64313154e-006, 0.935261607, -2.79012602e-006, 0.353932023, -0.353928834, -6.98934309e-006, 0.935270965)) | |
704 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1)) | |
705 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.210000008, 2.29999995, 0.400000036)) | |
706 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00240410771, -3.85853004, 1.36153507, -1.2010787e-007, -0.999991477, -2.51666643e-006, 0.940572083, -1.03004277e-006, 0.339566648, -0.339563578, -2.24495307e-006, 0.940582037)) | |
707 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1)) | |
708 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.210000008, 2.3599999, 0.25000003)) | |
709 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0152501259, 1.4888978, 0.945500731, 4.24918471e-006, 0.999991357, 1.13428105e-005, -0.97515136, 6.72199531e-006, -0.221495599, -0.221493527, -9.98610631e-006, 0.975161493)) | |
710 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.29999995, 1.29999995)) | |
711 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.200000003, 2.01999998, 0.25000003)) | |
712 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0124663115, 0.825413465, 0.796889961, 3.60022023e-006, 0.999991357, 1.05327927e-005, -0.977349043, 5.78857725e-006, -0.211586878, -0.211585045, -9.41171311e-006, 0.977359116)) | |
713 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.29999995, 1.29999995)) | |
714 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.210000008, 1.58999991, 0.240000024)) | |
715 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0106328866, 1.76202643, 1.27130175, 4.78753464e-006, 0.999991357, 1.8291641e-005, -0.946396828, 1.0460848e-005, -0.322977185, -0.322974324, -1.57086179e-005, 0.946406901)) | |
716 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.29999995, 1.5)) | |
717 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.210000008, 2.01999998, 0.25000003)) | |
718 | Partweld=weld(m,BladeHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0216013901, -0.106356978, 0.562396944, 3.60022023e-006, 0.999991357, 1.05327927e-005, -0.977349043, 5.78857725e-006, -0.211586878, -0.211585045, -9.41171311e-006, 0.977359116)) | |
719 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.20000005, 1.20000005)) | |
720 | ||
721 | BladeHandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Institutional white","BladeHandleB",Vector3.new(1.4000001, 0.220000014, 1)) | |
722 | BladeHandleBweld=weld(m,BladeHandleConnectorB,BladeHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.075024724, -0.00220115576, 0.0248177238, 0.999945879, 0.004408604, -0.00830899831, -0.0044330433, 0.999977112, -0.00291883945, 0.00829609297, 0.00295552565, 0.999961019)) | |
723 | mesh("CylinderMesh",BladeHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
724 | HitboxB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Bright violet","HitboxB",Vector3.new(0.200000003, 4.46999931, 1.20000005)) | |
725 | HitboxBweld=weld(m,BladeHandleB,HitboxB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.5664998e-006, -2.33487749, -0.0999589264, -9.65192157e-008, 0.999991477, -1.07800588e-007, 0.999988794, 1.2482451e-007, -7.72997737e-008, -6.05359674e-008, 4.40049917e-008, -0.999999583)) | |
726 | mesh("BlockMesh",HitboxB,"","",Vector3.new(0, 0, 0),Vector3.new(0.400000036, 1, 1)) | |
727 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.400000006)) | |
728 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.20343131e-005, -1.95763254, 0.421137512, -7.11224857e-009, 0.999991477, -1.07102096e-007, 0.965909183, 3.97558324e-008, -0.258840948, -0.258838028, -1.99768692e-007, -0.965919793)) | |
729 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(1.20000005, 0.200000003, 1)) | |
730 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100055456, 2.58637592e-005, -1.35097653e-005, 0.999989033, 1.22987331e-007, 7.54371285e-008, -9.65192157e-008, 0.999991477, -1.07800588e-007, 0, 1.58324838e-008, 0.999999583)) | |
731 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
732 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003)) | |
733 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.7350768e-005, 1.95778012, 0.72113359, 7.11224857e-009, -0.999991477, 1.07102096e-007, -0.965909004, 6.37955964e-008, 0.258840889, -0.258837938, -1.10128894e-007, -0.965920031)) | |
734 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
735 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003)) | |
736 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.78364527e-005, -1.57147503, -0.0175979435, 7.11224857e-009, -0.999991477, 1.07102096e-007, 0.965909183, 3.97558324e-008, -0.258840948, 0.258838028, 1.99768692e-007, 0.965919793)) | |
737 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
738 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.400000006)) | |
739 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.25782055e-005, -1.18497086, 0.214076847, -7.11224857e-009, 0.999991477, -1.07102096e-007, 0.965909183, -1.96741894e-008, -0.258841008, -0.258838087, -1.39931217e-007, -0.965919793)) | |
740 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.400000006)) | |
741 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.54122201e-005, -1.57129979, 0.317610621, -7.11224857e-009, 0.999991477, -1.07102096e-007, 0.965909183, 3.97558324e-008, -0.258840948, -0.258838028, -1.99768692e-007, -0.965919793)) | |
742 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003)) | |
743 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.79426235e-005, -1.95781136, -0.121128738, 7.11224857e-009, -0.999991477, 1.07102096e-007, 0.965909183, 3.97558324e-008, -0.258840948, 0.258838028, 1.99768692e-007, 0.965919793)) | |
744 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
745 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000083, 0.240000024, 0.200000003)) | |
746 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.199986815, -6.18305057e-006, -4.63537872e-005, 0.999989033, 2.12607119e-007, 1.62981451e-007, -7.11224857e-009, 0.999991477, -1.07102096e-007, -5.96046448e-008, 1.55996531e-008, 0.999999702)) | |
747 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
748 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003)) | |
749 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.83770855e-005, -1.18514419, 0.0859245956, 7.11224857e-009, -0.999991477, 1.07102096e-007, 0.965909183, -1.96741894e-008, -0.258841008, 0.258838087, 1.39931217e-007, 0.965919793)) | |
750 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
751 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000083, 0.240000024, 0.200000003)) | |
752 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.199974179, -4.68781218e-006, -4.53684479e-005, 0.999989033, 2.12607119e-007, 1.62981451e-007, -7.11224857e-009, 0.999991477, -1.07102096e-007, -5.96046448e-008, 1.55996531e-008, 0.999999702)) | |
753 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
754 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000083, 0.240000024, 0.200000003)) | |
755 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.43730164e-006, -5.69550321e-006, -0.200050429, 0.999989033, 2.12607119e-007, 1.62981451e-007, -7.11224857e-009, 0.999991477, -1.07102096e-007, -5.96046448e-008, 1.55996531e-008, 0.999999702)) | |
756 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
757 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.600000083, 0.240000024, 0.200000003)) | |
758 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.96046448e-006, -5.04218042e-006, 0.199951231, 0.999989033, 2.12607119e-007, 1.62981451e-007, -7.11224857e-009, 0.999991477, -1.07102096e-007, -5.96046448e-008, 1.55996531e-008, 0.999999702)) | |
759 | mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
760 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003)) | |
761 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.55398113e-005, 1.57145619, 0.617613614, 7.11224857e-009, -0.999991477, 1.07102096e-007, -0.965909183, -3.97558324e-008, 0.258840948, -0.258838028, -1.99768692e-007, -0.965919793)) | |
762 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
763 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.200000003, 2.59999967, 1)) | |
764 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.61515379e-005, -1.20038569, 4.36045229e-005, -7.11224857e-009, 0.999991477, -1.07102096e-007, 0.999989033, 2.12607119e-007, 1.62981451e-007, 5.96046448e-008, -1.55996531e-008, -0.999999702)) | |
765 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.210000008, 2.6099999, 0.370000035)) | |
766 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00453943107, -3.59170008, 1.00501585, -1.85742465e-007, -0.999991477, -5.37838787e-006, 0.931244195, -2.13249587e-006, 0.364371002, -0.364367813, -4.73367982e-006, 0.931253552)) | |
767 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
768 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Part",Vector3.new(0.220000014, 0.200000003, 0.200000003)) | |
769 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.74778935e-005, 1.18511844, 0.51408869, 7.11224857e-009, -0.999991477, 1.07102096e-007, -0.965909183, -3.97558324e-008, 0.258840948, -0.258838028, -1.99768692e-007, -0.965919793)) | |
770 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
771 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.210000008, 2.24000001, 0.379999995)) | |
772 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00445578899, -3.34219456, -0.964703262, 1.06241714e-007, 0.999991477, 4.18559648e-006, 0.868384421, -2.13622116e-006, 0.495875508, 0.495871097, 3.5520643e-006, -0.868393242)) | |
773 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
774 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.210000008, 2.01999998, 0.25000003)) | |
775 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00240394706, -3.73852968, 1.30653429, -1.2010787e-007, -0.999991477, -2.51666643e-006, 0.940572083, -1.03004277e-006, 0.339566648, -0.339563578, -2.24495307e-006, 0.940582037)) | |
776 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
777 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.210000008, 0.559999704, 0.929999948)) | |
778 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0019936848, -2.68281245, -0.384100318, 1.41448436e-006, 0.999991477, 9.77655873e-007, 0.989911199, -1.52611756e-006, 0.141614005, 0.141612604, 1.01001933e-006, -0.989921689)) | |
779 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.210000008, 0.709999681, 0.939999998)) | |
780 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00213447702, -2.67230463, -0.29508394, 5.1926072e-006, 0.999991417, -1.7627608e-006, 0.997284353, -5.10999234e-006, 0.073496215, 0.0734953806, -1.9420404e-006, -0.997294545)) | |
781 | mesh("SpecialMesh",Part,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1)) | |
782 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.200000003, 2.01999998, 0.25000003)) | |
783 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00745915249, 0.800011873, 0.771243393, 3.60022023e-006, 0.999991357, 1.05327927e-005, -0.977349043, 5.78857725e-006, -0.211586878, -0.211585045, -9.41171311e-006, 0.977359116)) | |
784 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
785 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.210000008, 2.01999998, 0.25000003)) | |
786 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00174977514, -0.143583179, 0.544506013, 3.60022023e-006, 0.999991357, 1.05327927e-005, -0.977349043, 5.78857725e-006, -0.211586878, -0.211585045, -9.41171311e-006, 0.977359116)) | |
787 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
788 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.210000008, 2.3599999, 0.25000003)) | |
789 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00457242504, 1.44972038, 0.937004209, 4.24918471e-006, 0.999991357, 1.13428105e-005, -0.97515136, 6.72199531e-006, -0.221495599, -0.221493527, -9.98610631e-006, 0.975161493)) | |
790 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
791 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really black","Part",Vector3.new(0.210000008, 1.98999989, 0.25000003)) | |
792 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0108854175, 1.90189612, 1.23526239, 4.78753464e-006, 0.999991357, 1.8291641e-005, -0.946396828, 1.0460848e-005, -0.322977185, -0.322974324, -1.57086179e-005, 0.946406901)) | |
793 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1)) | |
794 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.210000008, 2.41999984, 0.49000001)) | |
795 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000984288286, -3.58617091, 0.587580323, -7.28723535e-007, -0.999991417, -1.8943334e-005, 0.939981222, -7.21320976e-006, 0.341198981, -0.341195881, -1.74124725e-005, 0.939991176)) | |
796 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1)) | |
797 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.210000008, 2.43000007, 0.5)) | |
798 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00097745331, -3.96163177, 0.987698019, -1.66923201e-007, -0.999991477, -7.64313154e-006, 0.935261607, -2.79012602e-006, 0.353932023, -0.353928834, -6.98934309e-006, 0.935270965)) | |
799 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1)) | |
800 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.210000008, 2.29999995, 0.400000036)) | |
801 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00240410771, -3.85853004, 1.36153507, -1.2010787e-007, -0.999991477, -2.51666643e-006, 0.940572083, -1.03004277e-006, 0.339566648, -0.339563578, -2.24495307e-006, 0.940582037)) | |
802 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1)) | |
803 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.210000008, 2.3599999, 0.25000003)) | |
804 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0152501259, 1.4888978, 0.945500731, 4.24918471e-006, 0.999991357, 1.13428105e-005, -0.97515136, 6.72199531e-006, -0.221495599, -0.221493527, -9.98610631e-006, 0.975161493)) | |
805 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.29999995, 1.29999995)) | |
806 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.200000003, 2.01999998, 0.25000003)) | |
807 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0124663115, 0.825413465, 0.796889961, 3.60022023e-006, 0.999991357, 1.05327927e-005, -0.977349043, 5.78857725e-006, -0.211586878, -0.211585045, -9.41171311e-006, 0.977359116)) | |
808 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.29999995, 1.29999995)) | |
809 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.210000008, 1.58999991, 0.240000024)) | |
810 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0106328866, 1.76202643, 1.27130175, 4.78753464e-006, 0.999991357, 1.8291641e-005, -0.946396828, 1.0460848e-005, -0.322977185, -0.322974324, -1.57086179e-005, 0.946406901)) | |
811 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.29999995, 1.5)) | |
812 | Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0.19999998807907,"Really red","Part",Vector3.new(0.210000008, 2.01999998, 0.25000003)) | |
813 | Partweld=weld(m,BladeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0216013901, -0.106356978, 0.562396944, 3.60022023e-006, 0.999991357, 1.05327927e-005, -0.977349043, 5.78857725e-006, -0.211586878, -0.211585045, -9.41171311e-006, 0.977359116)) | |
814 | mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1.20000005, 1.20000005)) | |
815 | ||
816 | function attackone() | |
817 | attack = true | |
818 | local bounce=false | |
819 | local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"} | |
820 | local con = HitboxA.Touched:connect(function(hit) Damagefunc(HitboxA,hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end) | |
821 | local fx=HitboxA.Touched:connect(function(part) | |
822 | local human=part.Parent:findFirstChild("Humanoid") | |
823 | if human~=nil and bounce==false then | |
824 | local rndm=math.random(1,#hitsounds) | |
825 | local r=rndm | |
826 | so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,.5) | |
827 | bounce=true | |
828 | end | |
829 | end) | |
830 | for i = 0,1,0.3 do | |
831 | swait() | |
832 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.3)* angles(math.rad(5),math.rad(0),math.rad(-30)),.5) | |
833 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.5) | |
834 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3) | |
835 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(0), math.rad(-120), math.rad(-70)),.5) | |
836 | LH.C0=clerp(LH.C0,cf(-1,-.7,-.5)*angles(math.rad(0),math.rad(-60),math.rad(-10)),.5) | |
837 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-40)),.5) | |
838 | end | |
839 | so("http://www.roblox.com/asset/?id=199145913",HitboxA,1,1.1) | |
840 | for i = 0,1,0.2 do | |
841 | swait() | |
842 | local blcf = HitboxA.CFrame*CFrame.new(0,.5,0) | |
843 | if scfr and (HitboxA.Position-scfr.p).magnitude > .1 then | |
844 | local h = 5 | |
845 | 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) | |
846 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
847 | 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) | |
848 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
849 | scfr = blcf | |
850 | elseif not scfr then | |
851 | scfr = blcf | |
852 | end | |
853 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.3)* angles(math.rad(5),math.rad(0),math.rad(140)),.5) | |
854 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-90)),.3) | |
855 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * angles(math.rad(0), math.rad(160), math.rad(90)),.5) | |
856 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(0), math.rad(-50), math.rad(-70)),.5) | |
857 | RH.C0=clerp(RH.C0,cf(1,-.7,0)*angles(math.rad(0),math.rad(60),math.rad(10)),.5) | |
858 | LH.C0=clerp(LH.C0,cf(-1.1,-1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(40)),.5) | |
859 | end | |
860 | attack = false | |
861 | bounce = false | |
862 | con:disconnect() | |
863 | fx:disconnect() | |
864 | scfr = nil | |
865 | end | |
866 | ||
867 | function attacktwo() | |
868 | attack = true | |
869 | local bounce=false | |
870 | local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"} | |
871 | local con = HitboxB.Touched:connect(function(hit) Damagefunc(HitboxB,hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end) | |
872 | local fx=HitboxB.Touched:connect(function(part) | |
873 | local human=part.Parent:findFirstChild("Humanoid") | |
874 | if human~=nil and bounce==false then | |
875 | local rndm=math.random(1,#hitsounds) | |
876 | local r=rndm | |
877 | so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,.5) | |
878 | bounce=true | |
879 | end | |
880 | end) | |
881 | for i = 0,1,0.3 do | |
882 | swait() | |
883 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.3)* angles(math.rad(5),math.rad(0),math.rad(30)),.5) | |
884 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.5) | |
885 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)),.5) | |
886 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(0), math.rad(-120), math.rad(-70)),.5) | |
887 | RH.C0=clerp(RH.C0,cf(1,-.7,0)*angles(math.rad(0),math.rad(60),math.rad(10)),.5) | |
888 | LH.C0=clerp(LH.C0,cf(-1.1,-1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(40)),.5) | |
889 | end | |
890 | so("http://www.roblox.com/asset/?id=199145887",HitboxA,1,1.3) | |
891 | for i = 0,1,0.2 do | |
892 | swait() | |
893 | local blcf = HitboxB.CFrame*CFrame.new(0,.5,0) | |
894 | if scfr and (HitboxB.Position-scfr.p).magnitude > .1 then | |
895 | local h = 5 | |
896 | 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) | |
897 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
898 | 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) | |
899 | if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end | |
900 | scfr = blcf | |
901 | elseif not scfr then | |
902 | scfr = blcf | |
903 | end | |
904 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.3)* angles(math.rad(5),math.rad(0),math.rad(-140)),.5) | |
905 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(90)),.5) | |
906 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * angles(math.rad(0), math.rad(160), math.rad(90)),.5) | |
907 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(0), math.rad(-150), math.rad(-90)),.5) | |
908 | LH.C0=clerp(LH.C0,cf(-1,-.7,-.5)*angles(math.rad(0),math.rad(-60),math.rad(-10)),.5) | |
909 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-40)),.5) | |
910 | end | |
911 | attack = false | |
912 | bounce = false | |
913 | con:disconnect() | |
914 | fx:disconnect() | |
915 | scfr = nil | |
916 | end | |
917 | ||
918 | function JumpSpin() | |
919 | attack = true | |
920 | Humanoid.Jump = true | |
921 | local bounce=false | |
922 | local bounce2=false | |
923 | local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"} | |
924 | local con = HitboxA.Touched:connect(function(hit) Damagefunc(HitboxB,hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end) | |
925 | local con2 = HitboxB.Touched:connect(function(hit) Damagefunc(HitboxB,hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end) | |
926 | local fx=HitboxA.Touched:connect(function(part) | |
927 | local human=part.Parent:findFirstChild("Humanoid") | |
928 | if human~=nil and bounce==false then | |
929 | local rndm=math.random(1,#hitsounds) | |
930 | local r=rndm | |
931 | so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,.5) | |
932 | bounce=true | |
933 | end | |
934 | end) | |
935 | local fx2=HitboxB.Touched:connect(function(part) | |
936 | local human=part.Parent:findFirstChild("Humanoid") | |
937 | if human~=nil and bounce2==false then | |
938 | local rndm=math.random(1,#hitsounds) | |
939 | local r=rndm | |
940 | so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,.5) | |
941 | bounce2=true | |
942 | end | |
943 | end) | |
944 | for i = 0,1,0.1 do | |
945 | swait() | |
946 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
947 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
948 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(20)), 0.3) | |
949 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-20)), 0.3) | |
950 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(20)),.3) | |
951 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20)),.3) | |
952 | BladeHandleAweld.C0=clerp(BladeHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
953 | BladeHandleBweld.C0=clerp(BladeHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
954 | end | |
955 | for i = 0,1,1 do | |
956 | swait() | |
957 | so("http://www.roblox.com/asset/?id=243711322",Torso,1,1) | |
958 | for i = 0,1,0.1 do | |
959 | swait() | |
960 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,3)* angles(6*i,math.rad(0),math.rad(0)),.5) | |
961 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
962 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.3) | |
963 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(-0)), 0.3) | |
964 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-50)),.3) | |
965 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-30)),.3) | |
966 | BladeHandleAweld.C0=clerp(BladeHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(180),math.rad(0)),.3) | |
967 | BladeHandleBweld.C0=clerp(BladeHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(180),math.rad(0)),.3) | |
968 | end | |
969 | end | |
970 | attack = false | |
971 | bounce=false | |
972 | bounce2=false | |
973 | con:disconnect() | |
974 | fx:disconnect() | |
975 | con2:disconnect() | |
976 | fx2:disconnect() | |
977 | end | |
978 | ||
979 | function OmegaSlash() | |
980 | attack = true | |
981 | so("http://www.roblox.com/asset/?id=152052659",HitboxA,1,1) | |
982 | so("http://www.roblox.com/asset/?id=152052659",HitboxB,1,1) | |
983 | local bounce=false | |
984 | local bounce2=false | |
985 | local hitsounds={"199149137","199149186","199149221","199149235","199149269","199149297"} | |
986 | local con = HitboxA.Touched:connect(function(hit) Damagefunc(HitboxB,hit,20,30,math.random(5,10),"Normal",RootPart,.2,1) end) | |
987 | local con2 = HitboxB.Touched:connect(function(hit) Damagefunc(HitboxB,hit,20,30,math.random(5,10),"Normal",RootPart,.2,1) end) | |
988 | local fx=HitboxA.Touched:connect(function(part) | |
989 | local human=part.Parent:findFirstChild("Humanoid") | |
990 | if human~=nil and bounce==false then | |
991 | local rndm=math.random(1,#hitsounds) | |
992 | local r=rndm | |
993 | so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,.5) | |
994 | bounce=true | |
995 | end | |
996 | end) | |
997 | local fx2=HitboxB.Touched:connect(function(part) | |
998 | local human=part.Parent:findFirstChild("Humanoid") | |
999 | if human~=nil and bounce2==false then | |
1000 | local rndm=math.random(1,#hitsounds) | |
1001 | local r=rndm | |
1002 | so("http://www.roblox.com/asset/?id="..hitsounds[r],part.Parent,1,.5) | |
1003 | bounce2=true | |
1004 | end | |
1005 | end) | |
1006 | for i = 0,1,0.2 do | |
1007 | swait() | |
1008 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.5) | |
1009 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.5) | |
1010 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(0), math.rad(120), math.rad(120)), 0.5) | |
1011 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(110)), 0.5) | |
1012 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.5) | |
1013 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(20)),.5) | |
1014 | BladeHandleAweld.C0=clerp(BladeHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(180),math.rad(0)),.3) | |
1015 | BladeHandleBweld.C0=clerp(BladeHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(180),math.rad(0)),.3) | |
1016 | end | |
1017 | so("http://www.roblox.com/asset/?id=203691699",HitboxA,1,1) | |
1018 | so("http://www.roblox.com/asset/?id=203691699",HitboxB,1,1) | |
1019 | for i = 0,1,0.2 do | |
1020 | swait() | |
1021 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-80)),.5) | |
1022 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(70)),.5) | |
1023 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.5) | |
1024 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(0), math.rad(50), math.rad(80)), 0.5) | |
1025 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.5) | |
1026 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-50)),.5) | |
1027 | BladeHandleAweld.C0=clerp(BladeHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(180),math.rad(0)),.3) | |
1028 | BladeHandleBweld.C0=clerp(BladeHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(180),math.rad(0)),.3) | |
1029 | Torso.Velocity=Head.CFrame.lookVector*100 | |
1030 | end | |
1031 | attack = false | |
1032 | bounce=false | |
1033 | bounce2=false | |
1034 | con:disconnect() | |
1035 | fx:disconnect() | |
1036 | con2:disconnect() | |
1037 | fx2:disconnect() | |
1038 | end | |
1039 | ||
1040 | mouse.Button1Down:connect(function() | |
1041 | if attack == false and attacktype == 1 then | |
1042 | attacktype = 2 | |
1043 | attackone() | |
1044 | elseif attack == false and attacktype == 2 then | |
1045 | attacktype = 1 | |
1046 | attacktwo() | |
1047 | end | |
1048 | end) | |
1049 | ||
1050 | mouse.KeyDown:connect(function(k) | |
1051 | k=k:lower() | |
1052 | if attack == false and k == 'q' then | |
1053 | JumpSpin() | |
1054 | elseif attack == false and k == 'e' then | |
1055 | OmegaSlash() | |
1056 | end | |
1057 | end) | |
1058 | ||
1059 | ||
1060 | local sine = 0 | |
1061 | local change = 1 | |
1062 | local val = 0 | |
1063 | ||
1064 | while true do | |
1065 | swait() | |
1066 | sine = sine + change | |
1067 | local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude | |
1068 | local velderp=RootPart.Velocity.y | |
1069 | hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character) | |
1070 | if equipped==true or equipped==false then | |
1071 | if attack==false then | |
1072 | idle=idle+1 | |
1073 | else | |
1074 | idle=0 | |
1075 | end | |
1076 | if idle>=500 then | |
1077 | if attack==false then | |
1078 | end | |
1079 | end | |
1080 | if RootPart.Velocity.y > 1 and hitfloor==nil then | |
1081 | Anim="Jump" | |
1082 | if attack==false then | |
1083 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1084 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) | |
1085 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3) | |
1086 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3) | |
1087 | RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3) | |
1088 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20)),.3) | |
1089 | BladeHandleAweld.C0=clerp(BladeHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1090 | BladeHandleBweld.C0=clerp(BladeHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1091 | end | |
1092 | elseif RootPart.Velocity.y < -1 and hitfloor==nil then | |
1093 | Anim="Fall" | |
1094 | if attack==false then | |
1095 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1096 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3) | |
1097 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(30)), 0.3) | |
1098 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.3) | |
1099 | RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(20)),.3) | |
1100 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10)),.3) | |
1101 | BladeHandleAweld.C0=clerp(BladeHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1102 | BladeHandleBweld.C0=clerp(BladeHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1103 | end | |
1104 | elseif torvel<1 and hitfloor~=nil then | |
1105 | Anim="Idle" | |
1106 | if attack==false then | |
1107 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.3)* angles(math.rad(5),math.rad(0),math.rad(30)),.3) | |
1108 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.3) | |
1109 | RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0) * angles(math.rad(90), math.rad(50), math.rad(20)), 0.3) | |
1110 | LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -0.5) * angles(math.rad(90), math.rad(-50), math.rad(20)), 0.3) | |
1111 | RH.C0=clerp(RH.C0,cf(1,-.7,0)*angles(math.rad(0),math.rad(60),math.rad(10)),.3) | |
1112 | LH.C0=clerp(LH.C0,cf(-1.1,-1,-.5)*angles(math.rad(0),math.rad(-90),math.rad(40)),.3) | |
1113 | BladeHandleAweld.C0=clerp(BladeHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1114 | BladeHandleBweld.C0=clerp(BladeHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1115 | end | |
1116 | elseif torvel>2 and hitfloor~=nil then | |
1117 | Anim="Walk" | |
1118 | if attack==false then | |
1119 | change=3 | |
1120 | RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(30),math.rad(0),math.rad(0)),.3) | |
1121 | Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3) | |
1122 | RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(20), math.rad(20)), 0.3) | |
1123 | LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(-20), math.rad(-20)), 0.3) | |
1124 | RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) | |
1125 | LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3) | |
1126 | BladeHandleAweld.C0=clerp(BladeHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1127 | BladeHandleBweld.C0=clerp(BladeHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3) | |
1128 | end | |
1129 | end | |
1130 | end | |
1131 | if #Effects>0 then | |
1132 | for e=1,#Effects do | |
1133 | if Effects[e]~=nil then | |
1134 | local Thing=Effects[e] | |
1135 | if Thing~=nil then | |
1136 | local Part=Thing[1] | |
1137 | local Mode=Thing[2] | |
1138 | local Delay=Thing[3] | |
1139 | local IncX=Thing[4] | |
1140 | local IncY=Thing[5] | |
1141 | local IncZ=Thing[6] | |
1142 | if Thing[1].Transparency<=1 then | |
1143 | if Thing[2]=="Block1" then | |
1144 | Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
1145 | Mesh=Thing[1].Mesh | |
1146 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1147 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1148 | elseif Thing[2]=="Cylinder" then | |
1149 | Mesh=Thing[1].Mesh | |
1150 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1151 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1152 | elseif Thing[2]=="Blood" then | |
1153 | Mesh=Thing[7] | |
1154 | Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0) | |
1155 | Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6]) | |
1156 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1157 | elseif Thing[2]=="Elec" then | |
1158 | Mesh=Thing[1].Mesh | |
1159 | Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9]) | |
1160 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1161 | elseif Thing[2]=="Disappear" then | |
1162 | Thing[1].Transparency=Thing[1].Transparency+Thing[3] | |
1163 | end | |
1164 | else | |
1165 | Part.Parent=nil | |
1166 | table.remove(Effects,e) | |
1167 | end | |
1168 | end | |
1169 | end | |
1170 | end | |
1171 | end | |
1172 | end |