Advertisement
Guy23

Untitled

Oct 17th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.12 KB | None | 0 0
  1. --[[
  2.  
  3. Made by Cronizete
  4. Cronnie#8709
  5.  
  6. --]]
  7.  
  8. plr = game:service'Players'.LocalPlayer
  9. char = plr.Character
  10.  
  11. local RenderStepped=game:service'RunService'.RenderStepped
  12. local oldpos
  13.  
  14. local bg = Instance.new("BodyGyro", script)
  15. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  16. bg.P = 10000
  17. bg.D = 100
  18.  
  19. --// Gunbai
  20.  
  21. m = Instance.new('Model', char)
  22. m.Name = "Gumbai"
  23.  
  24. Bar = Instance.new("Part",m)
  25. Bar.TopSurface = "Smooth"
  26. Bar.BottomSurface = "Smooth"
  27. Bar.FormFactor = "Custom"
  28. Bar.Size = Vector3.new(1,1,1)
  29. Bar.CanCollide = true
  30. Bar.BrickColor = BrickColor.new("Really black")
  31. BarMesh = Instance.new("SpecialMesh", Bar)
  32. BarMesh.MeshType = "Cylinder"
  33. BarMesh.Scale = Vector3.new(1, 1, 0.4)
  34. BarWeld = Instance.new("Weld",m)
  35. BarWeld.Part0 = char.Torso
  36. BarWeld.Part1 = Bar
  37. BarWeld.C1 = CFrame.new(-3, 0, -0.7)*CFrame.fromEulerAnglesXYZ(0, 0, -1)
  38. oldpos = BarWeld.C1
  39.  
  40. Bar2 = Instance.new("Part",m)
  41. Bar2.TopSurface = "Smooth"
  42. Bar2.BottomSurface = "Smooth"
  43. Bar2.FormFactor = "Custom"
  44. Bar2.Size = Vector3.new(3,1,1)
  45. Bar2.CanCollide = true
  46. Bar2.BrickColor = BrickColor.new("Institutional white")
  47. Bar2Mesh = Instance.new("SpecialMesh", Bar2)
  48. Bar2Mesh.MeshType = "Cylinder"
  49. Bar2Mesh.Scale = Vector3.new(3, 1, 0.3)
  50. Bar2Weld = Instance.new("Weld",m)
  51. Bar2Weld.Part0 = Bar
  52. Bar2Weld.Part1 = Bar2
  53. Bar2Weld.C1 = CFrame.new(2.2, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  54.  
  55. Bar3 = Instance.new("Part",m)
  56. Bar3.TopSurface = "Smooth"
  57. Bar3.BottomSurface = "Smooth"
  58. Bar3.FormFactor = "Custom"
  59. Bar3.Size = Vector3.new(1,1,1)
  60. Bar3.CanCollide = true
  61. Bar3.BrickColor = BrickColor.new("Really black")
  62. Bar3Mesh = Instance.new("SpecialMesh", Bar3)
  63. Bar3Mesh.MeshType = "Cylinder"
  64. Bar3Mesh.Scale = Vector3.new(0.1, 1, 0.4)
  65. Bar3Weld = Instance.new("Weld",m)
  66. Bar3Weld.Part0 = Bar
  67. Bar3Weld.Part1 = Bar3
  68. Bar3Weld.C1 = CFrame.new(-2.3, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  69.  
  70. Bar4 = Instance.new("Part",m)
  71. Bar4.TopSurface = "Smooth"
  72. Bar4.BottomSurface = "Smooth"
  73. Bar4.FormFactor = "Custom"
  74. Bar4.Size = Vector3.new(0.8,2.8,2.8)
  75. Bar4.CanCollide = true
  76. Bar4.BrickColor = BrickColor.new("Institutional white")
  77. Bar4Mesh = Instance.new("SpecialMesh", Bar4)
  78. Bar4Mesh.MeshType = "Cylinder"
  79. Bar4Mesh.Scale = Vector3.new(0.2, 1, 3)
  80. Bar4Weld = Instance.new("Weld",m)
  81. Bar4Weld.Part0 = Bar
  82. Bar4Weld.Part1 = Bar4
  83. Bar4Weld.C1 = CFrame.new(0.02, 0, -3)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
  84.  
  85. Bar5 = Instance.new("Part",m)
  86. Bar5.TopSurface = "Smooth"
  87. Bar5.BottomSurface = "Smooth"
  88. Bar5.FormFactor = "Custom"
  89. Bar5.Size = Vector3.new(0.8,3,3)
  90. Bar5.CanCollide = true
  91. Bar5.BrickColor = BrickColor.new("Institutional white")
  92. Bar5Mesh = Instance.new("SpecialMesh", Bar5)
  93. Bar5Mesh.MeshType = "Cylinder"
  94. Bar5Mesh.Scale = Vector3.new(0.2, 1, 3)
  95. Bar5Weld = Instance.new("Weld",m)
  96. Bar5Weld.Part0 = Bar
  97. Bar5Weld.Part1 = Bar5
  98. Bar5Weld.C1 = CFrame.new(0.02, 0, -5)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
  99.  
  100. Bar6 = Instance.new("Part",m)
  101. Bar6.TopSurface = "Smooth"
  102. Bar6.BottomSurface = "Smooth"
  103. Bar6.FormFactor = "Custom"
  104. Bar6.Size = Vector3.new(0.7,2.9,2.9)
  105. Bar6.CanCollide = true
  106. Bar6.BrickColor = BrickColor.new("Really black")
  107. Bar6Mesh = Instance.new("SpecialMesh", Bar6)
  108. Bar6Mesh.MeshType = "Cylinder"
  109. Bar6Mesh.Scale = Vector3.new(0.2, 1, 3)
  110. Bar6Weld = Instance.new("Weld",m)
  111. Bar6Weld.Part0 = Bar
  112. Bar6Weld.Part1 = Bar6
  113. Bar6Weld.C1 = CFrame.new(0.02, 0, -3)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
  114.  
  115. Bar7 = Instance.new("Part",m)
  116. Bar7.TopSurface = "Smooth"
  117. Bar7.BottomSurface = "Smooth"
  118. Bar7.FormFactor = "Custom"
  119. Bar7.Size = Vector3.new(0.7,3.1,3.1)
  120. Bar7.CanCollide = true
  121. Bar7.BrickColor = BrickColor.new("Really black")
  122. Bar7Mesh = Instance.new("SpecialMesh", Bar7)
  123. Bar7Mesh.MeshType = "Cylinder"
  124. Bar7Mesh.Scale = Vector3.new(0.2, 1, 3)
  125. Bar7Weld = Instance.new("Weld",m)
  126. Bar7Weld.Part0 = Bar
  127. Bar7Weld.Part1 = Bar7
  128. Bar7Weld.C1 = CFrame.new(0.02, 0, -5)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
  129.  
  130. Bar8 = Instance.new("Part",m)
  131. Bar8.TopSurface = "Smooth"
  132. Bar8.BottomSurface = "Smooth"
  133. Bar8.FormFactor = "Custom"
  134. Bar8.Size = Vector3.new(1,1,1)
  135. Bar8.CanCollide = true
  136. Bar8.BrickColor = BrickColor.new("Really black")
  137. Bar8Mesh = Instance.new("SpecialMesh", Bar8)
  138. Bar8Mesh.MeshType = "Cylinder"
  139. Bar8Mesh.Scale = Vector3.new(0.1, 1, 0.4)
  140. Bar8Weld = Instance.new("Weld",m)
  141. Bar8Weld.Part0 = Bar
  142. Bar8Weld.Part1 = Bar8
  143. Bar8Weld.C1 = CFrame.new(6.7, 0, 0)*CFrame.fromEulerAnglesXYZ(0, 0, 0)
  144.  
  145. Bar9 = Instance.new("Part",m)
  146. Bar9.TopSurface = "Smooth"
  147. Bar9.BottomSurface = "Smooth"
  148. Bar9.FormFactor = "Custom"
  149. Bar9.Size = Vector3.new(0.9,0.3,0.3)
  150. Bar9.CanCollide = true
  151. Bar9.BrickColor = BrickColor.new("Bright red")
  152. Bar9Mesh = Instance.new("SpecialMesh", Bar9)
  153. Bar9Mesh.MeshType = "Cylinder"
  154. Bar9Mesh.Scale = Vector3.new(0.2, 1, 3)
  155. Bar9Weld = Instance.new("Weld",m)
  156. Bar9Weld.Part0 = Bar
  157. Bar9Weld.Part1 = Bar9
  158. Bar9Weld.C1 = CFrame.new(0.02, 0.5, -5)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
  159.  
  160. Bar10 = Instance.new("Part",m)
  161. Bar10.TopSurface = "Smooth"
  162. Bar10.BottomSurface = "Smooth"
  163. Bar10.FormFactor = "Custom"
  164. Bar10.Size = Vector3.new(0.9,0.3,0.3)
  165. Bar10.CanCollide = true
  166. Bar10.BrickColor = BrickColor.new("Bright red")
  167. Bar10Mesh = Instance.new("SpecialMesh", Bar10)
  168. Bar10Mesh.MeshType = "Cylinder"
  169. Bar10Mesh.Scale = Vector3.new(0.2, 1, 3)
  170. Bar10Weld = Instance.new("Weld",m)
  171. Bar10Weld.Part0 = Bar
  172. Bar10Weld.Part1 = Bar10
  173. Bar10Weld.C1 = CFrame.new(0.02, 0.9, -4.8)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
  174.  
  175. Bar11 = Instance.new("Part",m)
  176. Bar11.TopSurface = "Smooth"
  177. Bar11.BottomSurface = "Smooth"
  178. Bar11.FormFactor = "Custom"
  179. Bar11.Size = Vector3.new(0.9,0.3,0.3)
  180. Bar11.CanCollide = true
  181. Bar11.BrickColor = BrickColor.new("Bright red")
  182. Bar11Mesh = Instance.new("SpecialMesh", Bar11)
  183. Bar11Mesh.MeshType = "Cylinder"
  184. Bar11Mesh.Scale = Vector3.new(0.2, 1, 3)
  185. Bar11Weld = Instance.new("Weld",m)
  186. Bar11Weld.Part0 = Bar
  187. Bar11Weld.Part1 = Bar11
  188. Bar11Weld.C1 = CFrame.new(0.02, 0.9, -5.2)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
  189.  
  190. Bar12 = Instance.new("Part",m)
  191. Bar12.TopSurface = "Smooth"
  192. Bar12.BottomSurface = "Smooth"
  193. Bar12.FormFactor = "Custom"
  194. Bar12.Size = Vector3.new(0.9,0.3,0.3)
  195. Bar12.CanCollide = true
  196. Bar12.BrickColor = BrickColor.new("Bright red")
  197. Bar12Mesh = Instance.new("SpecialMesh", Bar12)
  198. Bar12Mesh.MeshType = "Cylinder"
  199. Bar12Mesh.Scale = Vector3.new(0.2, 1, 3)
  200. Bar12Weld = Instance.new("Weld",m)
  201. Bar12Weld.Part0 = Bar
  202. Bar12Weld.Part1 = Bar12
  203. Bar12Weld.C1 = CFrame.new(0.02, -0.9, -5)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
  204.  
  205. Bar13 = Instance.new("Part",m)
  206. Bar13.TopSurface = "Smooth"
  207. Bar13.BottomSurface = "Smooth"
  208. Bar13.FormFactor = "Custom"
  209. Bar13.Size = Vector3.new(0.9,0.3,0.3)
  210. Bar13.CanCollide = true
  211. Bar13.BrickColor = BrickColor.new("Bright red")
  212. Bar13Mesh = Instance.new("SpecialMesh", Bar13)
  213. Bar13Mesh.MeshType = "Cylinder"
  214. Bar13Mesh.Scale = Vector3.new(0.2, 1, 3)
  215. Bar13Weld = Instance.new("Weld",m)
  216. Bar13Weld.Part0 = Bar
  217. Bar13Weld.Part1 = Bar13
  218. Bar13Weld.C1 = CFrame.new(0.02, -0.5, -4.8)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
  219.  
  220. Bar14 = Instance.new("Part",m)
  221. Bar14.TopSurface = "Smooth"
  222. Bar14.BottomSurface = "Smooth"
  223. Bar14.FormFactor = "Custom"
  224. Bar14.Size = Vector3.new(0.9,0.3,0.3)
  225. Bar14.CanCollide = true
  226. Bar14.BrickColor = BrickColor.new("Bright red")
  227. Bar14Mesh = Instance.new("SpecialMesh", Bar14)
  228. Bar14Mesh.MeshType = "Cylinder"
  229. Bar14Mesh.Scale = Vector3.new(0.2, 1, 3)
  230. Bar14Weld = Instance.new("Weld",m)
  231. Bar14Weld.Part0 = Bar
  232. Bar14Weld.Part1 = Bar14
  233. Bar14Weld.C1 = CFrame.new(0.02, -0.5, -5.2)*CFrame.fromEulerAnglesXYZ(0, 1.57, 0)
  234.  
  235. Bar15 = Instance.new("Part",m)
  236. Bar15.TopSurface = "Smooth"
  237. Bar15.BottomSurface = "Smooth"
  238. Bar15.FormFactor = "Custom"
  239. Bar15.Size = Vector3.new(1,1,1)
  240. Bar15.CanCollide = true
  241. Bar15.BrickColor = BrickColor.new("Bright red")
  242. Bar15Mesh = Instance.new("SpecialMesh", Bar15)
  243. Bar15Mesh.MeshType = "Wedge"
  244. Bar15Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
  245. Bar15Weld = Instance.new("Weld",m)
  246. Bar15Weld.Part0 = Bar12
  247. Bar15Weld.Part1 = Bar15
  248. Bar15Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(-0.8, 0, 0)
  249.  
  250. Bar16 = Instance.new("Part",m)
  251. Bar16.TopSurface = "Smooth"
  252. Bar16.BottomSurface = "Smooth"
  253. Bar16.FormFactor = "Custom"
  254. Bar16.Size = Vector3.new(1,1,1)
  255. Bar16.CanCollide = true
  256. Bar16.BrickColor = BrickColor.new("Bright red")
  257. Bar16Mesh = Instance.new("SpecialMesh", Bar16)
  258. Bar16Mesh.MeshType = "Wedge"
  259. Bar16Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
  260. Bar16Weld = Instance.new("Weld",m)
  261. Bar16Weld.Part0 = Bar13
  262. Bar16Weld.Part1 = Bar16
  263. Bar16Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(0.6, 0, 0)
  264.  
  265. Bar17 = Instance.new("Part",m)
  266. Bar17.TopSurface = "Smooth"
  267. Bar17.BottomSurface = "Smooth"
  268. Bar17.FormFactor = "Custom"
  269. Bar17.Size = Vector3.new(1,1,1)
  270. Bar17.CanCollide = true
  271. Bar17.BrickColor = BrickColor.new("Bright red")
  272. Bar17Mesh = Instance.new("SpecialMesh", Bar17)
  273. Bar17Mesh.MeshType = "Wedge"
  274. Bar17Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
  275. Bar17Weld = Instance.new("Weld",m)
  276. Bar17Weld.Part0 = Bar14
  277. Bar17Weld.Part1 = Bar17
  278. Bar17Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(3.4, 0, 0)
  279.  
  280. Bar18 = Instance.new("Part",m)
  281. Bar18.TopSurface = "Smooth"
  282. Bar18.BottomSurface = "Smooth"
  283. Bar18.FormFactor = "Custom"
  284. Bar18.Size = Vector3.new(1,1,1)
  285. Bar18.CanCollide = true
  286. Bar18.BrickColor = BrickColor.new("Bright red")
  287. Bar18Mesh = Instance.new("SpecialMesh", Bar18)
  288. Bar18Mesh.MeshType = "Wedge"
  289. Bar18Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
  290. Bar18Weld = Instance.new("Weld",m)
  291. Bar18Weld.Part0 = Bar9
  292. Bar18Weld.Part1 = Bar18
  293. Bar18Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(-0.8, 0, 0)
  294.  
  295. Bar19 = Instance.new("Part",m)
  296. Bar19.TopSurface = "Smooth"
  297. Bar19.BottomSurface = "Smooth"
  298. Bar19.FormFactor = "Custom"
  299. Bar19.Size = Vector3.new(1,1,1)
  300. Bar19.CanCollide = true
  301. Bar19.BrickColor = BrickColor.new("Bright red")
  302. Bar19Mesh = Instance.new("SpecialMesh", Bar19)
  303. Bar19Mesh.MeshType = "Wedge"
  304. Bar19Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
  305. Bar19Weld = Instance.new("Weld",m)
  306. Bar19Weld.Part0 = Bar10
  307. Bar19Weld.Part1 = Bar19
  308. Bar19Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(0.6, 0, 0)
  309.  
  310. Bar20 = Instance.new("Part",m)
  311. Bar20.TopSurface = "Smooth"
  312. Bar20.BottomSurface = "Smooth"
  313. Bar20.FormFactor = "Custom"
  314. Bar20.Size = Vector3.new(1,1,1)
  315. Bar20.CanCollide = true
  316. Bar20.BrickColor = BrickColor.new("Bright red")
  317. Bar20Mesh = Instance.new("SpecialMesh", Bar20)
  318. Bar20Mesh.MeshType = "Wedge"
  319. Bar20Mesh.Scale = Vector3.new(0.18, 0.2, 0.3)
  320. Bar20Weld = Instance.new("Weld",m)
  321. Bar20Weld.Part0 = Bar11
  322. Bar20Weld.Part1 = Bar20
  323. Bar20Weld.C1 = CFrame.new(0, -0.05, 0.2)*CFrame.fromEulerAnglesXYZ(3.4, 0, 0)
  324.  
  325. function smooth(a)
  326. a.BottomSurface = 0
  327. a.TopSurface = 0
  328. a.FrontSurface = "SmoothNoOutlines"
  329. a.LeftSurface = "SmoothNoOutlines"
  330. a.RightSurface = "SmoothNoOutlines"
  331. a.TopSurface = "SmoothNoOutlines"
  332. end
  333.  
  334.  
  335. for _, a in pairs(m:children()) do
  336. if a:IsA'Part' then
  337. smooth(a)
  338. end
  339. end
  340.  
  341. for _, a in pairs(m:children()) do
  342. if a:IsA'Weld' then
  343. a.Name = plr.Name.."Weld"
  344. end
  345. end
  346.  
  347. for _, a in pairs(m:children()) do
  348. if a:IsA'Part' then
  349. a.CanCollide = false
  350. end
  351. end
  352.  
  353. --// Body Parts
  354.  
  355. human = char:FindFirstChildOfClass'Humanoid'
  356. torso = char.Torso
  357. root = char.HumanoidRootPart
  358. lleg = char["Left Leg"]
  359. rleg = char["Right Leg"]
  360. larm = char["Left Arm"]
  361. rarm = char["Right Arm"]
  362. head = char.Head
  363. ground = ""
  364. mouse = plr:GetMouse()
  365. parent = script
  366.  
  367. ff = Instance.new('ForceField', script)
  368. ff.Visible = false
  369.  
  370. for _, a in pairs(workspace:children()) do
  371. if a:IsA'Part' then
  372. ground = a
  373. end
  374. end
  375.  
  376. --// Config
  377.  
  378. speed = 4
  379. cooldown = true
  380. cooldown1 = true --- kamui
  381. cooldown2 = true --- madara
  382. cooldown3 = true -- meteor
  383. sprint = false
  384. fire = false
  385. gthr = false
  386. out = false
  387. block = false
  388.  
  389. --// Head
  390.  
  391. neck = torso.Neck
  392. ncf = neck.C0
  393.  
  394. --// torso
  395.  
  396. torsojoint = root.RootJoint
  397. torsoC0 = torsojoint.C0
  398.  
  399. --// Legs
  400.  
  401. lhip = torso["Left Hip"]
  402. rhip = torso["Right Hip"]
  403. lle = lhip.C0
  404. rle = rhip.C0
  405.  
  406. --// rad,random,sin,cos,and floor
  407.  
  408. rad = math.rad
  409. random = math.random
  410. sin = math.sin
  411. cos = math.cos
  412. floor = math.floor
  413.  
  414. --// Body Color
  415.  
  416. bc = char:FindFirstChild('Body Colors')
  417. bc.HeadColor = BrickColor.new('Cool yellow')
  418. bc.LeftArmColor = BrickColor.new('Cool yellow')
  419. bc.RightArmColor = BrickColor.new('Cool yellow')
  420. bc.LeftLegColor = BrickColor.new('Cool yellow')
  421. bc.RightLegColor = BrickColor.new('Cool yellow')
  422. bc.TorsoColor = BrickColor.new('Cool yellow')
  423.  
  424. --// Arms
  425.  
  426. lshold = torso["Left Shoulder"]
  427. rshold = torso["Right Shoulder"]
  428. lsho = lshold.C0
  429. rsho = rshold.C0
  430.  
  431. --// Remove animations
  432.  
  433. char.Animate.Parent = nil
  434. human.Animator.Parent = nil
  435.  
  436. for i,v in pairs(human:GetPlayingAnimationTracks()) do
  437. v:Stop()
  438. end
  439.  
  440. --// sfx
  441.  
  442. s1 = Instance.new('Sound', char['Right Arm'])
  443. s1.SoundId = "rbxassetid://385470847"
  444. s1.Volume = 4
  445.  
  446. s2 = Instance.new('Sound', char.Head)
  447. s2.SoundId = "rbxassetid://134269592"
  448. s2.Volume = 4
  449.  
  450. s3 = Instance.new('Sound', char.Head)
  451. s3.SoundId = "rbxassetid://405596045"
  452. s3.Volume = 4
  453.  
  454. s4 = Instance.new('Sound', char["Right Arm"])
  455. s4.Volume = 6
  456. s4.SoundId = "rbxassetid://873073853"
  457. s4.Looped = false
  458.  
  459. s5 = Instance.new('Sound', char["Right Arm"])
  460. s5.Volume = 6
  461. s5.SoundId = "rbxassetid://898385136"
  462. s5.Looped = false
  463.  
  464. s6 = Instance.new('Sound', char["Right Arm"])
  465. s6.Volume = 8
  466. s6.SoundId = "rbxassetid://138210320"
  467. s6.Looped = false
  468.  
  469. s7 = Instance.new('Sound', script)
  470. s7.Volume = 10
  471. s7.SoundId = "rbxassetid://1084995524"
  472. s7.Looped = false
  473.  
  474. --// char
  475.  
  476. for _, a in pairs(char:children()) do
  477. if a:IsA'Accessory' or a:IsA'CharacterMesh' or a:IsA'Shirt' or a:IsA'Pants' then
  478. a:Destroy()
  479. end
  480. end
  481.  
  482. Hair = Instance.new("Part")
  483. Hair.Parent = char
  484. Hair.Name = "Hair"
  485. Hair.CanCollide = false
  486. Hair.Locked = true
  487. Hair.TopSurface = "Smooth"
  488. Hair.BottomSurface = "Smooth"
  489. Hair.formFactor = "Symmetric"
  490. Hair.Material = "Neon"
  491. Hair.BrickColor = BrickColor.new("Really black")
  492. Hair.CFrame = char.Torso.CFrame
  493. Hair.Size = Vector3.new(1, 1, 1)
  494. Hair.Transparency = 0
  495.  
  496. Mesh = Instance.new("SpecialMesh", Hair)
  497. Mesh.Scale = Vector3.new(0.07, 0.07, 0.07)
  498. Mesh.MeshType = "FileMesh"
  499. Mesh.MeshId = "rbxassetid://522871165"
  500. Mesh.TextureId = "rbxassetid://522871173"
  501.  
  502. local s = Instance.new('Shirt', char)
  503. s.ShirtTemplate = "http://www.roblox.com/asset/?id=413009925"
  504. local p = Instance.new('Pants', char)
  505. p.PantsTemplate = "http://www.roblox.com/asset/?id=413010198"
  506.  
  507. local rad = math.rad
  508.  
  509. Weld = Instance.new("Weld", Hair)
  510. Weld.Name = plr.Name.."Weld"
  511. Weld.Part0 = char.Head
  512. Weld.Part1 = Hair
  513. Weld.C0 = CFrame.new(0,0.2,0.07) * CFrame.Angles(0,rad(180),0)
  514.  
  515. char.Head.face.Texture = ""
  516.  
  517. --// functionns
  518.  
  519. function scan(p)
  520. for _,v in pairs(p:GetChildren()) do
  521. if v:IsA("Weld") and v.Name ~= plr.Name.."Weld" then
  522. v:Destroy()
  523. elseif v:IsA'BodyVelocity' or v:IsA'BodyGyro' or v:IsA'BodyPosition' then
  524. v:Destroy()
  525. end
  526. scan(v)
  527. end
  528. end
  529.  
  530. controlled = {
  531.  
  532. }
  533.  
  534. function control()
  535. if mouse.Target and mouse.Target.Parent then
  536. local targ = mouse.Target
  537. local humtarg = targ.Parent:FindFirstChildOfClass'Humanoid'
  538. table.insert(controlled,targ.Parent.Name)
  539. local p = Instance.new('Part', char)
  540. smooth(p)
  541. p.Anchored = true
  542. p.Size = Vector3.new(0.2,0.2,0.2)
  543. p.CanCollide = false
  544. p.Material = 'Neon'
  545. p.Shape = "Ball"
  546. p.BrickColor = BrickColor.new('Royal purple')
  547. s2:Play()
  548. for i = 1,25 do
  549. wait()
  550. p.Size = p.Size + Vector3.new(2,2,2)
  551. p.Transparency = p.Transparency + 0.04
  552. p.CFrame = char.Torso.CFrame
  553. end
  554. end
  555. end
  556.  
  557. function kamui()
  558. s2:Play()
  559. local mpos = mouse.Hit
  560. local k = Instance.new('Part', char)
  561. k.Anchored = true
  562. k.CanCollide = false
  563. k.Name = "Kamui"
  564. k.Transparency = 1
  565. k.Position = char.Torso.Position + Vector3.new(0,5,0) +char.Torso.CFrame.lookVector * 8
  566. k.Size = Vector3.new(19, 19, 1)
  567. local k1 = k:Clone()
  568. k1.Parent = char
  569. k1.Position = mpos.p + Vector3.new(0,8,0)
  570. local sizeinc = 0.1
  571. local howmany = 200
  572. local d = Instance.new('Decal', k)
  573. d.Texture = "http://www.roblox.com/asset/?id=21315275"
  574. d.Color3 = Color3.new(0,0,0)
  575. d.Face = "Back"
  576. d.Transparency = 1
  577. local d1 = d:Clone()
  578. d1.Parent = k
  579. d1.Face = "Front"
  580. local d2 = d:Clone()
  581. d2.Parent = k1
  582. d1:Clone().Parent = k1
  583. local pos = k.Position
  584. local pos1 = k1.Position
  585. k.Touched:connect(function(hit)
  586. if hit and hit.Parent then
  587. ypcall(function()
  588. hit.CFrame = k1.CFrame
  589. hit.Anchored = false
  590. hit.CanCollide = true
  591. sizeinc = 0.2
  592. howmany = 10
  593.  
  594. for i = 1,200 do
  595. wait()
  596. k.CFrame = k.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1)
  597. k.Size = k.Size - Vector3.new(sizeinc,sizeinc,sizeinc)
  598. k1.CFrame = k1.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1)
  599. k1.Size = k1.Size - Vector3.new(sizeinc,sizeinc,sizeinc)
  600. k1.Position = pos1
  601. k.Position = pos
  602. end
  603. cooldown1 = true
  604. end)
  605. end
  606. end)
  607. for i = 1,howmany do
  608. wait()
  609. for _, a in pairs(k:children()) do
  610. if a:IsA'Decal' then
  611. a.Transparency = a.Transparency - 0.1
  612. end
  613. end
  614. for _, b in pairs(k1:children()) do
  615. if b:IsA'Decal' then
  616. b.Transparency = b.Transparency - 0.1
  617. end
  618. end
  619. k.CFrame = k.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1)
  620. k1.CFrame = k1.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1)
  621. k.Position = pos
  622. k1.Position = pos1
  623. end
  624. for i = 1,200 do
  625. wait()
  626. k.CFrame = k.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1)
  627. k.Size = k.Size - Vector3.new(sizeinc,sizeinc,sizeinc)
  628. k1.CFrame = k1.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1)
  629. k1.Size = k1.Size - Vector3.new(sizeinc,sizeinc,sizeinc)
  630. k1.Position = pos1
  631. k.Position = pos
  632. end
  633. k1:Destroy()
  634. k:Destroy()
  635. end
  636.  
  637. function debris(a, b, c)
  638. for j = 1, c do
  639. local pr = Instance.new("Part")
  640. pr.Name = ""
  641. pr.Anchored = true
  642. pr.BrickColor = b.BrickColor
  643. pr.CanCollide = true
  644. pr.Material = b.Material
  645. pr.Transparency = b.Transparency
  646. pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
  647. pr.CFrame = a * CFrame.Angles(0, math.rad(c * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
  648. pr.Parent = workspace
  649. game.Debris:AddItem(pr, 15)
  650. end
  651. end
  652.  
  653. function hit(b,a)
  654. for _,v in pairs(workspace:children()) do
  655. if v:IsA('Model') and v.Name ~= plr.Name and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
  656. if (v.HumanoidRootPart.Position-a:FindFirstChild('HumanoidRootPart').Position).magnitude <=b then
  657. v:FindFirstChildOfClass'Humanoid':TakeDamage(v:FindFirstChildOfClass'Humanoid'.MaxHealth/2)
  658. end
  659. end
  660. end
  661. end
  662.  
  663. function smash()
  664. human.WalkSpeed = 0
  665. for i = 0,1,0.1 do
  666. wait()
  667. neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(-19.538), 0, 0),i)
  668. rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(0, 0, math.rad(154.928)),i)
  669. end
  670. wait(.05)
  671. debris(char:FindFirstChild('HumanoidRootPart').CFrame,ground,30)
  672. s6:Play()
  673. hit(50,char)
  674. for i = 0,1,0.2 do
  675. wait()
  676. neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(23.549), 0, 0),i)
  677. rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(0, 0, math.rad(-19.767)),i)
  678. end
  679. wait(.5)
  680. for i = 0,1,0.2 do
  681. wait()
  682. neck.C0 = neck.C0:lerp(ncf,i)
  683. rshold.C0 = rshold.C0:lerp(rsho,i)
  684. end
  685. human.WalkSpeed = 16
  686. end
  687.  
  688. function stop()
  689. local p = Instance.new('Part', char)
  690. smooth(p)
  691. p.Anchored = true
  692. p.Size = Vector3.new(0.2,0.2,0.2)
  693. p.CanCollide = false
  694. p.Material = 'Neon'
  695. p.Shape = "Ball"
  696. p.BrickColor = BrickColor.new('Royal purple')
  697. p.Touched:connect(function(hit)
  698. if hit.Name ~= "HumanoidRootPart" then
  699. hit.Transparency = 0
  700. end
  701. end)
  702. s2:Play()
  703. for _, a in pairs(game:service'Players':players()) do
  704. for _, b in pairs(a.Character:children()) do
  705. if b:IsA'Part' and b.Name == "Part" and b:FindFirstChildOfClass'BodyVelocity' then
  706. b.Anchored = true
  707. b.Parent = char
  708. b:FindFirstChildOfClass'BodyVelocity':Destroy()
  709. b:FindFirstChildOfClass'BodyGyro':Destroy()
  710. b.Touched:connect(function(hit)
  711. if hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and hit.Parent.Name ~= plr.Name then
  712. local targ = hit.Parent
  713. local humtarg = targ:FindFirstChildOfClass'Humanoid'
  714. humtarg.Parent:BreakJoints()
  715. end
  716. end)
  717. local BodyVel=Instance.new('BodyVelocity',b)
  718. BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  719. local BodyGyro=Instance.new('BodyGyro',b)
  720. BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  721. BodyGyro.P=2e4
  722. coroutine.wrap(function()
  723. RenderStepped:connect(function()
  724. BodyGyro.cframe=CFrame.new(b.Position,mouse.Hit.p)
  725. BodyVel.velocity = b.CFrame.lookVector*50
  726. end)
  727. end)()
  728. b.Anchored = false
  729. end
  730. end
  731. end
  732. for i = 1,25 do
  733. wait()
  734. p.Size = p.Size + Vector3.new(8,8,8)
  735. p.Transparency = p.Transparency + 0.07
  736. p.CFrame = char.Torso.CFrame
  737. end
  738. end
  739.  
  740. function explo()
  741. ypcall(function()
  742. for _, a in pairs(game:service'Players':players()) do
  743. for _, b in pairs(a.Character:children()) do
  744. if a.Name ~= plr.Name then
  745. if b:IsA'ForceField' then
  746. b:Destroy()
  747. end
  748. end
  749. end
  750. end
  751. end)
  752. human.WalkSpeed = 0
  753. for i = 0,1,0.02 do
  754. wait()
  755. lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(0.057), math.rad(-0.745), math.rad(-85.428)),i)
  756. rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(-0.229), math.rad(-2.063), math.rad(83.881)),i)
  757. end
  758. s1:Play()
  759. for i = 0,1,0.2 do
  760. wait()
  761. lshold.C0 = lshold.C0:lerp(lsho*CFrame.new(-0.217, -0.017, -0.265) * CFrame.Angles(math.rad(5.5), math.rad(-50.306), math.rad(-82.85)),i)
  762. rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(0.206, -0.022, -0.234) * CFrame.Angles(math.rad(6.875), math.rad(48.186), math.rad(80.844)),i)
  763. end
  764. human.WalkSpeed = 16
  765. wait(.1)
  766. local mp = mouse.Hit
  767. local p = Instance.new('Part', char)
  768. p.Anchored = true
  769. p.CanCollide = false
  770. p.BrickColor = BrickColor.new('Really black')
  771. p.Size = Vector3.new(0.2,0.2,0.2)
  772. p.BottomSurface = 0
  773. p.TopSurface = 0
  774. p.Material = 'Neon'
  775. p.Shape = "Ball"
  776. p.Touched:connect(function(hit)
  777. if hit:IsA'Part' then
  778. hit.Anchored = false
  779. end
  780. end)
  781. local Ex = Instance.new("Explosion", char)
  782. Ex.Position = mp.p
  783. Ex.BlastRadius = 19
  784. Ex.Visible = false
  785. Ex.DestroyJointRadiusPercent = .3
  786. for i = 1,25 do
  787. wait()
  788. p.Size = p.Size + Vector3.new(3.5,3.5,3.5)
  789. p.Transparency = p.Transparency + 0.04
  790. p.CFrame = mp
  791. end
  792. p:Destroy()
  793. end
  794.  
  795. function gout()
  796. human.WalkSpeed = 0
  797. for i = 0,1,0.09 do
  798. wait()
  799. rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(-0.114, 0.584, 0.09) * CFrame.Angles(math.rad(8.422), math.rad(1.662), -math.rad(-169.08)),i)
  800. neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(-10.6), math.rad(7.277), math.rad(-34.034)),i)
  801. end
  802. wait(0.5)
  803. s4:Play()
  804. BarWeld.Part0 = char["Right Arm"]
  805. BarWeld.Part1 = Bar
  806. BarWeld.C0 = CFrame.new(0,-0.34,-3) * CFrame.fromEulerAnglesXYZ(rad(75),rad(60),rad(50))
  807. for i = 0,1,0.1 do
  808. wait()
  809. neck.C0 = neck.C0:lerp(ncf,i)
  810. rshold.C0 = rshold.C0:lerp(rsho,i)
  811. end
  812. human.WalkSpeed = 16
  813. end
  814.  
  815. function around()
  816. for i = 0,1,0.1 do
  817. wait()
  818. rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(0, -0.356, 0.425) * CFrame.Angles(math.rad(-84.225), 0, 0),i)
  819. lshold.C0 = lshold.C0:lerp(lsho*CFrame.new(0, -0.403, 0.234) * CFrame.Angles(math.rad(-78.839), 0, 0),i)
  820. end
  821. bg.Parent = char.Torso
  822. wait(6)
  823. bg.Parent = script
  824. end
  825.  
  826. function gon(a)
  827. local p = Instance.new('Part', workspace)
  828. p.Transparency = 1
  829. p.CanCollide = false
  830. p.Anchored = true
  831. p.Size = Vector3.new(0.2,0.2,0.2)
  832. p.CFrame = a.Torso.CFrame
  833. local sou = Instance.new("Sound")
  834. sou.Pitch = 1
  835. sou.Volume = 1.2
  836. sou.SoundId = "rbxassetid://722960601"
  837. sou.Parent = p
  838. sou:Play()
  839. local pe = Instance.new("ParticleEmitter")
  840. pe.Acceleration = Vector3.new(0, 8, 0)
  841. pe.Lifetime = NumberRange.new(1, 1.5)
  842. pe.Rate = 20000
  843. pe.RotSpeed = NumberRange.new(-30, 30)
  844. pe.Rotation = NumberRange.new(0, 360)
  845. pe.Size = NumberSequence.new({
  846. NumberSequenceKeypoint.new(0, 4.38, 0),
  847. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  848. NumberSequenceKeypoint.new(1, 1.48, 0)
  849. })
  850. pe.Texture = "rbxassetid://244221440"
  851. pe.Transparency = NumberSequence.new({
  852. NumberSequenceKeypoint.new(0, 0, 0),
  853. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  854. NumberSequenceKeypoint.new(1, 1, 1)
  855. })
  856. pe.ZOffset = 5
  857. pe.VelocitySpread = 360
  858. pe.Parent = p
  859. pe.Enabled = true
  860. wait(0.1)
  861. pe.Enabled = false
  862. a:Destroy()
  863. end
  864.  
  865. function rcheck()
  866. wait()
  867. local c = true
  868. if madara.Torso.Velocity.Y > -10 and c then
  869. s7:Play()
  870. debris(madara:FindFirstChild('HumanoidRootPart').CFrame,ground,30)
  871. hit(50,madara)
  872. c = false
  873. else
  874. rcheck()
  875. end
  876. end
  877.  
  878. function mad()
  879. char.Archivable = true
  880.  
  881. madara = char:Clone()
  882. madara:FindFirstChildOfClass'Humanoid'.Health = madara:FindFirstChildOfClass'Humanoid'.MaxHealth
  883. madara.Name = "Madara"
  884. armor = Instance.new("Part")
  885. armor.Parent = madara
  886. armor.Name = "armor"
  887. armor.CanCollide = false
  888. armor.Locked = true
  889. armor.TopSurface = "Smooth"
  890. armor.BottomSurface = "Smooth"
  891. armor.formFactor = "Symmetric"
  892. armor.Material = "Neon"
  893. armor.BrickColor = BrickColor.new("Really black")
  894. armor.CFrame = madara.Torso.CFrame
  895. armor.Size = Vector3.new(1, 1, 1)
  896. armor.Transparency = 0
  897.  
  898. Mesh = Instance.new("SpecialMesh", armor)
  899. Mesh.Scale = Vector3.new(0.08, 0.13, 0.1)
  900. Mesh.MeshType = "FileMesh"
  901. Mesh.MeshId = "rbxassetid://810563108"
  902. Mesh.TextureId = "rbxassetid://810563127"
  903.  
  904. Weld = Instance.new("Weld", armor)
  905. Weld.Name = plr.Name.."Weld"
  906. Weld.Part0 = madara.Torso
  907. Weld.Part1 = armor
  908. Weld.C0 = CFrame.new(0,-0.5,0) * CFrame.Angles(0,rad(180),0)
  909. madara:FindFirstChildOfClass('Model'):Destroy()
  910. madara:FindFirstChild('Hair'):FindFirstChildOfClass'SpecialMesh'.TextureId = "rbxassetid://522545813"
  911. madara:FindFirstChild('Hair'):FindFirstChildOfClass'SpecialMesh'.MeshId = "rbxassetid://522538570"
  912. madara:FindFirstChild('Hair'):FindFirstChildOfClass'SpecialMesh'.Scale = Vector3.new(.07,.07,.07)
  913. madara:FindFirstChild('Hair'):FindFirstChildOfClass'Weld'.C0 = CFrame.new(0,-1.7,.8) * CFrame.Angles(0,rad(180),0)
  914. madara:FindFirstChildOfClass'Pants'.PantsTemplate = "http://www.roblox.com/asset/?id=74245134"
  915. madara:FindFirstChildOfClass'Shirt'.ShirtTemplate = "http://www.roblox.com/asset/?id=74237934"
  916. local p = Instance.new('Part', char)
  917. p.Name = 'Hi'
  918. p.Anchored = true
  919. p.Transparency = 1
  920. p.Size = Vector3.new(0.2,0.2,0.2)
  921. p.CanCollide = false
  922. p.Position = mouse.Hit.p + Vector3.new(0,35,0)
  923. madara.Parent = char
  924.  
  925. local froot = madara.HumanoidRootPart
  926. local ftorso = madara.Torso
  927.  
  928. local ftorsojoint = froot.RootJoint
  929. local ftorsoC0 = ftorsojoint.C0
  930.  
  931. local flshold = ftorso["Left Shoulder"]
  932. local frshold = ftorso["Right Shoulder"]
  933. local flsho = flshold.C0
  934. local frsho = frshold.C0
  935.  
  936. local h = Instance.new('Part', char)
  937. h.Name = 'Hi'
  938. h.Anchored = false
  939. h.Transparency = 1
  940. h.Size = Vector3.new(1,1,1)
  941. h.CanCollide = false
  942. Weld = Instance.new("Weld", h)
  943. Weld.Name = plr.Name.."Weld"
  944. Weld.Part0 = madara.Head
  945. Weld.Part1 = h
  946. Weld.C0 = CFrame.new(0,0,0)
  947.  
  948. ftorsojoint.C0 = ftorsoC0*CFrame.Angles(math.rad(178.706), 0, 0)
  949. flshold.C0 = flsho*CFrame.new(0, -0.015, 0.112) * CFrame.Angles(math.rad(7.506), 0, 0)
  950. frshold.C0 = frsho*CFrame.new(0, -0.001, 0.015) * CFrame.Angles(math.rad(4.698), 0, math.rad(-179.909))
  951.  
  952. madara:FindFirstChild('Torso').CFrame = p.CFrame
  953. s7.Parent = madara.Torso
  954.  
  955. wait(.6)
  956. rcheck()
  957. wait(.5)
  958. s7.Parent = script
  959. wait(.9)
  960. gon(madara)
  961. end
  962.  
  963. function meteor()
  964. local gr = {
  965.  
  966. }
  967. local height = 1
  968. local g = Instance.new('Part', char)
  969. g.Anchored = true
  970. g.CanCollide = false
  971. g.BrickColor = ground.BrickColor
  972. g.Size = Vector3.new(.2,.2,.2)
  973. g.Shape = 'Ball'
  974. g.BrickColor = BrickColor.new('Burnt Sienna')
  975. g.Material = 'Slate'
  976. smooth(g)
  977. for i = 1,500 do
  978. wait()
  979. local cfrem = ground.CFrame
  980. ground.Size = ground.Size - Vector3.new(.02,0,.02)
  981. ground.CFrame = cfrem
  982. local p = Instance.new('Part', char)
  983. p.Anchored = true
  984. p.CanCollide = true
  985. p.BrickColor = ground.BrickColor
  986. smooth(p)
  987. p.Position = char.Torso.Position + Vector3.new(math.random(-100,100),0,math.random(-100,100))
  988. p.Material = ground.Material
  989. p.Size = Vector3.new(math.random(5,15),math.random(5,15),math.random(5,15))
  990. table.insert(gr,p)
  991. g.CFrame = char.Head.CFrame * CFrame.new(0,height*2,0)
  992. g.Size = g.Size + Vector3.new(.5,.5,.5)
  993. for _, a in pairs(gr) do
  994. a.CFrame = a.CFrame:lerp(g.CFrame,0.05)
  995. end
  996. height = height + 0.4
  997. end
  998. g.Touched:connect(function(hit)
  999. if hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' and hit.Parent.Name ~= plr.Name then
  1000. local targ = hit.Parent
  1001. local humtarg = targ:FindFirstChildOfClass'Humanoid'
  1002. humtarg.Health = 0
  1003. targ:BreakJoints()
  1004. end
  1005. end)
  1006. g.Anchored = false
  1007. for _, a in pairs(gr) do
  1008. a:Destroy()
  1009. end
  1010. gr = {}
  1011. end
  1012.  
  1013. function gin()
  1014. human.WalkSpeed = 0
  1015. for i = 0,1,0.1 do
  1016. wait()
  1017. rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(-0.114, 0.584, 0.09) * CFrame.Angles(math.rad(8.422), math.rad(1.662), -math.rad(-169.08)),i)
  1018. neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(-10.6), math.rad(7.277), math.rad(-34.034)),i)
  1019. end
  1020. wait(0.5)
  1021. s5:Play()
  1022. BarWeld.Part0 = char.Torso
  1023. BarWeld.Part1 = Bar
  1024. BarWeld.C0 = CFrame.new(0,0,-0.1)*CFrame.fromEulerAnglesXYZ(0, 0, rad(-1))
  1025. for i = 0,1,0.1 do
  1026. wait()
  1027. neck.C0 = neck.C0:lerp(ncf,i)
  1028. rshold.C0 = rshold.C0:lerp(rsho,i)
  1029. end
  1030. human.WalkSpeed = 16
  1031. end
  1032.  
  1033. --// keys
  1034.  
  1035. char['Left Leg'].Touched:connect(function(hit)
  1036. if hit:IsA'Part' then
  1037. ground = hit
  1038. end
  1039. end)
  1040.  
  1041. mouse.Button1Down:connect(function()
  1042. gthr = true
  1043. end)
  1044.  
  1045. mouse.Button1Up:connect(function()
  1046. gthr = false
  1047. end)
  1048.  
  1049. mouse.KeyDown:connect(function(key)
  1050. if key == "e" and cooldown then
  1051. cooldown = false
  1052. cooldown = true
  1053. end
  1054. end)
  1055.  
  1056. mouse.KeyUp:connect(function(key)
  1057. if key == "e" and cooldown then
  1058. cooldown = false
  1059. cooldown = true
  1060. end
  1061. end)
  1062.  
  1063. mouse.KeyDown:connect(function(key)
  1064. if key == "q" and cooldown and not out then
  1065. human.WalkSpeed = 0
  1066. cooldown = false
  1067. fire = true
  1068. explo()
  1069. cooldown = true
  1070. fire = false
  1071. human.WalkSpeed = 16
  1072. elseif key == "q" and cooldown and out then
  1073. cooldown = false
  1074. fire = true
  1075. smash()
  1076. cooldown = true
  1077. fire = false
  1078. elseif key == "z" and cooldown then
  1079. cooldown = false
  1080. control()
  1081. cooldown = true
  1082. elseif key == "x" and cooldown then
  1083. cooldown = false
  1084. s3:Play()
  1085. controlled = {}
  1086. cooldown = true
  1087. elseif key == "r" and cooldown3 then
  1088. cooldown3 = false
  1089. meteor()
  1090. cooldown3 = true
  1091. elseif key == "e" and cooldown2 then
  1092. cooldown2 = false
  1093. mad()
  1094. cooldown2 = true
  1095. elseif key == "t" and cooldown1 then
  1096. cooldown1 = false
  1097. kamui()
  1098. cooldown1 = true
  1099. elseif key == "g" then
  1100. if out == false and cooldown then
  1101. out = true
  1102. cooldown = false
  1103. fire = true
  1104. gout()
  1105. fire = false
  1106. cooldown = true
  1107. elseif out and cooldown then
  1108. out = false
  1109. cooldown = false
  1110. fire = true
  1111. gin()
  1112. fire = false
  1113. cooldown = true
  1114. end
  1115. end
  1116. end)
  1117.  
  1118. --// Go through
  1119.  
  1120. game:GetService('RunService').RenderStepped:connect(function()
  1121. human = char:FindFirstChildOfClass'Humanoid'
  1122. if gthr then
  1123. human.MaxHealth = "inf"
  1124. human:ChangeState(11)
  1125. human.Health = human.MaxHealth
  1126. ff.Parent = char
  1127. human.Name = math.random(1,50)
  1128. elseif not gthr then
  1129. human.MaxHealth = 1000
  1130. ff.Parent = script
  1131. human.Name = "Humanoid"
  1132. end
  1133. end)
  1134.  
  1135. --// control
  1136.  
  1137. game:GetService('RunService').RenderStepped:connect(function()
  1138. bg.cframe = bg.CFrame*CFrame.fromEulerAnglesXYZ(math.rad(0),0.1 , 0 )
  1139. if #controlled >= 1 then
  1140. for _, a in pairs(controlled) do
  1141. if game:service'Players':FindFirstChild(a) then
  1142. game:service'Players'[a].Character:FindFirstChildOfClass'Humanoid':MoveTo(mouse.Hit.p)
  1143. game:service'Players'[a].Character:FindFirstChildOfClass'Humanoid'.WalkSpeed = 20
  1144. game:service'Players'[a].Character:FindFirstChildOfClass'Humanoid'.JumpPower = 0
  1145. end
  1146. end
  1147. end
  1148. end)
  1149.  
  1150. --// Anti ghost
  1151.  
  1152. game:GetService('RunService').RenderStepped:connect(function()
  1153. for _, a in pairs(game:service'Players':players()) do
  1154. if not a.Character.Parent == workspace then
  1155. a.Character:Destroy()
  1156. a.Character:BreakJoints()
  1157. end
  1158. end
  1159. end)
  1160.  
  1161. --// Animations
  1162.  
  1163. local ang = -5
  1164. local ang2 = -5
  1165. local sine = 0
  1166. local change = 0.5
  1167. arm = 0
  1168.  
  1169. local t = math.huge
  1170.  
  1171. game:GetService('RunService').RenderStepped:connect(function()
  1172.  
  1173. sine = change+sine
  1174. ang = ang+0.08
  1175. ang2 = ang2+0.01
  1176. rad = math.rad
  1177. sin = math.sin
  1178. arm = arm + 0.06
  1179.  
  1180. if fire == false and sprint == false and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude > 2 then
  1181. lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(-0.1, 0, sin(arm)/1.5), .1)
  1182. rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(-0.1, 0, sin(arm)/1.5), .1)
  1183. neck.C0 = neck.C0:lerp(CFrame .new(0,0,0) * ncf * CFrame.Angles(0, 0, 0), 0.1)
  1184. lhip.C0 = lhip.C0:lerp(CFrame.new(-1,-0.95+0.1*-math.cos(tick()*speed),0.2*math.sin(tick()*4))*CFrame.Angles(math.rad(25*-math.sin(tick()*4)), rad(-90), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
  1185. rhip.C0 = rhip.C0:lerp(CFrame.new(1,-0.95+0.1*math.cos(tick()*speed),0.2*-math.sin(tick()*4))*CFrame.Angles(math.rad(25*math.sin(tick()*4)), rad(90), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
  1186. elseif fire == false and sprint == false and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude < 2 then
  1187. lshold.C0 = lshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lsho * CFrame.Angles(-0.1, 0, 0), 0.1)
  1188. rshold.C0 = rshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rsho * CFrame.Angles(-0.1, 0, 0), 0.1)
  1189. torsojoint.C0 = torsojoint.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * torsoC0 * CFrame.Angles(0, 0, 0), 0.1)
  1190. lhip.C0 = lhip.C0:lerp(lle * CFrame.Angles(-0.07, 0, 0), 0.1)
  1191. rhip.C0 = rhip.C0:lerp(rle * CFrame.Angles(-0.07, 0, 0), 0.1)
  1192. elseif fire == false and sprint and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude > 2 then
  1193. torsojoint.C0 = torsojoint.C0:lerp(torsoC0*CFrame.new(0, 0, 2.88) * CFrame.Angles(math.rad(9), 0, 0), 0.1)
  1194. lhip.C0 = lhip.C0:lerp(lle*CFrame.Angles(math.rad(-5.386), math.rad(-3.667), math.rad(22.861)), 0.1)
  1195. rhip.C0 = rhip.C0:lerp(rle*CFrame.Angles(math.rad(-7.047), math.rad(4.813), math.rad(-21.028)), 0.1)
  1196. lshold.C0 = lshold.C0:lerp(sho*CFrame.Angles(math.rad(-15), math.rad(-8), math.rad(45)), 0.1)
  1197. rshold.C0 = rshold.C0:lerp(rshlo*CFrame.Angles(math.rad(-15), math.rad(-8), math.rad(-45)), 0.1)
  1198. elseif fire == false and sprint and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude < 2 then
  1199. torsojoint.C0 = torsojoint.C0:lerp(torsoC0*CFrame.new(0, 0, 2.88) * CFrame.Angles(math.rad(9), 0, 0), 0.1)
  1200. lhip.C0 = lhip.C0:lerp(lle*CFrame.new(-0.557, 0.4, 0) * CFrame.Angles(0, 0, math.rad(-14.439)), 0.1)
  1201. rhip.C0 = rhip.C0:lerp(rle*CFrame.new(0.104, 0.064, 0.016) * CFrame.Angles(0, math.rad(-8.537), math.rad(4.756)), 0.1)
  1202. lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(-9.511), 0, 0), 0.1)
  1203. rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(-9.912), 0, 0), 0.1)
  1204. neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(10.371), math.rad(-0.401), math.rad(0.057)), 0.1)
  1205. end
  1206. end)
  1207.  
  1208. while wait(.05) do
  1209. if gthr then
  1210. scan(char)
  1211. end
  1212. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement