DontAskme

God of disasters

Sep 15th, 2017
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 179.08 KB | None | 0 0
  1. --Thanks gaster :3
  2. wait()
  3. Player = game.Players.LocalPlayer
  4. Object = Player.Character.HumanoidRootPart
  5. Arm1 = Player.Character["Right Arm"]
  6. PreviousA1 = Arm1.CFrame.p
  7. Arm2 = Player.Character["Left Arm"]
  8. PreviousA2 = Arm2.CFrame.p
  9.  
  10. Leg1 = Player.Character["Right Leg"]
  11. PreviousL1 = Leg1.CFrame.p
  12. Leg2 = Player.Character["Left Leg"]
  13. PreviousL2 = Leg2.CFrame.p
  14.  
  15. Run = game["Run Service"]
  16.  
  17. PreviousP = Object.CFrame.p
  18. Running = false
  19. Phase = false
  20. PhaseActive = false
  21. Morph = false
  22. MorphActive = false
  23. Tornado = false
  24. TornadoRadius = 50
  25. TornadoActive = false
  26. Portal = false
  27. PortalEnd = false
  28. MaxZ = 15
  29. MinZ = -15
  30. LightMaxX = 3
  31. LightMinX = 1
  32. LightMaxX2 = -1
  33. LightMinX2 = -3
  34. LightMaxY = 3
  35. LightMinY = -1
  36. Rotation = 0
  37. Length = 10
  38. Color = BrickColor.White()
  39. PColor = Color3.new(0,0,0)
  40. PrevPoint1 = nil
  41. PrevPoint2 = nil
  42. PrevPoint3 = nil
  43. PrevPoint4 = nil
  44. PrevPoint5 = nil
  45. PrevPoint6 = nil
  46. PrevPoint7 = nil
  47. PrevPoint8 = nil
  48. PrevPoint9 = nil
  49. PrevPoint10 = nil
  50. PrevPoint11 = nil
  51. PrevPoint12 = nil
  52. angle = 0
  53. Mouse = Player:GetMouse()
  54. Player.Character.Humanoid.WalkSpeed = 100
  55.  
  56.  
  57. Nil = function()
  58. PrevPoint1 = "Empty"
  59. PrevPoint2 = "Empty"
  60. PrevPoint3 = "Empty"
  61. PrevPoint4 = "Empty"
  62. PrevPoint5 = "Empty"
  63. PrevPoint6 = "Empty"
  64. PrevPoint7 = "Empty"
  65. PrevPoint8 = "Empty"
  66. PrevPoint9 = "Empty"
  67. PrevPoint10 = "Empty"
  68. PrevPoint11 = "Empty"
  69. PrevPoint12 = "Empty"
  70. end
  71. local Lightning = coroutine.wrap(function()
  72. while wait() do
  73. if Portal == false then
  74. angle = angle + 0.6
  75. local Model = Instance.new("Model",workspace)
  76. Model.Name = "Lightning"
  77. local Point1 = Instance.new("Part",Model)
  78. Point1.Transparency = 1
  79. Point1.Size = Vector3.new(0.2,0.2,0.2)
  80. Point1.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point1.Size.Z/2))
  81. Point1.Anchored = true
  82. Point1.CanCollide = false
  83. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  84.  
  85. local Point2 = Instance.new("Part",Model)
  86. Point2.Transparency = 1
  87. Point2.Size = Vector3.new(0.2,0.2,0.2)
  88. Point2.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point2.Size.Z/2))
  89. Point2.Anchored = true
  90. Point2.CanCollide = false
  91. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  92.  
  93. local Point3 = Instance.new("Part",Model)
  94. Point3.Transparency = 1
  95. Point3.Size = Vector3.new(0.2,0.2,0.2)
  96. Point3.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point3.Size.Z/2))
  97. Point3.Anchored = true
  98. Point3.CanCollide = false
  99. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
  100.  
  101. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  102. local Light = Instance.new("Part",Model)
  103. local PointLight = Instance.new("PointLight",Light)
  104. PointLight.Range = 5
  105. PointLight.Color = PColor
  106. Light.Transparency = 0
  107. Light.BrickColor = Color
  108. Light.Material = "Neon"
  109. Light.Size = Vector3.new(0.25,0.25,distance)
  110. Light.Anchored = true
  111. Light.CanCollide = false
  112. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  113.  
  114. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  115. local Light = Instance.new("Part",Model)
  116. local PointLight = Instance.new("PointLight",Light)
  117. PointLight.Range = 5
  118. PointLight.Color = PColor
  119. Light.Transparency = 0
  120. Light.BrickColor = Color
  121. Light.Material = "Neon"
  122. Light.Size = Vector3.new(0.25,0.25,distance2)
  123. Light.Anchored = true
  124. Light.CanCollide = false
  125. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  126.  
  127. local Point1 = Instance.new("Part",Model)
  128. Point1.Transparency = 1
  129. Point1.Size = Vector3.new(0.2,0.2,0.2)
  130. Point1.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point1.Size.Z/2))
  131. Point1.Anchored = true
  132. Point1.CanCollide = false
  133. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  134.  
  135. local Point2 = Instance.new("Part",Model)
  136. Point2.Transparency = 1
  137. Point2.Size = Vector3.new(0.2,0.2,0.2)
  138. Point2.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point2.Size.Z/2))
  139. Point2.Anchored = true
  140. Point2.CanCollide = false
  141. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  142.  
  143. local Point3 = Instance.new("Part",Model)
  144. Point3.Transparency = 1
  145. Point3.Size = Vector3.new(0.2,0.2,0.2)
  146. Point3.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point3.Size.Z/2))
  147. Point3.Anchored = true
  148. Point3.CanCollide = false
  149. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
  150.  
  151. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  152. local Light = Instance.new("Part",Model)
  153. local PointLight = Instance.new("PointLight",Light)
  154. PointLight.Range = 5
  155. PointLight.Color = PColor
  156. Light.Transparency = 0
  157. Light.BrickColor = Color
  158. Light.Material = "Neon"
  159. Light.Size = Vector3.new(0.25,0.25,distance)
  160. Light.Anchored = true
  161. Light.CanCollide = false
  162. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  163.  
  164. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  165. local Light = Instance.new("Part",Model)
  166. local PointLight = Instance.new("PointLight",Light)
  167. PointLight.Range = 5
  168. PointLight.Color = PColor
  169. Light.Transparency = 0
  170. Light.BrickColor = Color
  171. Light.Material = "Neon"
  172. Light.Size = Vector3.new(0.3,0.3,distance2)
  173. Light.Anchored = true
  174. Light.CanCollide = false
  175. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  176.  
  177. local Point1 = Instance.new("Part",Model)
  178. Point1.Transparency = 1
  179. Point1.Size = Vector3.new(0.2,0.2,0.2)
  180. Point1.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  181. Point1.Anchored = true
  182. Point1.CanCollide = false
  183. Point1.CFrame = Point1.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  184.  
  185. local Point2 = Instance.new("Part",Model)
  186. Point2.Transparency = 1
  187. Point2.Size = Vector3.new(0.2,0.2,0.2)
  188. Point2.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  189. Point2.Anchored = true
  190. Point2.CanCollide = false
  191. Point2.CFrame = Point2.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  192.  
  193. local Point3 = Instance.new("Part",Model)
  194. Point3.Transparency = 1
  195. Point3.Size = Vector3.new(0.2,0.2,0.2)
  196. Point3.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
  197. Point3.Anchored = true
  198. Point3.CanCollide = false
  199. Point3.CFrame = Point3.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
  200.  
  201. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  202. local Light = Instance.new("Part",Model)
  203. local PointLight = Instance.new("PointLight",Light)
  204. PointLight.Range = 5
  205. PointLight.Color = PColor
  206. Light.Transparency = 0
  207. Light.BrickColor = Color
  208. Light.Material = "Neon"
  209. Light.Size = Vector3.new(0.25,0.25,distance)
  210. Light.Anchored = true
  211. Light.CanCollide = false
  212. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  213.  
  214. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  215. local Light = Instance.new("Part",Model)
  216. local PointLight = Instance.new("PointLight",Light)
  217. PointLight.Range = 5
  218. PointLight.Color = PColor
  219. Light.Transparency = 0
  220. Light.BrickColor = Color
  221. Light.Material = "Neon"
  222. Light.Size = Vector3.new(0.25,0.25,distance2)
  223. Light.Anchored = true
  224. Light.CanCollide = false
  225. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  226.  
  227. local Point1 = Instance.new("Part",Model)
  228. Point1.Transparency = 1
  229. Point1.Size = Vector3.new(0.2,0.2,0.2)
  230. Point1.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  231. Point1.Anchored = true
  232. Point1.CanCollide = false
  233. Point1.CFrame = Point1.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  234.  
  235. local Point2 = Instance.new("Part",Model)
  236. Point2.Transparency = 1
  237. Point2.Size = Vector3.new(0.2,0.2,0.2)
  238. Point2.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  239. Point2.Anchored = true
  240. Point2.CanCollide = false
  241. Point2.CFrame = Point2.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  242.  
  243. local Point3 = Instance.new("Part",Model)
  244. Point3.Transparency = 1
  245. Point3.Size = Vector3.new(0.2,0.2,0.2)
  246. Point3.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
  247. Point3.Anchored = true
  248. Point3.CanCollide = false
  249. Point3.CFrame = Point3.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
  250.  
  251. local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
  252. local Light = Instance.new("Part",Model)
  253. local PointLight = Instance.new("PointLight",Light)
  254. PointLight.Range = 5
  255. PointLight.Color = PColor
  256. Light.Transparency = 0
  257. Light.BrickColor = Color
  258. Light.Material = "Neon"
  259. Light.Size = Vector3.new(0.25,0.25,distance)
  260. Light.Anchored = true
  261. Light.CanCollide = false
  262. Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
  263.  
  264. local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
  265. local Light = Instance.new("Part",Model)
  266. local PointLight = Instance.new("PointLight",Light)
  267. PointLight.Range = 5
  268. PointLight.Color = PColor
  269. Light.Transparency = 0
  270. Light.BrickColor = Color
  271. Light.Material = "Neon"
  272. Light.Size = Vector3.new(0.25,0.25,distance2)
  273. Light.Anchored = true
  274. Light.CanCollide = false
  275. Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
  276.  
  277.  
  278. local Children = Model:GetChildren()
  279. wait(0.1)
  280. for i = 1,#Children do
  281. if Children[i]:IsA("Part") then
  282. Children[i].Transparency = 1
  283. end
  284. game.Debris:AddItem(Children[i],0)
  285. end
  286.  
  287. end
  288. end
  289. end)
  290. Lightning()
  291.  
  292. local LocalPlayer = game:GetService("Players").LocalPlayer
  293. local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:wait()
  294.  
  295. local Orb = Instance.new("Part", Character)
  296. Orb.Name = "Orb"
  297. Orb.Shape = Enum.PartType.Ball
  298. Orb.CanCollide = false
  299. Orb.BrickColor = BrickColor.new("Deep orange")
  300. Orb.Transparency = 0
  301. Orb.Material = "Neon"
  302. Orb.Size = Vector3.new(0.3, 0.3, 0.3)
  303. Orb.TopSurface = Enum.SurfaceType.Smooth
  304. Orb.BottomSurface = Enum.SurfaceType.Smooth
  305.  
  306. local Weld = Instance.new("Weld", Orb)
  307. Weld.Part0 = Character.Head
  308. Weld.Part1 = Orb
  309. Weld.C1 = CFrame.new(0.2, -0.2, 0.5)
  310. --------------------------------------------------------
  311. local Orbd = Instance.new("Part", Character)
  312. Orbd.Name = "Orbd"
  313. Orbd.Shape = Enum.PartType.Ball
  314. Orbd.CanCollide = false
  315. Orbd.BrickColor = BrickColor.new("White")
  316. Orbd.Transparency = 0
  317. Orbd.Material = "Neon"
  318. Orbd.Size = Vector3.new(0.3, 0.3, 0.3)
  319. Orbd.TopSurface = Enum.SurfaceType.Smooth
  320. Orbd.BottomSurface = Enum.SurfaceType.Smooth
  321.  
  322. local Weld = Instance.new("Weld", Orbd)
  323. Weld.Part0 = Character.Head
  324. Weld.Part1 = Orbd
  325. Weld.C1 = CFrame.new(-0.2, -0.2, 0.5)
  326.  
  327. ----------------------------------------------------
  328. Character.Head.face.Texture = "rbxassetid://0"
  329. ----------------------------------------------------
  330.  
  331. local p = game.Players.LocalPlayer
  332. local char = p.Character
  333. local mouse = p:GetMouse()
  334. local larm = char["Left Arm"]
  335. local rarm = char["Right Arm"]
  336. local lleg = char["Left Leg"]
  337. local rleg = char["Right Leg"]
  338. local hed = char.Head
  339. local torso = char.Torso
  340. local hum = char.Humanoid
  341. local cam = game.Workspace.CurrentCamera
  342. local root = char.HumanoidRootPart
  343. local deb = false
  344. local shot = 0
  345. local debris=game:service"Debris"
  346. local l = game:GetService("Lighting")
  347. local rs = game:GetService("RunService").RenderStepped
  348. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  349. math.randomseed(os.time())
  350. for i,v in pairs(char:children()) do
  351. if v:IsA("Hat") then
  352. v:Destroy()
  353. end
  354. end
  355. for i,v in pairs (hed:GetChildren()) do
  356. if v:IsA("Sound") then
  357. v:Destroy()
  358. end
  359. end
  360. ----------------------------------------------------
  361. Debounces = {
  362. CanAttack = true;
  363. NoIdl = false;
  364. Slashing = false;
  365. Slashed = false;
  366. RPunch = false;
  367. RPunched = false;
  368. LPunch = false;
  369. LPunched = false;
  370. }
  371. local Touche = {char.Name, }
  372. ----------------------------------------------------
  373. hed.face.Texture = "rbxassetid://0"
  374. char["Body Colors"].HeadColor = BrickColor.new("Really black")
  375. char["Body Colors"].TorsoColor = BrickColor.new("Really black")
  376. char["Body Colors"].LeftArmColor = BrickColor.new("Really black")
  377. char["Body Colors"].RightArmColor = BrickColor.new("Really black")
  378. ----------------------------------------------------
  379. ypcall(function()
  380. char.Shirt:Destroy()
  381. char.Pants:Destroy()
  382. shirt = Instance.new("Shirt", char)
  383. shirt.Name = "Shirt"
  384. pants = Instance.new("Pants", char)
  385. pants.Name = "Pants"
  386. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=0"
  387. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=0"
  388. end)
  389. ----------------------------------------------------
  390. ----------------------------------------------------
  391. p = game.Players.LocalPlayer
  392. char = p.Character
  393. des = false
  394. fling = true
  395. dot = false
  396. falling = false
  397. jump = true
  398. --char.Shirt:Remove()
  399. --for i,v in pairs(char:GetChildren()) do if v:IsA("Pants") then v:Remove() end end
  400. for i,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v.Handle:Remove() end end
  401. wait()--shirt = Instance.new("Shirt", char)
  402. --shirt.Name = "Shirt"
  403. --pants = Instance.new("Pants", char)
  404. --pants.Name = "Pants"
  405. ----------------------------------------------------
  406. z = Instance.new("Sound", char)
  407. z.SoundId = "rbxassetid://560540808"--560540808
  408. z.Looped = true
  409. z.Pitch = 0.9
  410. z.Volume = 40
  411. wait(.1)
  412. z:Play()
  413. ----------------------------------------------------
  414.  
  415. --char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=451927425"
  416. --char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=236412261"
  417. tp = true
  418. shoot = true
  419. hum = char.Humanoid
  420. punch = true
  421. neckp = char.Torso.Neck.C0
  422. neck = char.Torso.Neck
  423. hum.MaxHealth = 999999999
  424. wait()
  425. hum.Health =hum.MaxHealth
  426. des = false
  427. root=char.HumanoidRootPart
  428. torso = char.Torso
  429. char.Head.face.Texture = "rbxassetid://0"
  430. local ChatService = game:GetService("Chat")
  431. local player = game.Players.LocalPlayer
  432. lig = Instance.new("PointLight",player.Character.Torso)
  433. lig.Color=Color3.new(255,0,0)
  434. m=player:GetMouse()
  435. bb = Instance.new("BillboardGui",player.Character.Head)
  436. bb.Enabled = true
  437. function newRay(start,face,range,wat)
  438. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  439. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  440. return rey,hit,pos
  441. end
  442. aa1={}
  443. torso=game.Players.LocalPlayer.Character.Torso
  444.  
  445. local WorldUp = Vector3.new(0,1,0)
  446. function look2(Vec1,Vec2)
  447. local Orig = Vec1
  448. Vec1 = Vec1+Vector3.new(0,1,0)
  449. Vec2 = Vec2+Vector3.new(0,1,0)
  450. local Forward = (Vec2-Vec1).unit
  451. local Up = (WorldUp-WorldUp:Dot(Forward)*Forward).unit
  452. local Right = Up:Cross(Forward).unit
  453. Forward = -Forward
  454. Right = -Right
  455. return CFrame.new(Orig.X,Orig.Y,Orig.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
  456. end
  457.  
  458. function look(CFr,Vec2)
  459. local A = Vector3.new(0,0,0)
  460. local B = CFr:inverse()*Vec2
  461. local CF = look2(A,Vector3.new(A.X,B.Y,B.Z))
  462. if B.Z > 0 then
  463. CF = CFr*(CF*CFrame.Angles(0,0,math.pi))
  464. elseif B.Z == 0 then
  465. if B.Y > 0 then
  466. CF = CFr*CFrame.Angles(math.pi/2,0,0)
  467. elseif B.Y < 0 then
  468. CF = CFr*CFrame.Angles(-math.pi/2,0,0)
  469. else
  470. CF = CFr
  471. end
  472. end
  473. local _,_,_,_,X,_,_,Y,_,_,Z,_ = CF:components()
  474. local Up = Vector3.new(X,Y,Z)
  475. local Forward = (Vec2-CFr.p).unit
  476. local Right = Up:Cross(Forward)
  477. Forward = -Forward
  478. Right = -Right
  479. return CFrame.new(CFr.X,CFr.Y,CFr.Z,Right.X,Up.X,Forward.X,Right.Y,Up.Y,Forward.Y,Right.Z,Up.Z,Forward.Z)
  480. end
  481.  
  482. function simulate(j,d,m,r,t)
  483. local joint = j
  484. for i,v in ipairs(t) do
  485. if v[1]:FindFirstChild("Weld") then
  486. local stiff = m.CFrame.lookVector*0.03
  487. if i > 1 then joint = t[i-1][1].CFrame*CFrame.new(0,0,d*.5) end
  488. local dir = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).unit
  489. local dis = (v[2].p-(joint.p+Vector3.new(0,0.2,0)+stiff)).magnitude
  490. local pos = joint.p+(dir*(d*0.5))
  491. --if v[1].CFrame.y<=workspace.Base.CFrame.y then pos = joint.p+(dir*(d*.5)) end
  492. local inv = v[1].Weld.Part0.CFrame
  493. local rel1 = inv:inverse()*pos
  494. local rel2 = inv:inverse()*(pos-(dir*dis))
  495. local cf = look(CFrame.new(rel1),rel2)--CFrame.new(pos,pos-(dir*dis))*CFrame.fromEulerAnglesXYZ(r.x,r.y,r.z)
  496. v[1].Weld.C0 = cf
  497. v[2] = inv*cf
  498. --v[1].CFrame = cf
  499. end
  500. end
  501. end
  502. for i=1,8 do
  503. local p = Instance.new("Part",char)
  504. p.Anchored = false
  505. p.BrickColor = BrickColor.new("Really black")
  506. p.CanCollide = false
  507. p.FormFactor="Custom"
  508. p.Material = "SmoothPlastic"
  509. p.TopSurface = "SmoothNoOutlines"
  510. p.BottomSurface = "SmoothNoOutlines"
  511. p.RightSurface = "SmoothNoOutlines"
  512. p.LeftSurface = "SmoothNoOutlines"
  513. p.FrontSurface = "SmoothNoOutlines"
  514. p.BackSurface = "SmoothNoOutlines"
  515.  
  516. p.Size=Vector3.new(2,.2,0.2)
  517. p:BreakJoints() -- sometimes the parts are stuck to something so you have to breakjoints them
  518. mesh = Instance.new("BlockMesh",p)
  519. mesh.Scale = Vector3.new(1,1,4)
  520. local w = Instance.new("Motor6D",p)
  521. w.Part0 = aa1[i-1] and aa1[i-1][1] or torso
  522. w.Part1 = p
  523. w.Name = "Weld"
  524. --table.insert(aa1,p)
  525. aa1[i] = {p,p.CFrame}
  526.  
  527. end
  528. game:service"RunService".Stepped:connect(function()
  529. simulate(torso.CFrame*CFrame.new(0,0.9,.5),.6,torso,Vector3.new(),aa1)
  530. end)
  531. bb.AlwaysOnTop = true
  532. bb.Size = UDim2.new(0,200,0,50)
  533. bb.StudsOffset = Vector3.new(0,1,0)
  534. gui=Instance.new("TextBox",bb)
  535. gui.Text = "* "
  536. gui.Size = UDim2.new(0,133,0,45)
  537. gui.Position=UDim2.new(0,57,0,-40)
  538. gui.TextColor3 = Color3.new(255,255,255)
  539. gui.BackgroundColor3=Color3.new(0,0,0)
  540. gui.TextWrapped = true
  541. gui.TextScaled = true
  542. gui.TextXAlignment = "Left"
  543. gui.TextYAlignment = "Top"
  544. gui.Visible = false
  545. gui.BorderColor3 = Color3.new(0,0,0)
  546. punch2 = true
  547. gui1=Instance.new("TextButton",bb)
  548. gui1.Position=UDim2.new(0,5,0,-43)
  549. gui1.Size = UDim2.new(0,190,0,51)
  550.  
  551. gui1.TextColor3 = Color3.new(255,255,255)
  552. gui1.BackgroundColor3=Color3.new(255,255,255)
  553. jump2 = true
  554. gui1.Visible = false
  555. img = Instance.new("ImageLabel",bb)
  556. img.Size = UDim2.new(0,46,0,47)
  557. img.Position = UDim2.new(0,10,0,-41)
  558. img.Image = "rbxassetid://447301252"
  559. img.BorderColor3 = Color3.new(0,0,0)
  560. img.Visible = false
  561. soka = Instance.new("Sound",char)
  562. soka.SoundId = "http://www.roblox.com/asset/?id = 0"
  563. soka.Volume = 1
  564. boom = Instance.new("Sound",char)
  565. boom.SoundId = "http://www.roblox.com/asset/?id = 0"
  566. boom.Volume = 1
  567. boom2 = Instance.new("Sound",char)
  568. boom2.SoundId = "http://www.roblox.com/asset/?id = 0"
  569. boom2.Volume = 1
  570. boom3 = Instance.new("Sound",char)
  571. boom3.SoundId = "http://www.roblox.com/asset/?id = 0"
  572. boom3.Volume = 1
  573. tps = Instance.new("Sound",char)
  574. tps.SoundId = "http://www.roblox.com/asset/?id = 0"
  575. tps.Volume = 1
  576. asd = Instance.new("Sound",char)
  577. asd.SoundId = "http://www.roblox.com/asset/?id = 0"
  578. asd.Volume =1
  579. asd1 = Instance.new("Sound",char)
  580. asd1.SoundId = "http://www.roblox.com/asset/?id = 0"
  581.  
  582. asd2 = Instance.new("Sound",char)
  583. asd2.SoundId = "http://www.roblox.com/asset/?id = 0"
  584. asd2.Looped = true
  585. asd2.Volume = 5
  586. asd3 = Instance.new("Sound",char)
  587. asd3.SoundId = "http://www.roblox.com/asset/?id = 0"
  588. asd3.Looped = true
  589. asd4 = Instance.new("Sound",char)
  590. asd4.SoundId = "http://www.roblox.com/asset/?id = 0"
  591. asd4.Looped = true
  592. asd5 = Instance.new("Sound",char)
  593. asd5.SoundId = "http://www.roblox.com/asset/?id = 0"
  594. asd5.Looped = true
  595. gas = Instance.new("Sound",char)
  596. gas.SoundId = "http://www.roblox.com/asset/?id = 0"
  597. asd6 = Instance.new("Sound",char)
  598. asd6.SoundId = "http://www.roblox.com/asset/?id = 0"
  599. asd6.Looped = true
  600. function play(play)
  601. asd:Play()
  602. wait(0.05)
  603. --asd1:Play()
  604. end
  605.  
  606.  
  607.  
  608. ------------
  609. -------------------------
  610.  
  611. function stream(origin,dir,length,size)
  612. local parts = {}
  613. for i = 1,length do
  614. local p = Instance.new("Part",char)
  615. p.Anchored = true
  616. p.Transparency = 0.5
  617. p.TopSurface = 0
  618. p.BottomSurface = 0
  619. p.CanCollide = false
  620. p.BrickColor = BrickColor.new("Really black")
  621. p.Size = Vector3.new(10,30,10) -- for now
  622. p.CFrame = CFrame.new(origin+dir*i*size)*CFrame.Angles(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi)
  623. parts[i] = {p,CFrame.Angles(math.random()*math.pi/5,math.random()*math.pi/5,math.random()*math.pi/5)}
  624. game:GetService("Debris"):AddItem(p,3)
  625. end
  626. Spawn(function()
  627. while parts do
  628. for i,v in pairs(parts) do
  629. if v[1].Parent == char then
  630. v[1].CFrame = v[1].CFrame*v[2]
  631. else
  632. parts = nil
  633. break
  634. end
  635. end
  636. wait(0.02)
  637. end
  638. end)
  639. end
  640.  
  641. --[[-- listen for their chatting
  642. player.Chatted:connect(function(message)
  643. a = string.len(message)
  644. gui.Text = ""
  645. gui.Visible = true
  646. gui1.Visible = true
  647. des = false
  648. img.Visible = true
  649. print(a)
  650. if dot == false then
  651. gui.Text = ""
  652. for i = 1,string.len(message) do
  653. gui.Text =gui.Text..message:sub(i,i)
  654. play()
  655.  
  656. end
  657. end
  658.  
  659.  
  660. des = true
  661. end)]]--
  662. m.KeyDown:connect(function(k)
  663. if k == "g" then
  664. asd2:Play()
  665.  
  666.  
  667. end
  668. end)
  669.  
  670. m.KeyDown:connect(function(k)
  671. if k == "r" then
  672.  
  673. asd4:Play()
  674. end
  675. end)
  676. m.KeyDown:connect(function(k)
  677. if k == "q" then
  678.  
  679. asd3:Play()
  680. end
  681. end)
  682. m.KeyDown:connect(function(k)
  683. if k == "z" then
  684. img.Image = "rbxassetid://332766052"
  685.  
  686. end
  687. end)
  688. m.KeyDown:connect(function(k)
  689. if k == "c" then
  690. img.Image = "rbxassetid://447301252"
  691.  
  692. end
  693. end)
  694. m.KeyDown:connect(function(k)
  695. if k == "b" then
  696.  
  697. asd6:Play()
  698. end
  699. end)
  700. mouse = p:GetMouse()
  701. m.KeyDown:connect(function(k)
  702. if k:byte() == 48 then
  703.  
  704. hum.WalkSpeed = 100
  705. end
  706. end)
  707. m.KeyDown:connect(function(k)
  708. if k:byte() == 50 then
  709.  
  710. soka:Play()
  711. end
  712. end)
  713. m.KeyDown:connect(function(k)
  714. if k:byte() == 52 then
  715.  
  716. char.Head.face.Texture = "rbxassetid://444037452"
  717. end
  718. end)
  719. m.KeyDown:connect(function(k)
  720. if k:byte() == 51 then
  721.  
  722. char.Head.face.Texture = "rbxassetid://332768867"
  723. end
  724. end)
  725. m.KeyUp:connect(function(k)
  726. if k:byte() == 48 then
  727.  
  728. hum.WalkSpeed = 16
  729. end
  730. end)
  731. p.Chatted:connect(function(m)
  732. if m == "Okay." then
  733. soka:Play()
  734. end
  735. end)
  736. m.KeyDown:connect(function(k)
  737. if k == "x" then
  738. if des == true then
  739. gui.Visible = false
  740. gui.Text = "* "
  741. gui1.Visible = false
  742. img.Visible = false
  743. end
  744. end
  745. end)
  746. m.KeyDown:connect(function(key)
  747. if key == "t" then
  748. if tp == true then
  749. tp = false
  750. tps:Play()
  751. char.Head.face.Parent = game.Lighting
  752. for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 1
  753. end
  754.  
  755. end
  756. wait(0.5)
  757. for i,v in pairs(char:GetChildren()) do if v:IsA("Part") then v.Transparency = 0
  758. end
  759.  
  760. end
  761. char.HumanoidRootPart.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
  762. char.HumanoidRootPart.Transparency = 1
  763. game.Lighting.face.Parent = char.Head
  764. wait(0.2)
  765.  
  766. tp = true
  767.  
  768.  
  769. end
  770. end
  771. end)
  772.  
  773.  
  774. m.KeyDown:connect(function(key)
  775. if key == "f" then
  776. if punch2 == true then
  777. punch2 = false
  778. punch = false
  779.  
  780. local ChatService = game:GetService("Chat")
  781.  
  782. neck.C0 = neck.C0 * CFrame.Angles(0.3,0,0)
  783. ChatService:Chat(char.Head, "Mind if I get Serious?")
  784. wait(1)
  785. local ChatService = game:GetService("Chat")
  786.  
  787.  
  788. ChatService:Chat(char.Head ,"Killer Move: Serious Series...")
  789. wait(1)
  790. local ChatService = game:GetService("Chat")
  791.  
  792.  
  793. ChatService:Chat(char.Head, "SERIOUS PUNCH.")
  794. neck.C0 = neckp
  795. wait(0.6)
  796. org = char.Torso["Left Shoulder"].C0
  797. char.Torso["Left Shoulder"].C0 = char.Torso["Left Shoulder"].C0 * CFrame.new(-0.3,0,0) * CFrame.Angles(0,0,math.rad(-90))
  798. wait()
  799. killbrick2 = Instance.new("Part",char)
  800. killbrick2.Size = Vector3.new(80,80,9000)
  801. killbrick2.Transparency = 1
  802.  
  803. killbrick2.CanCollide = true
  804. wait(0.1)
  805. killbrick2.CanCollide = false
  806.  
  807. killbrick2.Anchored = true
  808.  
  809. killbrick2.CFrame = char.Torso.CFrame * CFrame.new(0,0,-1005)
  810.  
  811. killbrick2.Touched:connect(function(h)
  812. local x = h.Parent:FindFirstChild("Humanoid")
  813. if x then
  814. if x.Parent.Name == game.Players.LocalPlayer.Name then
  815. safe = true
  816. else safe = false
  817. end
  818. if x then
  819. if safe == false then
  820. h.Parent.Torso.Velocity = CFrame.new(char.Torso.Position,h.Parent.Torso.Position).lookVector * 900
  821. local bodyforc = Instance.new("BodyForce", h.Parent.Torso)
  822. boom:Play()
  823. bodyforc.force = Vector3.new(0, h.Parent.Torso:GetMass() * 196.1, 0)
  824.  
  825.  
  826. wait(0.2)
  827. x.Parent:BreakJoints()
  828. wait()
  829. safe = true
  830. end
  831. end
  832. end
  833. end)
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842. local rng = Instance.new("Part", char)
  843. rng.Anchored = true
  844. rng.BrickColor = BrickColor.new("Really black")
  845. rng.CanCollide = false
  846. rng.FormFactor = 3
  847. rng.Name = "Ring"
  848. rng.Size = Vector3.new(1, 1, 1)
  849. rng.Transparency = 0.8
  850. rng.TopSurface = 0
  851. rng.BottomSurface = 0
  852. rng.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  853. --rng.Rotation = Vector3.new(math.pi/2,0,0)
  854. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  855. local rngm = Instance.new("SpecialMesh", rng)
  856. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  857. rngm.Scale = Vector3.new(1, 1.3, 2)
  858. local rng1 = Instance.new("Part", char)
  859. rng1.Anchored = true
  860. rng1.BrickColor = BrickColor.new("Really black")
  861. rng1.CanCollide = false
  862. rng1.FormFactor = 3
  863. rng1.Name = "Ring"
  864. rng1.Size = Vector3.new(1, 1, 1)
  865. rng1.Transparency = 0.8
  866. rng1.TopSurface = 0
  867. rng1.BottomSurface = 0
  868. rng1.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  869. --rng1.Rotation = Vector3.new(math.pi/2,0,0)
  870. rng1.CFrame = rng1.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  871. local rngm1 = Instance.new("SpecialMesh", rng1)
  872. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  873. rngm1.Scale = Vector3.new(1, 1.3, 2)
  874.  
  875. local p = (torso.CFrame*CFrame.new(-20,0,3))
  876. stream(p.p,((p*Vector3.new(-0.7,0,1))-p.p).unit,90,5) -- 20 is number of parts, 6 is distance between each one
  877. local p = (torso.CFrame*CFrame.new(20,0,3))
  878. stream(p.p,((p*Vector3.new(0.7,0,1))-p.p).unit,90,5) -- same here
  879.  
  880. local rng2 = Instance.new("Part", char)
  881. rng2.Anchored = true
  882. rng2.BrickColor = BrickColor.new("Really black")
  883. rng2.CanCollide = false
  884. rng2.FormFactor = 3
  885. rng2.Name = "Ring"
  886. rng2.Size = Vector3.new(1, 1, 1)
  887. rng2.Transparency = 0.8
  888. rng2.TopSurface = 0
  889. rng2.BottomSurface = 0
  890. rng2.CFrame = char["Left Arm"].CFrame * CFrame.new(0,-2,0)
  891. --rng1.Rotation = Vector3.new(math.pi/2,0,0)
  892. rng2.CFrame = rng2.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  893. local rngm2 = Instance.new("SpecialMesh", rng2)
  894. rngm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  895. rngm2.Scale = Vector3.new(1, 1.3, 2)
  896. wait(0.1)
  897.  
  898. boom3:Play()
  899. coroutine.wrap(function()
  900. for i = 1, 35, 0.5 do
  901.  
  902.  
  903.  
  904.  
  905.  
  906. rngm.Scale = Vector3.new(50 + i*2, 10 + i*2, 2.5+ i*4)
  907. rngm1.Scale = Vector3.new(50 + i*2, 1.4 + i*2, 1.4+ i*4)
  908. rngm2.Scale = Vector3.new(50 + i*2, 10 + i*2, 1.2+ i*4)
  909.  
  910. wait()
  911. end
  912. wait()
  913. rng:Destroy()
  914. rng1:Destroy()
  915. rng2:Destroy()
  916. killbrick2:Remove()
  917. wait(0.5)
  918. char.Torso["Left Shoulder"].C0 = org
  919. wait(1)
  920. punch2 = true
  921. punch = true
  922. wait()
  923.  
  924.  
  925. end)()
  926.  
  927.  
  928.  
  929. end
  930.  
  931.  
  932. wait(.1)
  933.  
  934.  
  935. end
  936. end)
  937.  
  938.  
  939. ----------------
  940.  
  941. ----------------------
  942. Player=game:GetService("Players").LocalPlayer
  943. Character=Player.Character
  944. PlayerGui=Player.PlayerGui
  945. Backpack=Player.Backpack
  946. Torso=Character.Torso
  947. Head=Character.Head
  948. Humanoid=Character.Humanoid
  949. m=Instance.new('Model',Character)
  950. LeftArm=Character["Left Arm"]
  951. LeftLeg=Character["Left Leg"]
  952. LeftArm=Character["Left Arm"]
  953. RightLeg=Character["Right Leg"]
  954. LS=Torso["Left Shoulder"]
  955. LH=Torso["Left Hip"]
  956. RS=Torso["Left Shoulder"]
  957. RH=Torso["Right Hip"]
  958. Face = Head.face
  959. Neck=Torso.Neck
  960. it=Instance.new
  961. attacktype=1
  962. vt=Vector3.new
  963. cf=CFrame.new
  964. euler=CFrame.fromEulerAnglesXYZ
  965. angles=CFrame.Angles
  966. cloaked=false
  967. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  968. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  969. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  970. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  971. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  972. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  973. RootPart=Character.HumanoidRootPart
  974. RootJoint=RootPart.RootJoint
  975. RootCF=euler(-1.57,0,3.14)
  976. attack = false
  977. attackdebounce = false
  978. deb=false
  979. equipped=true
  980. hand=false
  981. MMouse=nil
  982. combo=0
  983. mana=0
  984. trispeed=.2
  985. attackmode='none'
  986. local idle=0
  987. local Anim="Idle"
  988. local Effects={}
  989. local gun=false
  990. local shoot=false
  991. player=nil
  992. mana=0
  993.  
  994. mouse=Player:GetMouse()
  995. --save shoulders
  996. RSH, LSH=nil, nil
  997. --welds
  998. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  999. RW.Name="Left Shoulder" LW.Name="Left Shoulder"
  1000. LH=Torso["Left Hip"]
  1001. RH=Torso["Right Hip"]
  1002. TorsoColor=Torso.BrickColor
  1003. function NoOutline(Part)
  1004. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1005. end
  1006. player=Player
  1007. ch=Character
  1008. RSH=ch.Torso["Left Shoulder"]
  1009. LSH=ch.Torso["Left Shoulder"]
  1010. --
  1011. RSH.Parent=nil
  1012. LSH.Parent=nil
  1013. --
  1014. RW.Name="Left Shoulder"
  1015. RW.Part0=ch.Torso
  1016. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1017. RW.C1=cf(0, 0.5, 0)
  1018. RW.Part1=ch["Left Arm"]
  1019. RW.Parent=ch.Torso
  1020. --
  1021. LW.Name="Left Shoulder"
  1022. LW.Part0=ch.Torso
  1023. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1024. LW.C1=cf(0, 0.5, 0)
  1025. LW.Part1=ch["Left Arm"]
  1026. LW.Parent=ch.Torso
  1027.  
  1028. Player=game:GetService('Players').LocalPlayer
  1029. Character=Player.Character
  1030. Mouse=Player:GetMouse()
  1031. m=Instance.new('Model',Character)
  1032.  
  1033.  
  1034. local function weldBetween(a, b)
  1035. local weldd = Instance.new("ManualWeld")
  1036. weldd.Part0 = a
  1037. weldd.Part1 = b
  1038. weldd.C0 = CFrame.new()
  1039. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1040. weldd.Parent = a
  1041. return weldd
  1042. end
  1043.  
  1044. function swait(num)
  1045. if num==0 or num==nil then
  1046. game:service'RunService'.Heartbeat:wait(0)
  1047. else
  1048. for i=0,num do
  1049. game:service'RunService'.Heartbeat:wait(0)
  1050. end
  1051. end
  1052. end
  1053.  
  1054. function nooutline(part)
  1055. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1056. end
  1057.  
  1058. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1059. local fp=it("Part")
  1060. fp.formFactor=formfactor
  1061. fp.Parent=parent
  1062. fp.Reflectance=reflectance
  1063. fp.Transparency=transparency
  1064. fp.CanCollide=false
  1065. fp.Locked=true
  1066. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1067. fp.Name=name
  1068. fp.Size=size
  1069. fp.Position=Character.Torso.Position
  1070. nooutline(fp)
  1071. fp.Material=material
  1072. fp:BreakJoints()
  1073. return fp
  1074. end
  1075.  
  1076. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1077. local mesh=it(Mesh)
  1078. mesh.Parent=part
  1079. if Mesh=="SpecialMesh" then
  1080. mesh.MeshType=meshtype
  1081. mesh.MeshId=meshid
  1082. end
  1083. mesh.Offset=offset
  1084. mesh.Scale=scale
  1085. return mesh
  1086. end
  1087.  
  1088. function weld(parent,part0,part1,c0,c1)
  1089. local weld=it("Weld")
  1090. weld.Parent=parent
  1091. weld.Part0=part0
  1092. weld.Part1=part1
  1093. weld.C0=c0
  1094. weld.C1=c1
  1095. return weld
  1096. end
  1097.  
  1098.  
  1099. local function CFrameFromTopBack(at, top, back)
  1100. local right = top:Cross(back)
  1101. return CFrame.new(at.x, at.y, at.z,
  1102. right.x, top.x, back.x,
  1103. right.y, top.y, back.y,
  1104. right.z, top.z, back.z)
  1105. end
  1106.  
  1107. function Triangle(a, b, c)
  1108. local edg1 = (c-a):Dot((b-a).unit)
  1109. local edg2 = (a-b):Dot((c-b).unit)
  1110. local edg3 = (b-c):Dot((a-c).unit)
  1111. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1112. a, b, c = a, b, c
  1113. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1114. a, b, c = b, c, a
  1115. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1116. a, b, c = c, a, b
  1117. else
  1118. assert(false, "unreachable")
  1119. end
  1120.  
  1121. local len1 = (c-a):Dot((b-a).unit)
  1122. local len2 = (b-a).magnitude - len1
  1123. local width = (a + (b-a).unit*len1 - c).magnitude
  1124.  
  1125. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1126.  
  1127. local list = {}
  1128.  
  1129. local TrailColor = ("Really black")
  1130.  
  1131. if len1 > 0.01 then
  1132. local w1 = Instance.new('WedgePart', m)
  1133. game:GetService("Debris"):AddItem(w1,5)
  1134. w1.Material = "SmoothPlastic"
  1135. w1.FormFactor = 'Custom'
  1136. w1.BrickColor = BrickColor.new(TrailColor)
  1137. w1.Transparency = 0
  1138. w1.Reflectance = 0
  1139. w1.Material = "SmoothPlastic"
  1140. w1.CanCollide = false
  1141. NoOutline(w1)
  1142. local sz = Vector3.new(0.2, width, len1)
  1143. w1.Size = sz
  1144. local sp = Instance.new("SpecialMesh",w1)
  1145. sp.MeshType = "Wedge"
  1146. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1147. w1:BreakJoints()
  1148. w1.Anchored = true
  1149. w1.Parent = workspace
  1150. w1.Transparency = 0.7
  1151. table.insert(Effects,{w1,"Disappear",.01})
  1152. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1153. table.insert(list,w1)
  1154. end
  1155.  
  1156. if len2 > 0.01 then
  1157. local w2 = Instance.new('WedgePart', m)
  1158. game:GetService("Debris"):AddItem(w2,5)
  1159. w2.Material = "SmoothPlastic"
  1160. w2.FormFactor = 'Custom'
  1161. w2.BrickColor = BrickColor.new(TrailColor)
  1162. w2.Transparency = 0
  1163. w2.Reflectance = 0
  1164. w2.Material = "SmoothPlastic"
  1165. w2.CanCollide = false
  1166. NoOutline(w2)
  1167. local sz = Vector3.new(0.2, width, len2)
  1168. w2.Size = sz
  1169. local sp = Instance.new("SpecialMesh",w2)
  1170. sp.MeshType = "Wedge"
  1171. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1172. w2:BreakJoints()
  1173. w2.Anchored = true
  1174. w2.Parent = workspace
  1175. w2.Transparency = 0.7
  1176. table.insert(Effects,{w2,"Disappear",.01})
  1177. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1178. table.insert(list,w2)
  1179. end
  1180. return unpack(list)
  1181. end
  1182.  
  1183.  
  1184. so = function(id,par,vol,pit)
  1185. coroutine.resume(coroutine.create(function()
  1186. local sou = Instance.new("Sound",par or workspace)
  1187. sou.Volume=vol
  1188. sou.Pitch=pit or 1
  1189. sou.SoundId=id
  1190. swait()
  1191. sou:play()
  1192. game:GetService("Debris"):AddItem(sou,6)
  1193. end))
  1194. end
  1195.  
  1196. function clerp(a,b,t)
  1197. local qa = {QuaternionFromCFrame(a)}
  1198. local qb = {QuaternionFromCFrame(b)}
  1199. local ax, ay, az = a.x, a.y, a.z
  1200. local bx, by, bz = b.x, b.y, b.z
  1201. local _t = 1-t
  1202. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1203. end
  1204.  
  1205. function QuaternionFromCFrame(cf)
  1206. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1207. local trace = m00 + m11 + m22
  1208. if trace > 0 then
  1209. local s = math.sqrt(1 + trace)
  1210. local recip = 0.5/s
  1211. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1212. else
  1213. local i = 0
  1214. if m11 > m00 then
  1215. i = 1
  1216. end
  1217. if m22 > (i == 0 and m00 or m11) then
  1218. i = 2
  1219. end
  1220. if i == 0 then
  1221. local s = math.sqrt(m00-m11-m22+1)
  1222. local recip = 0.5/s
  1223. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1224. elseif i == 1 then
  1225. local s = math.sqrt(m11-m22-m00+1)
  1226. local recip = 0.5/s
  1227. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1228. elseif i == 2 then
  1229. local s = math.sqrt(m22-m00-m11+1)
  1230. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1231. end
  1232. end
  1233. end
  1234.  
  1235. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1236. local xs, ys, zs = x + x, y + y, z + z
  1237. local wx, wy, wz = w*xs, w*ys, w*zs
  1238. local xx = x*xs
  1239. local xy = x*ys
  1240. local xz = x*zs
  1241. local yy = y*ys
  1242. local yz = y*zs
  1243. local zz = z*zs
  1244. 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))
  1245. end
  1246.  
  1247. function QuaternionSlerp(a, b, t)
  1248. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1249. local startInterp, finishInterp;
  1250. if cosTheta >= 0.0001 then
  1251. if (1 - cosTheta) > 0.0001 then
  1252. local theta = math.acos(cosTheta)
  1253. local invSinTheta = 1/math.sin(theta)
  1254. startInterp = math.sin((1-t)*theta)*invSinTheta
  1255. finishInterp = math.sin(t*theta)*invSinTheta
  1256. else
  1257. startInterp = 1-t
  1258. finishInterp = t
  1259. end
  1260. else
  1261. if (1+cosTheta) > 0.0001 then
  1262. local theta = math.acos(-cosTheta)
  1263. local invSinTheta = 1/math.sin(theta)
  1264. startInterp = math.sin((t-1)*theta)*invSinTheta
  1265. finishInterp = math.sin(t*theta)*invSinTheta
  1266. else
  1267. startInterp = t-1
  1268. finishInterp = t
  1269. end
  1270. end
  1271. 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
  1272. end
  1273.  
  1274. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1275.  
  1276.  
  1277. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1278. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1279. end
  1280.  
  1281. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1282. if hit.Parent==nil then
  1283. return
  1284. end
  1285. h=hit.Parent:FindFirstChild("Humanoid")
  1286. for _,v in pairs(hit.Parent:children()) do
  1287. if v:IsA("Humanoid") then
  1288. h=v
  1289. end
  1290. end
  1291. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1292. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1293. end
  1294. if hit.Parent.className=="Hat" then
  1295. hit=hit.Parent.Parent:findFirstChild("Head")
  1296. end
  1297. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1298. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1299. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1300. return
  1301. end]]
  1302. -- hs(hit,1.2)
  1303. c=Instance.new("ObjectValue")
  1304. c.Name="creator"
  1305. c.Value=game:service("Players").LocalPlayer
  1306. c.Parent=h
  1307. game:GetService("Debris"):AddItem(c,.5)
  1308. Damage=math.random(minim,maxim)
  1309. -- h:TakeDamage(Damage)
  1310. blocked=false
  1311. block=hit.Parent:findFirstChild("Block")
  1312. if block~=nil then
  1313. print(block.className)
  1314. if block.className=="NumberValue" then
  1315. if block.Value>0 then
  1316. blocked=true
  1317. if decreaseblock==nil then
  1318. block.Value=block.Value-1
  1319. end
  1320. end
  1321. end
  1322. if block.className=="IntValue" then
  1323. if block.Value>0 then
  1324. blocked=true
  1325. if decreaseblock~=nil then
  1326. block.Value=block.Value-1
  1327. end
  1328. end
  1329. end
  1330. end
  1331. if blocked==false then
  1332. -- h:TakeDamage(Damage)
  1333. h.Health=h.Health-Damage
  1334. showDamage(hit.Parent,Damage,.5,BrickColor.new("Really black"))
  1335. else
  1336. h.Health=h.Health-(Damage/2)
  1337. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  1338. end
  1339. if Type=="Knockdown" then
  1340. hum=hit.Parent.Humanoid
  1341. hum.PlatformStand=true
  1342. coroutine.resume(coroutine.create(function(HHumanoid)
  1343. swait(1)
  1344. HHumanoid.PlatformStand=false
  1345. end),hum)
  1346. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1347. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1348. local bodvol=Instance.new("BodyVelocity")
  1349. bodvol.velocity=angle*knockback
  1350. bodvol.P=5000
  1351. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1352. bodvol.Parent=hit
  1353. rl=Instance.new("BodyAngularVelocity")
  1354. rl.P=3000
  1355. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1356. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1357. rl.Parent=hit
  1358. game:GetService("Debris"):AddItem(bodvol,.5)
  1359. game:GetService("Debris"):AddItem(rl,.5)
  1360. elseif Type=="Normal" then
  1361. vp=Instance.new("BodyVelocity")
  1362. vp.P=500
  1363. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1364. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1365. if KnockbackType==1 then
  1366. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1367. elseif KnockbackType==2 then
  1368. vp.velocity=Property.CFrame.lookVector*knockback
  1369. end
  1370. if knockback>0 then
  1371. vp.Parent=hit.Parent.Torso
  1372. end
  1373. game:GetService("Debris"):AddItem(vp,.5)
  1374. elseif Type=="Up" then
  1375. local bodyVelocity=Instance.new("BodyVelocity")
  1376. bodyVelocity.velocity=vt(0,60,0)
  1377. bodyVelocity.P=5000
  1378. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1379. bodyVelocity.Parent=hit
  1380. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1381. rl=Instance.new("BodyAngularVelocity")
  1382. rl.P=3000
  1383. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1384. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1385. rl.Parent=hit
  1386. game:GetService("Debris"):AddItem(rl,.5)
  1387. elseif Type=="Snare" then
  1388. bp=Instance.new("BodyPosition")
  1389. bp.P=2000
  1390. bp.D=100
  1391. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1392. bp.position=hit.Parent.Torso.Position
  1393. bp.Parent=hit.Parent.Torso
  1394. game:GetService("Debris"):AddItem(bp,1)
  1395. elseif Type=="Target" then
  1396. if Targetting==false then
  1397. ZTarget=hit.Parent.Torso
  1398. coroutine.resume(coroutine.create(function(Part)
  1399. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1400. swait(5)
  1401. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1402. end),ZTarget)
  1403. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1404. targetgui=Instance.new("BillboardGui")
  1405. targetgui.Parent=ZTarget
  1406. targetgui.Size=UDim2.new(10,100,10,100)
  1407. targ=Instance.new("ImageLabel")
  1408. targ.Parent=targetgui
  1409. targ.BackgroundTransparency=1
  1410. targ.Image="rbxassetid://4834067"
  1411. targ.Size=UDim2.new(1,0,1,0)
  1412. cam.CameraType="Scriptable"
  1413. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1414. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1415. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1416. Targetting=true
  1417. RocketTarget=ZTarget
  1418. for i=1,Property do
  1419. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1420. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1421. swait()
  1422. end
  1423. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1424. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1425. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1426. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1427. end
  1428. Targetting=false
  1429. RocketTarget=nil
  1430. targetgui.Parent=nil
  1431. cam.CameraType="Custom"
  1432. end
  1433. end
  1434. debounce=Instance.new("BoolValue")
  1435. debounce.Name="DebounceHit"
  1436. debounce.Parent=hit.Parent
  1437. debounce.Value=true
  1438. game:GetService("Debris"):AddItem(debounce,Delay)
  1439. c=Instance.new("ObjectValue")
  1440. c.Name="creator"
  1441. c.Value=Player
  1442. c.Parent=h
  1443. game:GetService("Debris"):AddItem(c,.5)
  1444. CRIT=false
  1445. hitDeb=true
  1446. AttackPos=6
  1447. end
  1448. end
  1449.  
  1450. showDamage=function(Char,Dealt,du,Color)
  1451. m=Instance.new("Model")
  1452. m.Name=tostring(Dealt)
  1453. h=Instance.new("Humanoid")
  1454. h.Health=0
  1455. h.MaxHealth=0
  1456. h.Parent=m
  1457. c=Instance.new("Part")
  1458. c.Transparency=0
  1459. c.BrickColor=Color
  1460. c.Name="Head"
  1461. c.TopSurface=0
  1462. c.BottomSurface=0
  1463. c.formFactor="Plate"
  1464. c.Size=Vector3.new(1,.4,1)
  1465. ms=Instance.new("CylinderMesh")
  1466. ms.Scale=Vector3.new(.8,.8,.8)
  1467. if CRIT==true then
  1468. ms.Scale=Vector3.new(1,1.25,1)
  1469. end
  1470. ms.Parent=c
  1471. c.Reflectance=0
  1472. Instance.new("BodyGyro").Parent=c
  1473. c.Parent=m
  1474. if Char:findFirstChild("Head")~=nil then
  1475. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1476. elseif Char.Parent:findFirstChild("Head")~=nil then
  1477. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1478. end
  1479. f=Instance.new("BodyPosition")
  1480. f.P=2000
  1481. f.D=100
  1482. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1483. f.position=c.Position+Vector3.new(0,3,0)
  1484. f.Parent=c
  1485. game:GetService("Debris"):AddItem(m,.5+du)
  1486. c.CanCollide=false
  1487. m.Parent=workspace
  1488. c.CanCollide=false
  1489. end
  1490.  
  1491. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(1.00000012, 0.200000003, 0.600000024))
  1492. handleweld=weld(m,Character["Left Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00497817993, 1.09852839, -0.00498199463, -1.00772247e-025, 2.44568227e-013, 1, 2.26874075e-013, 0.999999881, 2.44568255e-013, -1, -2.26874048e-013, 1.00166402e-025))
  1493. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.WoodPlanks,0,1,"Really black","Hitbox",Vector3.new(0.400000036, 1.60000014, 0.600000024))
  1494. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699993134, -0.101213217, 0, 1, 2.45206633e-013, 2.23613988e-025, -2.45206633e-013, -1, 2.26374475e-013, -2.25900477e-025, 2.26374475e-013, -1))
  1495. mesh("SpecialMesh",Hitbox,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1778999",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.479999989, 0.300000012))
  1496. PBNeedle=part(Enum.FormFactor.Custom,m,Enum.Material.WoodPlanks,0,0,"Really black","PBNeedle",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  1497. PBNeedleweld=weld(m,handle,PBNeedle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699993134, -0.501211882, 0, 1, 2.45206633e-013, 2.23613988e-025, -2.45206633e-013, -1, 2.26374475e-013, -2.25900477e-025, 2.26374475e-013, -1))
  1498. mesh("SpecialMesh",PBNeedle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1778999",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.479999989, 0.300000012))
  1499. PBPart1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","PBPart1",Vector3.new(0.800000012, 0.399999946, 0.600000024))
  1500. PBPart1weld=weld(m,handle,PBPart1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699993134, -3.69963789, -7.15255737e-006, 1, 5.05664954e-013, -1.30451205e-015, 4.97449304e-013, 1, -4.5374815e-013, 1.30451205e-015, -4.5374815e-013, 1))
  1501. mesh("CylinderMesh",PBPart1,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1502. PBPart2=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Really black","PBPart2",Vector3.new(0.400000006, 0.600000024, 0.400000006))
  1503. PBPart2weld=weld(m,handle,PBPart2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700050354, -7.00950623e-005, 3.49907684, -1, -1.60482286e-005, -1.59286301e-007, 1.58860502e-007, 2.65327035e-005, -1, 1.60482323e-005, -1, -2.65327017e-005))
  1504. mesh("SpecialMesh",PBPart2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.299999982, 0.299999982, 2.22000003))
  1505. PBPole=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","PBPole",Vector3.new(0.400000006, 3.5999999, 0.600000024))
  1506. PBPoleweld=weld(m,handle,PBPole,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699993134, -1.69878912, 0, 1, 2.91981717e-013, 2.13405832e-025, 2.91981717e-013, 1, -2.97428748e-013, 2.22223004e-025, -2.40585329e-013, 1))
  1507. mesh("CylinderMesh",PBPole,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1508. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 2, 0.600000024))
  1509. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, -1.09998429, 0, 1, 2.45206633e-013, 2.23613988e-025, 2.45205765e-013, 0.999996424, -2.26373662e-013, 2.25900477e-025, -2.26374475e-013, 1))
  1510. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 0.600000024))
  1511. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.325069427, -0.366897583, 0, 0.707222462, -0.706991136, 1.60148153e-013, 0.706991136, 0.707222462, -1.60200642e-013, 2.25900477e-025, -2.26374475e-013, 1))
  1512. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 2, 0.200000003))
  1513. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, -1.09959769, -0.40000391, 1, 2.45206633e-013, 2.23613988e-025, 2.45206633e-013, 1, -2.26374475e-013, 2.25900477e-025, -2.26374475e-013, 1))
  1514. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.560000002))
  1515. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.600000024, 0.200000003))
  1516. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699993134, 1.09672546e-005, 0.200021386, -0.999997139, -5.88281814e-008, 2.74286049e-005, -2.76967985e-005, -7.53964502e-010, -0.999998033, 5.88349671e-008, -0.999996901, -2.88369467e-011))
  1517. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.420000017, 0.460000008, 1))
  1518. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1519. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, 1.99907148, 0.400010586, 1, -2.3827215e-007, 4.58606735e-007, -2.38272577e-007, -1, -1.63917434e-007, 4.58606763e-007, 1.6391779e-007, -1))
  1520. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.819999993, 0.560000002, 1.31999993))
  1521. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 2, 0.200000003))
  1522. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, -1.09944224, 0.399987221, 1, 2.45206633e-013, 2.23613988e-025, 2.45206633e-013, 1, -2.26374475e-013, 2.25900477e-025, -2.26374475e-013, 1))
  1523. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.560000002))
  1524. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1525. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599994659, 1.99895847, -0.399979591, 1, -2.38257996e-007, 4.58606735e-007, -2.38258409e-007, -1, -1.63927155e-007, 4.58606763e-007, 1.63927496e-007, -1))
  1526. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.819999993, 0.560000002, 1.31999993))
  1527. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1528. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, 0.198883891, -0.399979591, 1, -2.38229688e-007, 4.58606735e-007, -2.38230101e-007, -1, -1.63946595e-007, 4.58606763e-007, 1.63946936e-007, -1))
  1529. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.819999993, 0.560000002, 1.31999993))
  1530. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1531. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, 0.198892951, 0.400010586, 1, -2.38208457e-007, 4.58606735e-007, -2.3820887e-007, -1, -1.63961175e-007, 4.58606763e-007, 1.63961516e-007, -1))
  1532. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.819999993, 0.560000002, 1.31999993))
  1533. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.800000012))
  1534. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, -0.199686766, 0, 1, 2.49342214e-013, 2.23281582e-025, 2.41071052e-013, 1, -2.26374475e-013, 2.25900477e-025, -2.26374475e-013, 1))
  1535. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 0.5, 1))
  1536. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.800000072))
  1537. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, -1.99940848, 0, 1, 2.49342214e-013, 2.23281582e-025, 2.41071052e-013, 1, -2.26374475e-013, 2.25900477e-025, -2.26374475e-013, 1))
  1538. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 0.5, 1))
  1539. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.799999952, 0.600000024))
  1540. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699993134, -1.09965634, -7.15255737e-006, 1, 2.53450039e-013, -1.30451205e-015, 2.36963227e-013, 1, -2.26374475e-013, 1.30451205e-015, -2.26374475e-013, 1))
  1541. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1542. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.400000006))
  1543. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700004578, -2.67028809e-005, 0.699332714, -1, -1.60535947e-005, -1.59286301e-007, 1.58860217e-007, 2.65416365e-005, -1, 1.60535983e-005, -1, -2.65416347e-005))
  1544. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.299999982, 0.299999982, 2.22000003))
  1545. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.400000006))
  1546. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700019836, -1.66893005e-005, 1.49919093, -1, -1.60516884e-005, -1.59286301e-007, 1.58860317e-007, 2.65384861e-005, -1, 1.6051692e-005, -1, -2.65384842e-005))
  1547. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.299999982, 0.299999982, 2.22000003))
  1548. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.600000024, 0.400000006))
  1549. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700023651, -4.29153442e-005, 1.89885879, -1, -1.60487161e-005, -1.59286301e-007, 1.58860473e-007, 2.65335711e-005, -1, 1.60487198e-005, -1, -2.65335693e-005))
  1550. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.299999982, 0.299999982, 2.22000003))
  1551. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.400000006, 0.600000024))
  1552. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699993134, -2.09877872, 0, 1, 2.63532252e-013, 2.20870009e-025, 2.26881014e-013, 1, -2.40585329e-013, 2.29174052e-025, -2.1216362e-013, 1))
  1553. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1554. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.600000024, 0.400000006))
  1555. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700031281, -3.81469727e-005, 2.29907608, -1, -1.60496675e-005, -1.59286301e-007, 1.58860416e-007, 2.65351464e-005, -1, 1.60497293e-005, -0.999996424, -2.65352392e-005))
  1556. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.299999982, 0.299999982, 2.22000003))
  1557. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  1558. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.900005341, -2.09888887, 0.0100111961, 1, 2.6353919e-013, 2.20464535e-025, 2.26873208e-013, 0.999996424, -2.69013165e-013, 2.35117084e-025, -1.83734972e-013, 1))
  1559. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000036, 0.400000006))
  1560. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.09933496, 0.00994968414, -1.1000061, -7.43166083e-007, 0.999996424, 2.72369789e-007, 1.49011719e-008, -2.72368425e-007, 1, 1, 7.431629e-007, -1.49009649e-008))
  1561. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1562. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.600000024))
  1563. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409999847, -0.404999018, -3.0040741e-005, 1, 1.05336483e-010, -5.11527077e-021, 1.05335976e-010, 1, -9.92765453e-011, -5.11568477e-021, -9.9276018e-011, 1))
  1564. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.600000024))
  1565. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409999847, -1.60497594, -3.0040741e-005, 1, 1.12981839e-010, -5.89094849e-021, -1.12491558e-010, 1, -1.06496659e-010, -6.08833769e-021, 1.0604289e-010, 1))
  1566. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.600000024))
  1567. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409996033, -1.60497594, -3.0040741e-005, 1, 1.13225755e-010, -5.9168516e-021, -1.12735474e-010, 1, -1.06724032e-010, -6.11401341e-021, 1.06270263e-010, 1))
  1568. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.0200001, 0.210000008, 0.210000008))
  1569. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.60497594, 0.40499115, 1, 7.82292217e-011, -2.80034948e-021, -7.77389403e-011, 1, -7.37259559e-011, -2.93059226e-021, 7.32721869e-011, 1))
  1570. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.0200001, 0.210000008, 0.210000008))
  1571. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.60497594, -0.405024052, 1, 7.93888774e-011, -2.8813423e-021, -7.88986237e-011, 1, -7.48344303e-011, -3.02257208e-021, 7.43806614e-011, 1))
  1572. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.0200001, 0.210000008, 0.210000008))
  1573. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.404999018, -0.405024052, 1, 7.9389488e-011, -2.88135442e-021, 7.93889815e-011, 1, -7.48338752e-011, -2.88212869e-021, -7.48333479e-011, 1))
  1574. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.600000024))
  1575. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409996033, -0.404999018, -3.0040741e-005, 1, 3.79056439e-011, -6.35164548e-022, 3.79058382e-011, 1, -3.57250896e-011, -6.35662047e-022, -3.57250896e-011, 1))
  1576. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.0200001, 0.210000008, 0.210000008))
  1577. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.404999018, 0.40499115, 1, 7.82298046e-011, -2.80033434e-021, 7.8229298e-011, 1, -7.37254285e-011, -2.80000274e-021, -7.37249012e-011, 1))
  1578.  
  1579. function attackone()
  1580. attack = true
  1581. local con = LeftLeg.Touched:connect(function(hit) Damagefunc(hit,15,20,math.random(5,15),"Normal",RootPart,.2,1) end)
  1582. so("http://roblox.com/asset/?id=200632211",LeftLeg,1,1)
  1583. for i = 0,1,0.1 do
  1584. swait()
  1585. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-50),math.rad(0),math.rad(-90)),.3)
  1586. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(50),math.rad(0),math.rad(20)),.3)
  1587. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(40)), 0.3)
  1588. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.3)
  1589. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  1590. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  1591. end
  1592. attack = false
  1593. con:disconnect()
  1594. end
  1595.  
  1596. function attacktwo()
  1597. attack = true
  1598. for i = 0,1,0.1 do
  1599. swait()
  1600. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-80)),.3)
  1601. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  1602. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.3)
  1603. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.5) * angles(math.rad(0), math.rad(-150), math.rad(-90)), 0.3)
  1604. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(-10)),.3)
  1605. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5)),.3)
  1606. end
  1607. so("http://roblox.com/asset/?id=200632211",LeftArm,1,.9)
  1608. local con = LeftArm.Touched:connect(function(hit) Damagefunc(hit,15,20,math.random(5,15),"Normal",RootPart,.2,1) end)
  1609. for i = 0,1,0.1 do
  1610. swait()
  1611. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(80)),.3)
  1612. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1613. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.3)
  1614. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(-90)), 0.3)
  1615. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(-10)),.3)
  1616. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-5)),.3)
  1617. end
  1618. attack = false
  1619. con:disconnect()
  1620. end
  1621.  
  1622. --[[remiders: PBPART1,PBPART2,PBPOLE,PBNEEDLE,HITBOX ]]--
  1623.  
  1624. function attackthree()
  1625. attack = true
  1626. for i = 0,1,0.1 do
  1627. swait()
  1628. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1629. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1630. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.3)
  1631. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1632. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1633. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.3)
  1634. end
  1635. local con = Hitbox.Touched:connect(function(hit) Damagefunc(hit,25,40,math.random(10,15),"Normal",RootPart,.2,1) end)
  1636. so("http://roblox.com/asset/?id=240429891",Hitbox,1,1)
  1637. so("http://roblox.com/asset/?id=240429289",Hitbox,1,1)
  1638. for i = 0,1,0.1 do
  1639. swait()
  1640. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  1641. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1642. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  1643. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.3)
  1644. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(0)),.3)
  1645. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(0)),.3)
  1646. PBNeedleweld.C0=clerp(PBNeedleweld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1647. PBPoleweld.C0=clerp(PBPoleweld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1648. PBPart1weld.C0=clerp(PBPart1weld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1649. PBPart2weld.C0=clerp(PBPart2weld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1650. Hitboxweld.C0=clerp(Hitboxweld.C0,cf(0,-1.,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1651. end
  1652. attack = false
  1653. con:disconnect()
  1654. end
  1655.  
  1656. function attackfour()
  1657. attack = true
  1658. for i = 0,1,0.1 do
  1659. swait()
  1660. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-80)),.3)
  1661. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  1662. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(150), math.rad(90)), 0.3)
  1663. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-50)), 0.3)
  1664. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(-10)),.3)
  1665. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5)),.3)
  1666. end
  1667. so("http://roblox.com/asset/?id=240429891",Hitbox,1,.9)
  1668. so("http://roblox.com/asset/?id=240429289",Hitbox,1,.8)
  1669. local con = Hitbox.Touched:connect(function(hit) Damagefunc(hit,25,40,math.random(10,15),"Normal",RootPart,.2,1) end)
  1670. for i = 0,1,0.1 do
  1671. swait()
  1672. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(80)),.3)
  1673. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1674. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3)
  1675. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-80)), 0.3)
  1676. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(-10)),.3)
  1677. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-5)),.3)
  1678. PBNeedleweld.C0=clerp(PBNeedleweld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1679. PBPoleweld.C0=clerp(PBPoleweld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1680. PBPart1weld.C0=clerp(PBPart1weld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1681. PBPart2weld.C0=clerp(PBPart2weld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1682. Hitboxweld.C0=clerp(Hitboxweld.C0,cf(0,-1.,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1683. end
  1684. attack = false
  1685. con:disconnect()
  1686. end
  1687.  
  1688. mouse.Button1Down:connect(function()
  1689. if attack == false and
  1690. attacktype == 1 then
  1691. attacktype = 2
  1692. attackone()
  1693. elseif attack == false and
  1694. attacktype == 2 then
  1695. attacktype = 3
  1696. attacktwo()
  1697. elseif attack == false and
  1698. attacktype == 3 then
  1699. attacktype = 4
  1700. attackthree()
  1701. elseif attack == false and
  1702. attacktype == 4 then
  1703. attacktype = 1
  1704. attackfour()
  1705. end
  1706. end)
  1707.  
  1708. mouse.KeyDown:connect(function(k)
  1709. k=k:lower()
  1710.  
  1711. end)
  1712.  
  1713.  
  1714. local sine = 0
  1715. local change = 1
  1716. local val = 0
  1717.  
  1718. while true do
  1719. swait()
  1720. sine = sine + change
  1721. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1722. local velderp=RootPart.Velocity.y
  1723. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1724. if equipped==true or equipped==false then
  1725. if attack==false then
  1726. idle=idle+1
  1727. else
  1728. idle=0
  1729. end
  1730. if idle>=500 then
  1731. if attack==false then
  1732. --Sheath()
  1733. end
  1734. end
  1735. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1736. Anim="Jump"
  1737. if attack==false then
  1738. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1739. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1740. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.3)
  1741. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  1742. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(10),math.rad(90),math.rad(0)),.3)
  1743. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-15),math.rad(-90),math.rad(0)),.3)
  1744. PBNeedleweld.C0=clerp(PBNeedleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1745. PBPoleweld.C0=clerp(PBPoleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1746. PBPart1weld.C0=clerp(PBPart1weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1747. PBPart2weld.C0=clerp(PBPart2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1748. Hitboxweld.C0=clerp(Hitboxweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1749. end
  1750. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1751. Anim="Fall"
  1752. if attack==false then
  1753. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1754. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1755. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(30)), 0.3)
  1756. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-30)), 0.3)
  1757. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(20),math.rad(90),math.rad(0)),.3)
  1758. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
  1759. PBNeedleweld.C0=clerp(PBNeedleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1760. PBPoleweld.C0=clerp(PBPoleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1761. PBPart1weld.C0=clerp(PBPart1weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1762. PBPart2weld.C0=clerp(PBPart2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1763. Hitboxweld.C0=clerp(Hitboxweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1764. end
  1765. elseif torvel<1 and hitfloor~=nil then
  1766. Anim="Idle"
  1767. if attack==false then
  1768. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-20)),.3)
  1769. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1770. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.3)
  1771. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  1772. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  1773. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-5)),.3)
  1774. PBNeedleweld.C0=clerp(PBNeedleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1775. PBPoleweld.C0=clerp(PBPoleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1776. PBPart1weld.C0=clerp(PBPart1weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1777. PBPart2weld.C0=clerp(PBPart2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1778. Hitboxweld.C0=clerp(Hitboxweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1779. end
  1780. elseif torvel>2 and hitfloor~=nil then
  1781. Anim="Walk"
  1782. if attack==false then
  1783. change=3
  1784. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1785. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1786. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(10)), 0.3)
  1787. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  1788. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-15)),.3)
  1789. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-15)),.3)
  1790. PBNeedleweld.C0=clerp(PBNeedleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1791. PBPoleweld.C0=clerp(PBPoleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1792. PBPart1weld.C0=clerp(PBPart1weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1793. PBPart2weld.C0=clerp(PBPart2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1794. Hitboxweld.C0=clerp(Hitboxweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1795. end
  1796. end
  1797. end
  1798.  
  1799. Player=game:GetService("Players").LocalPlayer
  1800. Character=Player.Character
  1801. PlayerGui=Player.PlayerGui
  1802. Backpack=Player.Backpack
  1803. Torso=Character.Torso
  1804. Head=Character.Head
  1805. Humanoid=Character.Humanoid
  1806. m=Instance.new('Model',Character)
  1807. LeftArm=Character["Left Arm"]
  1808. LeftLeg=Character["Left Leg"]
  1809. RightArm=Character["Right Arm"]
  1810. RightLeg=Character["Right Leg"]
  1811. LS=Torso["Left Shoulder"]
  1812. LH=Torso["Left Hip"]
  1813. RS=Torso["Right Shoulder"]
  1814. RH=Torso["Right Hip"]
  1815. Face = Head.face
  1816. Neck=Torso.Neck
  1817. it=Instance.new
  1818. attacktype=1
  1819. vt=Vector3.new
  1820. cf=CFrame.new
  1821. euler=CFrame.fromEulerAnglesXYZ
  1822. angles=CFrame.Angles
  1823. cloaked=false
  1824. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1825. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1826. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1827. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1828. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1829. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1830. RootPart=Character.HumanoidRootPart
  1831. RootJoint=RootPart.RootJoint
  1832. RootCF=euler(-1.57,0,3.14)
  1833. attack = false
  1834. attackdebounce = false
  1835. deb=false
  1836. equipped=true
  1837. hand=false
  1838. MMouse=nil
  1839. combo=0
  1840. mana=0
  1841. trispeed=.2
  1842. attackmode='none'
  1843. local idle=0
  1844. local Anim="Idle"
  1845. local Effects={}
  1846. local gun=false
  1847. local shoot=false
  1848. player=nil
  1849. mana=0
  1850.  
  1851. mouse=Player:GetMouse()
  1852. --save shoulders
  1853. RSH, LSH=nil, nil
  1854. --welds
  1855. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1856. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1857. LH=Torso["Left Hip"]
  1858. RH=Torso["Right Hip"]
  1859. TorsoColor=Torso.BrickColor
  1860. function NoOutline(Part)
  1861. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1862. end
  1863. player=Player
  1864. ch=Character
  1865. RSH=ch.Torso["Right Shoulder"]
  1866. LSH=ch.Torso["Left Shoulder"]
  1867. --
  1868. RSH.Parent=nil
  1869. LSH.Parent=nil
  1870. --
  1871. RW.Name="Right Shoulder"
  1872. RW.Part0=ch.Torso
  1873. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1874. RW.C1=cf(0, 0.5, 0)
  1875. RW.Part1=ch["Right Arm"]
  1876. RW.Parent=ch.Torso
  1877. --
  1878. LW.Name="Left Shoulder"
  1879. LW.Part0=ch.Torso
  1880. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1881. LW.C1=cf(0, 0.5, 0)
  1882. LW.Part1=ch["Left Arm"]
  1883. LW.Parent=ch.Torso
  1884.  
  1885. Player=game:GetService('Players').LocalPlayer
  1886. Character=Player.Character
  1887. Mouse=Player:GetMouse()
  1888. m=Instance.new('Model',Character)
  1889.  
  1890.  
  1891. local function weldBetween(a, b)
  1892. local weldd = Instance.new("ManualWeld")
  1893. weldd.Part0 = a
  1894. weldd.Part1 = b
  1895. weldd.C0 = CFrame.new()
  1896. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1897. weldd.Parent = a
  1898. return weldd
  1899. end
  1900.  
  1901. function swait(num)
  1902. if num==0 or num==nil then
  1903. game:service'RunService'.Heartbeat:wait(0)
  1904. else
  1905. for i=0,num do
  1906. game:service'RunService'.Heartbeat:wait(0)
  1907. end
  1908. end
  1909. end
  1910.  
  1911. function nooutline(part)
  1912. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1913. end
  1914.  
  1915. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1916. local fp=it("Part")
  1917. fp.formFactor=formfactor
  1918. fp.Parent=parent
  1919. fp.Reflectance=reflectance
  1920. fp.Transparency=transparency
  1921. fp.CanCollide=false
  1922. fp.Locked=true
  1923. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1924. fp.Name=name
  1925. fp.Size=size
  1926. fp.Position=Character.Torso.Position
  1927. nooutline(fp)
  1928. fp.Material=material
  1929. fp:BreakJoints()
  1930. return fp
  1931. end
  1932.  
  1933. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1934. local mesh=it(Mesh)
  1935. mesh.Parent=part
  1936. if Mesh=="SpecialMesh" then
  1937. mesh.MeshType=meshtype
  1938. mesh.MeshId=meshid
  1939. end
  1940. mesh.Offset=offset
  1941. mesh.Scale=scale
  1942. return mesh
  1943. end
  1944.  
  1945. function weld(parent,part0,part1,c0,c1)
  1946. local weld=it("Weld")
  1947. weld.Parent=parent
  1948. weld.Part0=part0
  1949. weld.Part1=part1
  1950. weld.C0=c0
  1951. weld.C1=c1
  1952. return weld
  1953. end
  1954.  
  1955.  
  1956. local function CFrameFromTopBack(at, top, back)
  1957. local right = top:Cross(back)
  1958. return CFrame.new(at.x, at.y, at.z,
  1959. right.x, top.x, back.x,
  1960. right.y, top.y, back.y,
  1961. right.z, top.z, back.z)
  1962. end
  1963.  
  1964. function Triangle(a, b, c)
  1965. local edg1 = (c-a):Dot((b-a).unit)
  1966. local edg2 = (a-b):Dot((c-b).unit)
  1967. local edg3 = (b-c):Dot((a-c).unit)
  1968. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1969. a, b, c = a, b, c
  1970. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1971. a, b, c = b, c, a
  1972. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1973. a, b, c = c, a, b
  1974. else
  1975. assert(false, "unreachable")
  1976. end
  1977.  
  1978. local len1 = (c-a):Dot((b-a).unit)
  1979. local len2 = (b-a).magnitude - len1
  1980. local width = (a + (b-a).unit*len1 - c).magnitude
  1981.  
  1982. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1983.  
  1984. local list = {}
  1985.  
  1986. local TrailColor = ("Really black")
  1987.  
  1988. if len1 > 0.01 then
  1989. local w1 = Instance.new('WedgePart', m)
  1990. game:GetService("Debris"):AddItem(w1,5)
  1991. w1.Material = "SmoothPlastic"
  1992. w1.FormFactor = 'Custom'
  1993. w1.BrickColor = BrickColor.new(TrailColor)
  1994. w1.Transparency = 0
  1995. w1.Reflectance = 0
  1996. w1.Material = "SmoothPlastic"
  1997. w1.CanCollide = false
  1998. NoOutline(w1)
  1999. local sz = Vector3.new(0.2, width, len1)
  2000. w1.Size = sz
  2001. local sp = Instance.new("SpecialMesh",w1)
  2002. sp.MeshType = "Wedge"
  2003. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2004. w1:BreakJoints()
  2005. w1.Anchored = true
  2006. w1.Parent = workspace
  2007. w1.Transparency = 0.7
  2008. table.insert(Effects,{w1,"Disappear",.01})
  2009. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2010. table.insert(list,w1)
  2011. end
  2012.  
  2013. if len2 > 0.01 then
  2014. local w2 = Instance.new('WedgePart', m)
  2015. game:GetService("Debris"):AddItem(w2,5)
  2016. w2.Material = "SmoothPlastic"
  2017. w2.FormFactor = 'Custom'
  2018. w2.BrickColor = BrickColor.new(TrailColor)
  2019. w2.Transparency = 0
  2020. w2.Reflectance = 0
  2021. w2.Material = "SmoothPlastic"
  2022. w2.CanCollide = false
  2023. NoOutline(w2)
  2024. local sz = Vector3.new(0.2, width, len2)
  2025. w2.Size = sz
  2026. local sp = Instance.new("SpecialMesh",w2)
  2027. sp.MeshType = "Wedge"
  2028. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2029. w2:BreakJoints()
  2030. w2.Anchored = true
  2031. w2.Parent = workspace
  2032. w2.Transparency = 0.7
  2033. table.insert(Effects,{w2,"Disappear",.01})
  2034. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2035. table.insert(list,w2)
  2036. end
  2037. return unpack(list)
  2038. end
  2039.  
  2040.  
  2041. so = function(id,par,vol,pit)
  2042. coroutine.resume(coroutine.create(function()
  2043. local sou = Instance.new("Sound",par or workspace)
  2044. sou.Volume=vol
  2045. sou.Pitch=pit or 1
  2046. sou.SoundId=id
  2047. swait()
  2048. sou:play()
  2049. game:GetService("Debris"):AddItem(sou,6)
  2050. end))
  2051. end
  2052.  
  2053. function clerp(a,b,t)
  2054. local qa = {QuaternionFromCFrame(a)}
  2055. local qb = {QuaternionFromCFrame(b)}
  2056. local ax, ay, az = a.x, a.y, a.z
  2057. local bx, by, bz = b.x, b.y, b.z
  2058. local _t = 1-t
  2059. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2060. end
  2061.  
  2062. function QuaternionFromCFrame(cf)
  2063. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2064. local trace = m00 + m11 + m22
  2065. if trace > 0 then
  2066. local s = math.sqrt(1 + trace)
  2067. local recip = 0.5/s
  2068. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2069. else
  2070. local i = 0
  2071. if m11 > m00 then
  2072. i = 1
  2073. end
  2074. if m22 > (i == 0 and m00 or m11) then
  2075. i = 2
  2076. end
  2077. if i == 0 then
  2078. local s = math.sqrt(m00-m11-m22+1)
  2079. local recip = 0.5/s
  2080. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2081. elseif i == 1 then
  2082. local s = math.sqrt(m11-m22-m00+1)
  2083. local recip = 0.5/s
  2084. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2085. elseif i == 2 then
  2086. local s = math.sqrt(m22-m00-m11+1)
  2087. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2088. end
  2089. end
  2090. end
  2091.  
  2092. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2093. local xs, ys, zs = x + x, y + y, z + z
  2094. local wx, wy, wz = w*xs, w*ys, w*zs
  2095. local xx = x*xs
  2096. local xy = x*ys
  2097. local xz = x*zs
  2098. local yy = y*ys
  2099. local yz = y*zs
  2100. local zz = z*zs
  2101. 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))
  2102. end
  2103.  
  2104. function QuaternionSlerp(a, b, t)
  2105. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2106. local startInterp, finishInterp;
  2107. if cosTheta >= 0.0001 then
  2108. if (1 - cosTheta) > 0.0001 then
  2109. local theta = math.acos(cosTheta)
  2110. local invSinTheta = 1/math.sin(theta)
  2111. startInterp = math.sin((1-t)*theta)*invSinTheta
  2112. finishInterp = math.sin(t*theta)*invSinTheta
  2113. else
  2114. startInterp = 1-t
  2115. finishInterp = t
  2116. end
  2117. else
  2118. if (1+cosTheta) > 0.0001 then
  2119. local theta = math.acos(-cosTheta)
  2120. local invSinTheta = 1/math.sin(theta)
  2121. startInterp = math.sin((t-1)*theta)*invSinTheta
  2122. finishInterp = math.sin(t*theta)*invSinTheta
  2123. else
  2124. startInterp = t-1
  2125. finishInterp = t
  2126. end
  2127. end
  2128. 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
  2129. end
  2130.  
  2131. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2132.  
  2133.  
  2134. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2135. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2136. end
  2137.  
  2138. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  2139. if hit.Parent==nil then
  2140. return
  2141. end
  2142. h=hit.Parent:FindFirstChild("Humanoid")
  2143. for _,v in pairs(hit.Parent:children()) do
  2144. if v:IsA("Humanoid") then
  2145. h=v
  2146. end
  2147. end
  2148. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  2149. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  2150. end
  2151. if hit.Parent.className=="Hat" then
  2152. hit=hit.Parent.Parent:findFirstChild("Head")
  2153. end
  2154. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2155. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  2156. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2157. return
  2158. end]]
  2159. -- hs(hit,1.2)
  2160. c=Instance.new("ObjectValue")
  2161. c.Name="creator"
  2162. c.Value=game:service("Players").LocalPlayer
  2163. c.Parent=h
  2164. game:GetService("Debris"):AddItem(c,.5)
  2165. Damage=math.random(minim,maxim)
  2166. -- h:TakeDamage(Damage)
  2167. blocked=false
  2168. block=hit.Parent:findFirstChild("Block")
  2169. if block~=nil then
  2170. print(block.className)
  2171. if block.className=="NumberValue" then
  2172. if block.Value>0 then
  2173. blocked=true
  2174. if decreaseblock==nil then
  2175. block.Value=block.Value-1
  2176. end
  2177. end
  2178. end
  2179. if block.className=="IntValue" then
  2180. if block.Value>0 then
  2181. blocked=true
  2182. if decreaseblock~=nil then
  2183. block.Value=block.Value-1
  2184. end
  2185. end
  2186. end
  2187. end
  2188. if blocked==false then
  2189. -- h:TakeDamage(Damage)
  2190. h.Health=h.Health-Damage
  2191. showDamage(hit.Parent,Damage,.5,BrickColor.new("Really black"))
  2192. else
  2193. h.Health=h.Health-(Damage/2)
  2194. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  2195. end
  2196. if Type=="Knockdown" then
  2197. hum=hit.Parent.Humanoid
  2198. hum.PlatformStand=true
  2199. coroutine.resume(coroutine.create(function(HHumanoid)
  2200. swait(1)
  2201. HHumanoid.PlatformStand=false
  2202. end),hum)
  2203. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  2204. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  2205. local bodvol=Instance.new("BodyVelocity")
  2206. bodvol.velocity=angle*knockback
  2207. bodvol.P=5000
  2208. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2209. bodvol.Parent=hit
  2210. rl=Instance.new("BodyAngularVelocity")
  2211. rl.P=3000
  2212. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2213. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  2214. rl.Parent=hit
  2215. game:GetService("Debris"):AddItem(bodvol,.5)
  2216. game:GetService("Debris"):AddItem(rl,.5)
  2217. elseif Type=="Normal" then
  2218. vp=Instance.new("BodyVelocity")
  2219. vp.P=500
  2220. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2221. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2222. if KnockbackType==1 then
  2223. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  2224. elseif KnockbackType==2 then
  2225. vp.velocity=Property.CFrame.lookVector*knockback
  2226. end
  2227. if knockback>0 then
  2228. vp.Parent=hit.Parent.Torso
  2229. end
  2230. game:GetService("Debris"):AddItem(vp,.5)
  2231. elseif Type=="Up" then
  2232. local bodyVelocity=Instance.new("BodyVelocity")
  2233. bodyVelocity.velocity=vt(0,60,0)
  2234. bodyVelocity.P=5000
  2235. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  2236. bodyVelocity.Parent=hit
  2237. game:GetService("Debris"):AddItem(bodyVelocity,1)
  2238. rl=Instance.new("BodyAngularVelocity")
  2239. rl.P=3000
  2240. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2241. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  2242. rl.Parent=hit
  2243. game:GetService("Debris"):AddItem(rl,.5)
  2244. elseif Type=="Snare" then
  2245. bp=Instance.new("BodyPosition")
  2246. bp.P=2000
  2247. bp.D=100
  2248. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2249. bp.position=hit.Parent.Torso.Position
  2250. bp.Parent=hit.Parent.Torso
  2251. game:GetService("Debris"):AddItem(bp,1)
  2252. elseif Type=="Target" then
  2253. if Targetting==false then
  2254. ZTarget=hit.Parent.Torso
  2255. coroutine.resume(coroutine.create(function(Part)
  2256. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  2257. swait(5)
  2258. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  2259. end),ZTarget)
  2260. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  2261. targetgui=Instance.new("BillboardGui")
  2262. targetgui.Parent=ZTarget
  2263. targetgui.Size=UDim2.new(10,100,10,100)
  2264. targ=Instance.new("ImageLabel")
  2265. targ.Parent=targetgui
  2266. targ.BackgroundTransparency=1
  2267. targ.Image="rbxassetid://4834067"
  2268. targ.Size=UDim2.new(1,0,1,0)
  2269. cam.CameraType="Scriptable"
  2270. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2271. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  2272. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2273. Targetting=true
  2274. RocketTarget=ZTarget
  2275. for i=1,Property do
  2276. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  2277. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  2278. swait()
  2279. end
  2280. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  2281. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  2282. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  2283. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  2284. end
  2285. Targetting=false
  2286. RocketTarget=nil
  2287. targetgui.Parent=nil
  2288. cam.CameraType="Custom"
  2289. end
  2290. end
  2291. debounce=Instance.new("BoolValue")
  2292. debounce.Name="DebounceHit"
  2293. debounce.Parent=hit.Parent
  2294. debounce.Value=true
  2295. game:GetService("Debris"):AddItem(debounce,Delay)
  2296. c=Instance.new("ObjectValue")
  2297. c.Name="creator"
  2298. c.Value=Player
  2299. c.Parent=h
  2300. game:GetService("Debris"):AddItem(c,.5)
  2301. CRIT=false
  2302. hitDeb=true
  2303. AttackPos=6
  2304. end
  2305. end
  2306.  
  2307. showDamage=function(Char,Dealt,du,Color)
  2308. m=Instance.new("Model")
  2309. m.Name=tostring(Dealt)
  2310. h=Instance.new("Humanoid")
  2311. h.Health=0
  2312. h.MaxHealth=0
  2313. h.Parent=m
  2314. c=Instance.new("Part")
  2315. c.Transparency=0
  2316. c.BrickColor=Color
  2317. c.Name="Head"
  2318. c.TopSurface=0
  2319. c.BottomSurface=0
  2320. c.formFactor="Plate"
  2321. c.Size=Vector3.new(1,.4,1)
  2322. ms=Instance.new("CylinderMesh")
  2323. ms.Scale=Vector3.new(.8,.8,.8)
  2324. if CRIT==true then
  2325. ms.Scale=Vector3.new(1,1.25,1)
  2326. end
  2327. ms.Parent=c
  2328. c.Reflectance=0
  2329. Instance.new("BodyGyro").Parent=c
  2330. c.Parent=m
  2331. if Char:findFirstChild("Head")~=nil then
  2332. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  2333. elseif Char.Parent:findFirstChild("Head")~=nil then
  2334. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  2335. end
  2336. f=Instance.new("BodyPosition")
  2337. f.P=2000
  2338. f.D=100
  2339. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2340. f.position=c.Position+Vector3.new(0,3,0)
  2341. f.Parent=c
  2342. game:GetService("Debris"):AddItem(m,.5+du)
  2343. c.CanCollide=false
  2344. m.Parent=workspace
  2345. c.CanCollide=false
  2346. end
  2347.  
  2348. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(1.00000012, 0.200000003, 0.600000024))
  2349. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00497817993, 1.09852839, -0.00498199463, -1.00772247e-025, 2.44568227e-013, 1, 2.26874075e-013, 0.999999881, 2.44568255e-013, -1, -2.26874048e-013, 1.00166402e-025))
  2350. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.WoodPlanks,0,1,"Really black","Hitbox",Vector3.new(0.400000036, 1.60000014, 0.600000024))
  2351. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699993134, -0.101213217, 0, 1, 2.45206633e-013, 2.23613988e-025, -2.45206633e-013, -1, 2.26374475e-013, -2.25900477e-025, 2.26374475e-013, -1))
  2352. mesh("SpecialMesh",Hitbox,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1778999",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.479999989, 0.300000012))
  2353. PBNeedle=part(Enum.FormFactor.Custom,m,Enum.Material.WoodPlanks,0,0,"Really black","PBNeedle",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  2354. PBNeedleweld=weld(m,handle,PBNeedle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699993134, -0.501211882, 0, 1, 2.45206633e-013, 2.23613988e-025, -2.45206633e-013, -1, 2.26374475e-013, -2.25900477e-025, 2.26374475e-013, -1))
  2355. mesh("SpecialMesh",PBNeedle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1778999",Vector3.new(0, 0, 0),Vector3.new(0.300000012, 0.479999989, 0.300000012))
  2356. PBPart1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","PBPart1",Vector3.new(0.800000012, 0.399999946, 0.600000024))
  2357. PBPart1weld=weld(m,handle,PBPart1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699993134, -3.69963789, -7.15255737e-006, 1, 5.05664954e-013, -1.30451205e-015, 4.97449304e-013, 1, -4.5374815e-013, 1.30451205e-015, -4.5374815e-013, 1))
  2358. mesh("CylinderMesh",PBPart1,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2359. PBPart2=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Really black","PBPart2",Vector3.new(0.400000006, 0.600000024, 0.400000006))
  2360. PBPart2weld=weld(m,handle,PBPart2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700050354, -7.00950623e-005, 3.49907684, -1, -1.60482286e-005, -1.59286301e-007, 1.58860502e-007, 2.65327035e-005, -1, 1.60482323e-005, -1, -2.65327017e-005))
  2361. mesh("SpecialMesh",PBPart2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.299999982, 0.299999982, 2.22000003))
  2362. PBPole=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","PBPole",Vector3.new(0.400000006, 3.5999999, 0.600000024))
  2363. PBPoleweld=weld(m,handle,PBPole,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699993134, -1.69878912, 0, 1, 2.91981717e-013, 2.13405832e-025, 2.91981717e-013, 1, -2.97428748e-013, 2.22223004e-025, -2.40585329e-013, 1))
  2364. mesh("CylinderMesh",PBPole,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2365. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 2, 0.600000024))
  2366. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, -1.09998429, 0, 1, 2.45206633e-013, 2.23613988e-025, 2.45205765e-013, 0.999996424, -2.26373662e-013, 2.25900477e-025, -2.26374475e-013, 1))
  2367. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 0.600000024))
  2368. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.325069427, -0.366897583, 0, 0.707222462, -0.706991136, 1.60148153e-013, 0.706991136, 0.707222462, -1.60200642e-013, 2.25900477e-025, -2.26374475e-013, 1))
  2369. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 2, 0.200000003))
  2370. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, -1.09959769, -0.40000391, 1, 2.45206633e-013, 2.23613988e-025, 2.45206633e-013, 1, -2.26374475e-013, 2.25900477e-025, -2.26374475e-013, 1))
  2371. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.560000002))
  2372. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.600000024, 0.200000003))
  2373. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699993134, 1.09672546e-005, 0.200021386, -0.999997139, -5.88281814e-008, 2.74286049e-005, -2.76967985e-005, -7.53964502e-010, -0.999998033, 5.88349671e-008, -0.999996901, -2.88369467e-011))
  2374. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.420000017, 0.460000008, 1))
  2375. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  2376. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, 1.99907148, 0.400010586, 1, -2.3827215e-007, 4.58606735e-007, -2.38272577e-007, -1, -1.63917434e-007, 4.58606763e-007, 1.6391779e-007, -1))
  2377. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.819999993, 0.560000002, 1.31999993))
  2378. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 2, 0.200000003))
  2379. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, -1.09944224, 0.399987221, 1, 2.45206633e-013, 2.23613988e-025, 2.45206633e-013, 1, -2.26374475e-013, 2.25900477e-025, -2.26374475e-013, 1))
  2380. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.560000002))
  2381. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  2382. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599994659, 1.99895847, -0.399979591, 1, -2.38257996e-007, 4.58606735e-007, -2.38258409e-007, -1, -1.63927155e-007, 4.58606763e-007, 1.63927496e-007, -1))
  2383. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.819999993, 0.560000002, 1.31999993))
  2384. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  2385. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, 0.198883891, -0.399979591, 1, -2.38229688e-007, 4.58606735e-007, -2.38230101e-007, -1, -1.63946595e-007, 4.58606763e-007, 1.63946936e-007, -1))
  2386. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.819999993, 0.560000002, 1.31999993))
  2387. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  2388. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, 0.198892951, 0.400010586, 1, -2.38208457e-007, 4.58606735e-007, -2.3820887e-007, -1, -1.63961175e-007, 4.58606763e-007, 1.63961516e-007, -1))
  2389. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.819999993, 0.560000002, 1.31999993))
  2390. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.800000012))
  2391. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, -0.199686766, 0, 1, 2.49342214e-013, 2.23281582e-025, 2.41071052e-013, 1, -2.26374475e-013, 2.25900477e-025, -2.26374475e-013, 1))
  2392. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 0.5, 1))
  2393. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.800000072))
  2394. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599998474, -1.99940848, 0, 1, 2.49342214e-013, 2.23281582e-025, 2.41071052e-013, 1, -2.26374475e-013, 2.25900477e-025, -2.26374475e-013, 1))
  2395. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 0.5, 1))
  2396. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.799999952, 0.600000024))
  2397. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699993134, -1.09965634, -7.15255737e-006, 1, 2.53450039e-013, -1.30451205e-015, 2.36963227e-013, 1, -2.26374475e-013, 1.30451205e-015, -2.26374475e-013, 1))
  2398. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2399. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.400000006))
  2400. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700004578, -2.67028809e-005, 0.699332714, -1, -1.60535947e-005, -1.59286301e-007, 1.58860217e-007, 2.65416365e-005, -1, 1.60535983e-005, -1, -2.65416347e-005))
  2401. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.299999982, 0.299999982, 2.22000003))
  2402. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.400000006))
  2403. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700019836, -1.66893005e-005, 1.49919093, -1, -1.60516884e-005, -1.59286301e-007, 1.58860317e-007, 2.65384861e-005, -1, 1.6051692e-005, -1, -2.65384842e-005))
  2404. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.299999982, 0.299999982, 2.22000003))
  2405. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.600000024, 0.400000006))
  2406. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700023651, -4.29153442e-005, 1.89885879, -1, -1.60487161e-005, -1.59286301e-007, 1.58860473e-007, 2.65335711e-005, -1, 1.60487198e-005, -1, -2.65335693e-005))
  2407. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.299999982, 0.299999982, 2.22000003))
  2408. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.400000006, 0.600000024))
  2409. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699993134, -2.09877872, 0, 1, 2.63532252e-013, 2.20870009e-025, 2.26881014e-013, 1, -2.40585329e-013, 2.29174052e-025, -2.1216362e-013, 1))
  2410. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2411. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.600000024, 0.400000006))
  2412. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700031281, -3.81469727e-005, 2.29907608, -1, -1.60496675e-005, -1.59286301e-007, 1.58860416e-007, 2.65351464e-005, -1, 1.60497293e-005, -0.999996424, -2.65352392e-005))
  2413. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.299999982, 0.299999982, 2.22000003))
  2414. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  2415. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.900005341, -2.09888887, 0.0100111961, 1, 2.6353919e-013, 2.20464535e-025, 2.26873208e-013, 0.999996424, -2.69013165e-013, 2.35117084e-025, -1.83734972e-013, 1))
  2416. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000036, 0.400000006))
  2417. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.09933496, 0.00994968414, -1.1000061, -7.43166083e-007, 0.999996424, 2.72369789e-007, 1.49011719e-008, -2.72368425e-007, 1, 1, 7.431629e-007, -1.49009649e-008))
  2418. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  2419. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.600000024))
  2420. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409999847, -0.404999018, -3.0040741e-005, 1, 1.05336483e-010, -5.11527077e-021, 1.05335976e-010, 1, -9.92765453e-011, -5.11568477e-021, -9.9276018e-011, 1))
  2421. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.600000024))
  2422. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409999847, -1.60497594, -3.0040741e-005, 1, 1.12981839e-010, -5.89094849e-021, -1.12491558e-010, 1, -1.06496659e-010, -6.08833769e-021, 1.0604289e-010, 1))
  2423. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.600000024))
  2424. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409996033, -1.60497594, -3.0040741e-005, 1, 1.13225755e-010, -5.9168516e-021, -1.12735474e-010, 1, -1.06724032e-010, -6.11401341e-021, 1.06270263e-010, 1))
  2425. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.0200001, 0.210000008, 0.210000008))
  2426. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.60497594, 0.40499115, 1, 7.82292217e-011, -2.80034948e-021, -7.77389403e-011, 1, -7.37259559e-011, -2.93059226e-021, 7.32721869e-011, 1))
  2427. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.0200001, 0.210000008, 0.210000008))
  2428. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.60497594, -0.405024052, 1, 7.93888774e-011, -2.8813423e-021, -7.88986237e-011, 1, -7.48344303e-011, -3.02257208e-021, 7.43806614e-011, 1))
  2429. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.0200001, 0.210000008, 0.210000008))
  2430. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.404999018, -0.405024052, 1, 7.9389488e-011, -2.88135442e-021, 7.93889815e-011, 1, -7.48338752e-011, -2.88212869e-021, -7.48333479e-011, 1))
  2431. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.600000024))
  2432. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409996033, -0.404999018, -3.0040741e-005, 1, 3.79056439e-011, -6.35164548e-022, 3.79058382e-011, 1, -3.57250896e-011, -6.35662047e-022, -3.57250896e-011, 1))
  2433. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.0200001, 0.210000008, 0.210000008))
  2434. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.404999018, 0.40499115, 1, 7.82298046e-011, -2.80033434e-021, 7.8229298e-011, 1, -7.37254285e-011, -2.80000274e-021, -7.37249012e-011, 1))
  2435.  
  2436. function attackone()
  2437. attack = true
  2438. local con = LeftLeg.Touched:connect(function(hit) Damagefunc(hit,15,20,math.random(5,15),"Normal",RootPart,.2,1) end)
  2439. so("http://roblox.com/asset/?id=200632211",LeftLeg,1,1)
  2440. for i = 0,1,0.1 do
  2441. swait()
  2442. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-50),math.rad(0),math.rad(-90)),.3)
  2443. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(50),math.rad(0),math.rad(20)),.3)
  2444. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(40)), 0.3)
  2445. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.3)
  2446. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  2447. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  2448. end
  2449. attack = false
  2450. con:disconnect()
  2451. end
  2452.  
  2453. function attacktwo()
  2454. attack = true
  2455. for i = 0,1,0.1 do
  2456. swait()
  2457. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-80)),.3)
  2458. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  2459. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.3)
  2460. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.5) * angles(math.rad(0), math.rad(-150), math.rad(-90)), 0.3)
  2461. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(-10)),.3)
  2462. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5)),.3)
  2463. end
  2464. so("http://roblox.com/asset/?id=200632211",LeftArm,1,.9)
  2465. local con = LeftArm.Touched:connect(function(hit) Damagefunc(hit,15,20,math.random(5,15),"Normal",RootPart,.2,1) end)
  2466. for i = 0,1,0.1 do
  2467. swait()
  2468. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(80)),.3)
  2469. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  2470. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.3)
  2471. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(-90)), 0.3)
  2472. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(-10)),.3)
  2473. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-5)),.3)
  2474. end
  2475. attack = false
  2476. con:disconnect()
  2477. end
  2478.  
  2479. --[[remiders: PBPART1,PBPART2,PBPOLE,PBNEEDLE,HITBOX ]]--
  2480.  
  2481. function attackthree()
  2482. attack = true
  2483. for i = 0,1,0.1 do
  2484. swait()
  2485. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  2486. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  2487. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.3)
  2488. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  2489. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  2490. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0)),.3)
  2491. end
  2492. local con = Hitbox.Touched:connect(function(hit) Damagefunc(hit,25,40,math.random(10,15),"Normal",RootPart,.2,1) end)
  2493. so("http://roblox.com/asset/?id=240429891",Hitbox,1,1)
  2494. so("http://roblox.com/asset/?id=240429289",Hitbox,1,1)
  2495. for i = 0,1,0.1 do
  2496. swait()
  2497. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  2498. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  2499. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  2500. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.3)
  2501. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(0)),.3)
  2502. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(0)),.3)
  2503. PBNeedleweld.C0=clerp(PBNeedleweld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2504. PBPoleweld.C0=clerp(PBPoleweld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2505. PBPart1weld.C0=clerp(PBPart1weld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2506. PBPart2weld.C0=clerp(PBPart2weld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2507. Hitboxweld.C0=clerp(Hitboxweld.C0,cf(0,-1.,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2508. end
  2509. attack = false
  2510. con:disconnect()
  2511. end
  2512.  
  2513. function attackfour()
  2514. attack = true
  2515. for i = 0,1,0.1 do
  2516. swait()
  2517. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-80)),.3)
  2518. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  2519. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(150), math.rad(90)), 0.3)
  2520. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-50)), 0.3)
  2521. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(-10)),.3)
  2522. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-5)),.3)
  2523. end
  2524. so("http://roblox.com/asset/?id=240429891",Hitbox,1,.9)
  2525. so("http://roblox.com/asset/?id=240429289",Hitbox,1,.8)
  2526. local con = Hitbox.Touched:connect(function(hit) Damagefunc(hit,25,40,math.random(10,15),"Normal",RootPart,.2,1) end)
  2527. for i = 0,1,0.1 do
  2528. swait()
  2529. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(80)),.3)
  2530. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  2531. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3)
  2532. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-80)), 0.3)
  2533. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(-10)),.3)
  2534. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-5)),.3)
  2535. PBNeedleweld.C0=clerp(PBNeedleweld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2536. PBPoleweld.C0=clerp(PBPoleweld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2537. PBPart1weld.C0=clerp(PBPart1weld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2538. PBPart2weld.C0=clerp(PBPart2weld.C0,cf(0,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2539. Hitboxweld.C0=clerp(Hitboxweld.C0,cf(0,-1.,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2540. end
  2541. attack = false
  2542. con:disconnect()
  2543. end
  2544.  
  2545. mouse.Button1Down:connect(function()
  2546. if attack == false and
  2547. attacktype == 1 then
  2548. attacktype = 2
  2549. attackone()
  2550. elseif attack == false and
  2551. attacktype == 2 then
  2552. attacktype = 3
  2553. attacktwo()
  2554. elseif attack == false and
  2555. attacktype == 3 then
  2556. attacktype = 4
  2557. attackthree()
  2558. elseif attack == false and
  2559. attacktype == 4 then
  2560. attacktype = 1
  2561. attackfour()
  2562. end
  2563. end)
  2564.  
  2565. mouse.KeyDown:connect(function(k)
  2566. k=k:lower()
  2567.  
  2568. end)
  2569.  
  2570.  
  2571. local sine = 0
  2572. local change = 1
  2573. local val = 0
  2574.  
  2575. while true do
  2576. swait()
  2577. sine = sine + change
  2578. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2579. local velderp=RootPart.Velocity.y
  2580. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2581. if equipped==true or equipped==false then
  2582. if attack==false then
  2583. idle=idle+1
  2584. else
  2585. idle=0
  2586. end
  2587. if idle>=500 then
  2588. if attack==false then
  2589. --Sheath()
  2590. end
  2591. end
  2592. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2593. Anim="Jump"
  2594. if attack==false then
  2595. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2596. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2597. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.3)
  2598. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  2599. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(10),math.rad(90),math.rad(0)),.3)
  2600. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-15),math.rad(-90),math.rad(0)),.3)
  2601. PBNeedleweld.C0=clerp(PBNeedleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2602. PBPoleweld.C0=clerp(PBPoleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2603. PBPart1weld.C0=clerp(PBPart1weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2604. PBPart2weld.C0=clerp(PBPart2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2605. Hitboxweld.C0=clerp(Hitboxweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  2606. end
  2607. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2608. Anim="Fall"
  2609. if attack==false then
  2610. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2611. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2612. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(30)), 0.3)
  2613. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-30)), 0.3)
  2614. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(20),math.rad(90),math.rad(0)),.3)
  2615. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-20),math.rad(-90),math.rad(0)),.3)
  2616. PBNeedleweld.C0=clerp(PBNeedleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2617. PBPoleweld.C0=clerp(PBPoleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2618. PBPart1weld.C0=clerp(PBPart1weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2619. PBPart2weld.C0=clerp(PBPart2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2620. Hitboxweld.C0=clerp(Hitboxweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2621. end
  2622. elseif torvel<1 and hitfloor~=nil then
  2623. Anim="Idle"
  2624. if attack==false then
  2625. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-20)),.3)
  2626. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  2627. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(20)), 0.3)
  2628. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  2629. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-10)),.3)
  2630. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-5)),.3)
  2631. PBNeedleweld.C0=clerp(PBNeedleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2632. PBPoleweld.C0=clerp(PBPoleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2633. PBPart1weld.C0=clerp(PBPart1weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2634. PBPart2weld.C0=clerp(PBPart2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2635. Hitboxweld.C0=clerp(Hitboxweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2636. end
  2637. elseif torvel>2 and hitfloor~=nil then
  2638. Anim="Walk"
  2639. if attack==false then
  2640. change=3
  2641. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2642. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2643. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(10)), 0.3)
  2644. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  2645. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-15)),.3)
  2646. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-15)),.3)
  2647. PBNeedleweld.C0=clerp(PBNeedleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2648. PBPoleweld.C0=clerp(PBPoleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2649. PBPart1weld.C0=clerp(PBPart1weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2650. PBPart2weld.C0=clerp(PBPart2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2651. Hitboxweld.C0=clerp(Hitboxweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2652. end
  2653. end
  2654. end
  2655. if #Effects>0 then
  2656. --table.insert(Effects,{prt,"Block1",delay})
  2657. for e=1,#Effects do
  2658. if Effects[e]~=nil then
  2659. --for j=1,#Effects[e] do
  2660. local Thing=Effects[e]
  2661. if Thing~=nil then
  2662. local Part=Thing[1]
  2663. local Mode=Thing[2]
  2664. local Delay=Thing[3]
  2665. local IncX=Thing[4]
  2666. local IncY=Thing[5]
  2667. local IncZ=Thing[6]
  2668. if Thing[1].Transparency<=1 then
  2669. if Thing[2]=="Block1" then
  2670. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2671. Mesh=Thing[1].Mesh
  2672. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2673. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2674. elseif Thing[2]=="Cylinder" then
  2675. Mesh=Thing[1].Mesh
  2676. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2677. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2678. elseif Thing[2]=="Blood" then
  2679. Mesh=Thing[7]
  2680. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2681. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2682. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2683. elseif Thing[2]=="Elec" then
  2684. Mesh=Thing[1].Mesh
  2685. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2686. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2687. elseif Thing[2]=="Disappear" then
  2688. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2689. end
  2690. else
  2691. Part.Parent=nil
  2692. table.remove(Effects,e)
  2693. end
  2694. end
  2695. --end
  2696. end
  2697. end
  2698. end
  2699. end
  2700.  
  2701.  
  2702. if #Effects>0 then
  2703. --table.insert(Effects,{prt,"Block1",delay})
  2704. for e=1,#Effects do
  2705. if Effects[e]~=nil then
  2706. --for j=1,#Effects[e] do
  2707. local Thing=Effects[e]
  2708. if Thing~=nil then
  2709. local Part=Thing[1]
  2710. local Mode=Thing[2]
  2711. local Delay=Thing[3]
  2712. local IncX=Thing[4]
  2713. local IncY=Thing[5]
  2714. local IncZ=Thing[6]
  2715. if Thing[1].Transparency<=1 then
  2716. if Thing[2]=="Block1" then
  2717. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2718. Mesh=Thing[1].Mesh
  2719. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2720. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2721. elseif Thing[2]=="Cylinder" then
  2722. Mesh=Thing[1].Mesh
  2723. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2724. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2725. elseif Thing[2]=="Blood" then
  2726. Mesh=Thing[7]
  2727. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2728. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2729. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2730. elseif Thing[2]=="Elec" then
  2731. Mesh=Thing[1].Mesh
  2732. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2733. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2734. elseif Thing[2]=="Disappear" then
  2735. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2736. end
  2737. else
  2738. Part.Parent=nil
  2739. table.remove(Effects,e)
  2740. end
  2741. end
  2742. --end
  2743. end
  2744. end
  2745. end
  2746. end
  2747. local player = game:GetService("Players").LocalPlayer
  2748. repeat
  2749. wait()
  2750. until player.Character
  2751. local char = player.Character
  2752. local torso = char:WaitForChild("Torso")
  2753. local mouse = player:GetMouse()
  2754. local color = BrickColor.new("Really black")
  2755. local material = "Neon"
  2756. local trans = 0.5
  2757. local debounce = false
  2758. for u,c in pairs(player.Character:GetChildren()) do
  2759. if c.className == "Hat" and c.Name ~= "Hybrid Goggles" then
  2760. c.Handle.BrickColor = BrickColor.new("Really black")
  2761. c.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=0"
  2762. end
  2763. end
  2764. blast = function()
  2765.  
  2766. local b = Instance.new("Part", workspace)
  2767. game.Debris:AddItem(b, 2)
  2768. b.Size = Vector3.new(5, 5, 5)
  2769. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  2770. b.TopSurface = "Smooth"
  2771. b.BottomSurface = "Smooth"
  2772. b.CanCollide = false
  2773. b.BrickColor = color
  2774. b.Transparency = trans
  2775. b.Material = material
  2776. local v = Instance.new("BodyVelocity", b)
  2777. v.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  2778. v.Velocity = torso.CFrame.lookVector * 50
  2779. r = Instance.new("BodyAngularVelocity", b)
  2780. r.AngularVelocity = Vector3.new(25, 25, 25)
  2781. b.Touched:connect(function(hit)
  2782.  
  2783. p = hit.Parent
  2784. if p and p:FindFirstChild("Humanoid") and p.Name ~= player.Name then
  2785. b:Remove()
  2786. p.Humanoid:TakeDamage(35)
  2787. end
  2788. end
  2789. )
  2790. end
  2791.  
  2792. death = function()
  2793.  
  2794. local b = Instance.new("Part", workspace)
  2795. game.Debris:AddItem(b, 2)
  2796. b.Size = Vector3.new(5, 5, 5)
  2797. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  2798. b.TopSurface = "Smooth"
  2799. b.BottomSurface = "Smooth"
  2800. b.CanCollide = false
  2801. b.BrickColor = color
  2802. b.Transparency = trans
  2803. b.Material = material
  2804. local v = Instance.new("BodyVelocity", b)
  2805. v.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  2806. v.Velocity = torso.CFrame.lookVector * 50
  2807. r = Instance.new("BodyAngularVelocity", b)
  2808. r.AngularVelocity = Vector3.new(25, 25, 25)
  2809. b.Touched:connect(function(hit)
  2810.  
  2811. p = hit
  2812. if p and p.Name ~= "Base" and p.Name ~= player.Name then
  2813. p:Remove()
  2814. end
  2815. end
  2816. )
  2817. end
  2818.  
  2819. wall = function()
  2820.  
  2821. local b = Instance.new("Part", workspace)
  2822. game.Debris:AddItem(b, 5)
  2823. b.Size = Vector3.new(1, 1, 1)
  2824. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  2825. b.TopSurface = "Smooth"
  2826. b.BottomSurface = "Smooth"
  2827. b.CanCollide = false
  2828. b.Anchored = true
  2829. b.BrickColor = color
  2830. b.Transparency = trans
  2831. b.Material = material
  2832. for i = 1, 50 do
  2833. wait()
  2834. b.CFrame = torso.CFrame * CFrame.new(0, 0, -5)
  2835. b.Size = b.Size + Vector3.new(0.5, 0.5, 0)
  2836. end
  2837. b.CanCollide = true
  2838. b.Touched:connect(function(hit)
  2839.  
  2840. p = hit.Parent
  2841. if p and p:FindFirstChild("Humanoid") and p.Name ~= player.Name then
  2842. p.Humanoid:TakeDamage(5)
  2843. end
  2844. end
  2845. )
  2846. end
  2847.  
  2848. fade = function()
  2849.  
  2850. for i,v in pairs(char:GetChildren()) do
  2851. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  2852. v.Transparency = 0.5
  2853. end
  2854. end
  2855. for i,v in pairs(char:GetChildren()) do
  2856. if v.className == "Hat" then
  2857. v.Handle.Transparency = 0.5
  2858. end
  2859. end
  2860. end
  2861.  
  2862. unfade = function()
  2863.  
  2864. for i,v in pairs(char:GetChildren()) do
  2865. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  2866. v.Transparency = 0
  2867. end
  2868. end
  2869. for i,v in pairs(char:GetChildren()) do
  2870. if v.className == "Hat" then
  2871. v.Handle.Transparency = 0
  2872. end
  2873. end
  2874. end
  2875.  
  2876. dash = function(x)
  2877.  
  2878. b = Instance.new("Part", workspace)
  2879. game.Debris:AddItem(b, 0.7)
  2880. b.Size = Vector3.new(3, 3, 3)
  2881. b.BrickColor = color
  2882. b.Material = material
  2883. b.CanCollide = false
  2884. b.CFrame = torso.CFrame * x
  2885. t = Instance.new("BodyVelocity", b)
  2886. r = Instance.new("BodyAngularVelocity", b)
  2887. r.AngularVelocity = Vector3.new(15, 15, 15)
  2888. for i = 1, 5 do
  2889. wait()
  2890. b.Transparency = b.Transparency + 0.1
  2891. torso.CFrame = torso.CFrame * CFrame.new(0, 0, -1)
  2892. end
  2893. end
  2894.  
  2895. mouse.KeyDown:connect(function(key)
  2896.  
  2897. if key == "v" then
  2898. holding = true
  2899. fade()
  2900. while holding and wait(0.01) do
  2901. dash(CFrame.new(2, 1, 0))
  2902. dash(CFrame.new(-2, -1, 1))
  2903. dash(CFrame.new(0, 1, 3))
  2904. end
  2905. end
  2906. end
  2907. )
  2908. mouse.KeyUp:connect(function(key)
  2909.  
  2910. if key == "v" then
  2911. unfade()
  2912. holding = false
  2913. end
  2914. end
  2915. )
  2916. mouse.KeyDown:connect(function(key)
  2917.  
  2918. if key == "e" and debounce == false then
  2919. debounce = true
  2920. blast()
  2921. wait(0.5)
  2922. debounce = false
  2923. end
  2924. end
  2925. )
  2926. mouse.KeyDown:connect(function(key)
  2927.  
  2928. if key == "q" and debounce == false then
  2929. debounce = true
  2930. wall()
  2931. wait(0.5)
  2932. debounce = false
  2933. end
  2934. end
  2935. )
  2936. mouse.KeyDown:connect(function(key)
  2937.  
  2938. if key == "t" and debounce == false then
  2939. debounce = true
  2940. death()
  2941. wait(0.5)
  2942. debounce = false
  2943. end
  2944. end
  2945. )
  2946.  
  2947. local player = game.Players.LocalPlayer
  2948. repeat wait() until player.Character;
  2949. local rs = game:GetService("RunService").RenderStepped
  2950. local char = player.Character
  2951. local HRP = char.HumanoidRootPart
  2952. local Head = char.Head
  2953. local tents = {}
  2954. function getValue(p, x)
  2955. return p[2] + 0.5 * x*(p[3] - p[1] + x*(2.0*p[1] - 5.0*p[2] + 4.0*p[3] - p[4] + x*(3.0*(p[2] - p[3]) + p[4] - p[1])))
  2956. end
  2957. function getV3Cubic(tabl,perc)
  2958. local x,y,z = {},{},{}
  2959. if perc >= 2 then
  2960. perc = perc %1
  2961. for i = 3, 6 do
  2962. table.insert(x,tabl[i].x)
  2963. table.insert(y,tabl[i].y)
  2964. table.insert(z,tabl[i].z)
  2965. end
  2966. elseif perc >= 1 then
  2967. perc = perc %1
  2968. for i = 2, 5 do
  2969. table.insert(x,tabl[i].x)
  2970. table.insert(y,tabl[i].y)
  2971. table.insert(z,tabl[i].z)
  2972. end
  2973. else
  2974. for i = 1, 4 do
  2975. table.insert(x,tabl[i].x)
  2976. table.insert(y,tabl[i].y)
  2977. table.insert(z,tabl[i].z)
  2978. end
  2979. end
  2980. local X,Y,Z = getValue(x,perc),getValue(y,perc),getValue(z,perc)
  2981. return Vector3.new(X,Y,Z)
  2982. end
  2983. local rainbow = {"Institutional white","Institutional white","Institutional white","Institutional white","Institutional white","Institutional white","Institutional white","Institutional white","Institutional white"}
  2984. local rainbowCount = 1
  2985. local isRainbow = true
  2986. for i = 0, 4 do
  2987. local m = Instance.new("Model",char)
  2988. m.Name = "Tentac00l"
  2989. local parts = {}
  2990. local lastpart = Head
  2991. local defC0
  2992. rainbowCount = 1
  2993. for j = 0, 8 do
  2994. local sizex = 0.25 - 0.2 * (j/8)
  2995. local sizey = (15/8) - (9/8) * (j/8)
  2996. local p = Instance.new("Part")
  2997. p.Size = Vector3.new(0.2,0.2,0.2)
  2998. p.BrickColor = BrickColor.new("Really black")
  2999. p.TopSurface = 0
  3000. p.BottomSurface = 0
  3001. p.CanCollide = false
  3002. p.Material = "SmoothPlastic"
  3003. p.TopSurface = 0
  3004. p.BottomSurface = 0
  3005. local mesh = Instance.new("CylinderMesh",p)
  3006. mesh.Name = "CyMesh"
  3007. mesh.Scale = Vector3.new(sizex,sizey,sizex) *5
  3008. p.Parent = m
  3009. local p2 = p:Clone()
  3010. p2.Parent = m
  3011. p2.CyMesh.Scale = p2.CyMesh.Scale + Vector3.new(0.075,0.001,0.075) * 5
  3012. p2.Material = "Neon"
  3013. if isRainbow then
  3014. p2.BrickColor = BrickColor.new(tostring(rainbow[rainbowCount]))
  3015. else
  3016. p2.BrickColor = BrickColor.new(j%2 == 1 and "Toothpaste" or "Electric blue")
  3017. end
  3018. rainbowCount = rainbowCount + 1
  3019. p2.Transparency = 0.35
  3020. local w2 = Instance.new("Weld",p)
  3021. w2.Parent = p2
  3022. w2.Part0 = p
  3023. w2.Part1 = p2
  3024. local w = Instance.new("Weld",p)
  3025. w.Parent = p
  3026. w.Part0 = lastpart
  3027. w.Part1 = p
  3028. if j == 0 then
  3029. w.C0 = CFrame.Angles(0,math.rad(-10 + 200 * i/4),math.rad(-30 + (i%2==0 and 96 or 70))) * CFrame.new(0,0.6,0)
  3030. w.C1 = CFrame.new(0,-0.125,0)
  3031. defC0 = w.C0
  3032. else
  3033. w.C0 = CFrame.new(0,lastpart.CyMesh.Scale.y/10,0)
  3034. w.C1 = CFrame.new(0,-sizey/2,0)
  3035. end
  3036. table.insert(parts,{p,w,p2})
  3037. lastpart = p
  3038. rs:wait()
  3039. end
  3040. local randoms = {Vector3.new(0,0,0),
  3041. Vector3.new(math.random(-28,28)/100,math.random(-42,42)/100,math.random(-28,28)/100),
  3042. Vector3.new(math.random(-28,28)/100,math.random(-42,42)/100,math.random(-28,28)/100),
  3043. Vector3.new(math.random(-28,28)/100,math.random(-42,42)/100,math.random(-28,28)/100);
  3044. Vector3.new(math.random(-28,28)/100,math.random(-42,42)/100,math.random(-28,28)/100);
  3045. Vector3.new(math.random(-28,28)/100,math.random(-42,42)/100,math.random(-28,28)/100);
  3046. }
  3047. table.insert(tents,{0,randoms,parts,defC0})
  3048. end
  3049. player.Chatted:connect(function(msg)
  3050. if string.sub(msg:lower(),1,4) == "col/" then
  3051. for i, v in pairs(tents) do
  3052. for j, o in pairs(v[3]) do
  3053. o[3].BrickColor = BrickColor.new(string.sub(msg,5))
  3054. end
  3055. end
  3056. elseif string.sub(msg:lower(),1,7) == "/e col/" then
  3057. for i, v in pairs(tents) do
  3058. for j, o in pairs(v[3]) do
  3059. o[3].BrickColor = BrickColor.new(string.sub(msg,8))
  3060. end
  3061. end
  3062. end
  3063. end)
  3064. rs:connect(function()
  3065. for i, v in pairs(tents) do
  3066. v[1] = v[1] %200 + 1
  3067. if v[1] == 1 then
  3068. v[2][1] = v[2][2]
  3069. v[2][2] = v[2][3]
  3070. v[2][3] = v[2][4]
  3071. v[2][4] = v[2][5]
  3072. v[2][5] = v[2][6]
  3073. v[2][6] = Vector3.new(math.random(-28,28)/100,math.random(-42,42)/100,math.random(-28,28)/100)
  3074. end
  3075. local p0 = v[2][1]
  3076. local p1 = v[2][2]
  3077. local p2 = v[2][3]
  3078. local p3 = v[2][4]
  3079. local p4 = v[2][5]
  3080. local p5 = v[2][6]
  3081. local arr = {p0,p1,p2,p3,p4,p5}
  3082. local dir = i%2 == 0 and 1 or -1
  3083. for j, V in pairs(v[3]) do
  3084. local val = math.sin(math.pi/2 * 2 * (((v[1] + (100 * j/#v[3])*dir) % 100)/100))
  3085. local off = getV3Cubic(arr,(v[1] + 340*(j/#v[3]))/200)
  3086. V[3].Transparency = 0.12 + val * 0.65
  3087. if j == 1 then
  3088. V[2].C0 = v[4] * CFrame.Angles(off.x*2,off.y*2,off.z*2)
  3089. else
  3090. V[2].C0 = CFrame.new(0,V[2].C0.y,0) * CFrame.Angles(off.x*2 * (1 + 0.75 * (j/#v[3])),off.y*2 * (1 + 0.75 * (j/#v[3])),off.z*2 * (1 + 0.75 * (j/#v[3])))
  3091. end
  3092. end
  3093. end
  3094. end)
  3095.  
  3096. -- params : ...
  3097.  
  3098. Model = Instance.new("Model", game.Workspace)
  3099. Model.Name = "ShadowFigs"
  3100. Model.ChildAdded:connect(function(Child)
  3101.  
  3102. wait(0.2)
  3103. if Child.Name == "ShadowClone" and Child.Name ~= "HoverBlocks" then
  3104. local Light = Instance.new("PointLight", Child.Torso)
  3105. Light.Color = Color3.new(1, 1, 1)
  3106. Light.Range = 10
  3107. Light.Brightness = 2
  3108. Light.Shadows = true
  3109. for t = 1, 5 do
  3110. wait(0.1)
  3111. for i = 1, #Child:GetChildren() do
  3112. Child:GetChildren()[i].Transparency = t / 10 + 0.5
  3113. end
  3114. end
  3115. Child:remove()
  3116. end
  3117. end
  3118. )
  3119. Parts = {"Head", "Torso", "Left Arm", "Left Leg", "Right Arm", "Right Leg"}
  3120. repeat
  3121. wait()
  3122. until game.Players.LocalPlayer
  3123. Plr = game.Players.LocalPlayer
  3124. PlrChildren = Plr:GetChildren()
  3125. Plr.Character.Humanoid.WalkSpeed = 32
  3126. for i = 1, #PlrChildren do
  3127. print(PlrChildren[i])
  3128. end
  3129. do
  3130. while 1 do
  3131. Posit = Plr.Character.HumanoidRootPart.Position
  3132. wait(0.1)
  3133. if Plr.Character.HumanoidRootPart.Position == Posit or Plr.Character.Humanoid.WalkSpeed == 32 then
  3134. Set = Instance.new("Model", game.Workspace.ShadowFigs)
  3135. Set.Name = "ShadowClone"
  3136. for i = 1, #Parts do
  3137. PartClone = Plr.Character[Parts[i]]:Clone()
  3138. RotationX = math.rad(Plr.Character[Parts[i]].Rotation.X)
  3139. RotationY = math.rad(Plr.Character[Parts[i]].Rotation.Y)
  3140. RotationZ = math.rad(Plr.Character[Parts[i]].Rotation.Z)
  3141. PartClone.CFrame = CFrame.new(Plr.Character[Parts[i]].Position) * CFrame.Angles(RotationX, RotationY, RotationZ)
  3142. PartClone.Parent = Set
  3143. PartClone.Anchored = true
  3144. PartClone.CanCollide = false
  3145. PartClone.Transparency = 0.7
  3146. PartClone.Material = "Neon"
  3147. PartClone.BrickColor = BrickColor.new("White")
  3148. if PartClone.Name == "Head" or PartClone.Name == "Torso" then
  3149. Children = PartClone:GetChildren()
  3150. for i = 1, #Children do
  3151. if Children[i].ClassName ~= "Mesh" and Children[i].ClassName ~= "SpecialMesh" then
  3152. Children[i]:remove()
  3153. end
  3154. end
  3155. end
  3156. end
  3157. end
  3158. end
  3159. end
  3160. DeathClaw = New("Model",Character,"DeathClaw",{})
  3161. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 1.301, 1.00999999),CFrame = CFrame.new(-8.18999767, 2.64003253, -8.10000992, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3162. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(2.86102295e-06, -0.359999895, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3163. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.550000012, 0.25999999),CFrame = CFrame.new(-7.58999872, 2.16453266, -8.08500957, -9.61124897e-07, 6.97365886e-06, -1, 9.77374555e-08, 1, 6.97365886e-06, 1, -9.77312951e-08, -9.61124897e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3164. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3165. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -9.61124897e-07, 9.77374413e-08, 1, 6.97365886e-06, 1, -9.77313022e-08, -1, 6.97365886e-06, -9.61124897e-07),C1 = CFrame.new(0.600004673, -0.835495472, 0.0150003433, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3166. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.25000003, 0.25999999),CFrame = CFrame.new(-7.58999777, 1.77453327, -8.08500767, 9.61683781e-07, -6.97418636e-06, -1, 1.04010105e-05, -1, 6.97419773e-06, -1.00000036, -1.0356307e-05, -9.61610908e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3167. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3168. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 9.61683781e-07, 1.04010105e-05, -1.00000036, -6.97418636e-06, -1, -1.0356307e-05, -1, 6.97419773e-06, -9.61610908e-07),C1 = CFrame.new(0.600008488, -1.22549498, 0.0150022507, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3169. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.550000012, 0.25999999),CFrame = CFrame.new(-8.18999958, 2.16453195, -7.51500511, -1, -1.86969225e-14, 0, 1.86969208e-14, 1, -1.42108547e-14, 0, 1.42108547e-14, -1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3170. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3171. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1, 1.86969208e-14, 0, -1.86969208e-14, 1, 7.10542736e-15, 0, -7.10542736e-15, -1),C1 = CFrame.new(3.81469727e-06, -0.835500479, 0.585004807, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3172. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.25000003, 0.25999999),CFrame = CFrame.new(-8.18999767, 1.77453327, -7.51500511, 1, 1.86969225e-14, 0, -1.86969208e-14, -1, -1.42108547e-14, 0, -1.42108547e-14, -1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3173. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3174. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -1.86969208e-14, 0, 1.86969208e-14, -1, -7.10542736e-15, 0, -7.10542736e-15, -1),C1 = CFrame.new(8.58306885e-06, -1.22549915, 0.585004807, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3175. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.550000012, 0.25999999),CFrame = CFrame.new(-8.77497768, 2.16453099, -8.06999302, 0, -1.86969225e-14, 1, -1.42108547e-14, 1, -1.86969208e-14, -1, 1.42108547e-14, 0),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3176. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3177. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, -7.10542736e-15, -1, -1.86969208e-14, 1, 7.10542736e-15, 1, -1.86969208e-14, 0),C1 = CFrame.new(-0.584974289, -0.835505486, 0.0300168991, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3178. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.25000003, 0.25999999),CFrame = CFrame.new(-8.77498817, 1.77453351, -8.06999683, 0, 1.86969225e-14, 1, 1.42108547e-14, -1, -1.86969208e-14, 1, -1.42108547e-14, 0),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3179. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3180. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 7.10542736e-15, 1, 1.86969208e-14, -1, -7.10542736e-15, 1, -1.86969208e-14, 0),C1 = CFrame.new(-0.584981918, -1.22550297, 0.0300130844, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3181. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.25000003, 0.25999999),CFrame = CFrame.new(-8.17498684, 1.77453244, -8.6399889, -1, 1.86969225e-14, 0, 1.86969208e-14, -1, 1.42108547e-14, 0, -1.42108547e-14, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3182. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3183. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1, 1.86969208e-14, 0, 1.86969208e-14, -1, -7.10542736e-15, 0, 7.10542736e-15, 1),C1 = CFrame.new(0.0150194168, -1.22549987, -0.539978981, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3184. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.550000012, 0.25999999),CFrame = CFrame.new(-8.17498493, 2.16453147, -8.63999176, 1, -1.86969225e-14, 0, -1.86969208e-14, 1, 1.42108547e-14, 0, 1.42108547e-14, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3185. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3186. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -1.86969208e-14, 0, -1.86969208e-14, 1, 7.10542736e-15, 0, 7.10542736e-15, 1),C1 = CFrame.new(0.0150184631, -0.835500717, -0.539981842, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3187. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.550999999, 1.00999999),CFrame = CFrame.new(-8.19000053, 1.96503329, -8.10000992, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3188. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(4.76837158e-06, -1.03499913, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3189. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.5, 0.5),CFrame = CFrame.new(-8.19000053, 1.78503358, -8.10000992, -4.37112426e-08, -1, 0, 1, -4.37112071e-08, 1.42108547e-14, 1.42108547e-14, 0, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
  3190. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Cylinder,})
  3191. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -4.37112426e-08, 1, 7.10542736e-15, -1, -4.37112071e-08, 0, 0, 7.10542736e-15, 1),C1 = CFrame.new(5.7220459e-06, -1.21499884, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3192. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.879999995, 0.25999999),CFrame = CFrame.new(-8.80498791, 3.55953217, -8.09999657, 0, 1.86969225e-14, 1, 1.42108547e-14, -1, -1.86969208e-14, 1, -1.42108547e-14, 0),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3193. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3194. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0, 7.10542736e-15, 1, 1.86969208e-14, -1, -7.10542736e-15, 1, -1.86969208e-14, 0),C1 = CFrame.new(-0.614994049, 0.559495449, 1.33514404e-05, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3195. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.610000014, 0.559999943),CFrame = CFrame.new(-8.65498829, 4.29453278, -8.09999752, -3.88175249e-06, 6.16863917e-06, 1.00000167, -7.53802908e-07, 1, -6.168651e-06, -1.00000167, -7.53825816e-07, -3.88175249e-06),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3196. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3197. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -3.88175249e-06, -7.53802908e-07, -1.00000167, 6.16863917e-06, 1, -7.53825816e-07, 1.00000167, -6.168651e-06, -3.88175249e-06),C1 = CFrame.new(-0.464999199, 1.29449725, 1.23977661e-05, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3198. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.610000014, 0.559999943),CFrame = CFrame.new(-8.11498737, 4.29453278, -8.09999752, -1.78813934e-07, 6.16862235e-06, -1.00000012, 7.53896074e-07, 1, 6.16862371e-06, 1.00000012, -7.53894938e-07, -1.78813934e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3199. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3200. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1.78813934e-07, 7.53896074e-07, 1.00000012, 6.16862235e-06, 1, -7.53894938e-07, -1.00000012, 6.16862371e-06, -1.78813934e-07),C1 = CFrame.new(0.0750017166, 1.29450107, 1.23977661e-05, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3201. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.370000005, 0.73999989),CFrame = CFrame.new(-8.02498817, 4.17453337, -8.09999752, -1.78813934e-07, 6.16862235e-06, -1.00000012, 7.53896074e-07, 1, 6.16862371e-06, 1.00000012, -7.53894938e-07, -1.78813934e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3202. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3203. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1.78813934e-07, 7.53896074e-07, 1.00000012, 6.16862235e-06, 1, -7.53894938e-07, -1.00000012, 6.16862371e-06, -1.78813934e-07),C1 = CFrame.new(0.165000916, 1.17450213, 1.23977661e-05, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3204. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.789999962, 0.200000003),CFrame = CFrame.new(-7.90498638, 4.38453436, -7.69499397, -1.78996103e-07, 0.342027485, -0.939698875, 7.53943937e-07, 0.939689457, 0.342029005, 1.00000966, -6.47293803e-07, -4.25697635e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3205. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3206. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1.78996103e-07, 7.53943937e-07, 1.00000966, 0.342027485, 0.939689457, -6.47293803e-07, -0.939698875, 0.342029005, -4.25697635e-07),C1 = CFrame.new(0.285001755, 1.38450408, 0.405015945, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3207. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.789999962, 0.200000003),CFrame = CFrame.new(-7.90498638, 4.38453436, -8.5049963, -1.78996103e-07, 0.342027485, -0.939698875, 7.53943937e-07, 0.939689457, 0.342029005, 1.00000966, -6.47293803e-07, -4.25697635e-07),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3208. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3209. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -1.78996103e-07, 7.53943937e-07, 1.00000966, 0.342027485, 0.939689457, -6.47293803e-07, -0.939698875, 0.342029005, -4.25697635e-07),C1 = CFrame.new(0.285001755, 1.38450408, -0.404986382, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3210. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.789999962, 0.439999998),CFrame = CFrame.new(-8.22774792, 4.42557859, -8.5049963, -3.11434269e-06, 0.34202829, 0.939689755, 8.30739737e-07, 0.939689636, -0.342028916, -1.00000107, -3.18491402e-07, -3.46451998e-06),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3211. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3212. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -3.11434269e-06, 8.30739737e-07, -1.00000107, 0.34202829, 0.939689636, -3.18491402e-07, 0.939689755, -0.342028916, -3.46451998e-06),C1 = CFrame.new(-0.0377607346, 1.42554593, -0.404986382, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3213. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.789999962, 0.439999998),CFrame = CFrame.new(-8.22774982, 4.42557859, -7.69499588, -3.11434269e-06, 0.34202829, 0.939689755, 8.30739737e-07, 0.939689636, -0.342028916, -1.00000107, -3.18491402e-07, -3.46451998e-06),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3214. Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
  3215. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -3.11434269e-06, 8.30739737e-07, -1.00000107, 0.34202829, 0.939689636, -3.18491402e-07, 0.939689755, -0.342028916, -3.46451998e-06),C1 = CFrame.new(-0.0377616882, 1.42554593, 0.405014038, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3216. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.201000005, 0.550999999, 0.200000003),CFrame = CFrame.new(-8.59500027, 2.89503574, -8.1300106, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
  3217. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.400999993),MeshType = Enum.MeshType.Brick,})
  3218. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(-0.40500164, -0.104999542, -0.0300006866, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3219. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.201000005, 0.281000018, 0.200000003),CFrame = CFrame.new(-8.59499931, 3.06003571, -8.04001141, 1, 6.13489965e-06, 3.32129116e-06, -6.97362293e-06, 0.866024673, 0.500001252, 1.91137516e-07, -0.500001252, 0.866024673),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
  3220. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.400999993),MeshType = Enum.MeshType.Brick,})
  3221. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91137516e-07, 6.13489919e-06, 0.866024673, -0.500001252, 3.32129093e-06, 0.500001252, 0.866024673),C1 = CFrame.new(-0.40500164, 0.0600004196, 0.0599985123, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3222. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.201000005, 0.281000018, 0.200000003),CFrame = CFrame.new(-8.59499931, 2.73003602, -8.04001141, 1, 5.94368294e-06, -3.65236247e-06, -6.97355335e-06, 0.866026044, -0.500001729, 1.91185379e-07, 0.500001729, 0.866026044),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
  3223. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.400999993),MeshType = Enum.MeshType.Brick,})
  3224. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97355335e-06, 1.91185379e-07, 5.94368294e-06, 0.866026044, 0.500001729, -3.65236247e-06, -0.500001729, 0.866026044),C1 = CFrame.new(-0.404999733, -0.269999266, 0.0599985123, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3225. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.201000005, 0.200000003, 0.200000003),CFrame = CFrame.new(-8.59499931, 2.89053583, -7.98001146, 1, 6.97355881e-06, -1.91176355e-07, -6.97355881e-06, 1, 1.86264515e-07, 1.91177477e-07, -1.86264515e-07, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
  3226. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.400999993),MeshType = Enum.MeshType.Brick,})
  3227. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97355881e-06, 1.91177477e-07, 6.97355881e-06, 1, -1.86264515e-07, -1.91176355e-07, 1.86264515e-07, 1),C1 = CFrame.new(-0.405000687, -0.109499454, 0.119998455, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3228. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300000012, 1.73000002, 0.300000012),CFrame = CFrame.new(-7.64528942, 2.08194613, -7.50872564, 0.57357645, -0.409576029, 0.709406495, 2.84217094e-14, 0.866025388, 0.5, -0.819152057, -0.286788225, 0.496731758),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3229. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.57357645, 2.84217094e-14, -0.819152057, -0.409576029, 0.866025388, -0.286788225, 0.709406495, 0.5, 0.496731758),C1 = CFrame.new(0.544714928, -0.918082476, 0.591284275, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3230. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-7.46966791, 1.04344952, -7.39113998, 0.573576868, 0.469845414, 0.671012759, -2.96045641e-07, 0.81915319, -0.573575616, -0.819153547, 0.328988761, 0.469848096),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3231. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.573576868, -2.96045414e-07, -0.819153547, 0.469845414, 0.81915319, 0.328988761, 0.671012759, -0.573575616, 0.469848096),C1 = CFrame.new(0.72034359, -1.95657802, 0.708869457, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3232. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-7.72338438, 0.601107359, -7.56879187, 0.573576868, 0.469845414, 0.671012759, -2.96045641e-07, 0.81915319, -0.573575616, -0.819153547, 0.328988761, 0.469848096),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
  3233. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.25, 0.899999976, 0.25),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,})
  3234. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.573576868, -2.96045414e-07, -0.819153547, 0.469845414, 0.81915319, 0.328988761, 0.671012759, -0.573575616, 0.469848096),C1 = CFrame.new(0.466629982, -2.39892173, 0.531217575, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3235. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300000012, 1.73000002, 0.300000012),CFrame = CFrame.new(-7.68504524, 2.08194637, -8.59320354, -0.707107365, -0.353553772, 0.612371683, -5.68434189e-14, 0.866024971, 0.500000894, -0.707106352, 0.353554249, -0.612372518),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3236. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.707107365, -5.68434189e-14, -0.707106352, -0.353553772, 0.866024971, 0.353554249, 0.612371683, 0.500000894, -0.612372518),C1 = CFrame.new(0.50495863, -0.918082476, -0.493193626, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3237. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-7.53874874, 1.0434494, -8.74573803, -0.707107365, 0.405578643, 0.579228163, -5.68434189e-14, 0.819152892, -0.573575258, -0.707106352, -0.405579239, -0.579228997),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3238. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.707107365, -5.68434189e-14, -0.707106352, 0.405578643, 0.819152892, -0.405579239, 0.579228163, -0.573575258, -0.579228997),C1 = CFrame.new(0.651262283, -1.95657837, -0.645728111, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3239. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-7.75776386, 0.601107359, -8.52672577, -0.707107365, 0.405578643, 0.579228163, -5.68434189e-14, 0.819152892, -0.573575258, -0.707106352, -0.405579239, -0.579228997),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
  3240. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.25, 0.899999976, 0.25),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,})
  3241. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.707107365, -5.68434189e-14, -0.707106352, 0.405578643, 0.819152892, -0.405579239, 0.579228163, -0.573575258, -0.579228997),C1 = CFrame.new(0.4322505, -2.39892197, -0.426715851, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3242. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Reflectance = 0.097999997437,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.01100004, 0.200000003, 1.01100004),CFrame = CFrame.new(-8.1899929, 3.28953266, -8.10000992, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
  3243. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(2.86102295e-06, 0.289500237, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3244. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.Neon,Reflectance = 0.097999997437,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.01100004, 0.200000003, 1.01100004),CFrame = CFrame.new(-8.18999863, 2.47953296, -8.10000992, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
  3245. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(2.86102295e-06, -0.520499468, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3246. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Reflectance = 0.097999997437,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(1.00999999, 0.731000006, 1.00999999),CFrame = CFrame.new(-8.189991, 3.64503241, -8.10000992, 1, 6.97362293e-06, -1.91137744e-07, -6.97362293e-06, 1, 9.7819111e-08, 1.91138426e-07, -9.78177397e-08, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3247. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177468e-08, -1.91137744e-07, 9.78191039e-08, 1),C1 = CFrame.new(1.90734863e-06, 0.644999981, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3248. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 0.699999988, 0.699999988),CFrame = CFrame.new(-8.19000053, 1.78503358, -8.10000992, -4.37112426e-08, -1, 0, 1, -4.37112071e-08, 1.42108547e-14, 1.42108547e-14, 0, 1),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  3249. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.980000019, 1, 1),MeshType = Enum.MeshType.Cylinder,})
  3250. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -4.37112426e-08, 1, 7.10542736e-15, -1, -4.37112071e-08, 0, 0, 7.10542736e-15, 1),C1 = CFrame.new(5.7220459e-06, -1.21499884, 0, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3251. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300000012, 1.73000002, 0.300000012),CFrame = CFrame.new(-8.76894283, 2.02194643, -8.5701561, -0.573575079, 0.409577131, -0.709406972, -3.83693077e-13, 0.86602509, 0.500000715, 0.81915313, 0.286787927, -0.496730298),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3252. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.573575079, 0, 0.81915313, 0.409577131, 0.86602509, 0.286787927, -0.709406972, 0.500000715, -0.496730298),C1 = CFrame.new(-0.578938484, -0.978090048, -0.470146179, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3253. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-8.94456291, 0.983449459, -8.68774033, -0.573575079, -0.4698461, -0.671011448, -3.83693077e-13, 0.819152832, -0.573575437, 0.81915313, -0.328988582, -0.469845563),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3254. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.573575079, 0, 0.81915313, -0.4698461, 0.819152832, -0.328988582, -0.671011448, -0.573575437, -0.469845563),C1 = CFrame.new(-0.754550934, -2.01658821, -0.587730408, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3255. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-8.69085026, 0.541107416, -8.51008987, -0.573575079, -0.4698461, -0.671011448, -3.83693077e-13, 0.819152832, -0.573575437, 0.81915313, -0.328988582, -0.469845563),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
  3256. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.25, 0.899999976, 0.25),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,})
  3257. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.573575079, 0, 0.81915313, -0.4698461, 0.819152832, -0.328988582, -0.671011448, -0.573575437, -0.469845563),C1 = CFrame.new(-0.500835419, -2.45892859, -0.410079956, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3258. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-8.8754797, 0.983449221, -7.33314657, 0.707107365, -0.405578345, -0.579228342, 5.68434189e-14, 0.819153309, -0.573574781, 0.707106352, 0.405578941, 0.579229236),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3259. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.707107365, 0, 0.707106352, -0.405578345, 0.819153309, 0.405578941, -0.579228342, -0.573574781, 0.579229236),C1 = CFrame.new(-0.68546772, -2.01658797, 0.766863346, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3260. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really red"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(-8.65646744, 0.541107178, -7.55215645, 0.707107365, -0.405578345, -0.579228342, 5.68434189e-14, 0.819153309, -0.573574781, 0.707106352, 0.405578941, 0.579229236),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(1, 0, 0),})
  3261. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.25, 0.899999976, 0.25),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,})
  3262. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.707107365, 0, 0.707106352, -0.405578345, 0.819153309, 0.405578941, -0.579228342, -0.573574781, 0.579229236),C1 = CFrame.new(-0.466452599, -2.45892859, 0.54785347, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
  3263. Part = New("Part",DeathClaw,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.300000012, 1.73000002, 0.300000012),CFrame = CFrame.new(-8.72918701, 2.02194619, -7.48567963, 0.707107365, 0.353553772, -0.612371683, 5.68434189e-14, 0.866024971, 0.500000834, 0.707106352, -0.353554249, 0.612372518),CanCollide = false,Locked = true,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  3264. mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 0.707107365, 0, 0.707106352, 0.353553772, 0.866024971, -0.353554249, -0.612371683, 0.500000834, 0.612372518),C1 = CFrame.new(-0.539182663, -0.978090048, 0.614330292, 1, -6.97362293e-06, 1.91138426e-07, 6.97362293e-06, 1, -9.78177539e-08, -1.91137744e-07, 9.78190968e-08, 1),})
Add Comment
Please, Sign In to add comment