Advertisement
SuperDragonFost

Untitled

Jul 26th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.12 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152.  
  153. Player=game:GetService("Players").LocalPlayer
  154. Character=Player.Character
  155. PlayerGui=Player.PlayerGui
  156. Backpack=Player.Backpack
  157. Torso=Character.Torso
  158. Head=Character.Head
  159. Humanoid=Character.Humanoid
  160. m=Instance.new('Model',Character)
  161. LeftArm=Character["Left Arm"]
  162. LeftLeg=Character["Left Leg"]
  163. RightArm=Character["Right Arm"]
  164. RightLeg=Character["Right Leg"]
  165. LS=Torso["Left Shoulder"]
  166. LH=Torso["Left Hip"]
  167. RS=Torso["Right Shoulder"]
  168. RH=Torso["Right Hip"]
  169. Face = Head.face
  170. Neck=Torso.Neck
  171. it=Instance.new
  172. attacktype=1
  173. vt=Vector3.new
  174. cf=CFrame.new
  175. euler=CFrame.fromEulerAnglesXYZ
  176. angles=CFrame.Angles
  177. cloaked=false
  178. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  179. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  180. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  181. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  182. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  183. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  184. RootPart=Character.HumanoidRootPart
  185. RootJoint=RootPart.RootJoint
  186. RootCF=euler(-1.57,0,3.14)
  187. attack = false
  188. attackdebounce = false
  189. deb=false
  190. equipped=true
  191. hand=false
  192. MMouse=nil
  193. combo=0
  194. mana=0
  195. trispeed=.2
  196. attackmode='none'
  197. local idle=0
  198. local Anim="Idle"
  199. local Effects={}
  200. local gun=false
  201. local shoot=false
  202. player=nil
  203. mana=0
  204. local CurrentMode = "Unsheathed"
  205. plr = game.Players.LocalPlayer
  206. asdasd = plr.Name
  207. ws = game.Workspace[asdasd]
  208. Mouse = Player:GetMouse()
  209. --NFSBOYLOL EDIT
  210. Player.CanLoadCharacterAppearance = false
  211. Character.Humanoid.MaxHealth = math.huge
  212. Character.Humanoid.JumpPower = 100
  213. Character.Humanoid.WalkSpeed = (90)
  214. function clearshirt() for i,v in pairs(Player:GetChildren()) do
  215. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Hat") then v:remove()
  216. end
  217. end
  218. end
  219. --FUNCTIONS AND HUMANOID STATS
  220. Lighting = game.Lighting
  221. skybox = Instance.new("Sky", Lighting)
  222.  
  223. skybox.SkyboxBk = "rbxassetid://83166908"
  224. skybox.SkyboxDn = "rbxassetid://83166908"
  225. skybox.SkyboxFt = "rbxassetid://83166908"
  226. skybox.SkyboxLf = "rbxassetid://83166908"
  227. skybox.SkyboxRt = "rbxassetid://83166908"
  228. skybox.SkyboxUp = "rbxassetid://83166908"
  229. --SKYBOX
  230.  
  231. Character.Humanoid.NameDisplayDistance = 0
  232. Character.Humanoid.HealthDisplayDistance = 0
  233. Character.Head.BrickColor = BrickColor.new(255,0,0)
  234. Character.Head.face.Texture = "http://www.roblox.com/asset/?id=259421287"
  235. Character.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=21057410"
  236. Character.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=64886449"
  237. Character.Head.Mesh.Scale = Vector3.new(1,1,1)
  238. Character.Head.Mesh.VertexColor = Vector3.new(0.7,0.7,0.7)
  239. Character.Head.Material = "Neon"
  240.  
  241. shirt = Instance.new("Shirt", Character)
  242. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=359403460"
  243.  
  244. pants = Instance.new("Pants", Character)
  245. pants.PantsTemplate = "http://www.roblox.com/asset/?id=359404229"
  246. --SHIRT AND PANTS
  247. game.Workspace.Base.Material = "Marble"
  248. game.Workspace.Base.BrickColor = BrickColor.new("Gold")
  249. --BASEPLATE
  250. local particleemitter = Instance.new("ParticleEmitter", ws.Torso)
  251. particleemitter.VelocitySpread = 180
  252. particleemitter.Lifetime = NumberRange.new(0.2)
  253. particleemitter.Speed = NumberRange.new(2)
  254. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2), NumberSequenceKeypoint.new(1, 10)})
  255. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  256. particleemitter.Rate = 100
  257. particleemitter.Rotation = NumberRange.new(-45, 45)
  258. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  259. particleemitter.LightEmission = 0
  260. particleemitter.Color = ColorSequence.new(Color3.new(255,255,0), Color3.new(255,210,0)) --Color here
  261.  
  262. local firee = Instance.new("Fire")
  263. firee.Parent = ws.Head
  264. firee.Size = ("3")
  265. firee.Color = Color3.new(90,90,90)
  266. firee.SecondaryColor = Color3.new(90,90,0)
  267. --PARTICLES+FIRE
  268. music = Instance.new("Sound", Character)
  269. music.SoundId ="http://www.roblox.com/asset/?id=182202730"
  270. music.Volume = 0.6
  271. music.Looped = true
  272. wait(0.1)
  273. music:Play()
  274. --MUSIC
  275.  
  276.  
  277.  
  278.  
  279.  
  280. --NFSBOYLOL EDIT
  281. mouse=Player:GetMouse()
  282. --save shoulders
  283. RSH, LSH=nil, nil
  284. --welds
  285. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  286. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  287. LH=Torso["Left Hip"]
  288. RH=Torso["Right Hip"]
  289. TorsoColor=Torso.BrickColor
  290. function NoOutline(Part)
  291. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  292. end
  293. player=Player
  294. ch=Character
  295. RSH=ch.Torso["Right Shoulder"]
  296. LSH=ch.Torso["Left Shoulder"]
  297. --
  298. RSH.Parent=nil
  299. LSH.Parent=nil
  300. --
  301. RW.Name="Right Shoulder"
  302. RW.Part0=ch.Torso
  303. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  304. RW.C1=cf(0, 0.5, 0)
  305. RW.Part1=ch["Right Arm"]
  306. RW.Parent=ch.Torso
  307. --
  308. LW.Name="Left Shoulder"
  309. LW.Part0=ch.Torso
  310. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  311. LW.C1=cf(0, 0.5, 0)
  312. LW.Part1=ch["Left Arm"]
  313. LW.Parent=ch.Torso
  314.  
  315. local function weldBetween(a, b)
  316. local weldd = Instance.new("ManualWeld")
  317. weldd.Part0 = a
  318. weldd.Part1 = b
  319. weldd.C0 = CFrame.new()
  320. weldd.C1 = b.CFrame:inverse() * a.CFrame
  321. weldd.Parent = a
  322. return weldd
  323. end
  324.  
  325. function nooutline(part)
  326. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  327. end
  328.  
  329. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  330. local fp=it("Part")
  331. fp.formFactor=formfactor
  332. fp.Parent=parent
  333. fp.Reflectance=reflectance
  334. fp.Transparency=transparency
  335. fp.CanCollide=false
  336. fp.Locked=true
  337. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  338. fp.Name=name
  339. fp.Size=size
  340. fp.Position=Character.Torso.Position
  341. nooutline(fp)
  342. fp.Material=material
  343. fp:BreakJoints()
  344. return fp
  345. end
  346.  
  347. function swait(num)
  348. if num==0 or num==nil then
  349. game:service'RunService'.Heartbeat:wait(0)
  350. else
  351. for i=0,num do
  352. game:service'RunService'.Heartbeat:wait(0)
  353. end
  354. end
  355. end
  356.  
  357. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  358. local mesh=it(Mesh)
  359. mesh.Parent=part
  360. if Mesh=="SpecialMesh" then
  361. mesh.MeshType=meshtype
  362. mesh.MeshId=meshid
  363. end
  364. mesh.Offset=offset
  365. mesh.Scale=scale
  366. return mesh
  367. end
  368.  
  369. function weld(parent,part0,part1,c0,c1)
  370. local weld=it("Weld")
  371. weld.Parent=parent
  372. weld.Part0=part0
  373. weld.Part1=part1
  374. weld.C0=c0
  375. weld.C1=c1
  376. return weld
  377. end
  378.  
  379.  
  380. local function CFrameFromTopBack(at, top, back)
  381. local right = top:Cross(back)
  382. return CFrame.new(at.x, at.y, at.z,
  383. right.x, top.x, back.x,
  384. right.y, top.y, back.y,
  385. right.z, top.z, back.z)
  386. end
  387.  
  388. function Triangle(a, b, c)
  389. local edg1 = (c-a):Dot((b-a).unit)
  390. local edg2 = (a-b):Dot((c-b).unit)
  391. local edg3 = (b-c):Dot((a-c).unit)
  392. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  393. a, b, c = a, b, c
  394. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  395. a, b, c = b, c, a
  396. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  397. a, b, c = c, a, b
  398. else
  399. assert(false, "unreachable")
  400. end
  401.  
  402. local len1 = (c-a):Dot((b-a).unit)
  403. local len2 = (b-a).magnitude - len1
  404. local width = (a + (b-a).unit*len1 - c).magnitude
  405.  
  406. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  407.  
  408. local list = {}
  409.  
  410. if len1 > 0.01 then
  411. local w1 = Instance.new('WedgePart', m)
  412. game:GetService("Debris"):AddItem(w1,5)
  413. w1.Material = "SmoothPlastic"
  414. w1.FormFactor = 'Custom'
  415. w1.BrickColor = BrickColor.new("Gold")
  416. w1.Transparency = 0
  417. w1.Reflectance = 0
  418. w1.Material = "Neon"
  419. w1.CanCollide = false
  420. NoOutline(w1)
  421. local sz = Vector3.new(0.2, width, len1)
  422. w1.Size = sz
  423. local sp = Instance.new("SpecialMesh",w1)
  424. sp.MeshType = "Wedge"
  425. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  426. w1:BreakJoints()
  427. w1.Anchored = true
  428. w1.Parent = workspace
  429. w1.Transparency = 0.3
  430. table.insert(Effects,{w1,"Disappear",.03})
  431. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  432. table.insert(list,w1)
  433. end
  434. if len2 > 0.01 then
  435. local w2 = Instance.new('WedgePart', m)
  436. game:GetService("Debris"):AddItem(w2,5)
  437. w2.Material = "SmoothPlastic"
  438. w2.FormFactor = 'Custom'
  439. w2.BrickColor = BrickColor.new("Gold")
  440. w2.Transparency = 0
  441. w2.Reflectance = 0
  442. w2.Material = "Neon"
  443. w2.CanCollide = false
  444. NoOutline(w2)
  445. local sz = Vector3.new(0.2, width, len2)
  446. w2.Size = sz
  447. local sp = Instance.new("SpecialMesh",w2)
  448. sp.MeshType = "Wedge"
  449. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  450. w2:BreakJoints()
  451. w2.Anchored = true
  452. w2.Parent = workspace
  453. w2.Transparency = 0.3
  454. table.insert(Effects,{w2,"Disappear",.03})
  455. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  456. table.insert(list,w2)
  457. end
  458. return unpack(list)
  459. end
  460.  
  461.  
  462. so = function(id,par,vol,pit)
  463. coroutine.resume(coroutine.create(function()
  464. local sou = Instance.new("Sound",par or workspace)
  465. sou.Volume=vol
  466. sou.Pitch=pit or 1
  467. sou.SoundId=id
  468. swait()
  469. sou:play()
  470. game:GetService("Debris"):AddItem(sou,6)
  471. end))
  472. end
  473.  
  474. function clerp(a,b,t)
  475. local qa = {QuaternionFromCFrame(a)}
  476. local qb = {QuaternionFromCFrame(b)}
  477. local ax, ay, az = a.x, a.y, a.z
  478. local bx, by, bz = b.x, b.y, b.z
  479. local _t = 1-t
  480. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  481. end
  482.  
  483. function QuaternionFromCFrame(cf)
  484. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  485. local trace = m00 + m11 + m22
  486. if trace > 0 then
  487. local s = math.sqrt(1 + trace)
  488. local recip = 0.5/s
  489. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  490. else
  491. local i = 0
  492. if m11 > m00 then
  493. i = 1
  494. end
  495. if m22 > (i == 0 and m00 or m11) then
  496. i = 2
  497. end
  498. if i == 0 then
  499. local s = math.sqrt(m00-m11-m22+1)
  500. local recip = 0.5/s
  501. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  502. elseif i == 1 then
  503. local s = math.sqrt(m11-m22-m00+1)
  504. local recip = 0.5/s
  505. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  506. elseif i == 2 then
  507. local s = math.sqrt(m22-m00-m11+1)
  508. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  509. end
  510. end
  511. end
  512.  
  513. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  514. local xs, ys, zs = x + x, y + y, z + z
  515. local wx, wy, wz = w*xs, w*ys, w*zs
  516. local xx = x*xs
  517. local xy = x*ys
  518. local xz = x*zs
  519. local yy = y*ys
  520. local yz = y*zs
  521. local zz = z*zs
  522. 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))
  523. end
  524.  
  525. function QuaternionSlerp(a, b, t)
  526. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  527. local startInterp, finishInterp;
  528. if cosTheta >= 0.0001 then
  529. if (1 - cosTheta) > 0.0001 then
  530. local theta = math.acos(cosTheta)
  531. local invSinTheta = 1/math.sin(theta)
  532. startInterp = math.sin((1-t)*theta)*invSinTheta
  533. finishInterp = math.sin(t*theta)*invSinTheta
  534. else
  535. startInterp = 1-t
  536. finishInterp = t
  537. end
  538. else
  539. if (1+cosTheta) > 0.0001 then
  540. local theta = math.acos(-cosTheta)
  541. local invSinTheta = 1/math.sin(theta)
  542. startInterp = math.sin((t-1)*theta)*invSinTheta
  543. finishInterp = math.sin(t*theta)*invSinTheta
  544. else
  545. startInterp = t-1
  546. finishInterp = t
  547. end
  548. end
  549. 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
  550. end
  551.  
  552. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  553. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  554. end
  555.  
  556. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  557. if hit.Parent==nil then
  558. return
  559. end
  560. local h=hit.Parent:FindFirstChild("Humanoid")
  561. for _,v in pairs(hit.Parent:children()) do
  562. if v:IsA("Humanoid") then
  563. h=v
  564. end
  565. end
  566. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  567. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  568. end
  569. if hit.Parent.className=="Hat" then
  570. hit=hit.Parent.Parent:findFirstChild("Head")
  571. end
  572. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  573. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  574. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  575. return
  576. end]]
  577. -- hs(hit,1.2)
  578. local c=Instance.new("ObjectValue")
  579. c.Name="creator"
  580. c.Value=game:service("Players").LocalPlayer
  581. c.Parent=h
  582. game:GetService("Debris"):AddItem(c,.5)
  583. local Damage=math.huge
  584. -- h:TakeDamage(Damage)
  585. local blocked=false
  586. local block=hit.Parent:findFirstChild("Block")
  587. if block~=nil then
  588. print(block.className)
  589. if block.className=="NumberValue" then
  590. if block.Value>0 then
  591. blocked=true
  592. if decreaseblock==nil then
  593. block.Value=block.Value-1
  594. end
  595. end
  596. end
  597. if block.className=="IntValue" then
  598. if block.Value>0 then
  599. blocked=true
  600. if decreaseblock~=nil then
  601. block.Value=block.Value-1
  602. end
  603. end
  604. end
  605. end
  606. if blocked==false then
  607. -- h:TakeDamage(Damage)
  608. h.Health=h.Health-Damage
  609. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  610. else
  611. h.Health=h.Health-(Damage/2)
  612. 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)
  613. end
  614. if Type=="Knockdown" then
  615. local hum=hit.Parent.Humanoid
  616. hum.PlatformStand=true
  617. coroutine.resume(coroutine.create(function(HHumanoid)
  618. swait(1)
  619. HHumanoid.PlatformStand=false
  620. end),hum)
  621. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  622. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  623. local bodvol=Instance.new("BodyVelocity")
  624. bodvol.velocity=angle*knockback
  625. bodvol.P=5000
  626. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  627. bodvol.Parent=hit
  628. local rl=Instance.new("BodyAngularVelocity")
  629. rl.P=3000
  630. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  631. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  632. rl.Parent=hit
  633. game:GetService("Debris"):AddItem(bodvol,.5)
  634. game:GetService("Debris"):AddItem(rl,.5)
  635. elseif Type=="Normal" then
  636. local vp=Instance.new("BodyVelocity")
  637. vp.P=500
  638. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  639. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  640. if KnockbackType==1 then
  641. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  642. elseif KnockbackType==2 then
  643. vp.velocity=Property.CFrame.lookVector*knockback
  644. end
  645. if knockback>0 then
  646. vp.Parent=hit.Parent.Torso
  647. end
  648. game:GetService("Debris"):AddItem(vp,.5)
  649. elseif Type=="Up" then
  650. local bodyVelocity=Instance.new("BodyVelocity")
  651. bodyVelocity.velocity=vt(0,60,0)
  652. bodyVelocity.P=5000
  653. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  654. bodyVelocity.Parent=hit
  655. game:GetService("Debris"):AddItem(bodyVelocity,1)
  656. local rl=Instance.new("BodyAngularVelocity")
  657. rl.P=3000
  658. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  659. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  660. rl.Parent=hit
  661. game:GetService("Debris"):AddItem(rl,.5)
  662. elseif Type=="Snare" then
  663. local bp=Instance.new("BodyPosition")
  664. bp.P=2000
  665. bp.D=100
  666. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  667. bp.position=hit.Parent.Torso.Position
  668. bp.Parent=hit.Parent.Torso
  669. game:GetService("Debris"):AddItem(bp,1)
  670. elseif Type=="Target" then
  671. local Targetting = false
  672. if Targetting==false then
  673. ZTarget=hit.Parent.Torso
  674. coroutine.resume(coroutine.create(function(Part)
  675. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  676. swait(5)
  677. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  678. end),ZTarget)
  679. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  680. local targetgui=Instance.new("BillboardGui")
  681. targetgui.Parent=ZTarget
  682. targetgui.Size=UDim2.new(10,100,10,100)
  683. local targ=Instance.new("ImageLabel")
  684. targ.Parent=targetgui
  685. targ.BackgroundTransparency=1
  686. targ.Image="rbxassetid://4834067"
  687. targ.Size=UDim2.new(1,0,1,0)
  688. cam.CameraType="Scriptable"
  689. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  690. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  691. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  692. Targetting=true
  693. RocketTarget=ZTarget
  694. for i=1,Property do
  695. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  696. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  697. swait()
  698. end
  699. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  700. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  701. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  702. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  703. end
  704. Targetting=false
  705. RocketTarget=nil
  706. targetgui.Parent=nil
  707. cam.CameraType="Custom"
  708. end
  709. end
  710. local debounce=Instance.new("BoolValue")
  711. debounce.Name="DebounceHit"
  712. debounce.Parent=hit.Parent
  713. debounce.Value=true
  714. game:GetService("Debris"):AddItem(debounce,Delay)
  715. c=Instance.new("ObjectValue")
  716. c.Name="creator"
  717. c.Value=Player
  718. c.Parent=h
  719. game:GetService("Debris"):AddItem(c,.5)
  720. end
  721. end
  722.  
  723.  
  724. function ShowDamage(Pos, Text, Time, Color)
  725. local Rate = (1 / 30)
  726. local Pos = (Pos or Vector3.new(0, 0, 0))
  727. local Text = (Text or "")
  728. local Time = (Time or 2)
  729. local Color = (Color or Color3.new(1, 0, 0))
  730. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  731. EffectPart.Anchored = true
  732. local BillboardGui = Instance.new("BillboardGui")
  733. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  734. BillboardGui.Adornee = EffectPart
  735. local TextLabel = Instance.new("TextLabel")
  736. TextLabel.BackgroundTransparency = 1
  737. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  738. TextLabel.Text = Text
  739. TextLabel.TextColor3 = Color
  740. TextLabel.TextScaled = true
  741. TextLabel.Font = Enum.Font.ArialBold
  742. TextLabel.Parent = BillboardGui
  743. BillboardGui.Parent = EffectPart
  744. game.Debris:AddItem(EffectPart, (Time + 0.1))
  745. EffectPart.Parent = game:GetService("Workspace")
  746. Delay(0, function()
  747. local Frames = (Time / Rate)
  748. for Frame = 1, Frames do
  749. wait(Rate)
  750. local Percent = (Frame / Frames)
  751. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  752. TextLabel.TextTransparency = Percent
  753. end
  754. if EffectPart and EffectPart.Parent then
  755. EffectPart:Destroy()
  756. end
  757. end)
  758. end
  759.  
  760. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Handle",Vector3.new(0.34799999, 2.78399992, 0.34799999))
  761. 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))
  762. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  763. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Gold","Hitbox",Vector3.new(1.04400003, 6.35600042, 0.600000024))
  764. 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))
  765. mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  766. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  767. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00253105164, -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))
  768. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.0649600029, 0.266800046, 0.495319903))
  769. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","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.90548706, -0.270383835, 1.38366803e-013, -2.4656245e-007, -1, -0.707106292, 0.707106471, -1.74345999e-007, 0.707106471, 0.707106292, -1.74345757e-007))
  771. 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))
  772. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
  773. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.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))
  774. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  775. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 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, 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))
  777. 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))
  778. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.812000036, 0.591600001))
  779. 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))
  780. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  781. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 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.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))
  783. 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))
  784. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 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.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))
  786. 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))
  787. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 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.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))
  789. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  790. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 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.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))
  792. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
  793. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(1.04400003, 4.75600052, 0.200000003))
  794. 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))
  795. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  796. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  797. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.055480957, 0.00242888927, 4.62282181, 1.38366803e-013, -2.4656245e-007, -1, 0.999999881, 1.91580511e-008, 1.33643137e-013, 1.91580511e-008, -0.999999881, 2.46562422e-007))
  798. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.230839998, 0.200680032, 2.79675961))
  799. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
  800. 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))
  801. 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))
  802. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  803. 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))
  804. 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))
  805. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  806. 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))
  807. 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))
  808. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  809. 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))
  810. 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))
  811. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  812. 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))
  813. 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))
  814. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  815. 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))
  816. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  817. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  818. 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))
  819. 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))
  820. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.812000036, 0.200000003, 0.579999983))
  821. 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))
  822. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.526639998, 1))
  823. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999))
  824. 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))
  825. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  826. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  827. 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))
  828. 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))
  829. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  830. 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))
  831. 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))
  832. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  833. 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))
  834. 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))
  835. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  836. 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))
  837. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 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.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))
  839. 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))
  840. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","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.21997452, 2.85700226, 1.38366803e-013, -2.4656245e-007, -1, 0.70710659, -0.70710665, 1.74346042e-007, -0.70710665, -0.70710659, 1.74345828e-007))
  842. 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))
  843. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 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.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))
  845. 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))
  846. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 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.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))
  848. 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))
  849. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  850. 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))
  851. 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))
  852. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.579999983, 0.200000003, 0.34799999))
  853. 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))
  854. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  855. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  856. 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))
  857. 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))
  858. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  859. 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))
  860. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000222, 1, 1))
  861. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  862. 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))
  863. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  864. 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))
  865. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  866. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  867. 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))
  868. 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))
  869. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.44659999, 0.69599998, 0.371199995))
  870. 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))
  871. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  872. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  873. 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))
  874. 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))
  875. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 0.463999987, 0.34799999))
  876. 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))
  877. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  878. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 4.75600052, 0.200000003))
  879. 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))
  880. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000401, 1, 0.69599992))
  881. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 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.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))
  883. 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))
  884. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 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.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))
  886. 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))
  887. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  888. 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))
  889. 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))
  890. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  891. 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))
  892. 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))
  893. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 0.231999993, 0.200000003))
  894. 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))
  895. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.698320508, 1.00999999, 0.590207934))
  896. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.44659999, 1.15999997, 0.371199995))
  897. 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))
  898. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  899. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  900. 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))
  901. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  902. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 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.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))
  904. 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))
  905. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.579999983, 0.34799999))
  906. 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))
  907. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  908. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  909. 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))
  910. 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))
  911. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  912. 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))
  913. 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))
  914. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
  915. 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))
  916. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 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.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))
  918. 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))
  919. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  920. 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))
  921. 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))
  922. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1.50800002, 1.04400003))
  923. 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))
  924. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.581159949, 1, 1))
  925. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(1.04400003, 0.231999993, 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.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))
  927. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  928. 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))
  929. 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))
  930. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  931. 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))
  932. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
  933. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  934. 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))
  935. 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))
  936. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  937. 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))
  938. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  939. 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))
  940. 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))
  941. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  942. 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))
  943. 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))
  944. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.580000043, 4.75600052, 0.200000003))
  945. 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))
  946. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.638000011))
  947. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  948. 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))
  949. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  950. 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))
  951. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  952. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  953. 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))
  954. 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))
  955. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  956. 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))
  957. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  958. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.34799999, 0.34799999, 0.200000003))
  959. 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))
  960. 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))
  961. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  962. 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))
  963. 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))
  964. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.231999993, 0.34799999))
  965. 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))
  966. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1))
  967. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  968. 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))
  969. 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))
  970. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
  971. 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))
  972. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
  973. 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))
  974. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  975. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.812000036, 0.200000003, 0.812000036))
  976. 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))
  977. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.444280028, 1))
  978. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  979. 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))
  980. 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))
  981. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  982. 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))
  983. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  984. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  985. 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))
  986. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  987. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
  988. 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))
  989. 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))
  990. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  991. 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))
  992. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  993. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Gold","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  994. 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))
  995. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  996. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  997. 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))
  998. 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))
  999. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Gold","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999))
  1000. 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))
  1001. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  1002.  
  1003. local Lite = it("PointLight",Torso)
  1004. Lite.Color = Color3.new(255, 255, 0)
  1005. Lite.Range = 8
  1006. Lite.Brightness = 10
  1007. Lite.Shadows = true
  1008.  
  1009. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1010. local prt=part("Custom",workspace,"Neon",0,0,"Gold","Effect",vt(0.5,0.5,0.5))
  1011. prt.Anchored=true
  1012. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1013. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1014. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1015. CF=Part.CFrame
  1016. Numbb=0
  1017. randnumb=math.random()-math.random()
  1018. for i=0,1,0.05 do
  1019. wait()
  1020. CF=CF*cf(0,1,0)
  1021. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1022. Part.CFrame=CF*euler(Numbb,0,0)
  1023. Part.Transparency=i
  1024. Numbb=Numbb+randnumb
  1025. end
  1026. Part.Parent=nil
  1027. end),prt)
  1028. end
  1029. --BreakEffect(BrickColor.new("Gold"),Hitbox.CFrame,0.5,math.random(5,20),0.5)
  1030.  
  1031. function attackone()
  1032. attack=true
  1033. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1034. for i=0,1,0.1 do
  1035. swait()
  1036. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  1037. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1038. 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)
  1039. 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)
  1040. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  1041. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1042. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1043. end
  1044. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  1045. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  1046. hitconasdf = Hitbox.Touched:connect(function(hit)
  1047. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1048. if hum12 and not hum12:IsDescendantOf(Character) then
  1049. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1050. for i = 1,10 do
  1051. BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1052. end
  1053. hitconasdf:disconnect()
  1054. end
  1055. end)
  1056. for i=0,1,0.1 do
  1057. swait()
  1058. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1059. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1060. local h = 5
  1061. 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)
  1062. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1063. 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)
  1064. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1065. scfr = blcf
  1066. elseif not scfr then
  1067. scfr = blcf
  1068. end
  1069. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  1070. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1071. 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)
  1072. 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)
  1073. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  1074. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1075. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1076. end
  1077. attack=false
  1078. con:disconnect()
  1079. scfr = nil
  1080. pcall(function()
  1081. hitconasdf:disconnect()
  1082. end)
  1083. end
  1084.  
  1085. function attacktwo()
  1086. attack=true
  1087. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1088. for i=0,1,0.1 do
  1089. swait()
  1090. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  1091. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1092. 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)
  1093. 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)
  1094. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  1095. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  1096. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1097. end
  1098. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  1099. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  1100. hitconasdf = Hitbox.Touched:connect(function(hit)
  1101. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1102. if hum12 and not hum12:IsDescendantOf(Character) then
  1103. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1104. for i = 1,10 do
  1105. BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1106. end
  1107. hitconasdf:disconnect()
  1108. end
  1109. end)
  1110. for i=0,1,0.1 do
  1111. swait()
  1112. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1113. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1114. local h = 5
  1115. 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)
  1116. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1117. 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)
  1118. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1119. scfr = blcf
  1120. elseif not scfr then
  1121. scfr = blcf
  1122. end
  1123. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  1124. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1125. 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)
  1126. 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)
  1127. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  1128. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1129. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1130. end
  1131. attack=false
  1132. con:disconnect()
  1133. scfr = nil
  1134. pcall(function()
  1135. hitconasdf:disconnect()
  1136. end)
  1137. end
  1138.  
  1139. function Stab()
  1140. attack=true
  1141. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1142. for i=0,1,0.1 do
  1143. swait()
  1144. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1145. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(60)),.3)
  1146. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(90)),.3)
  1147. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-90)),.3)
  1148. 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)
  1149. 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)
  1150. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1151. end
  1152. hitconasdf = Hitbox.Touched:connect(function(hit)
  1153. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1154. if hum12 and not hum12:IsDescendantOf(Character) then
  1155. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1156. for i = 1,10 do
  1157. BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1158. end
  1159. hitconasdf:disconnect()
  1160. end
  1161. end)
  1162. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  1163. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  1164. for i=0,1,0.1 do
  1165. swait()
  1166. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1167. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1168. local h = 5
  1169. 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)
  1170. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1171. 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)
  1172. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1173. scfr = blcf
  1174. elseif not scfr then
  1175. scfr = blcf
  1176. end
  1177. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  1178. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-80)),.4)
  1179. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  1180. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.4)
  1181. 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)
  1182. 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)
  1183. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4)
  1184. end
  1185. con:disconnect()
  1186. attack=false
  1187. scfr = nil
  1188. pcall(function()
  1189. hitconasdf:disconnect()
  1190. end)
  1191. end
  1192.  
  1193. function Spin()
  1194. attack=true
  1195. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1196. hitconasdf = Hitbox.Touched:connect(function(hit)
  1197. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1198. if hum12 and not hum12:IsDescendantOf(Character) then
  1199. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1200. for i = 1,10 do
  1201. BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1202. end
  1203. hitconasdf:disconnect()
  1204. end
  1205. end)
  1206. for i=0,1,1 do
  1207. so("http://roblox.com/asset/?id=154965962",Hitbox,1,1)
  1208. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  1209. swait()
  1210. for i=0,1,0.1 do
  1211. swait()
  1212. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1213. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1214. local h = 5
  1215. 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)
  1216. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1217. 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)
  1218. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1219. scfr = blcf
  1220. elseif not scfr then
  1221. scfr = blcf
  1222. end
  1223. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
  1224. LW.C0=clerp(LW.C0,cf(-1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
  1225. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
  1226. RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3)
  1227. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(6*i,0,0),.5)
  1228. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),1)
  1229. end
  1230. end
  1231. attack=false
  1232. con:disconnect()
  1233. scfr = nil
  1234. pcall(function()
  1235. hitconasdf:disconnect()
  1236. end)
  1237. end
  1238.  
  1239. function ContAttack()
  1240. attack=true
  1241. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1242. hitconasdf = Hitbox.Touched:connect(function(hit)
  1243. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1244. if hum12 and not hum12:IsDescendantOf(Character) then
  1245. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1246. for i = 1,10 do
  1247. BreakEffect(BrickColor.new("Gold"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1248. end
  1249. hitconasdf:disconnect()
  1250. end
  1251. end)
  1252. for i=1,4 do
  1253. swait()
  1254. for i=0,1,0.2 do
  1255. swait()
  1256. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  1257. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1258. 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)
  1259. 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)
  1260. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  1261. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1262. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1263. end
  1264. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  1265. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  1266. for i=0,1,0.2 do
  1267. swait()
  1268. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1269. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1270. local h = 5
  1271. 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)
  1272. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1273. 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)
  1274. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1275. scfr = blcf
  1276. elseif not scfr then
  1277. scfr = blcf
  1278. end
  1279. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  1280. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1281. 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)
  1282. 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)
  1283. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  1284. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1285. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1286. end
  1287. for i=0,1,0.2 do
  1288. swait()
  1289. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  1290. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1291. 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)
  1292. 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)
  1293. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  1294. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  1295. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1296. end
  1297. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  1298. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  1299. for i=0,1,0.2 do
  1300. swait()
  1301. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1302. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1303. local h = 5
  1304. 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)
  1305. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1306. 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)
  1307. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1308. scfr = blcf
  1309. elseif not scfr then
  1310. scfr = blcf
  1311. end
  1312. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  1313. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1314. 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)
  1315. 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)
  1316. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  1317. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1318. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1319. end
  1320. end
  1321. attack=false
  1322. con:disconnect()
  1323. scfr = nil
  1324. pcall(function()
  1325. hitconasdf:disconnect()
  1326. end)
  1327. end
  1328.  
  1329.  
  1330. function Sheathe()
  1331. attack = true
  1332. so("http://www.roblox.com/asset/?id=273797222",Hitbox,1,.9)
  1333. CurrentMode = "Sheathed"
  1334. for i = 0,1,0.1 do
  1335. swait()
  1336. handleweld.Part0 = Torso
  1337. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1338. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
  1339. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3)
  1340. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  1341. 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)
  1342. 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)
  1343. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1344. end
  1345. attack = false
  1346. end
  1347.  
  1348. function Unsheathe()
  1349. attack = true
  1350. CurrentMode = "Unsheathed"
  1351. so("http://www.roblox.com/asset/?id=239169404",Hitbox,1,.9)
  1352. for i = 0,1,0.1 do
  1353. swait()
  1354. handleweld.Part0 = RightArm
  1355. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1356. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1357. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(200),math.rad(0),math.rad(0)),.3)
  1358. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(-30),math.rad(-30)),.3)
  1359. 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)
  1360. 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)
  1361. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  1362. end
  1363. scfr = nil
  1364. attack = false
  1365. end
  1366.  
  1367. local Sit = false
  1368.  
  1369. mouse.Button1Down:connect(function()
  1370. if attack==false then
  1371. if attacktype==1 and CurrentMode == "Unsheathed" then
  1372. attack=true
  1373. attacktype=2
  1374. attackone()
  1375. elseif attacktype==2 and CurrentMode == "Unsheathed" then
  1376. attack=true
  1377. attacktype=1
  1378. attacktwo()
  1379. end
  1380. end
  1381. end)
  1382.  
  1383.  
  1384. mouse.KeyDown:connect(function(k)
  1385. k=k:lower()
  1386. if k=='q' then
  1387. if attack==false and CurrentMode == "Unsheathed" then
  1388. Stab()
  1389. end
  1390. elseif k=='e' then
  1391. if attack==false and CurrentMode == "Unsheathed" then
  1392. Spin()
  1393. end
  1394. elseif k=='r' then
  1395. if attack==false and CurrentMode == "Unsheathed" then
  1396. ContAttack()
  1397. end
  1398. elseif k=='f' then
  1399. if attack==false and CurrentMode == "Unsheathed" then
  1400. Sheathe()
  1401. elseif k=='f' then
  1402. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1403. Unsheathe()
  1404. end
  1405. end
  1406. elseif k=='t' then
  1407. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1408. Sit = true
  1409. Humanoid.WalkSpeed = 0
  1410. elseif k=='t' then
  1411. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  1412. Sit = false
  1413. Humanoid.WalkSpeed = 16
  1414. end
  1415. end
  1416.  
  1417. end
  1418. end)
  1419.  
  1420.  
  1421. local sine = 0
  1422. local change = 1
  1423. local val = 0
  1424.  
  1425. while true do
  1426. swait()
  1427. sine = sine + change
  1428. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1429. local velderp=RootPart.Velocity.y
  1430. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1431. if equipped==true or equipped==false then
  1432. if attack==false then
  1433. idle=idle+1
  1434. else
  1435. idle=0
  1436. end
  1437. if idle>=500 then
  1438. if attack==false then
  1439. end
  1440. end
  1441. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1442. Anim="Jump"
  1443. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1444. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),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(50),math.rad(0),math.rad(30)),.3)
  1447. 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)
  1448. 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)
  1449. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  1450. end
  1451. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1452. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1453. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1454. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3)
  1455. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1456. 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)
  1457. 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)
  1458. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1459. end
  1460. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1461. Anim="Fall"
  1462. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1463. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1464. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1465. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  1466. 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)
  1467. 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)
  1468. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  1469. end
  1470. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1471. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1472. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1473. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3)
  1474. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1475. 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)
  1476. 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)
  1477. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1478. end
  1479. elseif torvel<1 and hitfloor~=nil then
  1480. Anim="Idle"
  1481. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1482. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1483. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(40)),.3)
  1484. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(40),math.rad(0),math.rad(20)),.3)
  1485. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  1486. 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)
  1487. 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)
  1488. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  1489. end
  1490. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1491. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1492. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3)
  1493. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3)
  1494. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3)
  1495. 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)
  1496. 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)
  1497. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1498. end
  1499. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  1500. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1501. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1502. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(0),math.rad(5)),.3)
  1503. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(30)),.3)
  1504. 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)
  1505. 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)
  1506. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1507. end
  1508. elseif torvel>2 and hitfloor~=nil then
  1509. Anim="Walk"
  1510. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  1511. change=3
  1512. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1513. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1514. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  1515. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30),math.rad(5),math.rad(-10)),.3)
  1516. 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)
  1517. 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)
  1518. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(15),math.rad(-10),math.rad(0)),.3)
  1519. end
  1520. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  1521. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1522. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1523. 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)
  1524. 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)
  1525. 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)
  1526. 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)
  1527. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  1528. end
  1529. end
  1530. end
  1531. if #Effects>0 then
  1532. for e=1,#Effects do
  1533. if Effects[e]~=nil then
  1534. local Thing=Effects[e]
  1535. if Thing~=nil then
  1536. local Part=Thing[1]
  1537. local Mode=Thing[2]
  1538. local Delay=Thing[3]
  1539. local IncX=Thing[4]
  1540. local IncY=Thing[5]
  1541. local IncZ=Thing[6]
  1542. if Thing[1].Transparency<=1 then
  1543. if Thing[2]=="Block1" then
  1544. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1545. Mesh=Thing[1].Mesh
  1546. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1547. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1548. elseif Thing[2]=="Cylinder" then
  1549. Mesh=Thing[1].Mesh
  1550. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1551. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1552. elseif Thing[2]=="Blood" then
  1553. Mesh=Thing[7]
  1554. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1555. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1556. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1557. elseif Thing[2]=="Elec" then
  1558. Mesh=Thing[1].Mesh
  1559. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1560. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1561. elseif Thing[2]=="Disappear" then
  1562. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1563. end
  1564. else
  1565. Part.Parent=nil
  1566. table.remove(Effects,e)
  1567. end
  1568. end
  1569. end
  1570. end
  1571. end
  1572. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement