Advertisement
Basykung7845

Test

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