Advertisement
Kittdy2

Untitled

Jan 1st, 2019
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 84.62 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87.  
  88. spawn (function()
  89.  
  90. Player=owner
  91. Character=Player.Character
  92. PlayerGui=Player.PlayerGui
  93. Backpack=Player.Backpack
  94. Torso=Character.Torso
  95. Head=Character.Head
  96. Humanoid=Character.Humanoid
  97. LeftArm=Character["Left Arm"]
  98. LeftLeg=Character["Left Leg"]
  99. RightArm=Character["Right Arm"]
  100. RightLeg=Character["Right Leg"]
  101. LS=Torso["Left Shoulder"]
  102. LH=Torso["Left Hip"]
  103. RS=Torso["Right Shoulder"]
  104. RH=Torso["Right Hip"]
  105. Face = Head.face
  106. Neck=Torso.Neck
  107. it=Instance.new
  108. attacktype=1
  109. vt=Vector3.new
  110. cf=CFrame.new
  111. euler=CFrame.fromEulerAnglesXYZ
  112. angles=CFrame.Angles
  113. cloaked=false
  114. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  115. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  116. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  117. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  118. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  119. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  120. RootPart=Character.HumanoidRootPart
  121. RootJoint=RootPart.RootJoint
  122. RootCF=euler(-1.57,0,3.14)
  123. attack = false
  124. attackdebounce = false
  125. deb=false
  126. equipped=true
  127. hand=false
  128. MMouse=nil
  129. combo=0
  130. mana=0
  131. trispeed=.2
  132. attackmode='none'
  133. local idle=0
  134. local Anim="Idle"
  135. local Effects={}
  136. local gun=false
  137. local shoot=false
  138. player=nil
  139. mana=0
  140. cam = workspace.CurrentCamera
  141. ZTarget = nil
  142. RocketTarget = nil
  143. local m = Instance.new("Model",Character)
  144. m.Name = "WeaponModel"
  145.  
  146. --save shoulders
  147. RSH, LSH=nil, nil
  148. --welds
  149. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  150. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  151. LH=Torso["Left Hip"]
  152. RH=Torso["Right Hip"]
  153. TorsoColor=Torso.BrickColor
  154. function NoOutline(Part)
  155. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  156. end
  157. player=Player
  158. ch=Character
  159. RSH=ch.Torso["Right Shoulder"]
  160. LSH=ch.Torso["Left Shoulder"]
  161. --
  162. RSH.Parent=nil
  163. LSH.Parent=nil
  164. --
  165. RW.Name="Right Shoulder"
  166. RW.Part0=ch.Torso
  167. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  168. RW.C1=cf(0, 0.5, 0)
  169. RW.Part1=ch["Right Arm"]
  170. RW.Parent=ch.Torso
  171. --
  172. LW.Name="Left Shoulder"
  173. LW.Part0=ch.Torso
  174. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  175. LW.C1=cf(0, 0.5, 0)
  176. LW.Part1=ch["Left Arm"]
  177. LW.Parent=ch.Torso
  178.  
  179. function swait(num)
  180. if num==0 or num==nil then
  181. game:service'RunService'.Stepped:wait(0)
  182. else
  183. for i=0,num do
  184. game:service'RunService'.Stepped:wait(0)
  185. end
  186. end
  187. end
  188.  
  189. function nooutline(part)
  190. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  191. end
  192.  
  193. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  194. local fp=it("Part")
  195. fp.formFactor=formfactor
  196. fp.Parent=parent
  197. fp.Reflectance=reflectance
  198. fp.Transparency=transparency
  199. fp.CanCollide=false
  200. fp.Locked=true
  201. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  202. fp.Name=name
  203. fp.Size=size
  204. fp.Position=Character.Torso.Position
  205. nooutline(fp)
  206. fp.Material=material
  207. fp:BreakJoints()
  208. return fp
  209. end
  210.  
  211. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  212. local mesh=it(Mesh)
  213. mesh.Parent=part
  214. if Mesh=="SpecialMesh" then
  215. mesh.MeshType=meshtype
  216. mesh.MeshId=meshid
  217. end
  218. mesh.Offset=offset
  219. mesh.Scale=scale
  220. return mesh
  221. end
  222.  
  223. function weld(parent,part0,part1,c0,c1)
  224. local weld=it("Weld")
  225. weld.Parent=parent
  226. weld.Part0=part0
  227. weld.Part1=part1
  228. weld.C0=c0
  229. weld.C1=c1
  230. return weld
  231. end
  232.  
  233.  
  234. local function CFrameFromTopBack(at, top, back)
  235. local right = top:Cross(back)
  236. return CFrame.new(at.x, at.y, at.z,
  237. right.x, top.x, back.x,
  238. right.y, top.y, back.y,
  239. right.z, top.z, back.z)
  240. end
  241.  
  242. function Triangle(a, b, c)
  243. local edg1 = (c-a):Dot((b-a).unit)
  244. local edg2 = (a-b):Dot((c-b).unit)
  245. local edg3 = (b-c):Dot((a-c).unit)
  246. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  247. a, b, c = a, b, c
  248. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  249. a, b, c = b, c, a
  250. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  251. a, b, c = c, a, b
  252. else
  253. assert(false, "unreachable")
  254. end
  255.  
  256. local len1 = (c-a):Dot((b-a).unit)
  257. local len2 = (b-a).magnitude - len1
  258. local width = (a + (b-a).unit*len1 - c).magnitude
  259.  
  260. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  261.  
  262. local list = {}
  263.  
  264. local TrailColor = ("Navy blue")
  265.  
  266. if len1 > 0.01 then
  267. local w1 = Instance.new('WedgePart', m)
  268. game:GetService("Debris"):AddItem(w1,5)
  269. w1.Material = "SmoothPlastic"
  270. w1.FormFactor = 'Custom'
  271. w1.BrickColor = BrickColor.new(TrailColor)
  272. w1.Transparency = 0
  273. w1.Reflectance = 0
  274. w1.Material = "Neon"
  275. w1.CanCollide = false
  276. NoOutline(w1)
  277. local sz = Vector3.new(0.2, width, len1)
  278. w1.Size = sz
  279. local sp = Instance.new("SpecialMesh",w1)
  280. sp.MeshType = "Wedge"
  281. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  282. w1:BreakJoints()
  283. w1.Anchored = true
  284. w1.Parent = workspace
  285. w1.Transparency = 0.7
  286. table.insert(Effects,{w1,"Disappear",.01})
  287. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  288. table.insert(list,w1)
  289. end
  290.  
  291. if len2 > 0.01 then
  292. local w2 = Instance.new('WedgePart', m)
  293. game:GetService("Debris"):AddItem(w2,5)
  294. w2.Material = "SmoothPlastic"
  295. w2.FormFactor = 'Custom'
  296. w2.BrickColor = BrickColor.new(TrailColor)
  297. w2.Transparency = 0
  298. w2.Reflectance = 0
  299. w2.Material = "Neon"
  300. w2.CanCollide = false
  301. NoOutline(w2)
  302. local sz = Vector3.new(0.2, width, len2)
  303. w2.Size = sz
  304. local sp = Instance.new("SpecialMesh",w2)
  305. sp.MeshType = "Wedge"
  306. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  307. w2:BreakJoints()
  308. w2.Anchored = true
  309. w2.Parent = workspace
  310. w2.Transparency = 0.7
  311. table.insert(Effects,{w2,"Disappear",.01})
  312. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  313. table.insert(list,w2)
  314. end
  315. return unpack(list)
  316. end
  317.  
  318.  
  319. so = function(id,par,vol,pit)
  320. coroutine.resume(coroutine.create(function()
  321. local sou = Instance.new("Sound",par or workspace)
  322. sou.Volume=vol
  323. sou.Pitch=pit or 1
  324. sou.SoundId=id
  325. swait()
  326. sou:play()
  327. game:GetService("Debris"):AddItem(sou,6)
  328. end))
  329. end
  330.  
  331. function clerp(a,b,t)
  332. local qa = {QuaternionFromCFrame(a)}
  333. local qb = {QuaternionFromCFrame(b)}
  334. local ax, ay, az = a.x, a.y, a.z
  335. local bx, by, bz = b.x, b.y, b.z
  336. local _t = 1-t
  337. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  338. end
  339.  
  340. function QuaternionFromCFrame(cf)
  341. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  342. local trace = m00 + m11 + m22
  343. if trace > 0 then
  344. local s = math.sqrt(1 + trace)
  345. local recip = 0.5/s
  346. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  347. else
  348. local i = 0
  349. if m11 > m00 then
  350. i = 1
  351. end
  352. if m22 > (i == 0 and m00 or m11) then
  353. i = 2
  354. end
  355. if i == 0 then
  356. local s = math.sqrt(m00-m11-m22+1)
  357. local recip = 0.5/s
  358. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  359. elseif i == 1 then
  360. local s = math.sqrt(m11-m22-m00+1)
  361. local recip = 0.5/s
  362. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  363. elseif i == 2 then
  364. local s = math.sqrt(m22-m00-m11+1)
  365. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  366. end
  367. end
  368. end
  369.  
  370. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  371. local xs, ys, zs = x + x, y + y, z + z
  372. local wx, wy, wz = w*xs, w*ys, w*zs
  373. local xx = x*xs
  374. local xy = x*ys
  375. local xz = x*zs
  376. local yy = y*ys
  377. local yz = y*zs
  378. local zz = z*zs
  379. 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))
  380. end
  381.  
  382. function QuaternionSlerp(a, b, t)
  383. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  384. local startInterp, finishInterp;
  385. if cosTheta >= 0.0001 then
  386. if (1 - cosTheta) > 0.0001 then
  387. local theta = math.acos(cosTheta)
  388. local invSinTheta = 1/math.sin(theta)
  389. startInterp = math.sin((1-t)*theta)*invSinTheta
  390. finishInterp = math.sin(t*theta)*invSinTheta
  391. else
  392. startInterp = 1-t
  393. finishInterp = t
  394. end
  395. else
  396. if (1+cosTheta) > 0.0001 then
  397. local theta = math.acos(-cosTheta)
  398. local invSinTheta = 1/math.sin(theta)
  399. startInterp = math.sin((t-1)*theta)*invSinTheta
  400. finishInterp = math.sin(t*theta)*invSinTheta
  401. else
  402. startInterp = t-1
  403. finishInterp = t
  404. end
  405. end
  406. 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
  407. end
  408.  
  409. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  410. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  411. end
  412.  
  413. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  414. if hit.Parent==nil then
  415. return
  416. end
  417. local h=hit.Parent:FindFirstChild("Humanoid")
  418. for _,v in pairs(hit.Parent:children()) do
  419. if v:IsA("Humanoid") then
  420. h=v
  421. end
  422. end
  423. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  424. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  425. end
  426. if hit.Parent.className=="Hat" then
  427. hit=hit.Parent.Parent:findFirstChild("Head")
  428. end
  429. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  430. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  431. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  432. return
  433. end]]
  434. -- hs(hit,1.2)
  435. local c=Instance.new("ObjectValue")
  436. c.Name="creator"
  437. c.Value=owner
  438. c.Parent=h
  439. game:GetService("Debris"):AddItem(c,.5)
  440. local Damage=math.random(minim,maxim)
  441. -- h:TakeDamage(Damage)
  442. local blocked=false
  443. local block=hit.Parent:findFirstChild("Block")
  444. if block~=nil then
  445. print(block.className)
  446. if block.className=="NumberValue" then
  447. if block.Value>0 then
  448. blocked=true
  449. if decreaseblock==nil then
  450. block.Value=block.Value-1
  451. end
  452. end
  453. end
  454. if block.className=="IntValue" then
  455. if block.Value>0 then
  456. blocked=true
  457. if decreaseblock~=nil then
  458. block.Value=block.Value-1
  459. end
  460. end
  461. end
  462. end
  463. if blocked==false then
  464. -- h:TakeDamage(Damage)
  465. h.Health=h.Health-Damage
  466. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  467. else
  468. h.Health=h.Health-(Damage/2)
  469. 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)
  470. end
  471. if Type=="Knockdown" then
  472. local hum=hit.Parent.Humanoid
  473. hum.PlatformStand=true
  474. coroutine.resume(coroutine.create(function(HHumanoid)
  475. swait(1)
  476. HHumanoid.PlatformStand=false
  477. end),hum)
  478. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  479. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  480. local bodvol=Instance.new("BodyVelocity")
  481. bodvol.velocity=angle*knockback
  482. bodvol.P=5000
  483. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  484. bodvol.Parent=hit
  485. local rl=Instance.new("BodyAngularVelocity")
  486. rl.P=3000
  487. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  488. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  489. rl.Parent=hit
  490. game:GetService("Debris"):AddItem(bodvol,.5)
  491. game:GetService("Debris"):AddItem(rl,.5)
  492. elseif Type=="Normal" then
  493. local vp=Instance.new("BodyVelocity")
  494. vp.P=500
  495. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  496. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  497. if KnockbackType==1 then
  498. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  499. elseif KnockbackType==2 then
  500. vp.velocity=Property.CFrame.lookVector*knockback
  501. end
  502. if knockback>0 then
  503. vp.Parent=hit.Parent.Torso
  504. end
  505. game:GetService("Debris"):AddItem(vp,.5)
  506. elseif Type=="Up" then
  507. local bodyVelocity=Instance.new("BodyVelocity")
  508. bodyVelocity.velocity=vt(0,60,0)
  509. bodyVelocity.P=5000
  510. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  511. bodyVelocity.Parent=hit
  512. game:GetService("Debris"):AddItem(bodyVelocity,1)
  513. local rl=Instance.new("BodyAngularVelocity")
  514. rl.P=3000
  515. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  516. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  517. rl.Parent=hit
  518. game:GetService("Debris"):AddItem(rl,.5)
  519. elseif Type=="Snare" then
  520. local bp=Instance.new("BodyPosition")
  521. bp.P=2000
  522. bp.D=100
  523. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  524. bp.position=hit.Parent.Torso.Position
  525. bp.Parent=hit.Parent.Torso
  526. game:GetService("Debris"):AddItem(bp,1)
  527. elseif Type=="Target" then
  528. local Targetting = false
  529. if Targetting==false then
  530. ZTarget=hit.Parent.Torso
  531. coroutine.resume(coroutine.create(function(Part)
  532. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  533. swait(5)
  534. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  535. end),ZTarget)
  536. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  537. local targetgui=Instance.new("BillboardGui")
  538. targetgui.Parent=ZTarget
  539. targetgui.Size=UDim2.new(10,100,10,100)
  540. local targ=Instance.new("ImageLabel")
  541. targ.Parent=targetgui
  542. targ.BackgroundTransparency=1
  543. targ.Image="rbxassetid://4834067"
  544. targ.Size=UDim2.new(1,0,1,0)
  545. cam.CameraType="Scriptable"
  546. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  547. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  548. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  549. Targetting=true
  550. RocketTarget=ZTarget
  551. for i=1,Property do
  552. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  553. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  554. swait()
  555. end
  556. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  557. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  558. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  559. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  560. end
  561. Targetting=false
  562. RocketTarget=nil
  563. targetgui.Parent=nil
  564. cam.CameraType="Custom"
  565. end
  566. end
  567. local debounce=Instance.new("BoolValue")
  568. debounce.Name="DebounceHit"
  569. debounce.Parent=hit.Parent
  570. debounce.Value=true
  571. game:GetService("Debris"):AddItem(debounce,Delay)
  572. c=Instance.new("ObjectValue")
  573. c.Name="creator"
  574. c.Value=Player
  575. c.Parent=h
  576. game:GetService("Debris"):AddItem(c,.5)
  577. end
  578. end
  579.  
  580.  
  581. function ShowDamage(Pos, Text, Time, Color)
  582. local Rate = (1 / 30)
  583. local Pos = (Pos or Vector3.new(0, 0, 0))
  584. local Text = (Text or "")
  585. local Time = (Time or 2)
  586. local Color = (Color or Color3.new(1, 0, 0))
  587. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  588. EffectPart.Anchored = true
  589. local BillboardGui = Instance.new("BillboardGui")
  590. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  591. BillboardGui.Adornee = EffectPart
  592. local TextLabel = Instance.new("TextLabel")
  593. TextLabel.BackgroundTransparency = 1
  594. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  595. TextLabel.Text = Text
  596. TextLabel.TextColor3 = Color
  597. TextLabel.TextScaled = true
  598. TextLabel.Font = Enum.Font.ArialBold
  599. TextLabel.Parent = BillboardGui
  600. BillboardGui.Parent = EffectPart
  601. game.Debris:AddItem(EffectPart, (Time + 0.1))
  602. EffectPart.Parent = game:GetService("Workspace")
  603. Delay(0, function()
  604. local Frames = (Time / Rate)
  605. for Frame = 1, Frames do
  606. wait(Rate)
  607. local Percent = (Frame / Frames)
  608. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  609. TextLabel.TextTransparency = Percent
  610. end
  611. if EffectPart and EffectPart.Parent then
  612. EffectPart:Destroy()
  613. end
  614. end)
  615. end
  616.  
  617. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Institutional white","Handle",Vector3.new(0.416514248, 1.4000001, 0.416514456))
  618. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.05613828, -0.0183410645, 0.000350952148, 1.87702778e-006, 0.999999523, 1.76214598e-012, 1.14752652e-012, 1.32871481e-012, -0.999993563, -0.999993443, 1.84723399e-006, -9.5567998e-013))
  619. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.694191515, 1))
  620. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Navy blue","Hitbox",Vector3.new(1.0941906, 5.3651495, 0.200000003))
  621. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -4.55644989, 0.00016784668, 0.999999285, 4.60235669e-011, -1.72535329e-006, -4.68979022e-011, 0.999987125, 1.07980942e-012, 1.66581015e-006, -1.39247641e-012, 0.999986887))
  622. mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.694190681))
  623. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456))
  624. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, 0.000577092171, 1.45775223, -1.76544672e-005, -6.57531132e-008, 0.999993443, -0.999999464, 1.02817339e-005, -1.76243502e-005, -1.02966969e-005, -0.999993443, -6.59328947e-008))
  625. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.272122681, 0.505371451, 0.201315284))
  626. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514248, 0.200000003, 0.416514456))
  627. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -0.694141388, 0, 0.999999285, -4.3341795e-013, -2.97819724e-008, -4.3341795e-013, 0.999987125, -1.91842744e-013, -2.97819724e-008, -1.91842744e-013, 0.999986887))
  628. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.694191515, 1))
  629. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456))
  630. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000289916992, 1.03119278, 1.03037834, -1.92463904e-005, -7.25203245e-006, 0.999993443, -0.707113385, -0.70709455, -1.87159931e-005, 0.707098842, -0.707109213, 8.4597923e-006))
  631. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.283229738, 0.238801882, 0.201315284))
  632. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.416514248, 0.416515023, 0.416514456))
  633. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -0.416484833, 0, 0.999999285, -4.3341795e-013, -2.97819724e-008, -4.3341795e-013, 0.999987125, -1.91842744e-013, -2.97819724e-008, -1.91842744e-013, 0.999986887))
  634. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  635. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456))
  636. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, -1.45775223, 0.000576972961, -1.94078439e-005, -7.46359137e-006, 0.999993443, 1.03413868e-005, 0.999993145, 7.46378964e-006, -0.999999166, 1.03562397e-005, -1.93776359e-005))
  637. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.272122681, 0.505371451, 0.201315284))
  638. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.416514248, 0.277676612, 0.416514456))
  639. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -0.902637482, 0.000198364258, 0.999999285, -1.23285471e-009, -1.15901048e-006, 1.23199539e-009, 0.999987125, -1.96591137e-012, 1.09946052e-006, 1.65200525e-012, 0.999986887))
  640. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  641. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456))
  642. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, -1.45775223, 0.000577092171, -1.75918103e-005, 6.84275614e-009, 0.999993443, 1.02860358e-005, 0.999993563, -6.66296662e-009, -0.999999523, 1.0285974e-005, -1.75616969e-005))
  643. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.252685368, 0.505371451, 0.24018997))
  644. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,0,"Navy blue","Part",Vector3.new(0.416514367, 4.16514921, 0.200000003))
  645. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -3.95612335, 0.000137329102, 0.999999285, 3.38785076e-011, -1.69563759e-006, -3.47526452e-011, 0.999987125, 5.6136931e-013, 1.636094e-006, -8.74058096e-013, 0.999986887))
  646. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.763609767))
  647. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 4.16514921, 0.200000003))
  648. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -3.95633316, 0.000137329102, 0.999999285, 3.7068789e-011, -1.57651493e-006, -3.79429578e-011, 0.999987125, 1.16532055e-012, 1.5169702e-006, -1.47800847e-012, 0.999986887))
  649. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.833028972))
  650. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456))
  651. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, -1.03037643, 1.03119469, -1.9352392e-005, -7.44054114e-006, 0.999993443, -0.707098842, 0.707109272, -8.40144912e-006, -0.707113445, -0.70709461, -1.89242419e-005))
  652. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.283229738, 0.238801882, 0.201315284))
  653. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514248, 0.200000003, 0.416514456))
  654. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -0.138824463, 0, 0.999999285, -4.3341795e-013, -2.97819724e-008, -4.3341795e-013, 0.999987125, -1.91842744e-013, -2.97819724e-008, -1.91842744e-013, 0.999986887))
  655. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.694191515, 1))
  656. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.416514367, 0.416514784, 0.971866965))
  657. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, 0.000551462173, 3.9567337, -1.76544672e-005, -6.57531132e-008, 0.999993443, -0.999999464, 1.02817339e-005, -1.76243502e-005, -1.02966969e-005, -0.999993443, -6.59328947e-008))
  658. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.252685368, 0.390135646, 1.46335411))
  659. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456))
  660. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000259399414, -1.31884766, -0.0006057024, -1.94158456e-005, -7.18334013e-006, 0.999993443, -1.02519798e-005, -0.999992967, -7.18353886e-006, 0.999999046, -1.03413386e-005, 1.93856376e-005))
  661. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.283229738, 0.431787163, 0.201315284))
  662. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514248, 0.200000003, 0.416514456))
  663. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, 0.694160461, 0, 0.999999285, -4.3341795e-013, -2.97819724e-008, -4.3341795e-013, 0.999987125, -1.91842744e-013, -2.97819724e-008, -1.91842744e-013, 0.999986887))
  664. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.694191515, 1))
  665. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456))
  666. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, 0.000551462173, 3.9567337, -1.76544672e-005, -6.57531132e-008, 0.999993443, -0.999999464, 1.02817339e-005, -1.76243502e-005, -1.02966969e-005, -0.999993443, -6.59328947e-008))
  667. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.280452967, 0.39568913, 0.630325258))
  668. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456))
  669. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, 0.000577092171, 1.45775223, -1.76544672e-005, -6.57531132e-008, 0.999993443, -0.999999464, 1.02817339e-005, -1.76243502e-005, -1.02966969e-005, -0.999993443, -6.59328947e-008))
  670. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.252685368, 0.505371451, 0.24018997))
  671. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456))
  672. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, -0.000605583191, 1.31885147, -1.89684615e-005, -7.36040192e-006, 0.999993443, 0.999998748, -1.01476244e-005, 1.89382463e-005, 1.00731659e-005, 0.999992669, 7.36059474e-006))
  673. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.297113568, 0.184654936, 0.399853855))
  674. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,0,"Navy blue","Part",Vector3.new(0.416514367, 0.416514784, 0.971866965))
  675. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000274658203, 0.000551462173, 3.9567337, -1.76544672e-005, -6.57531132e-008, 0.999993443, -0.999999464, 1.02817339e-005, -1.76243502e-005, -1.02966969e-005, -0.999993443, -6.59328947e-008))
  676. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.273511082, 0.337377071, 1.46335411))
  677. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.416514248, 0.200000003, 0.416514456))
  678. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, 0.138820648, 0, 0.999999285, -4.3341795e-013, -2.97819724e-008, -4.3341795e-013, 0.999987125, -1.91842744e-013, -2.97819724e-008, -1.91842744e-013, 0.999986887))
  679. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.694191515, 1))
  680. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.416514248, 0.416514963, 0.416514456))
  681. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, 0.416496277, 0, 0.999999285, -4.3341795e-013, -2.97819724e-008, -4.3341795e-013, 0.999987125, -1.91842744e-013, -2.97819724e-008, -1.91842744e-013, 0.999986887))
  682. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  683. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.694190562, 4.16514921, 0.200000003))
  684. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, -3.95645905, 0.00016784668, 0.999999285, 4.60235669e-011, -1.72535329e-006, -4.68979022e-011, 0.999987125, 1.07980942e-012, 1.66581015e-006, -1.39247641e-012, 0.999986887))
  685. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.694190681))
  686. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.416514367, 0.416514784, 0.416514456))
  687. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000259399414, -1.31884766, -0.0006057024, -1.94158456e-005, -7.18334013e-006, 0.999993443, -1.02519798e-005, -0.999992967, -7.18353886e-006, 0.999999046, -1.03413386e-005, 1.93856376e-005))
  688. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.297113568, 0.201315522, 0.22630617))
  689. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.416514933, 0.277676314))
  690. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.5335356, 0.000442504883, 1.45762634, 0.999999285, -6.16546174e-008, 3.0441106e-007, -3.63979211e-007, -4.47085071e-008, 0.999986887, -6.16544824e-008, -0.999987125, -4.47081341e-008))
  691. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 1))
  692. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.416514248, 0.200000003, 0.416514456))
  693. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000615000725, 0.833026886, 0, 0.999999285, -4.33418167e-013, -2.97819724e-008, -4.33418167e-013, 0.999987125, -1.91842744e-013, -2.97817451e-008, -1.91842744e-013, 0.999986887))
  694. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.694191515, 1))
  695. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.200000003, 0.416514933, 0.277676314))
  696. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.531595826, 0.000442504883, 1.45762634, 0.999999285, -6.16546174e-008, 3.0441106e-007, -3.63979211e-007, -4.47085071e-008, 0.999986887, -6.16544824e-008, -0.999987125, -4.47081341e-008))
  697. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 1))
  698. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.694190562, 0.833029866, 0.416514456))
  699. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000592112541, 1.3187561, -0.000228881836, -0.999999642, -1.32871492e-012, -1.84723422e-006, -1.76214598e-012, 0.999993563, 9.5567998e-013, 1.87702778e-006, 1.14752652e-012, -0.999993443))
  700. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.72195822, 0.708075464, 2.87394953))
  701. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.694190562, 0.833029866, 0.416514456))
  702. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000592112541, -1.45798492, -0.000228881836, -0.999999642, -1.32871492e-012, -1.84723422e-006, -1.76214598e-012, 0.999993563, 9.5567998e-013, 1.87702778e-006, 1.14752652e-012, -0.999993443))
  703. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.860796332, 0.791378319, 3.47095394))
  704. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.694190562, 0.833029866, 0.416514456))
  705. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000592112541, 1.3187561, -0.000228881836, -0.999999642, -1.32871492e-012, -1.84723422e-006, -1.76214598e-012, 0.999993563, 9.5567998e-013, 1.87702778e-006, 1.14752652e-012, -0.999993443))
  706. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.777493417, 0.805262208, 2.81841445))
  707. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.416514248, 0.200000003, 0.416514456))
  708. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000592112541, 0, 0, 0.999999285, -4.3341795e-013, -2.97819724e-008, -4.3341795e-013, 0.999987125, -1.91842744e-013, -2.97819724e-008, -1.91842744e-013, 0.999986887))
  709. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.694191515, 1))
  710. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.694190562, 0.833029866, 0.416514456))
  711. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000592112541, -1.45798492, -0.000228881836, -0.999999642, -1.32871492e-012, -1.84723422e-006, -1.76214598e-012, 0.999993563, 9.5567998e-013, 1.87702778e-006, 1.14752652e-012, -0.999993443))
  712. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.888563931, 0.846913636, 3.47095394))
  713. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514903, 0.200000003))
  714. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, -1.8045578, 0.531616807, 1.86565353e-006, 3.00202354e-012, -0.999986887, 1.23146959e-009, 0.999987125, 2.62061076e-012, 0.999999285, -1.2323218e-009, 1.80606696e-006))
  715. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  716. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  717. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139251709, -1.88124084, 0.139439583, 2.08563165e-006, 2.04154253e-006, -0.999986887, -4.47091253e-008, -0.999987125, -2.04154207e-006, -0.999999106, 4.47126496e-008, -1.86213424e-006))
  718. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  719. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  720. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138305664, 1.24959183, 0.531638741, -2.40202917e-006, -6.47374876e-010, 0.999986887, -8.5167251e-009, -0.999987125, -6.47013942e-010, 0.999999285, -8.51749071e-009, 2.34243612e-006))
  721. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681))
  722. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  723. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139251709, -1.88122559, 0.139439464, 2.47306866e-006, 2.04154298e-006, -0.999986887, -4.47106316e-008, -0.999987125, -2.04154253e-006, -0.999999106, 4.47149411e-008, -2.24956648e-006))
  724. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  725. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  726. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.139251709, -1.88124084, 0.138231158, -2.44327907e-006, 9.98428391e-007, 0.999986887, 1.34124434e-007, -0.999987125, 9.98428618e-007, 0.999999106, 1.34125216e-007, 2.21977734e-006))
  727. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  728. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  729. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000381469727, -1.88122559, 0.139450312, 3.33738035e-006, 2.83158215e-007, -0.999986887, -7.45189013e-008, -0.999987125, -2.831583e-007, -0.999999106, 7.45189865e-008, -3.11386771e-006))
  730. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  731. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  732. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.138305664, -0.809320569, -1.52706146, 2.19357685e-006, -1.31811859e-008, -0.999986887, -0.999999285, -4.34657004e-008, -2.1339863e-006, -4.34670788e-008, 0.999987125, -1.31816593e-008))
  733. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  734. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  735. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000503540039, -0.809320569, -1.52706146, 2.22339054e-006, -1.31811859e-008, -0.999986887, -0.999999285, -4.34651177e-008, -2.16379954e-006, -4.34664962e-008, 0.999987125, -1.31816593e-008))
  736. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  737. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  738. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.138366699, -0.554747701, 1.38837814, 2.32405114e-006, -6.39080383e-007, -0.999986768, -0.999993086, -3.58865634e-007, -2.27935357e-006, -4.63172427e-007, 0.999992907, -8.47690558e-007))
  739. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  740. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  741. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139373779, -0.809320569, -1.52708435, 2.16376361e-006, -1.31811611e-008, -0.999986887, -0.999999285, -4.34667946e-008, -2.10417352e-006, -4.34681731e-008, 0.999987125, -1.31816309e-008))
  742. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  743. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  744. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, -0.554747701, 1.38838196, 2.29424859e-006, -1.29473938e-006, -0.999986768, -0.999993086, -1.94942373e-007, -2.24955124e-006, -2.99247716e-007, 0.999992907, -1.50334529e-006))
  745. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  746. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514903, 0.200000003))
  747. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.139282227, -1.8045578, 0.533523798, -1.76147296e-006, -3.09794616e-012, 0.999986887, 1.22528787e-009, 0.999987125, 2.71652232e-012, -0.999999285, 1.22614729e-009, -1.70188764e-006))
  748. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  749. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Wedge",Vector3.new(0.200000003, 1.11070645, 0.694190741))
  750. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000335693359, -6.59405136, -0.000592112541, 2.40226973e-006, -1.28490068e-012, -0.999986887, 1.24207178e-009, 0.999987125, -1.59473465e-012, 0.999999285, -1.24293043e-009, 2.342676e-006))
  751. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 1))
  752. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  753. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139266968, -1.52720642, 0.417087913, 1.89191633e-006, 1.53486269e-006, -0.999986768, 2.68221385e-007, -0.999992907, -1.32623961e-006, -0.999993086, -1.63910158e-007, -1.84722228e-006))
  754. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  755. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  756. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138381958, -1.52720642, 0.415901303, -1.99622514e-006, 2.04153935e-006, 0.999986768, 4.47095587e-008, -0.999992907, 2.25013991e-006, 0.999993086, -5.95946332e-008, 1.95153007e-006))
  757. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  758. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  759. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000442504883, -1.52720642, 0.415933371, -1.99622536e-006, 2.83158755e-007, 0.999986768, 7.45203863e-008, -0.999992907, 4.91770265e-007, 0.999993086, -2.97872873e-008, 1.95153052e-006))
  760. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  761. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  762. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, -1.52720642, 0.417108774, 1.87701528e-006, 2.83121381e-007, -0.999986768, 1.3411227e-007, -0.999992907, -7.45059623e-008, -0.999993086, -2.98034593e-008, -1.832321e-006))
  763. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  764. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  765. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.139282227, -0.555932999, 1.38837814, -2.35764037e-006, -2.2180609e-007, 0.999986768, 0.999993086, -1.50227194e-007, 2.31294325e-006, 4.59184264e-008, 0.999992907, 1.31914391e-008))
  766. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  767. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  768. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.138397217, -1.52720642, 0.417087793, 2.24954783e-006, 1.53481187e-006, -0.999986768, 3.8743238e-007, -0.999992907, -1.32618845e-006, -0.999993086, -2.83120642e-007, -2.20485163e-006))
  769. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  770. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  771. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000381469727, -1.88124084, 0.13823092, -2.27936425e-006, 2.8315867e-007, 0.999986887, 7.4524543e-008, -0.999987125, 2.83158727e-007, 0.999999106, 7.45245003e-008, 2.05586457e-006))
  772. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  773. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  774. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138381958, -1.88122559, 0.138230681, -3.30758758e-006, 2.04154298e-006, 0.999986887, 4.4711939e-008, -0.999987125, 2.04154276e-006, 0.999999106, 4.47181385e-008, 3.08407539e-006))
  775. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  776. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  777. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138381958, -0.555933237, 1.38837814, -2.32782918e-006, -2.21806104e-007, 0.999986768, 0.999993086, -1.50227706e-007, 2.28313206e-006, 4.59189664e-008, 0.999992907, 1.31914248e-008))
  778. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  779. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  780. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139282227, -0.554747581, 1.38838196, 2.7860026e-006, -2.21841574e-007, -0.999986768, -0.999993086, -1.50245711e-007, -2.74130252e-006, -2.54553385e-007, 0.999992907, -4.30454008e-007))
  781. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  782. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  783. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.139282227, -1.52721786, 0.415923357, -1.96642259e-006, 9.98427936e-007, 0.999986768, 1.34116647e-007, -0.999992907, 1.20703544e-006, 0.999993086, 2.98103267e-008, 1.92172752e-006))
  784. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  785. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  786. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000381469727, -1.88124084, 0.13823092, -2.27936425e-006, 2.8315867e-007, 0.999986887, 7.4524543e-008, -0.999987125, 2.83158727e-007, 0.999999106, 7.45245003e-008, 2.05586457e-006))
  787. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  788. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  789. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000442504883, -0.555933475, 1.38838196, -2.70038345e-006, -4.3042246e-007, 0.999986768, 0.999993086, -2.54535934e-007, 2.65568406e-006, 1.50226569e-007, 0.999992907, 2.21807127e-007))
  790. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  791. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  792. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000335693359, 1.80414963, 0.278218031, 6.87196416e-006, -3.6487404e-006, -0.999986887, -1.46187795e-005, -0.999987125, 3.64864036e-006, -0.999999285, 1.46185776e-005, -6.81236816e-006))
  793. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681))
  794. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  795. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000335693359, 1.80420685, 0.277124286, -6.72330088e-006, 3.02124909e-006, 0.999986887, -1.33900166e-005, -0.999987125, 3.02115996e-006, 0.999999285, -1.33898347e-005, 6.66369306e-006))
  796. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681))
  797. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.20000000298023,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.694191575, 0.416514456))
  798. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000335693359, -6.385952, -0.000623106956, 2.52171731e-006, -6.87521763e-013, -0.999986887, 1.240405e-009, 0.999987125, -9.97211536e-013, 0.999999285, -1.24126354e-009, 2.46212267e-006))
  799. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.763609767, 1, 1))
  800. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514903, 0.200000003))
  801. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.138381958, -1.8045311, 0.531616807, 1.86565364e-006, 3.00912897e-012, -0.999986887, 1.23146959e-009, 0.999987125, 2.62771619e-012, 0.999999285, -1.2323218e-009, 1.80606708e-006))
  802. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  803. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  804. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138381958, -1.88122559, 0.138230681, -2.89033301e-006, 2.04154185e-006, 0.999986887, 4.47129906e-008, -0.999987125, 2.04154139e-006, 0.999999106, 4.47183233e-008, 2.66682559e-006))
  805. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  806. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  807. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.138381958, -1.88122559, 0.139439583, 2.47306866e-006, 9.98429982e-007, -0.999986887, -1.34122885e-007, -0.999987125, -9.98429982e-007, -0.999999106, 1.34123553e-007, -2.24956648e-006))
  808. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  809. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  810. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138381958, -1.52720642, 0.415901303, -1.99622514e-006, 2.04153935e-006, 0.999986768, 4.47095587e-008, -0.999992907, 2.25013991e-006, 0.999993086, -5.95946332e-008, 1.95153007e-006))
  811. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  812. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514903, 0.200000003))
  813. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139282227, -1.80462265, 0.531616807, 1.74643674e-006, 2.98781269e-012, -0.999986887, 1.23137012e-009, 0.999987125, 2.6063999e-012, 0.999999285, -1.23222943e-009, 1.68685165e-006))
  814. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  815. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.694191575, 0.200000003))
  816. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138305664, 1.24956894, 0.6704638, -2.46169611e-006, -6.48390952e-010, 0.999986887, -8.51392912e-009, -0.999987125, -6.48026466e-010, 0.999999285, -8.51469117e-009, 2.40210238e-006))
  817. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  818. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.694191575, 0.200000003))
  819. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000503540039, 1.2496109, 0.67046392, -2.52148266e-006, -6.47641329e-010, 0.999986887, -8.50918624e-009, -0.999987125, -6.47276843e-010, 0.999999285, -8.50995541e-009, 2.46188779e-006))
  820. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  821. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.200000003, 0.277676582, 0.200000003))
  822. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000335693359, -6.17771149, -0.000592112541, 2.78921061e-006, -1.21371468e-012, -0.999986887, 1.2474618e-009, 0.999987125, -1.52305284e-012, 0.999999285, -1.24832034e-009, 2.72961233e-006))
  823. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.833028793, 1, 0.694190681))
  824. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  825. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000381469727, -1.88124084, 0.139450431, 2.08563165e-006, 2.83160801e-007, -0.999986887, -7.45207913e-008, -0.999987125, -2.83160887e-007, -0.999999106, 7.45205213e-008, -1.86213424e-006))
  826. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  827. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.694191575, 0.200000003))
  828. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.139282227, 1.24953461, 0.67046392, -2.10415715e-006, -6.47310927e-010, 0.999986887, -8.51068549e-009, -0.999987125, -6.46946441e-010, 0.999999285, -8.5114511e-009, 2.04456774e-006))
  829. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  830. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  831. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.139282227, 1.24956894, 0.531616807, -2.0742898e-006, -6.4645117e-010, 0.999986887, -8.51314752e-009, -0.999987125, -6.46086684e-010, 0.999999285, -8.51391313e-009, 2.01470061e-006))
  832. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681))
  833. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  834. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000442504883, -1.52720642, 0.415933371, -1.99622536e-006, 2.83158755e-007, 0.999986768, 7.45203863e-008, -0.999992907, 4.91770265e-007, 0.999993086, -2.97872873e-008, 1.95153052e-006))
  835. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  836. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  837. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000503540039, 1.2496109, 0.531616807, -2.43205386e-006, -6.47012499e-010, 0.999986887, -8.51063575e-009, -0.999987125, -6.46651566e-010, 0.999999285, -8.51139781e-009, 2.37246036e-006))
  838. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681))
  839. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  840. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.138305664, 1.24954987, 0.53352356, 2.11587303e-006, -6.32865649e-010, -0.999986887, 8.54560156e-009, -0.999987125, 6.33265052e-010, -0.999999285, -8.54462634e-009, -2.05628339e-006))
  841. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681))
  842. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.694191575, 0.200000003))
  843. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.138381958, 1.24946213, 0.672370553, 1.89562525e-006, -6.37729314e-010, -0.999986887, 6.0633063e-009, -0.999987125, 6.38124165e-010, -0.999999285, -6.06236128e-009, -1.83603845e-006))
  844. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  845. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.694191575, 0.200000003))
  846. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000442504883, 1.24946213, 0.672370553, 1.95524262e-006, -6.37736419e-010, -0.999986887, 6.06350525e-009, -0.999987125, 6.3813127e-010, -0.999999285, -6.06256023e-009, -1.89565515e-006))
  847. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  848. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514903, 0.200000003))
  849. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138381958, -1.80463409, 0.53352356, -1.58262162e-006, -3.13347265e-012, 0.999986887, 1.22538735e-009, 0.999987125, 2.75204946e-012, -0.999999285, 1.22624677e-009, -1.52303869e-006))
  850. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  851. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  852. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.138381958, -0.811196804, -1.52706528, -2.07450216e-006, -1.31914533e-008, 0.999986887, 0.999999285, -4.59201956e-008, 2.01491321e-006, 4.59198546e-008, 0.999987125, 1.31911575e-008))
  853. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  854. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  855. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000442504883, -0.811196804, -1.52706528, -2.13412386e-006, -1.31914391e-008, 0.999986887, 0.999999285, -4.59191298e-008, 2.074534e-006, 4.59187888e-008, 0.999987125, 1.31911468e-008))
  856. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  857. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.416514903, 0.200000003))
  858. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000442504883, -1.80457306, 0.53352356, -1.70185444e-006, -3.1121568e-012, 0.999986887, 1.22531629e-009, 0.999987125, 2.73073317e-012, -0.999999285, 1.22616861e-009, -1.64226992e-006))
  859. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  860. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  861. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000503540039, 1.24959183, 0.53352356, 2.42881674e-006, -6.3343053e-010, -0.999986887, 8.54309334e-009, -0.999987125, 6.33833486e-010, -0.999999285, -8.54211812e-009, -2.36922324e-006))
  862. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681))
  863. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.694191575, 0.200000003))
  864. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139282227, 1.24946213, 0.672370553, 1.92543371e-006, -6.37729314e-010, -0.999986887, 6.06340578e-009, -0.999987125, 6.38120612e-010, -0.999999285, -6.06246076e-009, -1.86584657e-006))
  865. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  866. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.416514933, 0.200000003))
  867. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.139282227, -0.811196804, -1.52706528, -2.1043129e-006, -1.31914355e-008, 0.999986887, 0.999999285, -4.59196663e-008, 2.04472349e-006, 4.59193217e-008, 0.999987125, 1.31911433e-008))
  868. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 1, 0.694190681))
  869. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Wedge",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  870. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.139282227, 1.24956894, 0.53352356, 2.42881697e-006, -6.3379646e-010, -0.999986887, 8.54917559e-009, -0.999987125, 6.34199415e-010, -0.999999285, -8.54820037e-009, -2.36922347e-006))
  871. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.694190621, 0.694191515, 0.694190681))
  872.  
  873. function MagniDamage(Hit,Part,magni,mindam,maxdam,knock,Type)
  874. for _,c in pairs(workspace:children()) do
  875. local hum=c:findFirstChild("Humanoid")
  876. if hum~=nil then
  877. local head=c:findFirstChild("Torso")
  878. if head~=nil then
  879. local targ=head.Position-Part.Position
  880. local mag=targ.magnitude
  881. if mag<=magni and c.Name~=Player.Name then
  882. Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
  883. end
  884. end
  885. end
  886. end
  887. end
  888.  
  889. function magicring(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  890. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",Vector3.new(0.5,0.5,0.5))
  891. prt.Anchored=true
  892. prt.CFrame=cframe
  893. prt.Touched:connect(function(hit) end)
  894. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(0,0,0),Vector3.new(x1,y1,z1))
  895. local ref = Instance.new("Part",workspace)
  896. ref.Anchored = true
  897. ref.Size = Vector3.new(5,5,5)
  898. ref.CFrame = Torso.CFrame*CFrame.new(-5,0,0)
  899. ref.CanCollide = false
  900. ref.Transparency = 1
  901. MagniDamage(prt,ref,10,5,10,0,"Knockdown")
  902. coroutine.resume(coroutine.create(function(Part,Mesh)
  903. for i=0,1,0.03 do
  904. wait()
  905. Part.CFrame=Part.CFrame
  906. Part.Transparency=i
  907. Mesh.Scale=Mesh.Scale+Vector3.new(x3,y3,z3)
  908. end
  909. Part.Parent=nil
  910. ref.Parent = nil
  911. end),prt,msh)
  912. end
  913.  
  914. function attackone()
  915. attack = true
  916. for i = 0,1,0.1 do
  917. swait()
  918. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  919. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.3)
  920. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(10)),.3)
  921. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3)
  922. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  923. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3)
  924. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  925. end
  926. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(5,10),"Normal",RootPart,.2,1) end)
  927. so("http://roblox.com/asset/?id=199150686",Hitbox,1,1)
  928. for i = 0,1,0.1 do
  929. swait()
  930. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  931. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  932. local h = 5
  933. 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)
  934. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  935. 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)
  936. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  937. scfr = blcf
  938. elseif not scfr then
  939. scfr = blcf
  940. end
  941. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  942. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.3)
  943. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(-130)),.3)
  944. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)),.3)
  945. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  946. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3)
  947. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3)
  948. end
  949. for i = 0,1,0.1 do
  950. swait()
  951. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  952. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  953. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(50)),.3)
  954. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)),.3)
  955. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  956. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3)
  957. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  958. end
  959. so("http://roblox.com/asset/?id=199146359",Hitbox,1,1)
  960. for i = 0,1,0.1 do
  961. swait()
  962. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  963. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  964. local h = 5
  965. 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)
  966. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  967. 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)
  968. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  969. scfr = blcf
  970. elseif not scfr then
  971. scfr = blcf
  972. end
  973. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  974. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  975. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(130)),.3)
  976. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)),.3)
  977. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  978. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3)
  979. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.3)
  980. end
  981. attack = false
  982. con:disconnect()
  983. scfr = nil
  984. end
  985.  
  986. function attacktwo()
  987. attack = true
  988. for i = 0,1,0.1 do
  989. swait()
  990. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  991. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  992. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(-90)),.3)
  993. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3)
  994. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  995. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3)
  996. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  997. end
  998. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(5,10),"Normal",RootPart,.2,1) end)
  999. so("http://roblox.com/asset/?id=199150686",Hitbox,1,1)
  1000. for i = 0,1,0.1 do
  1001. swait()
  1002. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1003. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-80)),.3)
  1004. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-190), math.rad(-90)),.3)
  1005. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3)
  1006. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  1007. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3)
  1008. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.3)
  1009. end
  1010. for i = 0,1,0.1 do
  1011. swait()
  1012. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  1013. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  1014. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),.3)
  1015. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3)
  1016. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  1017. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3)
  1018. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1019. end
  1020. so("http://roblox.com/asset/?id=199150686",Hitbox,1,.9)
  1021. for i = 0,1,0.1 do
  1022. swait()
  1023. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1024. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1025. local h = 5
  1026. 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)
  1027. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1028. 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)
  1029. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1030. scfr = blcf
  1031. elseif not scfr then
  1032. scfr = blcf
  1033. end
  1034. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1035. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.3)
  1036. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(90)),.3)
  1037. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3)
  1038. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  1039. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3)
  1040. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1041. end
  1042. for i = 0,1,0.1 do
  1043. swait()
  1044. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1045. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1046. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(0)),.3)
  1047. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)),.3)
  1048. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  1049. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3)
  1050. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1051. end
  1052. so("http://roblox.com/asset/?id=199146359",Hitbox,1,.9)
  1053. for i = 0,1,0.1 do
  1054. swait()
  1055. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1056. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1057. local h = 5
  1058. 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)
  1059. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1060. 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)
  1061. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1062. scfr = blcf
  1063. elseif not scfr then
  1064. scfr = blcf
  1065. end
  1066. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1067. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-20)),.3)
  1068. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)),.3)
  1069. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-30)),.3)
  1070. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  1071. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3)
  1072. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1073. end
  1074. attack = false
  1075. con:disconnect()
  1076. scfr = nil
  1077. end
  1078.  
  1079. function Spin()
  1080. attack=true
  1081. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(5,10),"Normal",RootPart,.2,1) end)
  1082. for i=0,1,0.1 do
  1083. swait()
  1084. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  1085. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  1086. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(120)),.3)
  1087. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-50)),.3)
  1088. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  1089. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3)
  1090. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1091. end
  1092. Humanoid.Jump = true
  1093. for i=0,1,1 do
  1094. so("http://roblox.com/asset/?id=234365573",Torso,1,1)
  1095. swait()
  1096. for i=0,1,0.1 do
  1097. swait()
  1098. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1099. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1100. local h = 5
  1101. 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)
  1102. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1103. 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)
  1104. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1105. scfr = blcf
  1106. elseif not scfr then
  1107. scfr = blcf
  1108. end
  1109. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2)*euler(0,-1.2,6*i),.3)
  1110. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  1111. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(80)),.3)
  1112. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-70)),.3)
  1113. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(-10)),.3)
  1114. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(10)),.3)
  1115. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  1116. end
  1117. end
  1118. attack=false
  1119. con:disconnect()
  1120. scfr = nil
  1121. end
  1122.  
  1123. function StunTarget()
  1124. attack = true
  1125. for i = 0,1,0.05 do
  1126. swait()
  1127. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1128. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.3)
  1129. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(10)),.3)
  1130. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-90)),.3)
  1131. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  1132. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.3)
  1133. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1134. end
  1135. so("http://roblox.com/asset/?id=228343249",Torso,1,1)
  1136. for i = 1,2 do
  1137. magicring(BrickColor.new("Navy blue"),Torso.CFrame*CFrame.new(-5,0,0)*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,1,1,0.05)
  1138. magicring(BrickColor.new("Navy blue"),Torso.CFrame*CFrame.new(-5,0,0)*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,1,0.1,1,1,0.05)
  1139. end
  1140. attack = false
  1141. end
  1142.  
  1143. mouse.Button1Down:connect(function()
  1144. if attack == false and attacktype == 1 then
  1145. attacktype = 2
  1146. attackone()
  1147. elseif attack == false and attacktype == 2 then
  1148. attacktype = 1
  1149. attacktwo()
  1150. end
  1151. end)
  1152.  
  1153. mouse.KeyDown:connect(function(k)
  1154. k=k:lower()
  1155. if attack == false and k == 'q' then
  1156. Spin()
  1157. elseif attack == false and k == 'e' then
  1158. StunTarget()
  1159. end
  1160. end)
  1161.  
  1162.  
  1163. local sine = 0
  1164. local change = 1
  1165. local val = 0
  1166.  
  1167. while true do
  1168. swait()
  1169. sine = sine + change
  1170. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1171. local velderp=RootPart.Velocity.y
  1172. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1173. if equipped==true or equipped==false then
  1174. if attack==false then
  1175. idle=idle+1
  1176. else
  1177. idle=0
  1178. end
  1179. if idle>=500 then
  1180. if attack==false then
  1181. --Sheath()
  1182. end
  1183. end
  1184. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1185. if attack==false then
  1186. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1187. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1188. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)),.2)
  1189. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)),.2)
  1190. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.2)
  1191. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20)),.2)
  1192. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1193. end
  1194. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1195. Anim="Fall"
  1196. if attack==false then
  1197. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1198. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1199. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(40)),.2)
  1200. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)),.2)
  1201. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.2)
  1202. LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-90),math.rad(10)),.2)
  1203. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1204. end
  1205. elseif torvel<1 and hitfloor~=nil then
  1206. Anim="Idle"
  1207. if attack==false then
  1208. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  1209. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(40)),.2)
  1210. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(10)),.2)
  1211. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),.2)
  1212. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.2)
  1213. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(-5)),.2)
  1214. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1215. end
  1216. elseif torvel>2 and hitfloor~=nil then
  1217. Anim="Walk"
  1218. if attack==false then
  1219. change=3
  1220. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1221. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1222. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(10)),.2)
  1223. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-15)),.2)
  1224. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10)),.2)
  1225. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10)),.2)
  1226. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  1227. end
  1228. end
  1229. end
  1230. if #Effects>0 then
  1231. for e=1,#Effects do
  1232. if Effects[e]~=nil then
  1233. local Thing=Effects[e]
  1234. if Thing~=nil then
  1235. local Part=Thing[1]
  1236. local Mode=Thing[2]
  1237. local Delay=Thing[3]
  1238. local IncX=Thing[4]
  1239. local IncY=Thing[5]
  1240. local IncZ=Thing[6]
  1241. if Thing[1].Transparency<=1 then
  1242. if Thing[2]=="Block1" then
  1243. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1244. Mesh=Thing[1].Mesh
  1245. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1246. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1247. elseif Thing[2]=="Cylinder" then
  1248. Mesh=Thing[1].Mesh
  1249. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1250. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1251. elseif Thing[2]=="Blood" then
  1252. Mesh=Thing[7]
  1253. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1254. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1255. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1256. elseif Thing[2]=="Elec" then
  1257. Mesh=Thing[1].Mesh
  1258. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1259. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1260. elseif Thing[2]=="Disappear" then
  1261. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1262. end
  1263. else
  1264. Part.Parent=nil
  1265. table.remove(Effects,e)
  1266. end
  1267. end
  1268. end
  1269. end
  1270. end
  1271. end
  1272. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement