Advertisement
Guest User

Orange Demon

a guest
Nov 22nd, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Humanoid.Health =
  2. local BillboardGui = Instance.new("BillboardGui")
  3. local TextLabel = Instance.new("TextLabel")
  4.  
  5. --Properties:
  6.  
  7. BillboardGui.Parent = game.Workspace.fatmother
  8. BillboardGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  9. BillboardGui.Active = true
  10. BillboardGui.AlwaysOnTop = true
  11. BillboardGui.MaxDistance = 45
  12. BillboardGui.Size = UDim2.new(0, 200, 0, 50)
  13. BillboardGui.StudsOffset = Vector3.new(0, 6, 0)
  14.  
  15. TextLabel.Parent = BillboardGui
  16. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  17. TextLabel.BackgroundTransparency = 1
  18. TextLabel.BorderSizePixel = 0
  19. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  20. TextLabel.Font = Enum.Font.Antique
  21. TextLabel.Text = "Orange Demon"
  22. TextLabel.TextColor3 = Color3.new(1, 0.666667, 0)
  23. TextLabel.TextScaled = true
  24. TextLabel.TextSize = 1
  25. TextLabel.TextStrokeTransparency = 0
  26. TextLabel.TextWrapped = true
  27.  
  28. Player=game:GetService("Players").LocalPlayer
  29. Character=Player.Character
  30. PlayerGui=Player.PlayerGui
  31. Backpack=Player.Backpack
  32. Torso=Character.Torso
  33. Head=Character.Head
  34. Humanoid=Character.Humanoid
  35. m=Instance.new('Model',Character)
  36. LeftArm=Character["Left Arm"]
  37. LeftLeg=Character["Left Leg"]
  38. RightArm=Character["Right Arm"]
  39. RightLeg=Character["Right Leg"]
  40. LS=Torso["Left Shoulder"]
  41. LH=Torso["Left Hip"]
  42. RS=Torso["Right Shoulder"]
  43. RH=Torso["Right Hip"]
  44. Face = Head.face
  45. Neck=Torso.Neck
  46. it=Instance.new
  47. attacktype=1
  48. vt=Vector3.new
  49. cf=CFrame.new
  50. euler=CFrame.fromEulerAnglesXYZ
  51. angles=CFrame.Angles
  52. cloaked=false
  53. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  54. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  55. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  56. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  57. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  58. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  59. RootPart=Character.HumanoidRootPart
  60. RootJoint=RootPart.RootJoint
  61. RootCF=euler(-1.57,0,3.14)
  62. attack = false
  63. attackdebounce = false
  64. deb=false
  65. equipped=true
  66. hand=false
  67. MMouse=nil
  68. combo=0
  69. mana=0
  70. trispeed=.2
  71. attackmode='none'
  72. local idle=0
  73. local Anim="Idle"
  74. local Effects={}
  75. local gun=false
  76. local shoot=false
  77. player=nil
  78. mana=0
  79. local CurrentMode = "Unsheathed"
  80.  
  81. mouse=Player:GetMouse()
  82. --save shoulders
  83. RSH, LSH=nil, nil
  84. --welds
  85. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  86. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  87. LH=Torso["Left Hip"]
  88. RH=Torso["Right Hip"]
  89. TorsoColor=Torso.BrickColor
  90. function NoOutline(Part)
  91. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  92. end
  93. player=Player
  94. ch=Character
  95. RSH=ch.Torso["Right Shoulder"]
  96. LSH=ch.Torso["Left Shoulder"]
  97. --
  98. RSH.Parent=nil
  99. LSH.Parent=nil
  100. --
  101. RW.Name="Right Shoulder"
  102. RW.Part0=ch.Torso
  103. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  104. RW.C1=cf(0, 0.5, 0)
  105. RW.Part1=ch["Right Arm"]
  106. RW.Parent=ch.Torso
  107. --
  108. LW.Name="Left Shoulder"
  109. LW.Part0=ch.Torso
  110. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  111. LW.C1=cf(0, 0.5, 0)
  112. LW.Part1=ch["Left Arm"]
  113. LW.Parent=ch.Torso
  114.  
  115. local function weldBetween(a, b)
  116. local weldd = Instance.new("ManualWeld")
  117. weldd.Part0 = a
  118. weldd.Part1 = b
  119. weldd.C0 = CFrame.new()
  120. weldd.C1 = b.CFrame:inverse() * a.CFrame
  121. weldd.Parent = a
  122. return weldd
  123. end
  124.  
  125. function nooutline(part)
  126. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  127. end
  128.  
  129. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  130. local fp=it("Part")
  131. fp.formFactor=formfactor
  132. fp.Parent=parent
  133. fp.Reflectance=reflectance
  134. fp.Transparency=transparency
  135. fp.CanCollide=false
  136. fp.Locked=true
  137. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  138. fp.Name=name
  139. fp.Size=size
  140. fp.Position=Character.Torso.Position
  141. nooutline(fp)
  142. fp.Material=material
  143. fp:BreakJoints()
  144. return fp
  145. end
  146.  
  147. function swait(num)
  148. if num==0 or num==nil then
  149. game:service'RunService'.Heartbeat:wait(0)
  150. else
  151. for i=0,num do
  152. game:service'RunService'.Heartbeat:wait(0)
  153. end
  154. end
  155. end
  156.  
  157. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  158. local mesh=it(Mesh)
  159. mesh.Parent=part
  160. if Mesh=="SpecialMesh" then
  161. mesh.MeshType=meshtype
  162. mesh.MeshId=meshid
  163. end
  164. mesh.Offset=offset
  165. mesh.Scale=scale
  166. return mesh
  167. end
  168.  
  169. function weld(parent,part0,part1,c0,c1)
  170. local weld=it("Weld")
  171. weld.Parent=parent
  172. weld.Part0=part0
  173. weld.Part1=part1
  174. weld.C0=c0
  175. weld.C1=c1
  176. return weld
  177. end
  178.  
  179.  
  180. local function CFrameFromTopBack(at, top, back)
  181. local right = top:Cross(back)
  182. return CFrame.new(at.x, at.y, at.z,
  183. right.x, top.x, back.x,
  184. right.y, top.y, back.y,
  185. right.z, top.z, back.z)
  186. end
  187.  
  188. function Triangle(a, b, c)
  189. local edg1 = (c-a):Dot((b-a).unit)
  190. local edg2 = (a-b):Dot((c-b).unit)
  191. local edg3 = (b-c):Dot((a-c).unit)
  192. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  193. a, b, c = a, b, c
  194. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  195. a, b, c = b, c, a
  196. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  197. a, b, c = c, a, b
  198. else
  199. assert(false, "unreachable")
  200. end
  201.  
  202. local len1 = (c-a):Dot((b-a).unit)
  203. local len2 = (b-a).magnitude - len1
  204. local width = (a + (b-a).unit*len1 - c).magnitude
  205.  
  206. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  207.  
  208. local list = {}
  209.  
  210. if len1 > 0.01 then
  211. local w1 = Instance.new('WedgePart', m)
  212. game:GetService("Debris"):AddItem(w1,5)
  213. w1.Material = "SmoothPlastic"
  214. w1.FormFactor = 'Custom'
  215. w1.BrickColor = BrickColor.new("Bright orange")
  216. w1.Transparency = 0
  217. w1.Reflectance = 0
  218. w1.Material = "Neon"
  219. w1.CanCollide = false
  220. NoOutline(w1)
  221. local sz = Vector3.new(0.2, width, len1)
  222. w1.Size = sz
  223. local sp = Instance.new("SpecialMesh",w1)
  224. sp.MeshType = "Wedge"
  225. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  226. w1:BreakJoints()
  227. w1.Anchored = true
  228. w1.Parent = workspace
  229. w1.Transparency = 0.3
  230. table.insert(Effects,{w1,"Disappear",.03})
  231. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  232. table.insert(list,w1)
  233. end
  234. if len2 > 0.01 then
  235. local w2 = Instance.new('WedgePart', m)
  236. game:GetService("Debris"):AddItem(w2,5)
  237. w2.Material = "SmoothPlastic"
  238. w2.FormFactor = 'Custom'
  239. w2.BrickColor = BrickColor.new("Bright orange")
  240. w2.Transparency = 0
  241. w2.Reflectance = 0
  242. w2.Material = "Neon"
  243. w2.CanCollide = false
  244. NoOutline(w2)
  245. local sz = Vector3.new(0.2, width, len2)
  246. w2.Size = sz
  247. local sp = Instance.new("SpecialMesh",w2)
  248. sp.MeshType = "Wedge"
  249. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  250. w2:BreakJoints()
  251. w2.Anchored = true
  252. w2.Parent = workspace
  253. w2.Transparency = 0.3
  254. table.insert(Effects,{w2,"Disappear",.03})
  255. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  256. table.insert(list,w2)
  257. end
  258. return unpack(list)
  259. end
  260.  
  261.  
  262. so = function(id,par,vol,pit)
  263. coroutine.resume(coroutine.create(function()
  264. local sou = Instance.new("Sound",par or workspace)
  265. sou.Volume=vol
  266. sou.Pitch=pit or 1
  267. sou.SoundId=id
  268. swait()
  269. sou:play()
  270. game:GetService("Debris"):AddItem(sou,6)
  271. end))
  272. end
  273.  
  274. function clerp(a,b,t)
  275. local qa = {QuaternionFromCFrame(a)}
  276. local qb = {QuaternionFromCFrame(b)}
  277. local ax, ay, az = a.x, a.y, a.z
  278. local bx, by, bz = b.x, b.y, b.z
  279. local _t = 1-t
  280. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  281. end
  282.  
  283. function QuaternionFromCFrame(cf)
  284. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  285. local trace = m00 + m11 + m22
  286. if trace > 0 then
  287. local s = math.sqrt(1 + trace)
  288. local recip = 0.5/s
  289. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  290. else
  291. local i = 0
  292. if m11 > m00 then
  293. i = 1
  294. end
  295. if m22 > (i == 0 and m00 or m11) then
  296. i = 2
  297. end
  298. if i == 0 then
  299. local s = math.sqrt(m00-m11-m22+1)
  300. local recip = 0.5/s
  301. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  302. elseif i == 1 then
  303. local s = math.sqrt(m11-m22-m00+1)
  304. local recip = 0.5/s
  305. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  306. elseif i == 2 then
  307. local s = math.sqrt(m22-m00-m11+1)
  308. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  309. end
  310. end
  311. end
  312.  
  313. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  314. local xs, ys, zs = x + x, y + y, z + z
  315. local wx, wy, wz = w*xs, w*ys, w*zs
  316. local xx = x*xs
  317. local xy = x*ys
  318. local xz = x*zs
  319. local yy = y*ys
  320. local yz = y*zs
  321. local zz = z*zs
  322. 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))
  323. end
  324.  
  325. function QuaternionSlerp(a, b, t)
  326. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  327. local startInterp, finishInterp;
  328. if cosTheta >= 0.0001 then
  329. if (1 - cosTheta) > 0.0001 then
  330. local theta = math.acos(cosTheta)
  331. local invSinTheta = 1/math.sin(theta)
  332. startInterp = math.sin((1-t)*theta)*invSinTheta
  333. finishInterp = math.sin(t*theta)*invSinTheta
  334. else
  335. startInterp = 1-t
  336. finishInterp = t
  337. end
  338. else
  339. if (1+cosTheta) > 0.0001 then
  340. local theta = math.acos(-cosTheta)
  341. local invSinTheta = 1/math.sin(theta)
  342. startInterp = math.sin((t-1)*theta)*invSinTheta
  343. finishInterp = math.sin(t*theta)*invSinTheta
  344. else
  345. startInterp = t-1
  346. finishInterp = t
  347. end
  348. end
  349. 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
  350. end
  351.  
  352. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  353. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  354. end
  355.  
  356. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  357. if hit.Parent==nil then
  358. return
  359. end
  360. local h=hit.Parent:FindFirstChild("Humanoid")
  361. for _,v in pairs(hit.Parent:children()) do
  362. if v:IsA("Humanoid") then
  363. h=v
  364. end
  365. end
  366. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  367. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  368. end
  369. if hit.Parent.className=="Hat" then
  370. hit=hit.Parent.Parent:findFirstChild("Head")
  371. end
  372. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  373. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  374. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  375. return
  376. end]]
  377. -- hs(hit,1.2)
  378. local c=Instance.new("ObjectValue")
  379. c.Name="creator"
  380. c.Value=game:service("Players").LocalPlayer
  381. c.Parent=h
  382. game:GetService("Debris"):AddItem(c,.5)
  383. local Damage=math.random(minim,maxim)
  384. -- h:TakeDamage(Damage)
  385. local blocked=false
  386. local block=hit.Parent:findFirstChild("Block")
  387. if block~=nil then
  388. print(block.className)
  389. if block.className=="NumberValue" then
  390. if block.Value>0 then
  391. blocked=true
  392. if decreaseblock==nil then
  393. block.Value=block.Value-1
  394. end
  395. end
  396. end
  397. if block.className=="IntValue" then
  398. if block.Value>0 then
  399. blocked=true
  400. if decreaseblock~=nil then
  401. block.Value=block.Value-1
  402. end
  403. end
  404. end
  405. end
  406. if blocked==false then
  407. -- h:TakeDamage(Damage)
  408. h.Health=h.Health-Damage
  409. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  410. else
  411. h.Health=h.Health-(Damage/2)
  412. 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)
  413. end
  414. if Type=="Knockdown" then
  415. local hum=hit.Parent.Humanoid
  416. hum.PlatformStand=true
  417. coroutine.resume(coroutine.create(function(HHumanoid)
  418. swait(1)
  419. HHumanoid.PlatformStand=false
  420. end),hum)
  421. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  422. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  423. local bodvol=Instance.new("BodyVelocity")
  424. bodvol.velocity=angle*knockback
  425. bodvol.P=5000
  426. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  427. bodvol.Parent=hit
  428. local rl=Instance.new("BodyAngularVelocity")
  429. rl.P=3000
  430. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  431. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  432. rl.Parent=hit
  433. game:GetService("Debris"):AddItem(bodvol,.5)
  434. game:GetService("Debris"):AddItem(rl,.5)
  435. elseif Type=="Normal" then
  436. local vp=Instance.new("BodyVelocity")
  437. vp.P=500
  438. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  439. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  440. if KnockbackType==1 then
  441. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  442. elseif KnockbackType==2 then
  443. vp.velocity=Property.CFrame.lookVector*knockback
  444. end
  445. if knockback>0 then
  446. vp.Parent=hit.Parent.Torso
  447. end
  448. game:GetService("Debris"):AddItem(vp,.5)
  449. elseif Type=="Up" then
  450. local bodyVelocity=Instance.new("BodyVelocity")
  451. bodyVelocity.velocity=vt(0,60,0)
  452. bodyVelocity.P=5000
  453. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  454. bodyVelocity.Parent=hit
  455. game:GetService("Debris"):AddItem(bodyVelocity,1)
  456. local rl=Instance.new("BodyAngularVelocity")
  457. rl.P=3000
  458. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  459. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  460. rl.Parent=hit
  461. game:GetService("Debris"):AddItem(rl,.5)
  462. elseif Type=="Snare" then
  463. local bp=Instance.new("BodyPosition")
  464. bp.P=2000
  465. bp.D=100
  466. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  467. bp.position=hit.Parent.Torso.Position
  468. bp.Parent=hit.Parent.Torso
  469. game:GetService("Debris"):AddItem(bp,1)
  470. elseif Type=="Target" then
  471. local Targetting = false
  472. if Targetting==false then
  473. ZTarget=hit.Parent.Torso
  474. coroutine.resume(coroutine.create(function(Part)
  475. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  476. swait(5)
  477. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  478. end),ZTarget)
  479. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  480. local targetgui=Instance.new("BillboardGui")
  481. targetgui.Parent=ZTarget
  482. targetgui.Size=UDim2.new(10,100,10,100)
  483. local targ=Instance.new("ImageLabel")
  484. targ.Parent=targetgui
  485. targ.BackgroundTransparency=1
  486. targ.Image="rbxassetid://4834067"
  487. targ.Size=UDim2.new(1,0,1,0)
  488. cam.CameraType="Scriptable"
  489. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  490. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  491. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  492. Targetting=true
  493. RocketTarget=ZTarget
  494. for i=1,Property do
  495. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  496. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  497. swait()
  498. end
  499. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  500. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  501. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  502. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  503. end
  504. Targetting=false
  505. RocketTarget=nil
  506. targetgui.Parent=nil
  507. cam.CameraType="Custom"
  508. end
  509. end
  510. local debounce=Instance.new("BoolValue")
  511. debounce.Name="DebounceHit"
  512. debounce.Parent=hit.Parent
  513. debounce.Value=true
  514. game:GetService("Debris"):AddItem(debounce,Delay)
  515. c=Instance.new("ObjectValue")
  516. c.Name="creator"
  517. c.Value=Player
  518. c.Parent=h
  519. game:GetService("Debris"):AddItem(c,.5)
  520. end
  521. end
  522.  
  523.  
  524. function ShowDamage(Pos, Text, Time, Color)
  525. local Rate = (1 / 30)
  526. local Pos = (Pos or Vector3.new(0, 0, 0))
  527. local Text = (Text or "")
  528. local Time = (Time or 2)
  529. local Color = (Color or Color3.new(1, 0, 0))
  530. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  531. EffectPart.Anchored = true
  532. local BillboardGui = Instance.new("BillboardGui")
  533. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  534. BillboardGui.Adornee = EffectPart
  535. local TextLabel = Instance.new("TextLabel")
  536. TextLabel.BackgroundTransparency = 1
  537. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  538. TextLabel.Text = Text
  539. TextLabel.TextColor3 = Color
  540. TextLabel.TextScaled = true
  541. TextLabel.Font = Enum.Font.ArialBold
  542. TextLabel.Parent = BillboardGui
  543. BillboardGui.Parent = EffectPart
  544. game.Debris:AddItem(EffectPart, (Time + 0.1))
  545. EffectPart.Parent = game:GetService("Workspace")
  546. Delay(0, function()
  547. local Frames = (Time / Rate)
  548. for Frame = 1, Frames do
  549. wait(Rate)
  550. local Percent = (Frame / Frames)
  551. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  552. TextLabel.TextTransparency = Percent
  553. end
  554. if EffectPart and EffectPart.Parent then
  555. EffectPart:Destroy()
  556. end
  557. end)
  558. end
  559.  
  560. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Handle",Vector3.new(0.34799999, 2.78399992, 0.34799999))
  561. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00324273, 0.013961792, -0.00828075409, -1.38366803e-013, -0.999999881, 4.25688995e-009, 2.4656245e-007, -4.25688951e-009, -1, 1, -1.373172e-013, 2.4656245e-007))
  562. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  563. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Bright orange","Hitbox",Vector3.new(1.04400003, 6.35600042, 0.600000024))
  564. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000308990479, -5.48094559, -2.00271606e-005, 1, 6.10120843e-011, -1.08637464e-014, -6.10120843e-011, 1, 7.57154339e-011, 1.08637574e-014, -7.57154339e-011, 1))
  565. mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  566. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  567. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.00242900848, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -4.25688862e-009, -1.37317173e-013, -4.25688862e-009, 0.999999702, -2.46562365e-007))
  568. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  569. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  570. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
  571. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  572. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
  573. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000484466553, -0.232157588, -1.08489037, -1.6391111e-007, -2.91180186e-007, -0.999989986, -0.999989986, 2.34624395e-007, 1.63911025e-007, 2.34622007e-007, 1, -2.91177315e-007))
  574. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  575. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  576. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007))
  577. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  578. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.812000036, 0.591600001))
  579. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000144004822, -7.46494102, -8.79764557e-005, 4.47029542e-008, 2.42425131e-007, 0.999980867, -2.50834205e-007, 1, -2.42420526e-007, -0.999980867, -2.5083898e-007, 4.47030146e-008))
  580. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  581. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  582. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  583. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939))
  584. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  585. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
  586. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  587. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  588. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.232713461, -1.89698601, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  589. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  590. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  591. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.174778461, -1.66498375, 9.53674316e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1))
  592. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
  593. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(1.04400003, 4.75600052, 0.200000003))
  594. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000287055969, -4.68094635, -3.14712524e-005, 0.999985695, 6.10369533e-011, -1.79689095e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689129e-014, -7.57438556e-011, 0.999985695))
  595. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  596. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  597. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  598. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961))
  599. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
  600. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642))
  601. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.798079908, 0.843320072, 0.58927989))
  602. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  603. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
  604. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  605. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  606. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007))
  607. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  608. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  609. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
  610. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  611. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  612. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
  613. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  614. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  615. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00553905964, -0.620464325, 0.00238800049, 0.999994755, 4.21545732e-009, 1.69303116e-013, -4.2154511e-009, 1, -2.46550314e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755))
  616. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  617. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  618. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007))
  619. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  620. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.812000036, 0.200000003, 0.579999983))
  621. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013))
  622. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.526639998, 1))
  623. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999))
  624. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.294445038, 1.4429245, 0.00253105164, 0.965925753, -0.258819014, 6.3815186e-008, 0.258819014, 0.965925753, -2.38160979e-007, -1.38366803e-013, 2.4656245e-007, 1))
  625. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  626. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  627. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.12079048, -0.461172104, -1.20904753e-008, -2.04617493e-007, -1, 0.70710665, 0.70710659, -1.53235618e-007, 0.70710659, -0.70710665, 1.36137132e-007))
  628. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  629. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  630. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  631. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876))
  632. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  633. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
  634. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  635. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  636. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.28609848, -1.26961899, 0.00253105164, 0.707106709, -0.707106769, 1.74346084e-007, 0.707106769, 0.707106709, -1.74345857e-007, -1.38366803e-013, 2.4656245e-007, 1))
  637. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  638. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
  639. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  640. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  641. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
  642. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  643. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  644. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  645. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  646. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  647. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  648. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  649. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  650. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007))
  651. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  652. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.200000003, 0.34799999))
  653. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000606894493, -1.54850197, -4.76837158e-006, 1, -2.34479103e-012, -1.42102626e-014, 2.34479103e-012, 1, -2.89901436e-012, 2.04982668e-014, 2.89901436e-012, 1))
  654. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  655. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  656. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  657. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.214599997, 0.428039998, 1.68895996))
  658. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  659. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.23126626, -1.89697075, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  660. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000222, 1, 1))
  661. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  662. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.859739304, -1.87621498, 0.00253105164, 0.70710659, 0.70710659, -1.74345828e-007, -0.70710659, 0.70710659, -1.74346027e-007, -1.38366803e-013, 2.4656245e-007, 1))
  663. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  664. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58202362, 0.00305497646, 0.00253105164, 1.91577065e-008, -1, 2.46562593e-007, 0.999994159, 1.91577474e-008, -8.742213e-008, 4.37109904e-008, 2.46561086e-007, 0.999994159))
  665. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  666. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  667. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013))
  668. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  669. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.44659999, 0.69599998, 0.371199995))
  670. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555098057, -1.02645874, 0.00238800049, 0.999994278, 4.2154551e-009, 1.69303035e-013, -4.21544888e-009, 0.999999523, -2.46550201e-007, -1.77448632e-013, 2.46551593e-007, 0.999994755))
  671. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  672. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  673. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -0.0024292469, 2.16260338, 1.38366803e-013, -2.4656245e-007, -1, -0.999999702, -6.38615347e-008, -1.22620908e-013, -6.38615347e-008, 0.999999702, -2.46562365e-007))
  674. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  675. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.200000003, 0.463999987, 0.34799999))
  676. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000650644302, -1.8385067, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  677. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  678. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.200000003, 4.75600052, 0.200000003))
  679. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000156164169, -4.68094444, -0.000274658203, 0.999971211, 5.13775689e-011, -1.44165397e-014, -5.13864507e-011, 1, 6.64499566e-011, 8.34828473e-015, -6.64783784e-011, 0.999971211))
  680. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000401, 1, 0.69599992))
  681. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  682. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
  683. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  684. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  685. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  686. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961))
  687. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  688. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  689. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  690. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  691. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, -1.15753412, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  692. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  693. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.200000003, 0.231999993, 0.200000003))
  694. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000268936157, -7.1749382, -0.000166773796, -2.98020346e-008, 2.42384317e-007, 0.999980867, -2.50883971e-007, 1, -2.42379713e-007, -0.999980867, -2.50888746e-007, -2.98019742e-008))
  695. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.698320508, 1.00999999, 0.590207934))
  696. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.44659999, 1.15999997, 0.371199995))
  697. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00572288036, 0.249307632, 0.00253105164, 0.999997973, 4.25688151e-009, 1.37316929e-013, -4.25688196e-009, 0.999998093, -2.46561967e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881))
  698. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  699. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  700. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00575697422, 1.22929001, 0.00253105164, 1, 4.25689928e-009, 1.49599246e-013, -4.25689928e-009, 1, -2.46565691e-007, -1.50648848e-013, 2.46565691e-007, 1))
  701. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  702. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  703. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11734962, -0.464616776, 4.62869565e-008, -2.3199955e-007, -1, 0.707106471, -0.70710659, 1.96778231e-007, -0.70710659, -0.707106471, 1.31318558e-007))
  704. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  705. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.579999983, 0.34799999))
  706. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.347447634, -1.78050041, 0.000102043152, 0.999989986, 6.10373974e-011, -1.79689739e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999989986))
  707. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  708. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  709. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.21653748, 2.8604393, 1.38366803e-013, -2.4656245e-007, -1, 0.707106769, 0.707106709, -1.74345857e-007, 0.707106709, -0.707106769, 1.74346084e-007))
  710. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  711. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  712. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  713. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.229680017, 0.249400035, 0.650759876))
  714. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
  715. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.872640967, -2.18717003, 0.00248718262, 1, 4.25688995e-009, 1.37317214e-013, -4.25688995e-009, 1, -2.4656245e-007, -1.38366803e-013, 2.4656245e-007, 1))
  716. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  717. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.91083908, -0.265031815, 1.38366803e-013, -2.4656245e-007, -1, -0.70710659, -0.707106471, 1.743458e-007, -0.707106471, 0.70710659, -1.74346027e-007))
  718. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  719. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  720. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -2.18717003, 1.162413, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  721. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.226199999, 0.379320025, 1.68895996))
  722. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1.50800002, 1.04400003))
  723. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.53131104e-005, -7.8129406, 0.00018453598, 4.47029258e-008, 2.42408902e-007, 0.999980867, -2.50858221e-007, 1, -2.42404298e-007, -0.999980867, -2.50863025e-007, 4.47029933e-008))
  724. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.581159949, 1, 1))
  725. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  726. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000666975975, -2.18694496, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  727. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  728. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -1.11735535, -1.77697182, 5.58765407e-008, -2.23627353e-007, -1, 0.707106352, -0.707106411, 1.97639011e-007, -0.707106411, -0.707106352, 1.18617642e-007))
  729. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  730. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  731. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.173270226, -1.66498375, 0.0001039505, 0.999997854, 6.10373974e-011, -1.7969128e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79691145e-014, -7.57154339e-011, 0.999997854))
  732. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
  733. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  734. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008))
  735. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0522000007, 0.293480009, 0.495319903))
  736. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  737. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.863862991, -1.87209129, 0.00253105164, 0.70710659, -0.70710659, 1.74346027e-007, 0.70710659, 0.70710659, -1.74345828e-007, -1.38366803e-013, 2.4656245e-007, 1))
  738. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  739. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, -0.577546716, 1.38366803e-013, -2.4656245e-007, -1, -3.40592123e-008, 0.999999821, -2.46562394e-007, 0.999999821, 3.40592123e-008, 1.29969047e-013))
  740. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  741. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  742. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
  743. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.187919989, 0.477920026, 1.68895996))
  744. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.580000043, 4.75600052, 0.200000003))
  745. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0001963377, -4.68094635, -9.53674316e-005, 0.999990404, 6.10373974e-011, -1.79689874e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57154339e-011, 0.999990404))
  746. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.638000011))
  747. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  748. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.28197098, -1.27374649, 0.00253105164, 0.707106709, 0.707106769, -1.74345885e-007, -0.707106769, 0.707106709, -1.74346056e-007, -1.38366803e-013, 2.4656245e-007, 1))
  749. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  750. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.116648793, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  751. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  752. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  753. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.58260727, 0.582428694, -3.71006301e-008, -2.2971102e-007, -1, 2.55454324e-008, 0.999999821, -2.29710963e-007, 0.999999821, -2.55454431e-008, -3.71006159e-008))
  754. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  755. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  756. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563848019, -0.388711929, 0.00253295898, 0.99999404, 4.25686464e-009, 1.37316401e-013, -4.25686508e-009, 0.999994159, -2.46561001e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881))
  757. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  758. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799999, 0.34799999, 0.200000003))
  759. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642))
  760. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 0.595080018, 0.683239937))
  761. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  762. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0605430603, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  763. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961))
  764. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.231999993, 0.34799999))
  765. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.347726822, -1.60689163, -9.05990601e-005, 0.99999994, 6.59379218e-011, -1.80878482e-014, -6.59667876e-011, 1, -5.95150595e-011, 2.41627922e-014, 5.94866378e-011, 0.99999994))
  766. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1))
  767. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  768. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, 1.1207962, -1.77352905, -1.94793994e-008, -1.96046472e-007, -1, 0.707106471, 0.707106292, -1.52399679e-007, 0.707106292, -0.707106471, 1.24851695e-007))
  769. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  770. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
  771. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.870689273, -2.18681908, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  772. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
  773. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000425338745, -0.231835961, -1.08489037, -4.08055101e-009, 2.02203083e-007, 0.99999994, 0.99999994, 2.42933169e-007, 4.08050749e-009, -2.42933169e-007, 1, -2.02203097e-007))
  774. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  775. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.812000036, 0.200000003, 0.812000036))
  776. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.58329773, -0.00251197815, 0.00270497799, 4.25687707e-009, -1, 2.46565747e-007, 1.65165096e-013, -2.46565747e-007, -1, 1, 4.25687707e-009, 1.64115493e-013))
  777. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.444280028, 1))
  778. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  779. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, -4.62282181, 0.00242900848, 1.38366803e-013, -2.4656245e-007, -1, -4.25688995e-009, 1, -2.4656245e-007, 1, 4.25688995e-009, 1.37317214e-013))
  780. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 0.723839939))
  781. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  782. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00563395023, 0.887273788, 0.00253295898, 0.999990106, 4.25684776e-009, 1.37315859e-013, -4.25684821e-009, 0.999990225, -2.46560035e-007, -1.38366789e-013, 2.46562422e-007, 0.999999881))
  783. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  784. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  785. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.348541379, -1.89650154, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  786. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  787. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
  788. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.58329582, -0.00271689892, 0.00253105164, -7.87626959e-008, 0.999999642, -2.45072926e-007, -0.999999464, 8.51500772e-008, -4.54507015e-010, 1.08588507e-008, 2.02850984e-007, 0.999999642))
  789. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.835199952, 0.808520079, 0.58927989))
  790. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  791. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00555217266, -1.43245697, 0.00238800049, 0.999993682, 4.21545243e-009, 1.69302926e-013, -4.21544666e-009, 0.999998927, -2.46550059e-007, -1.77448618e-013, 2.46551593e-007, 0.999994755))
  792. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  793. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  794. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.115347862, -1.89650726, 0.000104904175, 0.999990463, 6.10373974e-011, -1.79689993e-014, -6.10378414e-011, 1, 7.57154339e-011, 1.79689976e-014, -7.57438556e-011, 0.999990463))
  795. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  796. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  797. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  798. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.190239996, 0.25752002, 2.79675961))
  799. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999))
  800. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300365448, 1.44133759, 0.00253105164, 0.965925753, 0.258819014, -6.3814916e-008, -0.258819014, 0.965925753, -2.38161064e-007, -1.38366803e-013, 2.4656245e-007, 1))
  801. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  802.  
  803. local Lite = it("PointLight",Torso)
  804. Lite.Color = Color3.new(255, 255, 0)
  805. Lite.Range = 8
  806. Lite.Brightness = 10
  807. Lite.Shadows = true
  808.  
  809. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  810. local prt=part("Custom",workspace,"Neon",0,0,"Bright orange","Effect",vt(0.5,0.5,0.5))
  811. prt.Anchored=true
  812. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  813. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  814. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  815. CF=Part.CFrame
  816. Numbb=0
  817. randnumb=math.random()-math.random()
  818. for i=0,1,0.05 do
  819. wait()
  820. CF=CF*cf(0,1,0)
  821. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  822. Part.CFrame=CF*euler(Numbb,0,0)
  823. Part.Transparency=i
  824. Numbb=Numbb+randnumb
  825. end
  826. Part.Parent=nil
  827. end),prt)
  828. end
  829. --BreakEffect(BrickColor.new("Bright orange"),Hitbox.CFrame,0.5,math.random(5,20),0.5)
  830.  
  831. function attackone()
  832. attack=true
  833. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  834. for i=0,1,0.1 do
  835. swait()
  836. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  837. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  838. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  839. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  840. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  841. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  842. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  843. end
  844. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  845. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  846. hitconasdf = Hitbox.Touched:connect(function(hit)
  847. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  848. if hum12 and not hum12:IsDescendantOf(Character) then
  849. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  850. for i = 1,10 do
  851. BreakEffect(BrickColor.new("Bright orange"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  852. end
  853. hitconasdf:disconnect()
  854. end
  855. end)
  856. for i=0,1,0.1 do
  857. swait()
  858. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  859. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  860. local h = 5
  861. 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)
  862. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  863. 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)
  864. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  865. scfr = blcf
  866. elseif not scfr then
  867. scfr = blcf
  868. end
  869. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  870. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  871. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  872. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  873. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  874. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  875. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  876. end
  877. attack=false
  878. con:disconnect()
  879. scfr = nil
  880. pcall(function()
  881. hitconasdf:disconnect()
  882. end)
  883. end
  884.  
  885. function attacktwo()
  886. attack=true
  887. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  888. for i=0,1,0.1 do
  889. swait()
  890. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  891. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  892. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  893. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  894. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  895. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  896. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  897. end
  898. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  899. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  900. hitconasdf = Hitbox.Touched:connect(function(hit)
  901. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  902. if hum12 and not hum12:IsDescendantOf(Character) then
  903. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  904. for i = 1,10 do
  905. BreakEffect(BrickColor.new("Bright orange"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  906. end
  907. hitconasdf:disconnect()
  908. end
  909. end)
  910. for i=0,1,0.1 do
  911. swait()
  912. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  913. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  914. local h = 5
  915. 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)
  916. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  917. 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)
  918. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  919. scfr = blcf
  920. elseif not scfr then
  921. scfr = blcf
  922. end
  923. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  924. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  925. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  926. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  927. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  928. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  929. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  930. end
  931. attack=false
  932. con:disconnect()
  933. scfr = nil
  934. pcall(function()
  935. hitconasdf:disconnect()
  936. end)
  937. end
  938.  
  939. function Stab()
  940. attack=true
  941. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  942. for i=0,1,0.1 do
  943. swait()
  944. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  945. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(60)),.3)
  946. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(90)),.3)
  947. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-90)),.3)
  948. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  949. RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  950. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  951. end
  952. hitconasdf = Hitbox.Touched:connect(function(hit)
  953. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  954. if hum12 and not hum12:IsDescendantOf(Character) then
  955. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  956. for i = 1,10 do
  957. BreakEffect(BrickColor.new("Bright orange"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  958. end
  959. hitconasdf:disconnect()
  960. end
  961. end)
  962. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  963. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  964. for i=0,1,0.1 do
  965. swait()
  966. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  967. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  968. local h = 5
  969. 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)
  970. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  971. 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)
  972. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  973. scfr = blcf
  974. elseif not scfr then
  975. scfr = blcf
  976. end
  977. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  978. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-80)),.4)
  979. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  980. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.4)
  981. LH.C0=clerp(LH.C0,cf(-1,-.9,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  982. RH.C0=clerp(RH.C0,cf(1,-.9,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  983. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4)
  984. end
  985. con:disconnect()
  986. attack=false
  987. scfr = nil
  988. pcall(function()
  989. hitconasdf:disconnect()
  990. end)
  991. end
  992.  
  993. function Spin()
  994. attack=true
  995. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  996. hitconasdf = Hitbox.Touched:connect(function(hit)
  997. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  998. if hum12 and not hum12:IsDescendantOf(Character) then
  999. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1000. for i = 1,10 do
  1001. BreakEffect(BrickColor.new("Bright orange"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1002. end
  1003. hitconasdf:disconnect()
  1004. end
  1005. end)
  1006. for i=0,1,1 do
  1007. so("http://roblox.com/asset/?id=154965962",Hitbox,1,1)
  1008. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  1009. swait()
  1010. for i=0,1,0.1 do
  1011. swait()
  1012. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1013. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1014. local h = 5
  1015. 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)
  1016. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1017. 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)
  1018. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1019. scfr = blcf
  1020. elseif not scfr then
  1021. scfr = blcf
  1022. end
  1023. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
  1024. LW.C0=clerp(LW.C0,cf(-1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
  1025. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
  1026. RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3)
  1027. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(6*i,0,0),.5)
  1028. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),1)
  1029. end
  1030. end
  1031. attack=false
  1032. con:disconnect()
  1033. scfr = nil
  1034. pcall(function()
  1035. hitconasdf:disconnect()
  1036. end)
  1037. end
  1038.  
  1039. function ContAttack()
  1040. attack=true
  1041. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1042. hitconasdf = Hitbox.Touched:connect(function(hit)
  1043. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1044. if hum12 and not hum12:IsDescendantOf(Character) then
  1045. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1046. for i = 1,10 do
  1047. BreakEffect(BrickColor.new("Bright orange"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1048. end
  1049. hitconasdf:disconnect()
  1050. end
  1051. end)
  1052. for i=1,4 do
  1053. swait()
  1054. for i=0,1,0.2 do
  1055. swait()
  1056. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  1057. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1058. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1059. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1060. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  1061. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1062. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1063. end
  1064. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  1065. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  1066. for i=0,1,0.2 do
  1067. swait()
  1068. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1069. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1070. local h = 5
  1071. 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)
  1072. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1073. 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)
  1074. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1075. scfr = blcf
  1076. elseif not scfr then
  1077. scfr = blcf
  1078. end
  1079. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  1080. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1081. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1082. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1083. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  1084. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1085. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1086. end
  1087. for i=0,1,0.2 do
  1088. swait()
  1089. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  1090. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1091. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1092. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1093. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  1094. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  1095. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1096. end
  1097. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  1098. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  1099. for i=0,1,0.2 do
  1100. swait()
  1101. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1102. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1103. local h = 5
  1104. 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)
  1105. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1106. 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)
  1107. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1108. scfr = blcf
  1109. elseif not scfr then
  1110. scfr = blcf
  1111. end
  1112. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  1113. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1114. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1115. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1116. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  1117. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1118. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1119. end
  1120. end
  1121. attack=false
  1122. con:disconnect()
  1123. scfr = nil
  1124. pcall(function()
  1125. hitconasdf:disconnect()
  1126. end)
  1127. end
  1128.  
  1129.  
  1130. function Sheathe()
  1131. attack = true
  1132. so("http://www.roblox.com/asset/?id=273797222",Hitbox,1,.9)
  1133. CurrentMode = "Sheathed"
  1134. for i = 0,1,0.1 do
  1135. swait()
  1136. handleweld.Part0 = Torso
  1137. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1138. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
  1139. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3)
  1140. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  1141. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1142. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1143. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1144. end
  1145. attack = false
  1146. end
  1147.  
  1148. function Unsheathe()
  1149. attack = true
  1150. CurrentMode = "Unsheathed"
  1151. so("http://www.roblox.com/asset/?id=239169404",Hitbox,1,.9)
  1152. for i = 0,1,0.1 do
  1153. swait()
  1154. handleweld.Part0 = RightArm
  1155. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1156. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1157. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(200),math.rad(0),math.rad(0)),.3)
  1158. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(-30),math.rad(-30)),.3)
  1159. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1160. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1161. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1162. end
  1163. scfr = nil
  1164. attack = false
  1165. end
  1166.  
  1167. local Sit = false
  1168.  
  1169. mouse.Button1Down:connect(function()
  1170. if attack==false then
  1171. if attacktype==1 and CurrentMode == "Unsheathed" then
  1172. attack=true
  1173. attacktype=2
  1174. attackone()
  1175. elseif attacktype==2 and CurrentMode == "Unsheathed" then
  1176. attack=true
  1177. attacktype=1
  1178. attacktwo()
  1179. end
  1180. end
  1181. end)
  1182.  
  1183.  
  1184. mouse.KeyDown:connect(function(k)
  1185. k=k:lower()
  1186. if k=='q' then
  1187. if attack==false and CurrentMode == "Unsheathed" then
  1188. Stab()
  1189. end
  1190. elseif k=='e' then
  1191. if attack==false and CurrentMode == "Unsheathed" then
  1192. Spin()
  1193. end
  1194. elseif k=='r' then
  1195. if attack==false and CurrentMode == "Unsheathed" then
  1196. ContAttack()
  1197. end
  1198. elseif k=='f' then
  1199. if attack==false and CurrentMode == "Unsheathed" then
  1200. Sheathe()
  1201. elseif k=='f' then
  1202. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1203. Unsheathe()
  1204. end
  1205. end
  1206. elseif k=='t' then
  1207. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1208. Sit = true
  1209. Humanoid.WalkSpeed = 0
  1210. elseif k=='t' then
  1211. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  1212. Sit = false
  1213. Humanoid.WalkSpeed = 16
  1214. end
  1215. end
  1216.  
  1217. end
  1218. end)
  1219.  
  1220.  
  1221. local sine = 0
  1222. local change = 1
  1223. local val = 0
  1224.  
  1225. while true do
  1226. swait()
  1227. sine = sine + change
  1228. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1229. local velderp=RootPart.Velocity.y
  1230. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1231. if equipped==true or equipped==false then
  1232. if attack==false then
  1233. idle=idle+1
  1234. else
  1235. idle=0
  1236. end
  1237. if idle>=500 then
  1238. if attack==false then
  1239. end
  1240. end
  1241. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1242. Anim="Jump"
  1243. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1244. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1245. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1246. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(50),math.rad(0),math.rad(30)),.3)
  1247. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1248. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1249. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  1250. end
  1251. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1252. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1253. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1254. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3)
  1255. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1256. LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1257. RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1258. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1259. end
  1260. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1261. Anim="Fall"
  1262. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1263. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1264. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1265. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  1266. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-40),math.rad(5),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1267. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1268. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  1269. end
  1270. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1271. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1272. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1273. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3)
  1274. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1275. LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1276. RH.C0=clerp(RH.C0,cf(1,-1,-.5)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1277. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1278. end
  1279. elseif torvel<1 and hitfloor~=nil then
  1280. Anim="Idle"
  1281. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1282. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1283. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(40)),.3)
  1284. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(40),math.rad(0),math.rad(20)),.3)
  1285. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  1286. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1287. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1288. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  1289. end
  1290. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1291. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1292. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3)
  1293. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3)
  1294. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3)
  1295. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1296. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1297. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1298. end
  1299. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  1300. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1301. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1302. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(0),math.rad(5)),.3)
  1303. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(30)),.3)
  1304. LH.C0=clerp(LH.C0,cf(-1,.7,-.5)*angles(math.rad(0),math.rad(-90),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1305. RH.C0=clerp(RH.C0,cf(1,-.5,-.5)*angles(math.rad(0),math.rad(90),math.rad(70))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1306. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1307. end
  1308. elseif torvel>2 and hitfloor~=nil then
  1309. Anim="Walk"
  1310. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1311. change=3
  1312. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1313. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1314. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  1315. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30),math.rad(5),math.rad(-10)),.3)
  1316. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1317. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1318. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(15),math.rad(-10),math.rad(0)),.3)
  1319. end
  1320. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1321. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1322. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1323. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(30*math.cos(sine/10)),math.rad(0),math.rad(5)),.3)
  1324. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30*math.cos(sine/10)),math.rad(0),math.rad(-5)),.3)
  1325. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1326. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1327. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1328. end
  1329. end
  1330. end
  1331. if #Effects>0 then
  1332. for e=1,#Effects do
  1333. if Effects[e]~=nil then
  1334. local Thing=Effects[e]
  1335. if Thing~=nil then
  1336. local Part=Thing[1]
  1337. local Mode=Thing[2]
  1338. local Delay=Thing[3]
  1339. local IncX=Thing[4]
  1340. local IncY=Thing[5]
  1341. local IncZ=Thing[6]
  1342. if Thing[1].Transparency<=1 then
  1343. if Thing[2]=="Block1" then
  1344. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1345. Mesh=Thing[1].Mesh
  1346. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1347. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1348. elseif Thing[2]=="Cylinder" then
  1349. Mesh=Thing[1].Mesh
  1350. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1351. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1352. elseif Thing[2]=="Blood" then
  1353. Mesh=Thing[7]
  1354. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1355. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1356. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1357. elseif Thing[2]=="Elec" then
  1358. Mesh=Thing[1].Mesh
  1359. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1360. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1361. elseif Thing[2]=="Disappear" then
  1362. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1363. end
  1364. else
  1365. Part.Parent=nil
  1366. table.remove(Effects,e)
  1367. end
  1368. end
  1369. end
  1370. end
  1371. end
  1372. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement