Advertisement
Theskyler900

my epic cobination yellow

Jul 12th, 2017
420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 126.60 KB | None | 0 0
  1. wait()
  2. Player = game.Players.LocalPlayer
  3. Object = Player.Character.HumanoidRootPart
  4. Arm1 = Player.Character["Right Arm"]
  5. PreviousA1 = Arm1.CFrame.p
  6. Arm2 = Player.Character["Left Arm"]
  7. PreviousA2 = Arm2.CFrame.p
  8.  
  9. Leg1 = Player.Character["Right Leg"]
  10. PreviousL1 = Leg1.CFrame.p
  11. Leg2 = Player.Character["Left Leg"]
  12. PreviousL2 = Leg2.CFrame.p
  13.  
  14. Run = game["Run Service"]
  15.  
  16. PreviousP = Object.CFrame.p
  17. Running = false
  18. Phase = false
  19. PhaseActive = false
  20. Morph = false
  21. MorphActive = false
  22. Tornado = false
  23. TornadoRadius = 50
  24. TornadoActive = false
  25. Portal = false
  26. PortalEnd = false
  27. MaxZ = 15
  28. MinZ = -15
  29. LightMaxX = 3
  30. LightMinX = 1
  31. LightMaxX2 = -1
  32. LightMinX2 = -3
  33. LightMaxY = 3
  34. LightMinY = -1
  35. Rotation = 0
  36. Length = 10
  37. Color = BrickColor.Yellow()
  38. PColor = Color3.new(255,255,0)
  39. PrevPoint1 = nil
  40. PrevPoint2 = nil
  41. PrevPoint3 = nil
  42. PrevPoint4 = nil
  43. PrevPoint5 = nil
  44. PrevPoint6 = nil
  45. PrevPoint7 = nil
  46. PrevPoint8 = nil
  47. PrevPoint9 = nil
  48. PrevPoint10 = nil
  49. PrevPoint11 = nil
  50. PrevPoint12 = nil
  51. angle = 0
  52. Mouse = Player:GetMouse()
  53. Player.Character.Humanoid.WalkSpeed = 100
  54.  
  55. Nil = function()
  56. PrevPoint1 = "Empty"
  57. PrevPoint2 = "Empty"
  58. PrevPoint3 = "Empty"
  59. PrevPoint4 = "Empty"
  60. PrevPoint5 = "Empty"
  61. PrevPoint6 = "Empty"
  62. PrevPoint7 = "Empty"
  63. PrevPoint8 = "Empty"
  64. PrevPoint9 = "Empty"
  65. PrevPoint10 = "Empty"
  66. PrevPoint11 = "Empty"
  67. PrevPoint12 = "Empty"
  68. end
  69.  
  70. local Lightning = coroutine.wrap(function()
  71. while wait() do
  72. if Portal == false then
  73. angle = angle + 0.6
  74. local Model = Instance.new("Model",workspace)
  75. Model.Name = "Lightning"
  76. local Point1 = Instance.new("Part",Model)
  77. Point1.Transparency = 1
  78. Point1.Size = Vector3.new(0.2,0.2,0.2)
  79. Point1.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point1.Size.Z/2))
  80. Point1.Anchored = true
  81. Point1.CanCollide = false
  82. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  83.  
  84. local Point2 = Instance.new("Part",Model)
  85. Point2.Transparency = 1
  86. Point2.Size = Vector3.new(0.2,0.2,0.2)
  87. Point2.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point2.Size.Z/2))
  88. Point2.Anchored = true
  89. Point2.CanCollide = false
  90. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  91.  
  92. local Point3 = Instance.new("Part",Model)
  93. Point3.Transparency = 1
  94. Point3.Size = Vector3.new(0.2,0.2,0.2)
  95. Point3.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point3.Size.Z/2))
  96. Point3.Anchored = true
  97. Point3.CanCollide = false
  98. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  99.  
  100. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  101. local Light = Instance.new("Part",Model)
  102. local PointLight = Instance.new("PointLight",Light)
  103. PointLight.Range = 5
  104. PointLight.Color = PColor
  105. Light.Transparency = 0.5
  106. Light.BrickColor = Color
  107. Light.Material = "Neon"
  108. Light.Size = Vector3.new(0.25,0.25,distance)
  109. Light.Anchored = true
  110. Light.CanCollide = false
  111. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  112.  
  113. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  114. local Light = Instance.new("Part",Model)
  115. local PointLight = Instance.new("PointLight",Light)
  116. PointLight.Range = 5
  117. PointLight.Color = PColor
  118. Light.Transparency = 0.5
  119. Light.BrickColor = Color
  120. Light.Material = "Neon"
  121. Light.Size = Vector3.new(0.25,0.25,distance2)
  122. Light.Anchored = true
  123. Light.CanCollide = false
  124. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  125.  
  126. local Point1 = Instance.new("Part",Model)
  127. Point1.Transparency = 1
  128. Point1.Size = Vector3.new(0.2,0.2,0.2)
  129. Point1.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point1.Size.Z/2))
  130. Point1.Anchored = true
  131. Point1.CanCollide = false
  132. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  133.  
  134. local Point2 = Instance.new("Part",Model)
  135. Point2.Transparency = 1
  136. Point2.Size = Vector3.new(0.2,0.2,0.2)
  137. Point2.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point2.Size.Z/2))
  138. Point2.Anchored = true
  139. Point2.CanCollide = false
  140. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  141.  
  142. local Point3 = Instance.new("Part",Model)
  143. Point3.Transparency = 1
  144. Point3.Size = Vector3.new(0.2,0.2,0.2)
  145. Point3.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point3.Size.Z/2))
  146. Point3.Anchored = true
  147. Point3.CanCollide = false
  148. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  149.  
  150. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  151. local Light = Instance.new("Part",Model)
  152. local PointLight = Instance.new("PointLight",Light)
  153. PointLight.Range = 5
  154. PointLight.Color = PColor
  155. Light.Transparency = 0.5
  156. Light.BrickColor = Color
  157. Light.Material = "Neon"
  158. Light.Size = Vector3.new(0.25,0.25,distance)
  159. Light.Anchored = true
  160. Light.CanCollide = false
  161. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  162.  
  163. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  164. local Light = Instance.new("Part",Model)
  165. local PointLight = Instance.new("PointLight",Light)
  166. PointLight.Range = 5
  167. PointLight.Color = PColor
  168. Light.Transparency = 0.5
  169. Light.BrickColor = Color
  170. Light.Material = "Neon"
  171. Light.Size = Vector3.new(0.3,0.3,distance2)
  172. Light.Anchored = true
  173. Light.CanCollide = false
  174. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  175.  
  176. local Point1 = Instance.new("Part",Model)
  177. Point1.Transparency = 1
  178. Point1.Size = Vector3.new(0.2,0.2,0.2)
  179. Point1.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  180. Point1.Anchored = true
  181. Point1.CanCollide = false
  182. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  183.  
  184. local Point2 = Instance.new("Part",Model)
  185. Point2.Transparency = 1
  186. Point2.Size = Vector3.new(0.2,0.2,0.2)
  187. Point2.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  188. Point2.Anchored = true
  189. Point2.CanCollide = false
  190. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  191.  
  192. local Point3 = Instance.new("Part",Model)
  193. Point3.Transparency = 1
  194. Point3.Size = Vector3.new(0.2,0.2,0.2)
  195. Point3.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  196. Point3.Anchored = true
  197. Point3.CanCollide = false
  198. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  199.  
  200. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  201. local Light = Instance.new("Part",Model)
  202. local PointLight = Instance.new("PointLight",Light)
  203. PointLight.Range = 5
  204. PointLight.Color = PColor
  205. Light.Transparency = 0.5
  206. Light.BrickColor = Color
  207. Light.Material = "Neon"
  208. Light.Size = Vector3.new(0.25,0.25,distance)
  209. Light.Anchored = true
  210. Light.CanCollide = false
  211. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  212.  
  213. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  214. local Light = Instance.new("Part",Model)
  215. local PointLight = Instance.new("PointLight",Light)
  216. PointLight.Range = 5
  217. PointLight.Color = PColor
  218. Light.Transparency = 0.5
  219. Light.BrickColor = Color
  220. Light.Material = "Neon"
  221. Light.Size = Vector3.new(0.25,0.25,distance2)
  222. Light.Anchored = true
  223. Light.CanCollide = false
  224. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  225.  
  226. local Point1 = Instance.new("Part",Model)
  227. Point1.Transparency = 1
  228. Point1.Size = Vector3.new(0.2,0.2,0.2)
  229. Point1.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  230. Point1.Anchored = true
  231. Point1.CanCollide = false
  232. Point1.CFrame = Point1.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  233.  
  234. local Point2 = Instance.new("Part",Model)
  235. Point2.Transparency = 1
  236. Point2.Size = Vector3.new(0.2,0.2,0.2)
  237. Point2.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  238. Point2.Anchored = true
  239. Point2.CanCollide = false
  240. Point2.CFrame = Point2.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  241.  
  242. local Point3 = Instance.new("Part",Model)
  243. Point3.Transparency = 1
  244. Point3.Size = Vector3.new(0.2,0.2,0.2)
  245. Point3.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  246. Point3.Anchored = true
  247. Point3.CanCollide = false
  248. Point3.CFrame = Point3.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  249.  
  250. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  251. local Light = Instance.new("Part",Model)
  252. local PointLight = Instance.new("PointLight",Light)
  253. PointLight.Range = 5
  254. PointLight.Color = PColor
  255. Light.Transparency = 0.5
  256. Light.BrickColor = Color
  257. Light.Material = "Neon"
  258. Light.Size = Vector3.new(0.25,0.25,distance)
  259. Light.Anchored = true
  260. Light.CanCollide = false
  261. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  262.  
  263. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  264. local Light = Instance.new("Part",Model)
  265. local PointLight = Instance.new("PointLight",Light)
  266. PointLight.Range = 5
  267. PointLight.Color = PColor
  268. Light.Transparency = 0.5
  269. Light.BrickColor = Color
  270. Light.Material = "Neon"
  271. Light.Size = Vector3.new(0.25,0.25,distance2)
  272. Light.Anchored = true
  273. Light.CanCollide = false
  274. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  275.  
  276. local Children = Model:GetChildren()
  277. wait(0.1)
  278. for i = 1,#Children do
  279. if Children[i]:IsA("Part") then
  280. Children[i].Transparency = 1
  281. end
  282. game.Debris:AddItem(Children[i],0)
  283. end
  284.  
  285. end
  286. end
  287. end)
  288. Lightning()
  289.  
  290. TornadoFunction = function()
  291. local TornadoModel = Instance.new("Model",workspace)
  292. local Center = Instance.new("Part",TornadoModel)
  293. Center.Anchored = true
  294. Center.CanCollide = false
  295. Center.Transparency = 1
  296. Center.Size = Vector3.new(2,2,2)
  297. Center.CFrame = Object.CFrame * CFrame.new(0,0,-20)
  298. local Death = Instance.new("Part",TornadoModel)
  299. Death.Anchored = true
  300. Death.CanCollide = false
  301. Death.Transparency = 1
  302. Death.Size = Vector3.new(TornadoRadius+10,TornadoRadius+10,TornadoRadius+10)
  303. Death.CFrame = Center.CFrame
  304. Death.Touched:connect(function(Touch)
  305. if Touch.Parent:FindFirstChild("Humanoid") ~= nil and Touch.Parent.Name ~= Player.Name then
  306. Touch.Parent.Humanoid.Health = 0
  307. end
  308. end)
  309. local TornadoFunc = function()
  310. local Tornanimation = coroutine.wrap(function()
  311. while Run.Stepped:wait() do
  312. if Tornado == false then Death:Destroy() break end
  313. angle = angle + 0.1
  314. Object.Anchored = false
  315. Object.CFrame = Center.CFrame * CFrame.Angles(0,angle,0) * CFrame.new(0,0,TornadoRadius)
  316. Object.CFrame = Object.CFrame * CFrame.Angles(0,-math.rad(90),0)
  317. end
  318. end)
  319. Tornanimation()
  320. end
  321. TornadoFunc()
  322. end
  323.  
  324. PhaseFunction = function()
  325. local Phase = coroutine.wrap(function()
  326. while wait() do
  327. if Phase == false then break end
  328. if Player.Character.Humanoid.WalkSpeed > 50 and Phase == true then
  329. Object.CFrame = Object.CFrame * CFrame.new(0,0,-Player.Character.Humanoid.WalkSpeed/20)
  330. end
  331. end
  332. end)
  333. Phase()
  334. end
  335.  
  336.  
  337. PortalFunction = function()
  338. local PortalBlock = Instance.new("Part",workspace)
  339. PortalBlock.CFrame = Object.CFrame * CFrame.new(0,0,-100)
  340. PortalBlock.Transparency = 1
  341. PortalBlock.Anchored = true
  342. PortalBlock.CanCollide = false
  343. PortalBlock.Size = Vector3.new(20,20,0.2)
  344. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.new(0,(PortalBlock.Size.Y/2),0)
  345. local Gui = Instance.new("SurfaceGui",PortalBlock)
  346. local Img = Instance.new("ImageLabel",Gui)
  347. Img.Size = UDim2.new(2,0,2,0)
  348. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  349. Img.Transparency = 1
  350. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  351. local Gui = Instance.new("SurfaceGui",PortalBlock)
  352. Gui.Face = "Back"
  353. local Img = Instance.new("ImageLabel",Gui)
  354. Img.Size = UDim2.new(2,0,2,0)
  355. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  356. Img.Transparency = 1
  357. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  358. Object.CFrame = PortalBlock.CFrame
  359. local Face = Object.Parent.Head.face.Texture
  360. local ObjectC = Object.Parent:GetChildren()
  361. for i = 1,#ObjectC do
  362. if ObjectC[i]:IsA("Part") and ObjectC[i].Name ~= "HumanoidRootPart" then
  363. ObjectC[i].Transparency = 1
  364. elseif ObjectC[i]:IsA("Hat") then
  365. ObjectC[i].Handle.Transparency = 1
  366. end
  367. if ObjectC[i].Name == "Head" then
  368. ObjectC[i].face.Texture = ""
  369. end
  370. end
  371.  
  372. local PortalR = coroutine.wrap(function()
  373. wait(0.1)
  374. Portal = true
  375. PortalEnd = true
  376. while wait(0.001) do
  377. if Portal == false then
  378. break
  379. end
  380. Nil()
  381. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.Angles(0,0,-0.1)
  382. wait(0.01)
  383. end
  384. PortalBlock:Destroy()
  385. for i = 1,#ObjectC do
  386. if ObjectC[i]:IsA("Part") and ObjectC[i].Name ~= "HumanoidRootPart" then
  387. ObjectC[i].Transparency = 0
  388. elseif ObjectC[i]:IsA("Hat") then
  389. ObjectC[i].Handle.Transparency = 0
  390. end
  391. if ObjectC[i].Name == "Head" then
  392. ObjectC[i].face.Texture = Face
  393. end
  394. end
  395. game.Players.LocalPlayer.Character.Part.Transparency = 1
  396. local PortalBlock = Instance.new("Part",workspace)
  397. PortalBlock.CFrame = Object.CFrame * CFrame.new(0,0,0)
  398. PortalBlock.Transparency = 1
  399. PortalBlock.Anchored = true
  400. PortalBlock.CanCollide = false
  401. PortalBlock.Size = Vector3.new(20,20,0.2)
  402. PortalBlock.CFrame = PortalBlock.CFrame * CFrame.new(0,(PortalBlock.Size.Y/2),0)
  403. local Gui = Instance.new("SurfaceGui",PortalBlock)
  404. local Img = Instance.new("ImageLabel",Gui)
  405. Img.Size = UDim2.new(2,0,2,0)
  406. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  407. Img.Transparency = 1
  408. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  409. local Gui = Instance.new("SurfaceGui",PortalBlock)
  410. Gui.Face = "Back"
  411. local Img = Instance.new("ImageLabel",Gui)
  412. Img.Size = UDim2.new(2,0,2,0)
  413. Img.Position = UDim2.new(-0.5,0,-0.5,0)
  414. Img.Transparency = 1
  415. Img.Image = "http://www.roblox.com/asset/?id=21315275"
  416. Object.CFrame = PortalBlock.CFrame
  417. PreviousA1 = Arm1.CFrame.p
  418. PreviousA2 = Arm2.CFrame.p
  419. PreviousL1 = Leg1.CFrame.p
  420. PreviousL2 = Leg2.CFrame.p
  421. PreviousP = Object.CFrame.p
  422. PortalEnd = false
  423. wait(2)
  424. PortalBlock:Destroy()
  425. end)
  426. PortalR()
  427. end
  428.  
  429. MorphFunction = function()
  430. local MaxX = 100
  431. local MinX = -100
  432. local MaxY = 100
  433. local MinY = -100
  434. local MaxZ = 100
  435. local MinZ = -100
  436. local Morph = coroutine.wrap(function()
  437. while Run.Stepped:wait(0.1) do
  438. if Morph == false then break end
  439. local Model = Instance.new("Model",workspace)
  440. if Player.Character:FindFirstChild("Shirt") then
  441. local Shirt = Player.Character.Shirt:Clone()
  442. Shirt.Parent = Model
  443. end
  444. if Player.Character:FindFirstChild("Pants") then
  445. local Pants = Player.Character.Pants:Clone()
  446. Pants.Parent = Model
  447. end
  448. local Humanoid = Instance.new("Humanoid",Model)
  449. local LeftArm = Player.Character["Left Arm"]:Clone()
  450. LeftArm.Parent = Model
  451. LeftArm.Transparency = 0.4
  452. LeftArm.Anchored = true
  453. LeftArm.CFrame = Player.Character["Left Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  454. local RightArm = Player.Character["Right Arm"]:Clone()
  455. RightArm.Parent = Model
  456. RightArm.Transparency = 0.4
  457. RightArm.Anchored = true
  458. RightArm.CFrame = Player.Character["Right Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  459. local LeftLeg = Player.Character["Left Leg"]:Clone()
  460. LeftLeg.Parent = Model
  461. LeftLeg.Transparency = 0.4
  462. LeftLeg.Anchored = true
  463. LeftLeg.CFrame = Player.Character["Left Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  464. local RightLeg = Player.Character["Right Leg"]:Clone()
  465. RightLeg.Parent = Model
  466. RightLeg.Transparency = 0.4
  467. RightLeg.Anchored = true
  468. RightLeg.CFrame = Player.Character["Right Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
  469. local Children = Model:GetChildren()
  470. wait(0.01)
  471. for i = 1,#Children do
  472. if Children[i]:IsA("Part") then
  473. Children[i].Transparency = 1
  474. end
  475. game.Debris:AddItem(Children[i],0)
  476. end
  477. end
  478. end)
  479. Morph()
  480. end
  481.  
  482. local Guis = coroutine.wrap(function()
  483. local Gui = Instance.new("ScreenGui",Player.PlayerGui)
  484. local TextBox = Instance.new("TextBox",Gui)
  485. TextBox.Text = "Speed"
  486. TextBox.BackgroundColor3 = Color3.new(255,255,255)
  487. TextBox.BorderColor3 = Color3.new(0,0,0)
  488. TextBox.Size = UDim2.new(0,200,0,25)
  489. TextBox.Position = UDim2.new(0,10,0.5,-12.5)
  490. TextBox.FocusLost:connect(function(EnterPressed)
  491. if EnterPressed then
  492. Player.Character.Humanoid.WalkSpeed = TextBox.Text
  493. end
  494. end)
  495. local Flash = Instance.new("TextButton",Gui)
  496. Flash.BackgroundColor3 = Color3.new(255,255,255)
  497. Flash.BorderColor3 = Color3.new(0,0,0)
  498. Flash.Size = UDim2.new(0,200,0,25)
  499. Flash.Position = UDim2.new(0,10,0.5,22.5)
  500. Flash.Text = "The Flash"
  501. Flash.MouseButton1Click:connect(function()
  502. Color = BrickColor.Yellow()
  503. PColor = Color3.new(255,255,0)
  504. end)
  505. local RFlash = Instance.new("TextButton",Gui)
  506. RFlash.BackgroundColor3 = Color3.new(255,255,255)
  507. RFlash.BorderColor3 = Color3.new(0,0,0)
  508. RFlash.Size = UDim2.new(0,200,0,25)
  509. RFlash.Position = UDim2.new(0,10,0.5,57.5)
  510. RFlash.Text = "The Reverse Flash"
  511. RFlash.MouseButton1Click:connect(function()
  512. Color = BrickColor.new("Really red")
  513. PColor = Color3.new(255,0,0)
  514. end)
  515. local Zoom = Instance.new("TextButton",Gui)
  516. Zoom.BackgroundColor3 = Color3.new(255,255,255)
  517. Zoom.BorderColor3 = Color3.new(0,0,0)
  518. Zoom.Size = UDim2.new(0,200,0,25)
  519. Zoom.Position = UDim2.new(0,10,0.5,92.5)
  520. Zoom.Text = "Zoom"
  521. Zoom.MouseButton1Click:connect(function()
  522. Color = BrickColor.new("Cyan")
  523. PColor = Color3.new(0,170,255)
  524. end)
  525. local Radius = Instance.new("TextBox",Gui)
  526. Radius.Text = "Tornado Radius"
  527. Radius.BackgroundColor3 = Color3.new(255,255,255)
  528. Radius.BorderColor3 = Color3.new(0,0,0)
  529. Radius.Size = UDim2.new(0,200,0,25)
  530. Radius.Position = UDim2.new(0,10,0.5,127.5)
  531. Radius.FocusLost:connect(function(EnterPressed)
  532. if EnterPressed then
  533. TornadoRadius = Radius.Text
  534. end
  535. end)
  536. Mouse.KeyDown:connect(function(Key)
  537. if Key == "f" then
  538. if Portal == false then
  539. PortalFunction()
  540. Nil()
  541. else
  542. Portal = false
  543. end
  544. end
  545. if Key == "r" then
  546. if Phase == false then
  547. Phase = true
  548. PhaseFunction()
  549. print "PhaseFunction"
  550. else
  551. Phase = false
  552. end
  553. end
  554. if Key == "e" then
  555. if Tornado == false then
  556. Tornado = true
  557. TornadoFunction()
  558. else
  559. Tornado = false
  560. end
  561. end
  562. if Key == "t" then
  563. if Morph == false then
  564. Morph = true
  565. MorphFunction()
  566. else
  567. Morph = false
  568. end
  569. end
  570. end)
  571. end)
  572. Guis()
  573.  
  574. Run.RenderStepped:connect(function()
  575. if (Object.CFrame.p - PreviousP).magnitude > 7 and Player.Character.Humanoid.WalkSpeed > 25 and Portal == false and PortalEnd == false then
  576. local Model = Instance.new("Model",workspace)
  577. Model.Name = "Ray"
  578. local Humanoid = Instance.new("Humanoid",Model)
  579. if Player.Character:FindFirstChild("Shirt") ~= nil then
  580. Player.Character.Shirt:Clone().Parent = Model
  581. end
  582. if Player.Character:FindFirstChild("Pants") ~= nil then
  583. Player.Character.Pants:Clone().Parent = Model
  584. end
  585. local distance = (Object.CFrame.p - PreviousP).magnitude
  586. local Light = Instance.new("Part",Model)
  587. Light.Anchored = true
  588. Light.CanCollide = false
  589. Light.TopSurface = "SmoothNoOutlines"
  590. Light.BottomSurface = "SmoothNoOutlines"
  591. Light.BackSurface = "SmoothNoOutlines"
  592. Light.FrontSurface = "SmoothNoOutlines"
  593. Light.LeftSurface = "SmoothNoOutlines"
  594. Light.RightSurface = "SmoothNoOutlines"
  595. Light.Transparency = 1
  596. Light.BrickColor = BrickColor.Black()
  597. Light.Size = Vector3.new(2,2,distance)
  598. Light.CFrame = CFrame.new(Object.CFrame.p , PreviousP) * CFrame.new(0,0,-distance/2)
  599.  
  600. local PointLight = Instance.new("PointLight",Light)
  601. PointLight.Range = 15
  602. PointLight.Brightness = 100
  603. PointLight.Color = PColor
  604.  
  605. local distance = (Arm1.CFrame.p - PreviousA1).magnitude
  606.  
  607. local Arm1Light = Instance.new("Part",Model)
  608. Arm1Light.Name = "Right Arm"
  609. Arm1Light.Anchored = true
  610. Arm1Light.CanCollide = false
  611. Arm1Light.TopSurface = "SmoothNoOutlines"
  612. Arm1Light.BottomSurface = "SmoothNoOutlines"
  613. Arm1Light.BackSurface = "SmoothNoOutlines"
  614. Arm1Light.FrontSurface = "SmoothNoOutlines"
  615. Arm1Light.LeftSurface = "SmoothNoOutlines"
  616. Arm1Light.RightSurface = "SmoothNoOutlines"
  617. Arm1Light.Transparency = 0.5
  618. Arm1Light.BrickColor = BrickColor.Black()
  619. Arm1Light.Size = Vector3.new(1,2,distance)
  620. Arm1Light.CFrame = CFrame.new(Arm1.CFrame.p , PreviousA1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  621.  
  622. local distance = (Arm2.CFrame.p - PreviousA2).magnitude
  623.  
  624. local Arm2Light = Instance.new("Part",Model)
  625. Arm2Light.Name = "Left Arm"
  626. Arm2Light.Anchored = true
  627. Arm2Light.CanCollide = false
  628. Arm2Light.TopSurface = "SmoothNoOutlines"
  629. Arm2Light.BottomSurface = "SmoothNoOutlines"
  630. Arm2Light.BackSurface = "SmoothNoOutlines"
  631. Arm2Light.FrontSurface = "SmoothNoOutlines"
  632. Arm2Light.LeftSurface = "SmoothNoOutlines"
  633. Arm2Light.RightSurface = "SmoothNoOutlines"
  634. Arm2Light.Transparency = 0.5
  635. Arm2Light.BrickColor = BrickColor.Black()
  636. Arm2Light.Size = Vector3.new(1,2,distance)
  637. Arm2Light.CFrame = CFrame.new(Arm2.CFrame.p , PreviousA2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  638.  
  639. local distance = (Leg1.CFrame.p - PreviousL1).magnitude
  640.  
  641. local Leg1Light = Instance.new("Part",Model)
  642. Leg1Light.Name = "Right Leg"
  643. Leg1Light.Anchored = true
  644. Leg1Light.CanCollide = false
  645. Leg1Light.TopSurface = "SmoothNoOutlines"
  646. Leg1Light.BottomSurface = "SmoothNoOutlines"
  647. Leg1Light.BackSurface = "SmoothNoOutlines"
  648. Leg1Light.FrontSurface = "SmoothNoOutlines"
  649. Leg1Light.LeftSurface = "SmoothNoOutlines"
  650. Leg1Light.RightSurface = "SmoothNoOutlines"
  651. Leg1Light.Transparency = 0.5
  652. Leg1Light.BrickColor = BrickColor.Black()
  653. Leg1Light.Size = Vector3.new(1,2,distance)
  654. Leg1Light.CFrame = CFrame.new(Leg1.CFrame.p , PreviousL1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  655.  
  656. local distance = (Leg2.CFrame.p - PreviousL2).magnitude
  657.  
  658. local Leg1Light = Instance.new("Part",Model)
  659. Leg1Light.Name = "Left Leg"
  660. Leg1Light.Anchored = true
  661. Leg1Light.CanCollide = false
  662. Leg1Light.TopSurface = "SmoothNoOutlines"
  663. Leg1Light.BottomSurface = "SmoothNoOutlines"
  664. Leg1Light.BackSurface = "SmoothNoOutlines"
  665. Leg1Light.FrontSurface = "SmoothNoOutlines"
  666. Leg1Light.LeftSurface = "SmoothNoOutlines"
  667. Leg1Light.RightSurface = "SmoothNoOutlines"
  668. Leg1Light.Transparency = 0.5
  669. Leg1Light.BrickColor = BrickColor.Black()
  670. Leg1Light.Size = Vector3.new(1,2,distance)
  671. Leg1Light.CFrame = CFrame.new(Leg2.CFrame.p , PreviousL2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
  672.  
  673. local Point1 = Instance.new("Part",Model)
  674. Point1.Transparency = 1
  675. Point1.Anchored = true
  676. Point1.CanCollide = false
  677. Point1.Size = Vector3.new(0.2,0.2,0.2)
  678. Point1.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  679. * CFrame.new(Light.Size.X/2 ,0 ,0)
  680. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  681. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  682.  
  683. local Point2 = Instance.new("Part",Model)
  684. Point2.Transparency = 1
  685. Point2.Anchored = true
  686. Point2.CanCollide = false
  687. Point2.Size = Vector3.new(0.2,0.2,0.2)
  688. Point2.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  689. * CFrame.new(Light.Size.X/2 ,0 ,0)
  690. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  691. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  692.  
  693. local Point5 = Instance.new("Part",Model)
  694. Point5.Transparency = 1
  695. Point5.Anchored = true
  696. Point5.CanCollide = false
  697. Point5.Size = Vector3.new(0.2,0.2,0.2)
  698. Point5.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  699. * CFrame.new(Light.Size.X/2 ,0 ,0)
  700. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  701. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  702.  
  703. local Point6 = Instance.new("Part",Model)
  704. Point6.Transparency = 1
  705. Point6.Anchored = true
  706. Point6.CanCollide = false
  707. Point6.Size = Vector3.new(0.2,0.2,0.2)
  708. Point6.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  709. * CFrame.new(Light.Size.X/2 ,0 ,0)
  710. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  711. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  712.  
  713. local Point3 = Instance.new("Part",Model)
  714. Point3.Transparency = 1
  715. Point3.Anchored = true
  716. Point3.CanCollide = false
  717. Point3.Size = Vector3.new(0.2,0.2,0.2)
  718. Point3.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  719. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  720. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  721. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  722.  
  723. local Point4 = Instance.new("Part",Model)
  724. Point4.Transparency = 1
  725. Point4.Anchored = true
  726. Point4.CanCollide = false
  727. Point4.Size = Vector3.new(0.2,0.2,0.2)
  728. Point4.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  729. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  730. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  731. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  732.  
  733. local Point7 = Instance.new("Part",Model)
  734. Point7.Transparency = 1
  735. Point7.Anchored = true
  736. Point7.CanCollide = false
  737. Point7.Size = Vector3.new(0.2,0.2,0.2)
  738. Point7.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
  739. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  740. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  741. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  742.  
  743. local Point8 = Instance.new("Part",Model)
  744. Point8.Transparency = 1
  745. Point8.Anchored = true
  746. Point8.CanCollide = false
  747. Point8.Size = Vector3.new(0.2,0.2,0.2)
  748. Point8.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
  749. * CFrame.new(-Light.Size.X/2 ,0 ,0)
  750. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  751. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  752.  
  753. local Point9 = Instance.new("Part",Model)
  754. Point9.Transparency = 1
  755. Point9.Anchored = true
  756. Point9.CanCollide = false
  757. Point9.Size = Vector3.new(0.2,0.2,0.2)
  758. Point9.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
  759. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  760. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  761. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  762.  
  763. local Point10 = Instance.new("Part",Model)
  764. Point10.Transparency = 1
  765. Point10.Anchored = true
  766. Point10.CanCollide = false
  767. Point10.Size = Vector3.new(0.2,0.2,0.2)
  768. Point10.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
  769. * CFrame.new(Light.Size.X/2 ,0 ,0)
  770. * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
  771. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  772.  
  773. local Point11 = Instance.new("Part",Model)
  774. Point11.Transparency = 1
  775. Point11.Anchored = true
  776. Point11.CanCollide = false
  777. Point11.Size = Vector3.new(0.2,0.2,0.2)
  778. Point11.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
  779. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  780. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  781. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  782.  
  783. local Point12 = Instance.new("Part",Model)
  784. Point12.Transparency = 1
  785. Point12.Anchored = true
  786. Point12.CanCollide = false
  787. Point12.Size = Vector3.new(0.2,0.2,0.2)
  788. Point12.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
  789. * CFrame.new(Light.Size.X/2 ,-2 ,0)
  790. * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
  791. * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
  792.  
  793. if PrevPoint2 == nil or PrevPoint2 == "Empty" then
  794. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  795. local Light = Instance.new("Part",Model)
  796. Light.Anchored = true
  797. Light.CanCollide = false
  798. Light.TopSurface = "SmoothNoOutlines"
  799. Light.BottomSurface = "SmoothNoOutlines"
  800. Light.BackSurface = "SmoothNoOutlines"
  801. Light.FrontSurface = "SmoothNoOutlines"
  802. Light.LeftSurface = "SmoothNoOutlines"
  803. Light.RightSurface = "SmoothNoOutlines"
  804. Light.Transparency = 0
  805. Light.Size = Vector3.new(0.4,0.4,distance)
  806. Light.Material = "Neon"
  807. Light.BrickColor = Color
  808. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  809. elseif PrevPoint2 ~= nil then
  810. local distance = (Point2.CFrame.p - PrevPoint2).magnitude
  811. local Light = Instance.new("Part",Model)
  812. Light.Anchored = true
  813. Light.CanCollide = false
  814. Light.TopSurface = "SmoothNoOutlines"
  815. Light.BottomSurface = "SmoothNoOutlines"
  816. Light.BackSurface = "SmoothNoOutlines"
  817. Light.FrontSurface = "SmoothNoOutlines"
  818. Light.LeftSurface = "SmoothNoOutlines"
  819. Light.RightSurface = "SmoothNoOutlines"
  820. Light.Transparency = 0
  821. Light.Size = Vector3.new(0.4,0.4,distance)
  822. Light.Material = "Neon"
  823. Light.BrickColor = Color
  824. Light.CFrame = CFrame.new(Point2.CFrame.p , PrevPoint2) * CFrame.new(0,0,-distance/2)
  825. end
  826.  
  827. if PrevPoint4 == nil or PrevPoint4 == "Empty" then
  828. local distance = (Point4.CFrame.p - Point3.CFrame.p).magnitude
  829. local Light = Instance.new("Part",Model)
  830. Light.Anchored = true
  831. Light.CanCollide = false
  832. Light.TopSurface = "SmoothNoOutlines"
  833. Light.BottomSurface = "SmoothNoOutlines"
  834. Light.BackSurface = "SmoothNoOutlines"
  835. Light.FrontSurface = "SmoothNoOutlines"
  836. Light.LeftSurface = "SmoothNoOutlines"
  837. Light.RightSurface = "SmoothNoOutlines"
  838. Light.Transparency = 0
  839. Light.Size = Vector3.new(0.4,0.4,distance)
  840. Light.Material = "Neon"
  841. Light.BrickColor = Color
  842. Light.CFrame = CFrame.new(Point4.CFrame.p , Point3.CFrame.p) * CFrame.new(0,0,-distance/2)
  843. elseif PrevPoint4 ~= nil then
  844. local distance = (Point4.CFrame.p - PrevPoint4).magnitude
  845. local Light = Instance.new("Part",Model)
  846. Light.Anchored = true
  847. Light.CanCollide = false
  848. Light.TopSurface = "SmoothNoOutlines"
  849. Light.BottomSurface = "SmoothNoOutlines"
  850. Light.BackSurface = "SmoothNoOutlines"
  851. Light.FrontSurface = "SmoothNoOutlines"
  852. Light.LeftSurface = "SmoothNoOutlines"
  853. Light.RightSurface = "SmoothNoOutlines"
  854. Light.Transparency = 0
  855. Light.Size = Vector3.new(0.4,0.4,distance)
  856. Light.Material = "Neon"
  857. Light.BrickColor = Color
  858. Light.CFrame = CFrame.new(Point4.CFrame.p , PrevPoint4) * CFrame.new(0,0,-distance/2)
  859. end
  860.  
  861.  
  862. if PrevPoint6 == nil or PrevPoint6 == "Empty" then
  863. local distance = (Point6.CFrame.p - Point5.CFrame.p).magnitude
  864. local Light = Instance.new("Part",Model)
  865. Light.Anchored = true
  866. Light.CanCollide = false
  867. Light.TopSurface = "SmoothNoOutlines"
  868. Light.BottomSurface = "SmoothNoOutlines"
  869. Light.BackSurface = "SmoothNoOutlines"
  870. Light.FrontSurface = "SmoothNoOutlines"
  871. Light.LeftSurface = "SmoothNoOutlines"
  872. Light.RightSurface = "SmoothNoOutlines"
  873. Light.Transparency = 0
  874. Light.Size = Vector3.new(0.4,0.4,distance)
  875. Light.Material = "Neon"
  876. Light.BrickColor = Color
  877. Light.CFrame = CFrame.new(Point6.CFrame.p , Point5.CFrame.p) * CFrame.new(0,0,-distance/2)
  878. elseif PrevPoint6 ~= nil then
  879. local distance = (Point6.CFrame.p - PrevPoint6).magnitude
  880. local Light = Instance.new("Part",Model)
  881. Light.Anchored = true
  882. Light.CanCollide = false
  883. Light.TopSurface = "SmoothNoOutlines"
  884. Light.BottomSurface = "SmoothNoOutlines"
  885. Light.BackSurface = "SmoothNoOutlines"
  886. Light.FrontSurface = "SmoothNoOutlines"
  887. Light.LeftSurface = "SmoothNoOutlines"
  888. Light.RightSurface = "SmoothNoOutlines"
  889. Light.Transparency = 0
  890. Light.Size = Vector3.new(0.4,0.4,distance)
  891. Light.Material = "Neon"
  892. Light.BrickColor = Color
  893. Light.CFrame = CFrame.new(Point6.CFrame.p , PrevPoint6) * CFrame.new(0,0,-distance/2)
  894. end
  895.  
  896. if PrevPoint8 == nil or PrevPoint8 == "Empty" then
  897. local distance = (Point8.CFrame.p - Point7.CFrame.p).magnitude
  898. local Light = Instance.new("Part",Model)
  899. Light.Anchored = true
  900. Light.CanCollide = false
  901. Light.TopSurface = "SmoothNoOutlines"
  902. Light.BottomSurface = "SmoothNoOutlines"
  903. Light.BackSurface = "SmoothNoOutlines"
  904. Light.FrontSurface = "SmoothNoOutlines"
  905. Light.LeftSurface = "SmoothNoOutlines"
  906. Light.RightSurface = "SmoothNoOutlines"
  907. Light.Transparency = 0
  908. Light.Size = Vector3.new(0.4,0.4,distance)
  909. Light.Material = "Neon"
  910. Light.BrickColor = Color
  911. Light.CFrame = CFrame.new(Point8.CFrame.p , Point7.CFrame.p) * CFrame.new(0,0,-distance/2)
  912. elseif PrevPoint8 ~= nil then
  913. local distance = (Point8.CFrame.p - PrevPoint8).magnitude
  914. local Light = Instance.new("Part",Model)
  915. Light.Anchored = true
  916. Light.CanCollide = false
  917. Light.TopSurface = "SmoothNoOutlines"
  918. Light.BottomSurface = "SmoothNoOutlines"
  919. Light.BackSurface = "SmoothNoOutlines"
  920. Light.FrontSurface = "SmoothNoOutlines"
  921. Light.LeftSurface = "SmoothNoOutlines"
  922. Light.RightSurface = "SmoothNoOutlines"
  923. Light.Transparency = 0
  924. Light.Size = Vector3.new(0.4,0.4,distance)
  925. Light.Material = "Neon"
  926. Light.BrickColor = Color
  927. Light.CFrame = CFrame.new(Point8.CFrame.p , PrevPoint8) * CFrame.new(0,0,-distance/2)
  928. end
  929.  
  930. if PrevPoint10 == nil or PrevPoint10 == "Empty" then
  931. local distance = (Point10.CFrame.p - Point9.CFrame.p).magnitude
  932. local Light = Instance.new("Part",Model)
  933. Light.Anchored = true
  934. Light.CanCollide = false
  935. Light.TopSurface = "SmoothNoOutlines"
  936. Light.BottomSurface = "SmoothNoOutlines"
  937. Light.BackSurface = "SmoothNoOutlines"
  938. Light.FrontSurface = "SmoothNoOutlines"
  939. Light.LeftSurface = "SmoothNoOutlines"
  940. Light.RightSurface = "SmoothNoOutlines"
  941. Light.Transparency = 0
  942. Light.Size = Vector3.new(0.4,0.4,distance)
  943. Light.Material = "Neon"
  944. Light.BrickColor = Color
  945. Light.CFrame = CFrame.new(Point10.CFrame.p , Point9.CFrame.p) * CFrame.new(0,0,-distance/2)
  946. elseif PrevPoint10 ~= nil then
  947. local distance = (Point10.CFrame.p - PrevPoint10).magnitude
  948. local Light = Instance.new("Part",Model)
  949. Light.Anchored = true
  950. Light.CanCollide = false
  951. Light.TopSurface = "SmoothNoOutlines"
  952. Light.BottomSurface = "SmoothNoOutlines"
  953. Light.BackSurface = "SmoothNoOutlines"
  954. Light.FrontSurface = "SmoothNoOutlines"
  955. Light.LeftSurface = "SmoothNoOutlines"
  956. Light.RightSurface = "SmoothNoOutlines"
  957. Light.Transparency = 0
  958. Light.Size = Vector3.new(0.4,0.4,distance)
  959. Light.Material = "Neon"
  960. Light.BrickColor = Color
  961. Light.CFrame = CFrame.new(Point10.CFrame.p , PrevPoint10) * CFrame.new(0,0,-distance/2)
  962. end
  963.  
  964.  
  965. if PrevPoint12 == nil or PrevPoint12 == "Empty" then
  966. local distance = (Point12.CFrame.p - Point11.CFrame.p).magnitude
  967. local Light = Instance.new("Part",Model)
  968. Light.Anchored = true
  969. Light.CanCollide = false
  970. Light.TopSurface = "SmoothNoOutlines"
  971. Light.BottomSurface = "SmoothNoOutlines"
  972. Light.BackSurface = "SmoothNoOutlines"
  973. Light.FrontSurface = "SmoothNoOutlines"
  974. Light.LeftSurface = "SmoothNoOutlines"
  975. Light.RightSurface = "SmoothNoOutlines"
  976. Light.Transparency = 0
  977. Light.Size = Vector3.new(0.4,0.4,distance)
  978. Light.Material = "Neon"
  979. Light.BrickColor = Color
  980. Light.CFrame = CFrame.new(Point12.CFrame.p , Point11.CFrame.p) * CFrame.new(0,0,-distance/2)
  981. elseif PrevPoint12 ~= nil then
  982. local distance = (Point12.CFrame.p - PrevPoint12).magnitude
  983. local Light = Instance.new("Part",Model)
  984. Light.Anchored = true
  985. Light.CanCollide = false
  986. Light.TopSurface = "SmoothNoOutlines"
  987. Light.BottomSurface = "SmoothNoOutlines"
  988. Light.BackSurface = "SmoothNoOutlines"
  989. Light.FrontSurface = "SmoothNoOutlines"
  990. Light.LeftSurface = "SmoothNoOutlines"
  991. Light.RightSurface = "SmoothNoOutlines"
  992. Light.Transparency = 0
  993. Light.Size = Vector3.new(0.4,0.4,distance)
  994. Light.Material = "Neon"
  995. Light.BrickColor = Color
  996. Light.CFrame = CFrame.new(Point12.CFrame.p , PrevPoint12) * CFrame.new(0,0,-distance/2)
  997. end
  998. PreviousP = Object.CFrame.p
  999. PreviousA1 = Arm1.CFrame.p
  1000. PreviousA2 = Arm2.CFrame.p
  1001. PreviousL1 = Leg1.CFrame.p
  1002. PreviousL2 = Leg2.CFrame.p
  1003. PrevPoint1 = Point1.CFrame.p
  1004. PrevPoint2 = Point2.CFrame.p
  1005. PrevPoint3 = Point3.CFrame.p
  1006. PrevPoint4 = Point4.CFrame.p
  1007. PrevPoint5 = Point5.CFrame.p
  1008. PrevPoint6 = Point6.CFrame.p
  1009. PrevPoint7 = Point7.CFrame.p
  1010. PrevPoint8 = Point8.CFrame.p
  1011. PrevPoint9 = Point9.CFrame.p
  1012. PrevPoint10 = Point10.CFrame.p
  1013. PrevPoint11 = Point11.CFrame.p
  1014. PrevPoint12 = Point12.CFrame.p
  1015. local Children = Model:GetChildren()
  1016. wait(1)
  1017. for i = 1,10 do
  1018. local Remove = coroutine.wrap(function()
  1019. for i = 1,#Children do
  1020. if Children[i]:IsA("Part") then
  1021. Children[i].Transparency = Children[i].Transparency + 0.1
  1022. if Children[i].Transparency >= 1 and Children[i] ~= Light and Children[i] ~= Point1 and Children[i] ~= Point2 and Children[i] ~= Point3
  1023. and Children[i] ~= Point4 and Children[i] ~= Point5 and Children[i] ~= Point6 and Children[i] ~= Point7 and Children[i] ~= Point8
  1024. and Children[i] ~= Point9 and Children[i] ~= Point10 and Children[i] ~= Point11 and Children[i] ~= Point12 then
  1025. game.Debris:AddItem(Children[i],0)
  1026. end
  1027. end
  1028. if Children[i].ClassName ~= "Part" then
  1029. game.Debris:AddItem(Children[i],0)
  1030. end
  1031. end
  1032. end)
  1033. Remove()
  1034. wait(0.05)
  1035. end
  1036. game.Debris:AddItem(Light,0)
  1037. game.Debris:AddItem(Point1,0)
  1038. game.Debris:AddItem(Point2,0)
  1039. game.Debris:AddItem(Point3,0)
  1040. game.Debris:AddItem(Point4,0)
  1041. game.Debris:AddItem(Point5,0)
  1042. game.Debris:AddItem(Point6,0)
  1043. game.Debris:AddItem(Point7,0)
  1044. game.Debris:AddItem(Point8,0)
  1045. game.Debris:AddItem(Point9,0)
  1046. game.Debris:AddItem(Point10,0)
  1047. game.Debris:AddItem(Point11,0)
  1048. game.Debris:AddItem(Point12,0)
  1049. end
  1050. end)
  1051. Player=game:GetService("Players").LocalPlayer
  1052. Character=Player.Character
  1053. PlayerGui=Player.PlayerGui
  1054. Backpack=Player.Backpack
  1055. Torso=Character.Torso
  1056. Head=Character.Head
  1057. Humanoid=Character.Humanoid
  1058. m=Instance.new('Model',Character)
  1059. LeftArm=Character["Left Arm"]
  1060. LeftLeg=Character["Left Leg"]
  1061. RightArm=Character["Right Arm"]
  1062. RightLeg=Character["Right Leg"]
  1063. LS=Torso["Left Shoulder"]
  1064. LH=Torso["Left Hip"]
  1065. RS=Torso["Right Shoulder"]
  1066. RH=Torso["Right Hip"]
  1067. Face = Head.face
  1068. Neck=Torso.Neck
  1069. it=Instance.new
  1070. attacktype=1
  1071. vt=Vector3.new
  1072. cf=CFrame.new
  1073. euler=CFrame.fromEulerAnglesXYZ
  1074. angles=CFrame.Angles
  1075. cloaked=false
  1076. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1077. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1078. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1079. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1080. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1081. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1082. RootPart=Character.HumanoidRootPart
  1083. RootJoint=RootPart.RootJoint
  1084. RootCF=euler(-1.57,0,3.14)
  1085. attack = false
  1086. attackdebounce = false
  1087. deb=false
  1088. equipped=true
  1089. hand=false
  1090. MMouse=nil
  1091. combo=0
  1092. mana=0
  1093. trispeed=.2
  1094. attackmode='none'
  1095. local idle=0
  1096. local Anim="Idle"
  1097. local Effects={}
  1098. local gun=false
  1099. local shoot=false
  1100. player=nil
  1101. mana=0
  1102. local CurrentMode = "Unsheathed"
  1103.  
  1104. mouse=Player:GetMouse()
  1105. --save shoulders
  1106. RSH, LSH=nil, nil
  1107. --welds
  1108. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1109. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1110. LH=Torso["Left Hip"]
  1111. RH=Torso["Right Hip"]
  1112. TorsoColor=Torso.BrickColor
  1113. function NoOutline(Part)
  1114. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1115. end
  1116. player=Player
  1117. ch=Character
  1118. RSH=ch.Torso["Right Shoulder"]
  1119. LSH=ch.Torso["Left Shoulder"]
  1120. --
  1121. RSH.Parent=nil
  1122. LSH.Parent=nil
  1123. --
  1124. RW.Name="Right Shoulder"
  1125. RW.Part0=ch.Torso
  1126. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1127. RW.C1=cf(0, 0.5, 0)
  1128. RW.Part1=ch["Right Arm"]
  1129. RW.Parent=ch.Torso
  1130. --
  1131. LW.Name="Left Shoulder"
  1132. LW.Part0=ch.Torso
  1133. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1134. LW.C1=cf(0, 0.5, 0)
  1135. LW.Part1=ch["Left Arm"]
  1136. LW.Parent=ch.Torso
  1137.  
  1138. local function weldBetween(a, b)
  1139. local weldd = Instance.new("ManualWeld")
  1140. weldd.Part0 = a
  1141. weldd.Part1 = b
  1142. weldd.C0 = CFrame.new()
  1143. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1144. weldd.Parent = a
  1145. return weldd
  1146. end
  1147.  
  1148. function nooutline(part)
  1149. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1150. end
  1151.  
  1152. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1153. local fp=it("Part")
  1154. fp.formFactor=formfactor
  1155. fp.Parent=parent
  1156. fp.Reflectance=reflectance
  1157. fp.Transparency=transparency
  1158. fp.CanCollide=false
  1159. fp.Locked=true
  1160. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1161. fp.Name=name
  1162. fp.Size=size
  1163. fp.Position=Character.Torso.Position
  1164. nooutline(fp)
  1165. fp.Material=material
  1166. fp:BreakJoints()
  1167. return fp
  1168. end
  1169.  
  1170. function swait(num)
  1171. if num==0 or num==nil then
  1172. game:service'RunService'.Heartbeat:wait(0)
  1173. else
  1174. for i=0,num do
  1175. game:service'RunService'.Heartbeat:wait(0)
  1176. end
  1177. end
  1178. end
  1179.  
  1180. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1181. local mesh=it(Mesh)
  1182. mesh.Parent=part
  1183. if Mesh=="SpecialMesh" then
  1184. mesh.MeshType=meshtype
  1185. mesh.MeshId=meshid
  1186. end
  1187. mesh.Offset=offset
  1188. mesh.Scale=scale
  1189. return mesh
  1190. end
  1191.  
  1192. function weld(parent,part0,part1,c0,c1)
  1193. local weld=it("Weld")
  1194. weld.Parent=parent
  1195. weld.Part0=part0
  1196. weld.Part1=part1
  1197. weld.C0=c0
  1198. weld.C1=c1
  1199. return weld
  1200. end
  1201.  
  1202.  
  1203. local function CFrameFromTopBack(at, top, back)
  1204. local right = top:Cross(back)
  1205. return CFrame.new(at.x, at.y, at.z,
  1206. right.x, top.x, back.x,
  1207. right.y, top.y, back.y,
  1208. right.z, top.z, back.z)
  1209. end
  1210.  
  1211. function Triangle(a, b, c)
  1212. local edg1 = (c-a):Dot((b-a).unit)
  1213. local edg2 = (a-b):Dot((c-b).unit)
  1214. local edg3 = (b-c):Dot((a-c).unit)
  1215. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1216. a, b, c = a, b, c
  1217. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1218. a, b, c = b, c, a
  1219. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1220. a, b, c = c, a, b
  1221. else
  1222. assert(false, "unreachable")
  1223. end
  1224.  
  1225. local len1 = (c-a):Dot((b-a).unit)
  1226. local len2 = (b-a).magnitude - len1
  1227. local width = (a + (b-a).unit*len1 - c).magnitude
  1228.  
  1229. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1230.  
  1231. local list = {}
  1232.  
  1233. if len1 > 0.01 then
  1234. local w1 = Instance.new('WedgePart', m)
  1235. game:GetService("Debris"):AddItem(w1,5)
  1236. w1.Material = "SmoothPlastic"
  1237. w1.FormFactor = 'Custom'
  1238. w1.BrickColor = BrickColor.new("New Yeller")
  1239. w1.Transparency = 0
  1240. w1.Reflectance = 0
  1241. w1.Material = "Neon"
  1242. w1.CanCollide = false
  1243. NoOutline(w1)
  1244. local sz = Vector3.new(0.2, width, len1)
  1245. w1.Size = sz
  1246. local sp = Instance.new("SpecialMesh",w1)
  1247. sp.MeshType = "Wedge"
  1248. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1249. w1:BreakJoints()
  1250. w1.Anchored = true
  1251. w1.Parent = workspace
  1252. w1.Transparency = 0.3
  1253. table.insert(Effects,{w1,"Disappear",.03})
  1254. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1255. table.insert(list,w1)
  1256. end
  1257. if len2 > 0.01 then
  1258. local w2 = Instance.new('WedgePart', m)
  1259. game:GetService("Debris"):AddItem(w2,5)
  1260. w2.Material = "SmoothPlastic"
  1261. w2.FormFactor = 'Custom'
  1262. w2.BrickColor = BrickColor.new("New Yeller")
  1263. w2.Transparency = 0
  1264. w2.Reflectance = 0
  1265. w2.Material = "Neon"
  1266. w2.CanCollide = false
  1267. NoOutline(w2)
  1268. local sz = Vector3.new(0.2, width, len2)
  1269. w2.Size = sz
  1270. local sp = Instance.new("SpecialMesh",w2)
  1271. sp.MeshType = "Wedge"
  1272. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1273. w2:BreakJoints()
  1274. w2.Anchored = true
  1275. w2.Parent = workspace
  1276. w2.Transparency = 0.3
  1277. table.insert(Effects,{w2,"Disappear",.03})
  1278. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1279. table.insert(list,w2)
  1280. end
  1281. return unpack(list)
  1282. end
  1283.  
  1284.  
  1285. so = function(id,par,vol,pit)
  1286. coroutine.resume(coroutine.create(function()
  1287. local sou = Instance.new("Sound",par or workspace)
  1288. sou.Volume=vol
  1289. sou.Pitch=pit or 1
  1290. sou.SoundId=id
  1291. swait()
  1292. sou:play()
  1293. game:GetService("Debris"):AddItem(sou,6)
  1294. end))
  1295. end
  1296.  
  1297. function clerp(a,b,t)
  1298. local qa = {QuaternionFromCFrame(a)}
  1299. local qb = {QuaternionFromCFrame(b)}
  1300. local ax, ay, az = a.x, a.y, a.z
  1301. local bx, by, bz = b.x, b.y, b.z
  1302. local _t = 1-t
  1303. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1304. end
  1305.  
  1306. function QuaternionFromCFrame(cf)
  1307. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1308. local trace = m00 + m11 + m22
  1309. if trace > 0 then
  1310. local s = math.sqrt(1 + trace)
  1311. local recip = 0.5/s
  1312. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1313. else
  1314. local i = 0
  1315. if m11 > m00 then
  1316. i = 1
  1317. end
  1318. if m22 > (i == 0 and m00 or m11) then
  1319. i = 2
  1320. end
  1321. if i == 0 then
  1322. local s = math.sqrt(m00-m11-m22+1)
  1323. local recip = 0.5/s
  1324. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1325. elseif i == 1 then
  1326. local s = math.sqrt(m11-m22-m00+1)
  1327. local recip = 0.5/s
  1328. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1329. elseif i == 2 then
  1330. local s = math.sqrt(m22-m00-m11+1)
  1331. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1332. end
  1333. end
  1334. end
  1335.  
  1336. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1337. local xs, ys, zs = x + x, y + y, z + z
  1338. local wx, wy, wz = w*xs, w*ys, w*zs
  1339. local xx = x*xs
  1340. local xy = x*ys
  1341. local xz = x*zs
  1342. local yy = y*ys
  1343. local yz = y*zs
  1344. local zz = z*zs
  1345. 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))
  1346. end
  1347.  
  1348. function QuaternionSlerp(a, b, t)
  1349. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1350. local startInterp, finishInterp;
  1351. if cosTheta >= 0.0001 then
  1352. if (1 - cosTheta) > 0.0001 then
  1353. local theta = math.acos(cosTheta)
  1354. local invSinTheta = 1/math.sin(theta)
  1355. startInterp = math.sin((1-t)*theta)*invSinTheta
  1356. finishInterp = math.sin(t*theta)*invSinTheta
  1357. else
  1358. startInterp = 1-t
  1359. finishInterp = t
  1360. end
  1361. else
  1362. if (1+cosTheta) > 0.0001 then
  1363. local theta = math.acos(-cosTheta)
  1364. local invSinTheta = 1/math.sin(theta)
  1365. startInterp = math.sin((t-1)*theta)*invSinTheta
  1366. finishInterp = math.sin(t*theta)*invSinTheta
  1367. else
  1368. startInterp = t-1
  1369. finishInterp = t
  1370. end
  1371. end
  1372. 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
  1373. end
  1374.  
  1375. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1376. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1377. end
  1378.  
  1379. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1380. if hit.Parent==nil then
  1381. return
  1382. end
  1383. local h=hit.Parent:FindFirstChild("Humanoid")
  1384. for _,v in pairs(hit.Parent:children()) do
  1385. if v:IsA("Humanoid") then
  1386. h=v
  1387. end
  1388. end
  1389. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1390. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1391. end
  1392. if hit.Parent.className=="Hat" then
  1393. hit=hit.Parent.Parent:findFirstChild("Head")
  1394. end
  1395. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1396. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1397. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1398. return
  1399. end]]
  1400. -- hs(hit,1.2)
  1401. local c=Instance.new("ObjectValue")
  1402. c.Name="creator"
  1403. c.Value=game:service("Players").LocalPlayer
  1404. c.Parent=h
  1405. game:GetService("Debris"):AddItem(c,.5)
  1406. local Damage=math.random(minim,maxim)
  1407. -- h:TakeDamage(Damage)
  1408. local blocked=false
  1409. local block=hit.Parent:findFirstChild("Block")
  1410. if block~=nil then
  1411. print(block.className)
  1412. if block.className=="NumberValue" then
  1413. if block.Value>0 then
  1414. blocked=true
  1415. if decreaseblock==nil then
  1416. block.Value=block.Value-1
  1417. end
  1418. end
  1419. end
  1420. if block.className=="IntValue" then
  1421. if block.Value>0 then
  1422. blocked=true
  1423. if decreaseblock~=nil then
  1424. block.Value=block.Value-1
  1425. end
  1426. end
  1427. end
  1428. end
  1429. if blocked==false then
  1430. -- h:TakeDamage(Damage)
  1431. h.Health=h.Health-Damage
  1432. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  1433. else
  1434. h.Health=h.Health-(Damage/2)
  1435. 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)
  1436. end
  1437. if Type=="Knockdown" then
  1438. local hum=hit.Parent.Humanoid
  1439. hum.PlatformStand=true
  1440. coroutine.resume(coroutine.create(function(HHumanoid)
  1441. swait(1)
  1442. HHumanoid.PlatformStand=false
  1443. end),hum)
  1444. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1445. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1446. local bodvol=Instance.new("BodyVelocity")
  1447. bodvol.velocity=angle*knockback
  1448. bodvol.P=5000
  1449. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1450. bodvol.Parent=hit
  1451. local rl=Instance.new("BodyAngularVelocity")
  1452. rl.P=3000
  1453. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1454. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1455. rl.Parent=hit
  1456. game:GetService("Debris"):AddItem(bodvol,.5)
  1457. game:GetService("Debris"):AddItem(rl,.5)
  1458. elseif Type=="Normal" then
  1459. local vp=Instance.new("BodyVelocity")
  1460. vp.P=500
  1461. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1462. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1463. if KnockbackType==1 then
  1464. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1465. elseif KnockbackType==2 then
  1466. vp.velocity=Property.CFrame.lookVector*knockback
  1467. end
  1468. if knockback>0 then
  1469. vp.Parent=hit.Parent.Torso
  1470. end
  1471. game:GetService("Debris"):AddItem(vp,.5)
  1472. elseif Type=="Up" then
  1473. local bodyVelocity=Instance.new("BodyVelocity")
  1474. bodyVelocity.velocity=vt(0,60,0)
  1475. bodyVelocity.P=5000
  1476. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1477. bodyVelocity.Parent=hit
  1478. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1479. local rl=Instance.new("BodyAngularVelocity")
  1480. rl.P=3000
  1481. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1482. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1483. rl.Parent=hit
  1484. game:GetService("Debris"):AddItem(rl,.5)
  1485. elseif Type=="Snare" then
  1486. local bp=Instance.new("BodyPosition")
  1487. bp.P=2000
  1488. bp.D=100
  1489. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1490. bp.position=hit.Parent.Torso.Position
  1491. bp.Parent=hit.Parent.Torso
  1492. game:GetService("Debris"):AddItem(bp,1)
  1493. elseif Type=="Target" then
  1494. local Targetting = false
  1495. if Targetting==false then
  1496. ZTarget=hit.Parent.Torso
  1497. coroutine.resume(coroutine.create(function(Part)
  1498. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1499. swait(5)
  1500. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1501. end),ZTarget)
  1502. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1503. local targetgui=Instance.new("BillboardGui")
  1504. targetgui.Parent=ZTarget
  1505. targetgui.Size=UDim2.new(10,100,10,100)
  1506. local targ=Instance.new("ImageLabel")
  1507. targ.Parent=targetgui
  1508. targ.BackgroundTransparency=1
  1509. targ.Image="rbxassetid://4834067"
  1510. targ.Size=UDim2.new(1,0,1,0)
  1511. cam.CameraType="Scriptable"
  1512. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1513. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1514. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1515. Targetting=true
  1516. RocketTarget=ZTarget
  1517. for i=1,Property do
  1518. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1519. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1520. swait()
  1521. end
  1522. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1523. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1524. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1525. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1526. end
  1527. Targetting=false
  1528. RocketTarget=nil
  1529. targetgui.Parent=nil
  1530. cam.CameraType="Custom"
  1531. end
  1532. end
  1533. local debounce=Instance.new("BoolValue")
  1534. debounce.Name="DebounceHit"
  1535. debounce.Parent=hit.Parent
  1536. debounce.Value=true
  1537. game:GetService("Debris"):AddItem(debounce,Delay)
  1538. c=Instance.new("ObjectValue")
  1539. c.Name="creator"
  1540. c.Value=Player
  1541. c.Parent=h
  1542. game:GetService("Debris"):AddItem(c,.5)
  1543. end
  1544. end
  1545.  
  1546.  
  1547. function ShowDamage(Pos, Text, Time, Color)
  1548. local Rate = (1 / 30)
  1549. local Pos = (Pos or Vector3.new(0, 0, 0))
  1550. local Text = (Text or "")
  1551. local Time = (Time or 2)
  1552. local Color = (Color or Color3.new(1, 0, 0))
  1553. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  1554. EffectPart.Anchored = true
  1555. local BillboardGui = Instance.new("BillboardGui")
  1556. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  1557. BillboardGui.Adornee = EffectPart
  1558. local TextLabel = Instance.new("TextLabel")
  1559. TextLabel.BackgroundTransparency = 1
  1560. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  1561. TextLabel.Text = Text
  1562. TextLabel.TextColor3 = Color
  1563. TextLabel.TextScaled = true
  1564. TextLabel.Font = Enum.Font.ArialBold
  1565. TextLabel.Parent = BillboardGui
  1566. BillboardGui.Parent = EffectPart
  1567. game.Debris:AddItem(EffectPart, (Time + 0.1))
  1568. EffectPart.Parent = game:GetService("Workspace")
  1569. Delay(0, function()
  1570. local Frames = (Time / Rate)
  1571. for Frame = 1, Frames do
  1572. wait(Rate)
  1573. local Percent = (Frame / Frames)
  1574. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1575. TextLabel.TextTransparency = Percent
  1576. end
  1577. if EffectPart and EffectPart.Parent then
  1578. EffectPart:Destroy()
  1579. end
  1580. end)
  1581. end
  1582.  
  1583. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Handle",Vector3.new(0.34799999, 2.78399992, 0.34799999))
  1584. 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))
  1585. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1586. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"New Yeller","Hitbox",Vector3.new(1.04400003, 6.35600042, 0.600000024))
  1587. 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))
  1588. mesh("BlockMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  1589. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1590. 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))
  1591. 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))
  1592. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1593. 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))
  1594. 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))
  1595. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
  1596. 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))
  1597. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  1598. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1599. 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))
  1600. 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))
  1601. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.812000036, 0.591600001))
  1602. 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))
  1603. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  1604. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  1605. 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))
  1606. 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))
  1607. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1608. 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))
  1609. 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))
  1610. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  1611. 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))
  1612. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  1613. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  1614. 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))
  1615. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
  1616. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(1.04400003, 4.75600052, 0.200000003))
  1617. 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))
  1618. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.579999983))
  1619. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  1620. 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))
  1621. 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))
  1622. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
  1623. 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))
  1624. 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))
  1625. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1626. 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))
  1627. 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))
  1628. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1629. 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))
  1630. 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))
  1631. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1632. 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))
  1633. 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))
  1634. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1635. 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))
  1636. 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))
  1637. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  1638. 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))
  1639. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  1640. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1641. 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))
  1642. 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))
  1643. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.812000036, 0.200000003, 0.579999983))
  1644. 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))
  1645. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.526639998, 1))
  1646. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999))
  1647. 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))
  1648. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  1649. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1650. 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))
  1651. 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))
  1652. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  1653. 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))
  1654. 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))
  1655. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1656. 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))
  1657. 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))
  1658. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  1659. 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))
  1660. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1661. 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))
  1662. 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))
  1663. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1664. 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))
  1665. 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))
  1666. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1667. 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))
  1668. 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))
  1669. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1670. 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))
  1671. 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))
  1672. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1673. 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))
  1674. 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))
  1675. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.579999983, 0.200000003, 0.34799999))
  1676. 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))
  1677. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  1678. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1679. 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))
  1680. 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))
  1681. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  1682. 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))
  1683. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000222, 1, 1))
  1684. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  1685. 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))
  1686. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  1687. 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))
  1688. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  1689. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1690. 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))
  1691. 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))
  1692. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.44659999, 0.69599998, 0.371199995))
  1693. 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))
  1694. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1695. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1696. 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))
  1697. 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))
  1698. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.463999987, 0.34799999))
  1699. 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))
  1700. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  1701. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 4.75600052, 0.200000003))
  1702. 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))
  1703. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000401, 1, 0.69599992))
  1704. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1705. 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))
  1706. 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))
  1707. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  1708. 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))
  1709. 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))
  1710. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1711. 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))
  1712. 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))
  1713. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1714. 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))
  1715. 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))
  1716. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.231999993, 0.200000003))
  1717. 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))
  1718. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.698320508, 1.00999999, 0.590207934))
  1719. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.44659999, 1.15999997, 0.371199995))
  1720. 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))
  1721. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1722. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  1723. 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))
  1724. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  1725. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1726. 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))
  1727. 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))
  1728. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.579999983, 0.34799999))
  1729. 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))
  1730. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  1731. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1732. 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))
  1733. 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))
  1734. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  1735. 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))
  1736. 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))
  1737. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
  1738. 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))
  1739. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1740. 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))
  1741. 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))
  1742. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1743. 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))
  1744. 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))
  1745. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Institutional white","Part",Vector3.new(0.200000003, 1.50800002, 1.04400003))
  1746. 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))
  1747. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.581159949, 1, 1))
  1748. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  1749. 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))
  1750. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1751. 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))
  1752. 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))
  1753. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.231999993, 0.200000003, 0.34799999))
  1754. 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))
  1755. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.580000103, 1))
  1756. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1757. 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))
  1758. 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))
  1759. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  1760. 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))
  1761. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1762. 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))
  1763. 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))
  1764. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.231999993, 0.34799999))
  1765. 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))
  1766. 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))
  1767. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.580000043, 4.75600052, 0.200000003))
  1768. 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))
  1769. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.638000011))
  1770. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.04400003, 0.231999993, 0.34799999))
  1771. 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))
  1772. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  1773. 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))
  1774. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  1775. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1776. 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))
  1777. 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))
  1778. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  1779. 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))
  1780. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  1781. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.34799999, 0.34799999, 0.200000003))
  1782. 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))
  1783. 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))
  1784. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  1785. 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))
  1786. 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))
  1787. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.231999993, 0.34799999))
  1788. 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))
  1789. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.580000103, 1, 1))
  1790. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.34799996, 0.34799999, 0.34799999))
  1791. 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))
  1792. 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))
  1793. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.696000099, 0.231999993, 0.34799999))
  1794. 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))
  1795. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.812000036))
  1796. 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))
  1797. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.628719985, 1, 1))
  1798. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Part",Vector3.new(0.812000036, 0.200000003, 0.812000036))
  1799. 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))
  1800. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.444280028, 1))
  1801. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  1802. 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))
  1803. 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))
  1804. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  1805. 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))
  1806. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  1807. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  1808. 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))
  1809. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  1810. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.579999983, 0.812000036, 0.200000003))
  1811. 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))
  1812. 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))
  1813. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.44659999, 0.200000003, 0.371199995))
  1814. 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))
  1815. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.579999983, 1))
  1816. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.34799999, 0.34799999))
  1817. 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))
  1818. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  1819. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.231999978, 0.231999993, 0.34799999))
  1820. 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))
  1821. 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))
  1822. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"New Yeller","Part",Vector3.new(0.200000003, 0.812000036, 0.34799999))
  1823. 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))
  1824. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.579999983, 1, 1))
  1825.  
  1826. local Lite = it("PointLight",Torso)
  1827. Lite.Color = Color3.new(255, 255, 0)
  1828. Lite.Range = 8
  1829. Lite.Brightness = 10
  1830. Lite.Shadows = true
  1831.  
  1832. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1833. local prt=part("Custom",workspace,"Neon",0,0,"New Yeller","Effect",vt(0.5,0.5,0.5))
  1834. prt.Anchored=true
  1835. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1836. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1837. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1838. CF=Part.CFrame
  1839. Numbb=0
  1840. randnumb=math.random()-math.random()
  1841. for i=0,1,0.05 do
  1842. wait()
  1843. CF=CF*cf(0,1,0)
  1844. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1845. Part.CFrame=CF*euler(Numbb,0,0)
  1846. Part.Transparency=i
  1847. Numbb=Numbb+randnumb
  1848. end
  1849. Part.Parent=nil
  1850. end),prt)
  1851. end
  1852. --BreakEffect(BrickColor.new("New Yeller"),Hitbox.CFrame,0.5,math.random(5,20),0.5)
  1853.  
  1854. function attackone()
  1855. attack=true
  1856. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1857. for i=0,1,0.1 do
  1858. swait()
  1859. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  1860. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1861. 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)
  1862. 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)
  1863. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  1864. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1865. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1866. end
  1867. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  1868. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  1869. hitconasdf = Hitbox.Touched:connect(function(hit)
  1870. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1871. if hum12 and not hum12:IsDescendantOf(Character) then
  1872. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1873. for i = 1,10 do
  1874. BreakEffect(BrickColor.new("New Yeller"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1875. end
  1876. hitconasdf:disconnect()
  1877. end
  1878. end)
  1879. for i=0,1,0.1 do
  1880. swait()
  1881. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1882. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1883. local h = 5
  1884. 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)
  1885. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1886. 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)
  1887. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1888. scfr = blcf
  1889. elseif not scfr then
  1890. scfr = blcf
  1891. end
  1892. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  1893. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1894. 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)
  1895. 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)
  1896. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  1897. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1898. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1899. end
  1900. attack=false
  1901. con:disconnect()
  1902. scfr = nil
  1903. pcall(function()
  1904. hitconasdf:disconnect()
  1905. end)
  1906. end
  1907.  
  1908. function attacktwo()
  1909. attack=true
  1910. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1911. for i=0,1,0.1 do
  1912. swait()
  1913. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  1914. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  1915. 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)
  1916. 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)
  1917. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  1918. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  1919. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  1920. end
  1921. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  1922. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  1923. hitconasdf = Hitbox.Touched:connect(function(hit)
  1924. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1925. if hum12 and not hum12:IsDescendantOf(Character) then
  1926. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1927. for i = 1,10 do
  1928. BreakEffect(BrickColor.new("New Yeller"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1929. end
  1930. hitconasdf:disconnect()
  1931. end
  1932. end)
  1933. for i=0,1,0.1 do
  1934. swait()
  1935. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1936. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1937. local h = 5
  1938. 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)
  1939. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1940. 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)
  1941. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1942. scfr = blcf
  1943. elseif not scfr then
  1944. scfr = blcf
  1945. end
  1946. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  1947. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  1948. 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)
  1949. 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)
  1950. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  1951. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1952. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  1953. end
  1954. attack=false
  1955. con:disconnect()
  1956. scfr = nil
  1957. pcall(function()
  1958. hitconasdf:disconnect()
  1959. end)
  1960. end
  1961.  
  1962. function Stab()
  1963. attack=true
  1964. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  1965. for i=0,1,0.1 do
  1966. swait()
  1967. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1968. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(60)),.3)
  1969. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(20),math.rad(90)),.3)
  1970. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-90)),.3)
  1971. 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)
  1972. 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)
  1973. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1974. end
  1975. hitconasdf = Hitbox.Touched:connect(function(hit)
  1976. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1977. if hum12 and not hum12:IsDescendantOf(Character) then
  1978. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  1979. for i = 1,10 do
  1980. BreakEffect(BrickColor.new("New Yeller"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  1981. end
  1982. hitconasdf:disconnect()
  1983. end
  1984. end)
  1985. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  1986. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  1987. for i=0,1,0.1 do
  1988. swait()
  1989. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  1990. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1991. local h = 5
  1992. 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)
  1993. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1994. 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)
  1995. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1996. scfr = blcf
  1997. elseif not scfr then
  1998. scfr = blcf
  1999. end
  2000. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2001. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-80)),.4)
  2002. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2003. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.4)
  2004. 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)
  2005. 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)
  2006. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-90),math.rad(0),math.rad(0)),.4)
  2007. end
  2008. con:disconnect()
  2009. attack=false
  2010. scfr = nil
  2011. pcall(function()
  2012. hitconasdf:disconnect()
  2013. end)
  2014. end
  2015.  
  2016. function Spin()
  2017. attack=true
  2018. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  2019. hitconasdf = Hitbox.Touched:connect(function(hit)
  2020. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2021. if hum12 and not hum12:IsDescendantOf(Character) then
  2022. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  2023. for i = 1,10 do
  2024. BreakEffect(BrickColor.new("New Yeller"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  2025. end
  2026. hitconasdf:disconnect()
  2027. end
  2028. end)
  2029. for i=0,1,1 do
  2030. so("http://roblox.com/asset/?id=154965962",Hitbox,1,1)
  2031. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  2032. swait()
  2033. for i=0,1,0.1 do
  2034. swait()
  2035. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  2036. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  2037. local h = 5
  2038. 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)
  2039. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2040. 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)
  2041. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2042. scfr = blcf
  2043. elseif not scfr then
  2044. scfr = blcf
  2045. end
  2046. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(-50)),.3)
  2047. LW.C0=clerp(LW.C0,cf(-1,0.5,-.5)*angles(math.rad(90),math.rad(0),math.rad(50)),.3)
  2048. LH.C0=clerp(LH.C0,cf(-1,-.5,-1)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
  2049. RH.C0=clerp(RH.C0,cf(1,-.5,-1)*angles(math.rad(-20),math.rad(90),math.rad(0)),.3)
  2050. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*euler(6*i,0,0),.5)
  2051. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(30)),1)
  2052. end
  2053. end
  2054. attack=false
  2055. con:disconnect()
  2056. scfr = nil
  2057. pcall(function()
  2058. hitconasdf:disconnect()
  2059. end)
  2060. end
  2061.  
  2062. function ContAttack()
  2063. attack=true
  2064. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,30,50,math.random(10,20),"Normal",RootPart,.2,1) end)
  2065. hitconasdf = Hitbox.Touched:connect(function(hit)
  2066. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2067. if hum12 and not hum12:IsDescendantOf(Character) then
  2068. so('http://roblox.com/asset/?id=154965973',Hitbox,1,1)
  2069. for i = 1,10 do
  2070. BreakEffect(BrickColor.new("New Yeller"),hit.Parent.Torso.CFrame,0.5,math.random(5,20),0.5)
  2071. end
  2072. hitconasdf:disconnect()
  2073. end
  2074. end)
  2075. for i=1,4 do
  2076. swait()
  2077. for i=0,1,0.2 do
  2078. swait()
  2079. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(120),math.rad(0),math.rad(20)),.3)
  2080. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  2081. 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)
  2082. 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)
  2083. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(70),math.rad(-10),math.rad(0)),.3)
  2084. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  2085. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  2086. end
  2087. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,1)
  2088. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,1)
  2089. for i=0,1,0.2 do
  2090. swait()
  2091. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  2092. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  2093. local h = 5
  2094. 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)
  2095. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2096. 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)
  2097. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2098. scfr = blcf
  2099. elseif not scfr then
  2100. scfr = blcf
  2101. end
  2102. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(110),math.rad(-90),math.rad(20)),.3)
  2103. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  2104. 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)
  2105. 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)
  2106. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-60),math.rad(-10),math.rad(0)),.3)
  2107. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  2108. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  2109. end
  2110. for i=0,1,0.2 do
  2111. swait()
  2112. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(90),math.rad(90)),.3)
  2113. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-50)),.3)
  2114. 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)
  2115. 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)
  2116. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-30),math.rad(-10),math.rad(0)),.3)
  2117. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  2118. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(-50)),.3)
  2119. end
  2120. so("http://www.roblox.com/asset/?id=154965962",Hitbox,1,.9)
  2121. so("http://www.roblox.com/asset/?id=231917758",Hitbox,1,.9)
  2122. for i=0,1,0.2 do
  2123. swait()
  2124. local blcf = Hitbox.CFrame*CFrame.new(0,.3,0)
  2125. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  2126. local h = 5
  2127. 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)
  2128. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2129. 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)
  2130. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  2131. scfr = blcf
  2132. elseif not scfr then
  2133. scfr = blcf
  2134. end
  2135. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(-50),math.rad(90)),.3)
  2136. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(-20),math.rad(-90)),.3)
  2137. 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)
  2138. 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)
  2139. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(-50),math.rad(10),math.rad(0)),.3)
  2140. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  2141. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(50)),.3)
  2142. end
  2143. end
  2144. attack=false
  2145. con:disconnect()
  2146. scfr = nil
  2147. pcall(function()
  2148. hitconasdf:disconnect()
  2149. end)
  2150. end
  2151.  
  2152.  
  2153. function Sheathe()
  2154. attack = true
  2155. so("http://www.roblox.com/asset/?id=273797222",Hitbox,1,.9)
  2156. CurrentMode = "Sheathed"
  2157. for i = 0,1,0.1 do
  2158. swait()
  2159. handleweld.Part0 = Torso
  2160. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2161. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
  2162. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(190),math.rad(0),math.rad(0)),.3)
  2163. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  2164. 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)
  2165. 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)
  2166. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  2167. end
  2168. attack = false
  2169. end
  2170.  
  2171. function Unsheathe()
  2172. attack = true
  2173. CurrentMode = "Unsheathed"
  2174. so("http://www.roblox.com/asset/?id=239169404",Hitbox,1,.9)
  2175. for i = 0,1,0.1 do
  2176. swait()
  2177. handleweld.Part0 = RightArm
  2178. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  2179. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  2180. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(200),math.rad(0),math.rad(0)),.3)
  2181. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(-30),math.rad(-30)),.3)
  2182. 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)
  2183. 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)
  2184. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.3)
  2185. end
  2186. scfr = nil
  2187. attack = false
  2188. end
  2189.  
  2190. local Sit = false
  2191.  
  2192. mouse.Button1Down:connect(function()
  2193. if attack==false then
  2194. if attacktype==1 and CurrentMode == "Unsheathed" then
  2195. attack=true
  2196. attacktype=2
  2197. attackone()
  2198. elseif attacktype==2 and CurrentMode == "Unsheathed" then
  2199. attack=true
  2200. attacktype=1
  2201. attacktwo()
  2202. end
  2203. end
  2204. end)
  2205.  
  2206.  
  2207. mouse.KeyDown:connect(function(k)
  2208. k=k:lower()
  2209. if k=='q' then
  2210. if attack==false and CurrentMode == "Unsheathed" then
  2211. Stab()
  2212. end
  2213. elseif k=='e' then
  2214. if attack==false and CurrentMode == "Unsheathed" then
  2215. Spin()
  2216. end
  2217. elseif k=='r' then
  2218. if attack==false and CurrentMode == "Unsheathed" then
  2219. ContAttack()
  2220. end
  2221. elseif k=='f' then
  2222. if attack==false and CurrentMode == "Unsheathed" then
  2223. Sheathe()
  2224. elseif k=='f' then
  2225. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  2226. Unsheathe()
  2227. end
  2228. end
  2229. elseif k=='t' then
  2230. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  2231. Sit = true
  2232. Humanoid.WalkSpeed = 0
  2233. elseif k=='t' then
  2234. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  2235. Sit = false
  2236. Humanoid.WalkSpeed = 16
  2237. end
  2238. end
  2239.  
  2240. end
  2241. end)
  2242.  
  2243.  
  2244. local sine = 0
  2245. local change = 1
  2246. local val = 0
  2247.  
  2248. while true do
  2249. swait()
  2250. sine = sine + change
  2251. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2252. local velderp=RootPart.Velocity.y
  2253. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2254. if equipped==true or equipped==false then
  2255. if attack==false then
  2256. idle=idle+1
  2257. else
  2258. idle=0
  2259. end
  2260. if idle>=500 then
  2261. if attack==false then
  2262. end
  2263. end
  2264. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2265. Anim="Jump"
  2266. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  2267. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2268. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2269. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(50),math.rad(0),math.rad(30)),.3)
  2270. 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)
  2271. 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)
  2272. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  2273. end
  2274. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  2275. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2276. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2277. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(30)),.3)
  2278. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-30)),.3)
  2279. 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)
  2280. 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)
  2281. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  2282. end
  2283. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2284. Anim="Fall"
  2285. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  2286. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2287. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2288. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  2289. 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)
  2290. 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)
  2291. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  2292. end
  2293. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  2294. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2295. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2296. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(50)),.3)
  2297. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-50)),.3)
  2298. 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)
  2299. 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)
  2300. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  2301. end
  2302. elseif torvel<1 and hitfloor~=nil then
  2303. Anim="Idle"
  2304. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  2305. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  2306. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(40)),.3)
  2307. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(40),math.rad(0),math.rad(20)),.3)
  2308. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-10)),.3)
  2309. 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)
  2310. 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)
  2311. handleweld.C0=clerp(handleweld.C0,cf(0,-0,.4)*angles(math.rad(85),math.rad(-10),math.rad(0)),.3)
  2312. end
  2313. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  2314. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2315. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3)
  2316. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(5)),.3)
  2317. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(0),math.rad(0),math.rad(-5)),.3)
  2318. 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)
  2319. 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)
  2320. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  2321. end
  2322. if attack==false and Sit == true and CurrentMode == "Sheathed" then
  2323. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-2)*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2324. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2325. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(0),math.rad(5)),.3)
  2326. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(30)),.3)
  2327. 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)
  2328. 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)
  2329. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  2330. end
  2331. elseif torvel>2 and hitfloor~=nil then
  2332. Anim="Walk"
  2333. if attack==false and Sit == false and CurrentMode == "Unsheathed" then
  2334. change=3
  2335. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2336. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2337. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-5),math.rad(0),math.rad(20)),.3)
  2338. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-30),math.rad(5),math.rad(-10)),.3)
  2339. 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)
  2340. 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)
  2341. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(15),math.rad(-10),math.rad(0)),.3)
  2342. end
  2343. if attack==false and Sit == false and CurrentMode == "Sheathed" then
  2344. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2345. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2346. 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)
  2347. 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)
  2348. 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)
  2349. 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)
  2350. handleweld.C0=clerp(handleweld.C0,cf(3,3,0.5)*angles(math.rad(90),math.rad(150),math.rad(90)),.3)
  2351. end
  2352. end
  2353. end
  2354. if #Effects>0 then
  2355. for e=1,#Effects do
  2356. if Effects[e]~=nil then
  2357. local Thing=Effects[e]
  2358. if Thing~=nil then
  2359. local Part=Thing[1]
  2360. local Mode=Thing[2]
  2361. local Delay=Thing[3]
  2362. local IncX=Thing[4]
  2363. local IncY=Thing[5]
  2364. local IncZ=Thing[6]
  2365. if Thing[1].Transparency<=1 then
  2366. if Thing[2]=="Block1" then
  2367. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2368. Mesh=Thing[1].Mesh
  2369. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2370. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2371. elseif Thing[2]=="Cylinder" then
  2372. Mesh=Thing[1].Mesh
  2373. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2374. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2375. elseif Thing[2]=="Blood" then
  2376. Mesh=Thing[7]
  2377. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2378. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2379. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2380. elseif Thing[2]=="Elec" then
  2381. Mesh=Thing[1].Mesh
  2382. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2383. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2384. elseif Thing[2]=="Disappear" then
  2385. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2386. end
  2387. else
  2388. Part.Parent=nil
  2389. table.remove(Effects,e)
  2390. end
  2391. end
  2392. end
  2393. end
  2394. end
  2395. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement