Usersama ARTEMIS


SUBMITTED BY: P2NP

DATE: May 9, 2017, 1:08 a.m.

UPDATED: May 9, 2017, 1:09 a.m.

FORMAT: Text only

SIZE: 48.9 kB

HITS: 954

  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. m=Instance.new('Model',Character)
  9. LeftArm=Character["Left Arm"]
  10. LeftLeg=Character["Left Leg"]
  11. RightArm=Character["Right Arm"]
  12. RightLeg=Character["Right Leg"]
  13. LS=Torso["Left Shoulder"]
  14. LH=Torso["Left Hip"]
  15. RS=Torso["Right Shoulder"]
  16. RH=Torso["Right Hip"]
  17. Face = Head.face
  18. Neck=Torso.Neck
  19. it=Instance.new
  20. attacktype=1
  21. vt=Vector3.new
  22. cf=CFrame.new
  23. euler=CFrame.fromEulerAnglesXYZ
  24. angles=CFrame.Angles
  25. cloaked=false
  26. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  28. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  29. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  30. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  32. RootPart=Character.HumanoidRootPart
  33. RootJoint=RootPart.RootJoint
  34. RootCF=euler(-1.57,0,3.14)
  35. attack = false
  36. attackdebounce = false
  37. deb=false
  38. equipped=true
  39. hand=false
  40. MMouse=nil
  41. combo=0
  42. mana=0
  43. trispeed=.2
  44. attackmode='none'
  45. local idle=0
  46. local Anim="Idle"
  47. local Effects={}
  48. local gun=false
  49. local shoot=false
  50. player=nil
  51. mana=0
  52. mouse=Player:GetMouse()
  53. --save shoulders
  54. RSH, LSH=nil, nil
  55. --welds
  56. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  57. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  58. LH=Torso["Left Hip"]
  59. RH=Torso["Right Hip"]
  60. TorsoColor=Torso.BrickColor
  61. function NoOutline(Part)
  62. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  63. end
  64. player=Player
  65. ch=Character
  66. RSH=ch.Torso["Right Shoulder"]
  67. LSH=ch.Torso["Left Shoulder"]
  68. --
  69. RSH.Parent=nil
  70. LSH.Parent=nil
  71. --
  72. RW.Name="Right Shoulder"
  73. RW.Part0=ch.Torso
  74. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  75. RW.C1=cf(0, 0.5, 0)
  76. RW.Part1=ch["Right Arm"]
  77. RW.Parent=ch.Torso
  78. --
  79. LW.Name="Left Shoulder"
  80. LW.Part0=ch.Torso
  81. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  82. LW.C1=cf(0, 0.5, 0)
  83. LW.Part1=ch["Left Arm"]
  84. LW.Parent=ch.Torso
  85. Player=game:GetService('Players').LocalPlayer
  86. Character=Player.Character
  87. Mouse=Player:GetMouse()
  88. m=Instance.new('Model',Character)
  89. local function weldBetween(a, b)
  90. local weldd = Instance.new("ManualWeld")
  91. weldd.Part0 = a
  92. weldd.Part1 = b
  93. weldd.C0 = CFrame.new()
  94. weldd.C1 = b.CFrame:inverse() * a.CFrame
  95. weldd.Parent = a
  96. return weldd
  97. end
  98. function swait(num)
  99. if num==0 or num==nil then
  100. game:service'RunService'.Stepped:wait(0)
  101. else
  102. for i=0,num do
  103. game:service'RunService'.Stepped:wait(0)
  104. end
  105. end
  106. end
  107. function nooutline(part)
  108. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  109. end
  110. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  111. local fp=it("Part")
  112. fp.formFactor=formfactor
  113. fp.Parent=parent
  114. fp.Reflectance=reflectance
  115. fp.Transparency=transparency
  116. fp.CanCollide=false
  117. fp.Locked=true
  118. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  119. fp.Name=name
  120. fp.Size=size
  121. fp.Position=Character.Torso.Position
  122. nooutline(fp)
  123. fp.Material=material
  124. fp:BreakJoints()
  125. return fp
  126. end
  127. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  128. local mesh=it(Mesh)
  129. mesh.Parent=part
  130. if Mesh=="SpecialMesh" then
  131. mesh.MeshType=meshtype
  132. mesh.MeshId=meshid
  133. end
  134. mesh.Offset=offset
  135. mesh.Scale=scale
  136. return mesh
  137. end
  138. function weld(parent,part0,part1,c0,c1)
  139. local weld=it("Weld")
  140. weld.Parent=parent
  141. weld.Part0=part0
  142. weld.Part1=part1
  143. weld.C0=c0
  144. weld.C1=c1
  145. return weld
  146. end
  147. local function CFrameFromTopBack(at, top, back)
  148. local right = top:Cross(back)
  149. return CFrame.new(at.x, at.y, at.z,
  150. right.x, top.x, back.x,
  151. right.y, top.y, back.y,
  152. right.z, top.z, back.z)
  153. end
  154. function Triangle(a, b, c)
  155. local edg1 = (c-a):Dot((b-a).unit)
  156. local edg2 = (a-b):Dot((c-b).unit)
  157. local edg3 = (b-c):Dot((a-c).unit)
  158. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  159. a, b, c = a, b, c
  160. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  161. a, b, c = b, c, a
  162. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  163. a, b, c = c, a, b
  164. else
  165. assert(false, "unreachable")
  166. end
  167. local len1 = (c-a):Dot((b-a).unit)
  168. local len2 = (b-a).magnitude - len1
  169. local width = (a + (b-a).unit*len1 - c).magnitude
  170. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  171. local list = {}
  172. local TrailColor = ("Dark grey")
  173. if len1 > 0.01 then
  174. local w1 = Instance.new('WedgePart', m)
  175. game:GetService("Debris"):AddItem(w1,5)
  176. w1.Material = "SmoothPlastic"
  177. w1.FormFactor = 'Custom'
  178. w1.BrickColor = BrickColor.new(TrailColor)
  179. w1.Transparency = 0
  180. w1.Reflectance = 0
  181. w1.Material = "SmoothPlastic"
  182. w1.CanCollide = false
  183. NoOutline(w1)
  184. local sz = Vector3.new(0.2, width, len1)
  185. w1.Size = sz
  186. local sp = Instance.new("SpecialMesh",w1)
  187. sp.MeshType = "Wedge"
  188. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  189. w1:BreakJoints()
  190. w1.Anchored = true
  191. w1.Parent = workspace
  192. w1.Transparency = 0.7
  193. table.insert(Effects,{w1,"Disappear",.01})
  194. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  195. table.insert(list,w1)
  196. end
  197. if len2 > 0.01 then
  198. local w2 = Instance.new('WedgePart', m)
  199. game:GetService("Debris"):AddItem(w2,5)
  200. w2.Material = "SmoothPlastic"
  201. w2.FormFactor = 'Custom'
  202. w2.BrickColor = BrickColor.new(TrailColor)
  203. w2.Transparency = 0
  204. w2.Reflectance = 0
  205. w2.Material = "SmoothPlastic"
  206. w2.CanCollide = false
  207. NoOutline(w2)
  208. local sz = Vector3.new(0.2, width, len2)
  209. w2.Size = sz
  210. local sp = Instance.new("SpecialMesh",w2)
  211. sp.MeshType = "Wedge"
  212. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  213. w2:BreakJoints()
  214. w2.Anchored = true
  215. w2.Parent = workspace
  216. w2.Transparency = 0.7
  217. table.insert(Effects,{w2,"Disappear",.01})
  218. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  219. table.insert(list,w2)
  220. end
  221. return unpack(list)
  222. end
  223. so = function(id,par,vol,pit)
  224. coroutine.resume(coroutine.create(function()
  225. local sou = Instance.new("Sound",par or workspace)
  226. sou.Volume=vol
  227. sou.Pitch=pit or 1
  228. sou.SoundId=id
  229. swait()
  230. sou:play()
  231. game:GetService("Debris"):AddItem(sou,6)
  232. end))
  233. end
  234. function clerp(a,b,t)
  235. local qa = {QuaternionFromCFrame(a)}
  236. local qb = {QuaternionFromCFrame(b)}
  237. local ax, ay, az = a.x, a.y, a.z
  238. local bx, by, bz = b.x, b.y, b.z
  239. local _t = 1-t
  240. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  241. end
  242. function QuaternionFromCFrame(cf)
  243. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  244. local trace = m00 + m11 + m22
  245. if trace > 0 then
  246. local s = math.sqrt(1 + trace)
  247. local recip = 0.5/s
  248. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  249. else
  250. local i = 0
  251. if m11 > m00 then
  252. i = 1
  253. end
  254. if m22 > (i == 0 and m00 or m11) then
  255. i = 2
  256. end
  257. if i == 0 then
  258. local s = math.sqrt(m00-m11-m22+1)
  259. local recip = 0.5/s
  260. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  261. elseif i == 1 then
  262. local s = math.sqrt(m11-m22-m00+1)
  263. local recip = 0.5/s
  264. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  265. elseif i == 2 then
  266. local s = math.sqrt(m22-m00-m11+1)
  267. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  268. end
  269. end
  270. end
  271. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  272. local xs, ys, zs = x + x, y + y, z + z
  273. local wx, wy, wz = w*xs, w*ys, w*zs
  274. local xx = x*xs
  275. local xy = x*ys
  276. local xz = x*zs
  277. local yy = y*ys
  278. local yz = y*zs
  279. local zz = z*zs
  280. 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))
  281. end
  282. function QuaternionSlerp(a, b, t)
  283. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  284. local startInterp, finishInterp;
  285. if cosTheta >= 0.0001 then
  286. if (1 - cosTheta) > 0.0001 then
  287. local theta = math.acos(cosTheta)
  288. local invSinTheta = 1/math.sin(theta)
  289. startInterp = math.sin((1-t)*theta)*invSinTheta
  290. finishInterp = math.sin(t*theta)*invSinTheta
  291. else
  292. startInterp = 1-t
  293. finishInterp = t
  294. end
  295. else
  296. if (1+cosTheta) > 0.0001 then
  297. local theta = math.acos(-cosTheta)
  298. local invSinTheta = 1/math.sin(theta)
  299. startInterp = math.sin((t-1)*theta)*invSinTheta
  300. finishInterp = math.sin(t*theta)*invSinTheta
  301. else
  302. startInterp = t-1
  303. finishInterp = t
  304. end
  305. end
  306. 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
  307. end
  308. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  309. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  310. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  311. end
  312. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  313. if hit.Parent==nil then
  314. return
  315. end
  316. h=hit.Parent:FindFirstChild("Humanoid")
  317. for _,v in pairs(hit.Parent:children()) do
  318. if v:IsA("Humanoid") then
  319. h=v
  320. end
  321. end
  322. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  323. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  324. end
  325. if hit.Parent.className=="Hat" then
  326. hit=hit.Parent.Parent:findFirstChild("Head")
  327. end
  328. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  329. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  330. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  331. return
  332. end]]
  333. -- hs(hit,1.2)
  334. c=Instance.new("ObjectValue")
  335. c.Name="creator"
  336. c.Value=game:service("Players").LocalPlayer
  337. c.Parent=h
  338. game:GetService("Debris"):AddItem(c,.5)
  339. Damage=math.random(minim,maxim)
  340. -- h:TakeDamage(Damage)
  341. blocked=false
  342. block=hit.Parent:findFirstChild("Block")
  343. if block~=nil then
  344. print(block.className)
  345. if block.className=="NumberValue" then
  346. if block.Value>0 then
  347. blocked=true
  348. if decreaseblock==nil then
  349. block.Value=block.Value-1
  350. end
  351. end
  352. end
  353. if block.className=="IntValue" then
  354. if block.Value>0 then
  355. blocked=true
  356. if decreaseblock~=nil then
  357. block.Value=block.Value-1
  358. end
  359. end
  360. end
  361. end
  362. if blocked==false then
  363. -- h:TakeDamage(Damage)
  364. h.Health=h.Health-Damage
  365. showDamage(hit.Parent,Damage,.5,BrickColor.new("Bright red"))
  366. else
  367. h.Health=h.Health-(Damage/2)
  368. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  369. end
  370. if Type=="Knockdown" then
  371. hum=hit.Parent.Humanoid
  372. hum.PlatformStand=true
  373. coroutine.resume(coroutine.create(function(HHumanoid)
  374. swait(1)
  375. HHumanoid.PlatformStand=false
  376. end),hum)
  377. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  378. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  379. local bodvol=Instance.new("BodyVelocity")
  380. bodvol.velocity=angle*knockback
  381. bodvol.P=5000
  382. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  383. bodvol.Parent=hit
  384. rl=Instance.new("BodyAngularVelocity")
  385. rl.P=3000
  386. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  387. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  388. rl.Parent=hit
  389. game:GetService("Debris"):AddItem(bodvol,.5)
  390. game:GetService("Debris"):AddItem(rl,.5)
  391. elseif Type=="Normal" then
  392. vp=Instance.new("BodyVelocity")
  393. vp.P=500
  394. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  395. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  396. if KnockbackType==1 then
  397. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  398. elseif KnockbackType==2 then
  399. vp.velocity=Property.CFrame.lookVector*knockback
  400. end
  401. if knockback>0 then
  402. vp.Parent=hit.Parent.Torso
  403. end
  404. game:GetService("Debris"):AddItem(vp,.5)
  405. elseif Type=="Up" then
  406. local bodyVelocity=Instance.new("BodyVelocity")
  407. bodyVelocity.velocity=vt(0,60,0)
  408. bodyVelocity.P=5000
  409. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  410. bodyVelocity.Parent=hit
  411. game:GetService("Debris"):AddItem(bodyVelocity,1)
  412. rl=Instance.new("BodyAngularVelocity")
  413. rl.P=3000
  414. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  415. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  416. rl.Parent=hit
  417. game:GetService("Debris"):AddItem(rl,.5)
  418. elseif Type=="Snare" then
  419. bp=Instance.new("BodyPosition")
  420. bp.P=2000
  421. bp.D=100
  422. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  423. bp.position=hit.Parent.Torso.Position
  424. bp.Parent=hit.Parent.Torso
  425. game:GetService("Debris"):AddItem(bp,1)
  426. elseif Type=="Target" then
  427. if Targetting==false then
  428. ZTarget=hit.Parent.Torso
  429. coroutine.resume(coroutine.create(function(Part)
  430. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  431. swait(5)
  432. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  433. end),ZTarget)
  434. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  435. targetgui=Instance.new("BillboardGui")
  436. targetgui.Parent=ZTarget
  437. targetgui.Size=UDim2.new(10,100,10,100)
  438. targ=Instance.new("ImageLabel")
  439. targ.Parent=targetgui
  440. targ.BackgroundTransparency=1
  441. targ.Image="rbxassetid://4834067"
  442. targ.Size=UDim2.new(1,0,1,0)
  443. cam.CameraType="Scriptable"
  444. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  445. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  446. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  447. Targetting=true
  448. RocketTarget=ZTarget
  449. for i=1,Property do
  450. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  451. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  452. swait()
  453. end
  454. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  455. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  456. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  457. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  458. end
  459. Targetting=false
  460. RocketTarget=nil
  461. targetgui.Parent=nil
  462. cam.CameraType="Custom"
  463. end
  464. end
  465. debounce=Instance.new("BoolValue")
  466. debounce.Name="DebounceHit"
  467. debounce.Parent=hit.Parent
  468. debounce.Value=true
  469. game:GetService("Debris"):AddItem(debounce,Delay)
  470. c=Instance.new("ObjectValue")
  471. c.Name="creator"
  472. c.Value=Player
  473. c.Parent=h
  474. game:GetService("Debris"):AddItem(c,.5)
  475. CRIT=false
  476. hitDeb=true
  477. AttackPos=6
  478. end
  479. end
  480. showDamage=function(Char,Dealt,du,Color)
  481. m=Instance.new("Model")
  482. m.Name=tostring(Dealt)
  483. h=Instance.new("Humanoid")
  484. h.Health=0
  485. h.MaxHealth=0
  486. h.Parent=m
  487. c=Instance.new("Part")
  488. c.Transparency=0
  489. c.BrickColor=Color
  490. c.Name="Head"
  491. c.TopSurface=0
  492. c.BottomSurface=0
  493. c.formFactor="Plate"
  494. c.Size=Vector3.new(1,.4,1)
  495. ms=Instance.new("CylinderMesh")
  496. ms.Scale=Vector3.new(.8,.8,.8)
  497. if CRIT==true then
  498. ms.Scale=Vector3.new(1,1.25,1)
  499. end
  500. ms.Parent=c
  501. c.Reflectance=0
  502. Instance.new("BodyGyro").Parent=c
  503. c.Parent=m
  504. if Char:findFirstChild("Head")~=nil then
  505. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  506. elseif Char.Parent:findFirstChild("Head")~=nil then
  507. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  508. end
  509. f=Instance.new("BodyPosition")
  510. f.P=2000
  511. f.D=100
  512. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  513. f.position=c.Position+Vector3.new(0,3,0)
  514. f.Parent=c
  515. game:GetService("Debris"):AddItem(m,.5+du)
  516. c.CanCollide=false
  517. m.Parent=workspace
  518. c.CanCollide=false
  519. end
  520. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.10000000149012,0,"Really black","Handle",Vector3.new(0.369804025, 1.84901965, 0.369803846))
  521. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.900197744, -0.0494179726, 0.0825119019, 0, -0.999993443, 0, 0, 0, -1, 1, 0, 0))
  522. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  523. FlamePrt1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really red","FlamePrt1",Vector3.new(0.208559111, 2.58862758, 0.208559081))
  524. FlamePrt1weld=weld(m,handle,FlamePrt1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.462256908, -3.14333391, 0.00839996338, 0.999986649, 0, 0, 0, 1, 0, 0, 0, 0.999999762))
  525. mesh("BlockMesh",FlamePrt1,"","",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 1, 0.0531941466))
  526. FlamePrt2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really red","FlamePrt2",Vector3.new(0.369804025, 4.43764687, 0.208559081))
  527. FlamePrt2weld=weld(m,handle,FlamePrt2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.369809985, -3.69803858, 0.00839996338, 0.999986768, 0, 0, 0, 1, 0, 0, 0, 0.999999881))
  528. mesh("BlockMesh",FlamePrt2,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.0531941466))
  529. FlamePrt3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really red","FlamePrt3",Vector3.new(0.208559111, 1.10941172, 1.66411757))
  530. FlamePrt3weld=weld(m,handle,FlamePrt3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00842285156, -0.00544404984, 6.74883699, 5.96038632e-008, 1.43051147e-006, -0.999993443, 0.999986053, 1.49011612e-007, -1.49011612e-008, 2.08613457e-007, -0.999993384, -1.43051147e-006))
  531. mesh("SpecialMesh",FlamePrt3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.0691523701, 0.991999984, 1))
  532. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"Dark stone grey","Hitbox",Vector3.new(1.4792161, 5.73196125, 0.208559081))
  533. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.29153442e-006, -4.34519243, 0.00839996338, 0.999986887, 0, 0, 0, 1, 0, 0, 0, 1))
  534. mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.886568666))
  535. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.10000000149012,0,"Really red","Part",Vector3.new(0.369804025, 0.208559081, 0.369803846))
  536. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.1920929e-005, -1.01696682, 0, 0.999986887, 0, 0, 0, 1, 0, 0, 0, 1))
  537. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.886568725, 1))
  538. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Dark stone grey","Part",Vector3.new(0.208559111, 0.369803935, 0.208559081))
  539. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.46224308, -1.66419077, 0.00839996338, 0.99998641, 0, 0, 0, 1, 0, 0, 0, 0.999999523))
  540. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 1, 0.886568666))
  541. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.554706097, 0.369803965, 0.369803905))
  542. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.5717473, 1.1920929e-005, 0, -7.45048254e-008, 0.999999642, 1.4894308e-009, -0.999986351, 8.94069672e-008, -4.54347671e-010, 1.08588472e-008, -4.37113847e-008, 0.999999642))
  543. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.667496145, 0.698929608, 2.30387807))
  544. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.208559111, 0.208559081, 0.208559081))
  545. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.08479548, 0.00839996338, 0.277337313, 0, 1, 0, 0, 0, 1, 0.999986887, 0, 0))
  546. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 0.914938867, 0.365266263))
  547. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.208559111, 0.208559081, 0.208559081))
  548. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.53009844, 0.00841522217, 0.46224308, 0, 1, 0, 0, 0, 0.999999523, 0.99998641, 0, 0))
  549. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 0.914938867, 0.365266263))
  550. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,0,"Dark stone grey","Part",Vector3.new(0.369804025, 0.208559081, 0.369803905))
  551. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.38683319, 0.554719806, 1.3857898e-006, 1.48921329e-008, -0.999993563, 1.89679866e-007, -0.999999106, -1.19201033e-007, -0.99998045, -1.89682282e-007, -1.38580799e-006))
  552. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.886568725, 1))
  553. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,0,"Dark stone grey","Part",Vector3.new(0.369804025, 0.208559081, 0.369803905))
  554. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.38683271, 0.554696321, -1.43049272e-006, -7.13816206e-008, 0.999993443, -2.16640629e-007, -0.999999106, 3.29267564e-008, 0.99998033, -2.16643343e-007, 1.43051147e-006))
  555. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.886568725, 1))
  556. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Dark stone grey","Part",Vector3.new(0.208559111, 0.208559081, 0.208559081))
  557. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00839233398, -0.46224308, 1.94153357, -7.13805832e-008, 1.43051147e-006, 0.999993443, -0.999986053, 1.49011612e-007, 3.29267564e-008, -2.08613528e-007, -0.999993384, 1.43051147e-006))
  558. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 0.886568725, 0.886568666))
  559. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Dark stone grey","Part",Vector3.new(0.554706097, 4.43764687, 0.208559081))
  560. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0924448967, -3.69803858, 0.00839996338, 0.999986768, 0, 0, 0, 1, 0, 0, 0, 0.999999881))
  561. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.886568666))
  562. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.10000000149012,0,"Really black","Part",Vector3.new(0.397539318, 0.369803935, 0.397539139))
  563. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00193452835, -6.38961792e-005, 0.00246429443, 0.999986887, 0, 0, 0, 1, 0, 0, 0, 1))
  564. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  565. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.10000000149012,0,"Really red","Part",Vector3.new(0.369804025, 0.369803935, 0.208559081))
  566. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.1920929e-005, 0, -1.57174778, -0.999986887, 0, 0, 0, 0, -1, 0, -1, 0))
  567. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.268107921, 0.223731428, 0.512178302))
  568. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.208559111, 4.43764687, 0.208559081))
  569. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.27736032, -3.69803858, 0.00839996338, 0.999986887, 0, 0, 0, 1, 0, 0, 0, 1))
  570. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 1, 0.310299039))
  571. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Dark stone grey","Part",Vector3.new(0.208559111, 0.208559081, 0.208559081))
  572. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00839996338, 4.34518862, 0.462241411, -1.43049272e-006, -7.13816206e-008, 0.999993443, -2.16640629e-007, -0.999999106, 3.29267564e-008, 0.99998033, -2.16643343e-007, 1.43051147e-006))
  573. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 0.886568725, 0.886568666))
  574. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.10000000149012,0,"Really red","Part",Vector3.new(0.369804025, 0.208559081, 0.369803846))
  575. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.1920929e-005, 1.01695871, 0, 0.999986887, 0, 0, 0, 1, 0, 0, 0, 1))
  576. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.886568725, 1))
  577. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Dark stone grey","Part",Vector3.new(0.208559111, 1.47921586, 0.208559081))
  578. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.462243319, -5.17725229, 0.00839996338, 0.999986887, 0, 0, 0, 1, 0, 0, 0, 1))
  579. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 1, 0.886568666))
  580. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.10000000149012,0,"Really red","Part",Vector3.new(0.397539318, 0.739607811, 0.379048914))
  581. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00193452835, -6.38961792e-005, 0.00246429443, 0.999986887, 0, 0, 0, 1, 0, 0, 0, 1))
  582. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  583. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.10000000149012,0,"Really black","Part",Vector3.new(0.369804025, 0.208559081, 0.208559081))
  584. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.20193386, 0.277351975, 1.3857898e-006, 1.48921329e-008, -0.999993563, 1.89679866e-007, -0.999999106, -1.19201033e-007, -0.99998045, -1.89682282e-007, -1.38580799e-006))
  585. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.886568725, 0.886568666))
  586. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.208559111, 0.924509823, 1.29431367))
  587. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00842285156, 0.0869987011, 6.56396055, 5.96038632e-008, 1.43051147e-006, -0.999993443, 0.999986053, 1.49011612e-007, -1.49011612e-008, 2.08613457e-007, -0.999993384, -1.43051147e-006))
  588. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.322711051, 0.992000043, 1))
  589. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Dark stone grey","Part",Vector3.new(0.208559111, 0.739607871, 1.1094116))
  590. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00842285156, 0.184900761, 6.47150469, 5.96038632e-008, 1.43051147e-006, -0.999993443, 0.999986053, 1.49011612e-007, -1.49011612e-008, 2.08613457e-007, -0.999993384, -1.43051147e-006))
  591. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 1, 1))
  592. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.208559111, 0.208559081, 0.208559081))
  593. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.45460081, 0.00839996338, 0.277337313, 0, 1, 0, 0, 0, 1, 0.999986887, 0, 0))
  594. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 0.914938867, 0.365266263))
  595. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.208559111, 0.208559081, 0.208559081))
  596. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.63951445, 0.00840759277, 0.462250471, 0, 1, 0, 0, 0, 1, 0.999986887, 0, 0))
  597. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 0.914938867, 0.365266263))
  598. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.208559111, 0.208559081, 0.208559081))
  599. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.8243928, 0.00841522217, 0.277329683, 0, 1, 0, 0, 0, 1, 0.999986887, 0, 0))
  600. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 0.914938867, 0.365266263))
  601. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.10000000149012,0,"Really red","Part",Vector3.new(0.369804025, 0.369803935, 0.369803846))
  602. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.1920929e-005, 1.10940838, 0, 0.999986887, 0, 0, 0, 1, 0, 0, 0, 1))
  603. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  604. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.208559111, 0.208559081, 0.208559081))
  605. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.19419813, 0.00841522217, 0.277329683, 0, 1, 0, 0, 0, 1, 0.999986887, 0, 0))
  606. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 0.914938867, 0.365266263))
  607. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,0,"Dark stone grey","Part",Vector3.new(0.739608049, 0.208559081, 0.369803846))
  608. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.1920929e-005, -1.38683462, 0, 0.999986768, 0, 0, 0, 1, 0, 0, 0, 0.999999881))
  609. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.886568725, 1))
  610. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.208559111, 0.208559081, 0.208559081))
  611. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.89990377, 0.00840759277, 0.462250471, 0, 1, 0, 0, 0, 1, 0.999986887, 0, 0))
  612. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 0.914938867, 0.365266263))
  613. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.208559111, 0.208559081, 0.208559081))
  614. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.71499777, 0.00839996338, 0.277337313, 0, 1, 0, 0, 0, 1, 0.999986887, 0, 0))
  615. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 0.914938867, 0.365266263))
  616. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.208559111, 0.208559081, 0.208559081))
  617. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.26970911, 0.00840759277, 0.462250471, 0, 1, 0, 0, 0, 1, 0.999986887, 0, 0))
  618. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 0.914938867, 0.365266263))
  619. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.208559111, 0.208559081, 0.208559081))
  620. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.00931311, 0.00839996338, 0.462243319, 0, 1, 0, 0, 0, 1, 0.999986887, 0, 0))
  621. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.886568844, 0.914938867, 0.365266263))
  622. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.10000000149012,0,"Really red","Part",Vector3.new(0.369804025, 0.369803935, 0.208559081))
  623. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.57174778, 0, 1.1920929e-005, 2.98019316e-008, 0.999999821, 0, 0, 0, -1, -0.999986708, 2.98023224e-008, 0))
  624. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.147921592, 0.223731428, 0.512178302))
  625. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.10000000149012,0,"Really black","Part",Vector3.new(0.369804025, 0.208559081, 0.208559081))
  626. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.20193338, 0.277371168, -1.43049272e-006, -7.13816206e-008, 0.999993443, -2.16640629e-007, -0.999999106, 3.29267564e-008, 0.99998033, -2.16643343e-007, 1.43051147e-006))
  627. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.886568725, 0.886568666))
  628. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,0,"Dark stone grey","Part",Vector3.new(0.369804025, 0.369803935, 0.208559081))
  629. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.2943902, 0.462240696, -1.43049272e-006, -7.13816206e-008, 0.999993443, -2.16640629e-007, -0.999999106, 3.29267564e-008, 0.99998033, -2.16643343e-007, 1.43051147e-006))
  630. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.886568666))
  631. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,0,"Dark stone grey","Part",Vector3.new(0.369804025, 0.369803935, 0.208559081))
  632. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.29439068, 0.462263465, 1.3857898e-006, 1.48921329e-008, -0.999993563, 1.89679866e-007, -0.999999106, -1.19201033e-007, -0.99998045, -1.89682282e-007, -1.38580799e-006))
  633. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.886568666))
  634. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.10000000149012,0,"Really black","Part",Vector3.new(0.369804054, 0.208559081, 0.369803846))
  635. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.1920929e-005, -1.20193529, 0, 0.999986887, 0, 0, 0, 1, 0, 0, 0, 1))
  636. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.886568725, 1))
  637. function effect(Color,Ref,LP,P1,returnn)
  638. local effectsmsh = Instance.new("BlockMesh")
  639. effectsmsh.Scale = Vector3.new(0.2,1,0.2)
  640. effectsmsh.Name = "Mesh"
  641. local effectsg = Instance.new("Part")
  642. effectsg.formFactor = 3
  643. effectsg.CanCollide = false
  644. effectsg.Name = "Eff"
  645. effectsg.Locked = true
  646. effectsg.Anchored = true
  647. effectsg.Size = Vector3.new(0.5,1,0.5)
  648. effectsg.Parent = workspace
  649. effectsmsh.Parent = effectsg
  650. effectsg.BrickColor = BrickColor.new(Color)
  651. effectsg.Reflectance = Ref
  652. local point1 = P1
  653. local mg = (LP.p - point1.p).magnitude
  654. effectsg.Size = Vector3.new(0.5,mg,0.5)
  655. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  656. if returnn then return effectsg end
  657. coroutine.resume(coroutine.create(function(Part,Mesh)
  658. if not returnn then
  659. for i = 0 , 1 , 0.2 do
  660. wait()
  661. Part.Transparency = 1*i
  662. Mesh.Scale = Vector3.new(0.2-0.2*i,1,0.2-0.2*i)
  663. end
  664. wait()
  665. Part.Parent = nil
  666. end
  667. end),effectsg,effectsmsh)
  668. end
  669. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  670. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  671. prt.Anchored=true
  672. prt.CFrame=cframe
  673. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  674. game:GetService("Debris"):AddItem(prt,2)
  675. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  676. for i=0,1,delay do
  677. swait()
  678. Part.CFrame=Part.CFrame*cf(0,0,-num)
  679. Part.Transparency=i
  680. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  681. end
  682. Part.Parent=nil
  683. end),prt,msh,(math.random(0,1)+math.random())/5)
  684. end
  685. --example: MagicRing(BrickColor.new(""),ExamplePart.CFrame,0,0,0,0,0,0,0.01)
  686. function attackone()
  687. attack = true
  688. local con=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  689. so("http://roblox.com/asset/?id=10209645",Hitbox,1,1)
  690. for i = 0,1,0.1 do
  691. swait()
  692. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  693. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  694. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * angles(math.rad(125), math.rad(0), math.rad(-35)), 0.3)
  695. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -.5) * angles(math.rad(125), math.rad(0), math.rad(35)), 0.3)
  696. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)), 0.3)
  697. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)), 0.3)
  698. handleweld.C0 = clerp(handleweld.C0,cf(-.5,-.2,0)* angles(math.rad(0),math.rad(0),math.rad(30)), 0.3)
  699. end
  700. local LastPoint=FlamePrt3.CFrame*CFrame.new(0,FlamePrt3.Size.Y/1.5,0)
  701. for i = 0,1,0.1 do
  702. swait()
  703. local Point=FlamePrt3.CFrame*CFrame.new(0,FlamePrt3.Size.Y/1.5,0)
  704. effect("Dark stone grey",0.5,LastPoint,Point)
  705. LastPoint=Point
  706. --MagicRing(BrickColor.new(""),FlamePrt3.CFrame,.1,.1,.1,.2,.2,.2,0.01)
  707. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)), 0.3)
  708. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)), 0.3)
  709. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -.3) * angles(math.rad(15), math.rad(0), math.rad(-35)), 0.3)
  710. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, -.3) * angles(math.rad(15), math.rad(0), math.rad(35)), 0.3)
  711. RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(20),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)), 0.3)
  712. LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)), 0.3)
  713. handleweld.C0 = clerp(handleweld.C0,cf(-.5,-.2,0)* angles(math.rad(-20),math.rad(-15),math.rad(30)), 0.3)
  714. end
  715. attack = false
  716. con:disconnect()
  717. end
  718. function attacktwo()
  719. attack = true
  720. local con=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  721. so("http://roblox.com/asset/?id=10209645",Hitbox,1,1.2)
  722. for i = 0,1,0.1 do
  723. swait()
  724. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  725. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  726. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.5) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3)
  727. LW.C0 = clerp(LW.C0, CFrame.new(-.5, 0.5, -.5) * angles(math.rad(0), math.rad(-130), math.rad(-90)), 0.3)
  728. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)), 0.3)
  729. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)), 0.3)
  730. handleweld.C0 = clerp(handleweld.C0,cf(-.5,-.2,0)* angles(math.rad(0),math.rad(0),math.rad(30)), 0.3)
  731. end
  732. local LastPoint=FlamePrt3.CFrame*CFrame.new(0,FlamePrt3.Size.Y/1.5,0)
  733. for i = 0,1,0.1 do
  734. swait()
  735. local Point=FlamePrt3.CFrame*CFrame.new(0,FlamePrt3.Size.Y/1.5,0)
  736. effect("Dark stone grey",0.5,LastPoint,Point)
  737. LastPoint=Point
  738. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  739. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(30)),.3)
  740. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)), 0.3)
  741. LW.C0 = clerp(LW.C0, CFrame.new(.5, 0.5, -.8) * angles(math.rad(0), math.rad(-170), math.rad(-90)), 0.3)
  742. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)), 0.3)
  743. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)), 0.3)
  744. handleweld.C0 = clerp(handleweld.C0,cf(0,0,0)* angles(math.rad(-40),math.rad(0),math.rad(0)), 0.3)
  745. end
  746. attack = false
  747. con:disconnect()
  748. end
  749. function attackthree()
  750. attack = true
  751. local con=Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,15,math.random(5,10),"Normal",RootPart,.2,1) end)
  752. so("http://roblox.com/asset/?id=10209645",Hitbox,1,.9)
  753. for i = 0,1,0.1 do
  754. swait()
  755. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  756. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  757. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(35)), 0.3)
  758. LW.C0 = clerp(LW.C0, CFrame.new(.5, 0.5, -.5) * angles(math.rad(150), math.rad(0), math.rad(45)), 0.3)
  759. RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  760. LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  761. handleweld.C0 = clerp(handleweld.C0,cf(0,0,0)* angles(math.rad(40),math.rad(0),math.rad(0)), 0.3)
  762. end
  763. local LastPoint=FlamePrt3.CFrame*CFrame.new(0,FlamePrt3.Size.Y/1.5,0)
  764. for i = 0,1,0.1 do
  765. swait()
  766. local Point=FlamePrt3.CFrame*CFrame.new(0,FlamePrt3.Size.Y/1.5,0)
  767. effect("Dark stone grey",0.5,LastPoint,Point)
  768. LastPoint=Point
  769. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  770. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  771. RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.3, -.5) * angles(math.rad(10), math.rad(0), math.rad(-35)), 0.3)
  772. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, -.5) * angles(math.rad(10), math.rad(0), math.rad(35)), 0.3)
  773. RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  774. LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  775. handleweld.C0 = clerp(handleweld.C0,cf(0,0,0)* angles(math.rad(-40),math.rad(0),math.rad(0)), 0.3)
  776. end
  777. attack = false
  778. con:disconnect()
  779. end
  780. mouse.Button1Down:connect(function()
  781. if attack == false and attacktype == 1 then
  782. attacktype = 2
  783. attackone()
  784. elseif attack == false and attacktype == 2 then
  785. attacktype = 3
  786. attacktwo()
  787. elseif attack == false and attacktype == 3 then
  788. attacktype = 1
  789. attackthree()
  790. end
  791. end)
  792. mouse.KeyDown:connect(function(k)
  793. k=k:lower()
  794. end)
  795. local sine = 0
  796. local change = 1
  797. local val = 0
  798. while true do
  799. swait()
  800. sine = sine + change
  801. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  802. local velderp=RootPart.Velocity.y
  803. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  804. if equipped==true or equipped==false then
  805. if attack==false then
  806. idle=idle+1
  807. else
  808. idle=0
  809. end
  810. if idle>=500 then
  811. if attack==false then
  812. --Sheath()
  813. end
  814. end
  815. if RootPart.Velocity.y > 1 and hitfloor==nil then
  816. Anim="Jump"
  817. if attack==false then
  818. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  819. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  820. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(0)), 0.3)
  821. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-40)), 0.3)
  822. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3)
  823. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0)),.3)
  824. handleweld.C0 = clerp(handleweld.C0,cf(0,-.2,.3)* angles(math.rad(80),math.rad(0),math.rad(0)),.3)
  825. end
  826. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  827. Anim="Fall"
  828. if attack==false then
  829. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  830. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  831. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(0)), 0.3)
  832. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-60)), 0.3)
  833. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(30),math.rad(90),math.rad(0)),.3)
  834. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(20),math.rad(-90),math.rad(0)),.3)
  835. handleweld.C0 = clerp(handleweld.C0,cf(0,-.2,.3)* angles(math.rad(80),math.rad(0),math.rad(0)),.3)
  836. end
  837. elseif torvel<1 and hitfloor~=nil then
  838. Anim="Idle"
  839. if attack==false then
  840. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  841. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  842. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -.5) * angles(math.rad(50), math.rad(0), math.rad(-35)), 0.3)
  843. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, -.5) * angles(math.rad(50), math.rad(0), math.rad(35)), 0.3)
  844. RH.C0=clerp(RH.C0,cf(1,-1,-.2)*angles(math.rad(20),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  845. LH.C0=clerp(LH.C0,cf(-1,-1,-.2)*angles(math.rad(20),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  846. handleweld.C0 = clerp(handleweld.C0,cf(-.5,-.2,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  847. end
  848. elseif torvel>2 and hitfloor~=nil then
  849. Anim="Walk"
  850. if attack==false then
  851. change=3
  852. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  853. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  854. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(0)), 0.3)
  855. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  856. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  857. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  858. handleweld.C0 = clerp(handleweld.C0,cf(0,-.2,.3)* angles(math.rad(80),math.rad(0),math.rad(0)),.3)
  859. end
  860. end
  861. end
  862. if #Effects>0 then
  863. --table.insert(Effects,{prt,"Block1",delay})
  864. for e=1,#Effects do
  865. if Effects[e]~=nil then
  866. --for j=1,#Effects[e] do
  867. local Thing=Effects[e]
  868. if Thing~=nil then
  869. local Part=Thing[1]
  870. local Mode=Thing[2]
  871. local Delay=Thing[3]
  872. local IncX=Thing[4]
  873. local IncY=Thing[5]
  874. local IncZ=Thing[6]
  875. if Thing[1].Transparency<=1 then
  876. if Thing[2]=="Block1" then
  877. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  878. Mesh=Thing[1].Mesh
  879. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  880. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  881. elseif Thing[2]=="Cylinder" then
  882. Mesh=Thing[1].Mesh
  883. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  884. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  885. elseif Thing[2]=="Blood" then
  886. Mesh=Thing[7]
  887. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  888. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  889. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  890. elseif Thing[2]=="Elec" then
  891. Mesh=Thing[1].Mesh
  892. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  893. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  894. elseif Thing[2]=="Disappear" then
  895. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  896. end
  897. else
  898. Part.Parent=nil
  899. table.remove(Effects,e)
  900. end
  901. end
  902. --end
  903. end
  904. end
  905. end
  906. end

comments powered by Disqus