Advertisement
Guest User

Orange Demon

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