Advertisement
aidanthescriptor101

charibasa

Sep 30th, 2016
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 145.12 KB | None | 0 0
  1. ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  2. Player = game:GetService("Players").LocalPlayer
  3. Character = Player.Character
  4. PlayerGui = Player.PlayerGui
  5. Backpack = Player.Backpack
  6. Torso = Character.Torso
  7. Head = Character.Head
  8. LeftArm = Character["Left Arm"]
  9. LeftLeg = Character["Left Leg"]
  10. RightArm = Character["Right Arm"]
  11. RightLeg = Character["Right Leg"]
  12. LS = Torso["Left Shoulder"]
  13. LH = Torso["Left Hip"]
  14. RS = Torso["Right Shoulder"]
  15. RH = Torso["Right Hip"]
  16. attack = false
  17. attackdebounce = false
  18. combo = 0
  19. mana = 400
  20. HeroBar = 400
  21. necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  22. mouse = nil
  23. mode = "Normal"
  24. idle = true
  25. idleanim = false
  26. Imbued = false
  27. Resting = false
  28. Sleeping = false
  29. Riding = false
  30. spikecon = nil
  31. heromode = false
  32. local Color = Torso.BrickColor
  33. HealBuff = false
  34. WalkBuff = false
  35. RageBuff = false
  36. Healing = true
  37. RAEG = false
  38. spearwave = false
  39. Bouncing = false
  40. cloning = 0
  41. --player
  42. player = nil
  43. --save shoulders
  44. RSH, LSH = nil, nil
  45. --save hips
  46. RH, LH = nil, nil
  47. --welds
  48. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  49. RW2, LW2 = Instance.new("Weld"), Instance.new("Weld")
  50. --what anim
  51. anim = "none"
  52.  
  53. if Character:findFirstChild("Charibassa",true) ~= nil then
  54. Character:findFirstChild("Charibassa",true).Parent = nil
  55. end
  56. if Character:findFirstChild("Chariot",true) ~= nil then
  57. Character:findFirstChild("Chariot",true).Parent = nil
  58. end
  59. if Character:findFirstChild("Weapon",true) ~= nil then
  60. Character:findFirstChild("Weapon",true).Parent = nil
  61. end
  62. if Player.PlayerGui:findFirstChild("WeaponGUI",true) ~= nil then
  63. Player.PlayerGui:findFirstChild("WeaponGUI",true).Parent = nil
  64. end
  65.  
  66.  
  67. local modelzorz = Instance.new("Model")
  68. modelzorz.Name = "Charibassa"
  69. modelzorz.Parent = Character
  70.  
  71. local prt1 = Instance.new("Part")
  72. prt1.formFactor = 1
  73. prt1.Parent = modelzorz
  74. prt1.CanCollide = true
  75. prt1.BrickColor = BrickColor.new("Black")
  76. prt1.Name = "Handle1"
  77. prt1.Size = Vector3.new(1,3,1)
  78. prt1.Position = Torso.Position
  79. local prt2 = Instance.new("Part")
  80. prt2.formFactor = 1
  81. prt2.Parent = modelzorz
  82. prt2.CanCollide = false
  83. prt2.BrickColor = BrickColor.new("Black")
  84. prt2.Name = "Handle2"
  85. prt2.Size = Vector3.new(1,2,1)
  86. prt2.Position = Torso.Position
  87. local prt3 = Instance.new("Part")
  88. prt3.formFactor = 1
  89. prt3.Parent = modelzorz
  90. prt3.CanCollide = false
  91. prt3.BrickColor = Color
  92. prt3.Name = "Handle3"
  93. prt3.Size = Vector3.new(1,1,1)
  94. prt3.Position = Torso.Position
  95. local prt4 = Instance.new("Part")
  96. prt4.formFactor = 1
  97. prt4.Parent = modelzorz
  98. prt4.CanCollide = false
  99. prt4.BrickColor = BrickColor.new("Black")
  100. prt4.Name = "Handle4"
  101. prt4.Size = Vector3.new(1,3,1)
  102. prt4.Position = Torso.Position
  103. local prt5 = Instance.new("Part")
  104. prt5.formFactor = 1
  105. prt5.Parent = modelzorz
  106. prt5.CanCollide = false
  107. prt5.BrickColor = Color
  108. prt5.Name = "Handle5"
  109. prt5.Size = Vector3.new(1,1,1)
  110. prt5.Position = Torso.Position
  111. local prt6 = Instance.new("Part")
  112. prt6.formFactor = 1
  113. prt6.Parent = modelzorz
  114. prt6.CanCollide = false
  115. prt6.BrickColor = Color
  116. prt6.Name = "Handle6"
  117. prt6.Size = Vector3.new(1,1,1)
  118. prt6.Position = Torso.Position
  119. local prt7 = Instance.new("Part")
  120. prt7.formFactor = 1
  121. prt7.Parent = modelzorz
  122. prt7.CanCollide = false
  123. prt7.BrickColor = Color
  124. prt7.Name = "Handle7"
  125. prt7.Size = Vector3.new(1,1,1)
  126. prt7.Position = Torso.Position
  127. local prt8 = Instance.new("Part")
  128. prt8.formFactor = 1
  129. prt8.Parent = modelzorz
  130. prt8.CanCollide = false
  131. prt8.BrickColor = Color
  132. prt8.Name = "Handle8"
  133. prt8.Size = Vector3.new(1,1,1)
  134. prt8.Position = Torso.Position
  135. local prt9 = Instance.new("Part")
  136. prt9.formFactor = 1
  137. prt9.Parent = modelzorz
  138. prt9.CanCollide = false
  139. prt9.BrickColor = Color
  140. prt9.Name = "Handle9"
  141. prt9.Size = Vector3.new(1,1,1)
  142. prt9.Position = Torso.Position
  143. local prt10 = Instance.new("Part")
  144. prt10.formFactor = 1
  145. prt10.Parent = modelzorz
  146. prt10.CanCollide = false
  147. prt10.BrickColor = BrickColor.new("Black")
  148. prt10.Name = "Blade1"
  149. prt10.Size = Vector3.new(1,1,1)
  150. prt10.Position = Torso.Position
  151. local prt11 = Instance.new("Part")
  152. prt11.formFactor = 1
  153. prt11.Parent = modelzorz
  154. prt11.CanCollide = false
  155. prt11.BrickColor = BrickColor.new("Black")
  156. prt11.Name = "Blade2"
  157. prt11.Size = Vector3.new(1,1,1)
  158. prt11.Position = Torso.Position
  159. local prt12 = Instance.new("Part")
  160. prt12.formFactor = 1
  161. prt12.Parent = modelzorz
  162. prt12.CanCollide = false
  163. prt12.BrickColor = BrickColor.new("Black")
  164. prt12.Name = "Blade3"
  165. prt12.Size = Vector3.new(1,1,1)
  166. prt12.Position = Torso.Position
  167. local prt13 = Instance.new("Part")
  168. prt13.formFactor = 1
  169. prt13.Parent = modelzorz
  170. prt13.CanCollide = false
  171. prt13.BrickColor = BrickColor.new("Black")
  172. prt13.Name = "Blade4"
  173. prt13.Size = Vector3.new(1,1,1)
  174. prt13.Position = Torso.Position
  175. local prt14 = Instance.new("Part")
  176. prt14.formFactor = 1
  177. prt14.Parent = modelzorz
  178. prt14.CanCollide = false
  179. prt14.BrickColor = BrickColor.new("Black")
  180. prt14.Name = "Blade5"
  181. prt14.Size = Vector3.new(1,1,1)
  182. prt14.Position = Torso.Position
  183. local prt15 = Instance.new("Part")
  184. prt15.formFactor = 1
  185. prt15.Parent = modelzorz
  186. prt15.CanCollide = false
  187. prt15.BrickColor = BrickColor.new("Black")
  188. prt15.Name = "Blade6"
  189. prt15.Size = Vector3.new(1,1,1)
  190. prt15.Position = Torso.Position
  191. local prt16 = Instance.new("Part")
  192. prt16.formFactor = 1
  193. prt16.Parent = modelzorz
  194. prt16.CanCollide = false
  195. prt16.BrickColor = BrickColor.new("Black")
  196. prt16.Name = "Blade7"
  197. prt16.Size = Vector3.new(1,1,1)
  198. prt16.Position = Torso.Position
  199. local prt17 = Instance.new("Part")
  200. prt17.formFactor = 1
  201. prt17.Parent = modelzorz
  202. prt17.CanCollide = false
  203. prt17.BrickColor = BrickColor.new("Black")
  204. prt17.Name = "Blade8"
  205. prt17.Size = Vector3.new(1,1,1)
  206. prt17.Position = Torso.Position
  207. local prt18 = Instance.new("Part")
  208. prt18.formFactor = 1
  209. prt18.Parent = modelzorz
  210. prt18.CanCollide = false
  211. prt18.BrickColor = BrickColor.new("Black")
  212. prt18.Name = "Blade9"
  213. prt18.Size = Vector3.new(1,1,1)
  214. prt18.Position = Torso.Position
  215. local prt19 = Instance.new("Part")
  216. prt19.formFactor = 1
  217. prt19.Parent = modelzorz
  218. prt19.CanCollide = false
  219. prt19.BrickColor = BrickColor.new("Black")
  220. prt19.Name = "Blade10"
  221. prt19.Size = Vector3.new(1,1,1)
  222. prt19.Position = Torso.Position
  223. local prt20 = Instance.new("Part")
  224. prt20.formFactor = 1
  225. prt20.Parent = modelzorz
  226. prt20.CanCollide = false
  227. prt20.BrickColor = BrickColor.new("Black")
  228. prt20.Name = "Blade11"
  229. prt20.Size = Vector3.new(1,1,1)
  230. prt20.Position = Torso.Position
  231. local prt21 = Instance.new("Part")
  232. prt21.formFactor = 1
  233. prt21.Parent = modelzorz
  234. prt21.CanCollide = false
  235. prt21.BrickColor = BrickColor.new("Black")
  236. prt21.Name = "Blade12"
  237. prt21.Size = Vector3.new(1,1,1)
  238. prt21.Position = Torso.Position
  239. local prt22 = Instance.new("Part")
  240. prt22.formFactor = 1
  241. prt22.Parent = modelzorz
  242. prt22.CanCollide = false
  243. prt22.BrickColor = BrickColor.new("Black")
  244. prt22.Name = "Blade13"
  245. prt22.Size = Vector3.new(1,1,1)
  246. prt22.Position = Torso.Position
  247. local prt23 = Instance.new("Part")
  248. prt23.formFactor = 1
  249. prt23.Parent = modelzorz
  250. prt23.CanCollide = false
  251. prt23.BrickColor = BrickColor.new("Black")
  252. prt23.Name = "Blade14"
  253. prt23.Size = Vector3.new(1,1,1)
  254. prt23.Position = Torso.Position
  255. local prt24 = Instance.new("Part")
  256. prt24.formFactor = 1
  257. prt24.Parent = modelzorz
  258. prt24.CanCollide = false
  259. prt24.BrickColor = BrickColor.new("Black")
  260. prt24.Name = "Blade15"
  261. prt24.Size = Vector3.new(1,1,1)
  262. prt24.Position = Torso.Position
  263. local prt25 = Instance.new("Part")
  264. prt25.formFactor = 1
  265. prt25.Parent = modelzorz
  266. prt25.CanCollide = false
  267. prt25.BrickColor = Color
  268. prt25.Name = "Blade16"
  269. prt25.Size = Vector3.new(1,1,1)
  270. prt25.Position = Torso.Position
  271. local prt26 = Instance.new("Part")
  272. prt26.formFactor = 1
  273. prt26.Parent = modelzorz
  274. prt26.CanCollide = false
  275. prt26.BrickColor = BrickColor.new("Black")
  276. prt26.Name = "Blade17"
  277. prt26.Size = Vector3.new(1,1,1)
  278. prt26.Position = Torso.Position
  279. local prt27 = Instance.new("Part")
  280. prt27.formFactor = 1
  281. prt27.Parent = modelzorz
  282. prt27.CanCollide = false
  283. prt27.BrickColor = BrickColor.new("Black")
  284. prt27.Name = "Blade18"
  285. prt27.Reflectance = 0.2
  286. prt27.Size = Vector3.new(1,1,2)
  287. prt27.Position = Torso.Position
  288. local prt28 = Instance.new("Part")
  289. prt28.formFactor = 1
  290. prt28.Parent = modelzorz
  291. prt28.CanCollide = false
  292. prt28.BrickColor = BrickColor.new("Black")
  293. prt28.Name = "Blade19"
  294. prt28.Reflectance = 0.2
  295. prt28.Size = Vector3.new(1,1,2)
  296. prt28.Position = Torso.Position
  297. modelzorz:BreakJoints()
  298. --local f = Instance.new("ForceField")
  299. --f.Parent = prt27
  300.  
  301. local msh1 = Instance.new("CylinderMesh")
  302. msh1.Parent = prt1
  303. msh1.Scale = Vector3.new(0.3,1,0.3)
  304. local msh2 = Instance.new("CylinderMesh")
  305. msh2.Parent = prt2
  306. msh2.Scale = Vector3.new(0.2,1,0.2)
  307. local msh3 = Instance.new("SpecialMesh")
  308. msh3.Parent = prt3
  309. msh3.Scale = Vector3.new(0.3,0.3,0.3)
  310. local msh4 = Instance.new("CylinderMesh")
  311. msh4.Parent = prt4
  312. msh4.Scale = Vector3.new(0.4,0.8,0.4)
  313. local msh5 = Instance.new("CylinderMesh")
  314. msh5.Parent = prt5
  315. msh5.Scale = Vector3.new(0.45,0.1,0.45)
  316. local msh6 = Instance.new("CylinderMesh")
  317. msh6.Parent = prt6
  318. msh6.Scale = Vector3.new(0.45,0.1,0.45)
  319. local msh7 = Instance.new("CylinderMesh")
  320. msh7.Parent = prt7
  321. msh7.Scale = Vector3.new(0.45,0.1,0.45)
  322. local msh8 = Instance.new("CylinderMesh")
  323. msh8.Parent = prt8
  324. msh8.Scale = Vector3.new(0.3,0.4,0.3)
  325. local msh9 = Instance.new("SpecialMesh")
  326. msh9.Parent = prt9
  327. msh9.MeshType = "Sphere"
  328. msh9.Scale = Vector3.new(0.5,0.5,0.5)
  329. local msh10 = Instance.new("BlockMesh")
  330. msh10.Parent = prt10
  331. msh10.Scale = Vector3.new(0.2,0.7,0.2)
  332. local msh11 = Instance.new("BlockMesh")
  333. msh11.Parent = prt11
  334. msh11.Scale = Vector3.new(0.2,0.8,0.2)
  335. local msh12 = Instance.new("BlockMesh")
  336. msh12.Parent = prt12
  337. msh12.Scale = Vector3.new(0.2,0.9,0.2)
  338. local msh13 = Instance.new("BlockMesh")
  339. msh13.Parent = prt13
  340. msh13.Scale = Vector3.new(0.2,1,0.2)
  341. local msh14 = Instance.new("BlockMesh")
  342. msh14.Parent = prt14
  343. msh14.Scale = Vector3.new(0.2,1.1,0.2)
  344. local msh15 = Instance.new("BlockMesh")
  345. msh15.Parent = prt15
  346. msh15.Scale = Vector3.new(0.2,1.2,0.2)
  347. local msh16 = Instance.new("BlockMesh")
  348. msh16.Parent = prt16
  349. msh16.Scale = Vector3.new(0.2,1.3,0.2)
  350. local msh17 = Instance.new("BlockMesh")
  351. msh17.Parent = prt17
  352. msh17.Scale = Vector3.new(0.2,0.7,0.2)
  353. local msh18 = Instance.new("BlockMesh")
  354. msh18.Parent = prt18
  355. msh18.Scale = Vector3.new(0.2,0.8,0.2)
  356. local msh19 = Instance.new("BlockMesh")
  357. msh19.Parent = prt19
  358. msh19.Scale = Vector3.new(0.2,0.9,0.2)
  359. local msh20 = Instance.new("BlockMesh")
  360. msh20.Parent = prt20
  361. msh20.Scale = Vector3.new(0.2,1,0.2)
  362. local msh21 = Instance.new("BlockMesh")
  363. msh21.Parent = prt21
  364. msh21.Scale = Vector3.new(0.2,1.1,0.2)
  365. local msh22 = Instance.new("BlockMesh")
  366. msh22.Parent = prt22
  367. msh22.Scale = Vector3.new(0.2,1.2,0.2)
  368. local msh23 = Instance.new("BlockMesh")
  369. msh23.Parent = prt23
  370. msh23.Scale = Vector3.new(0.2,1.3,0.2)
  371. local msh24 = Instance.new("SpecialMesh")
  372. msh24.Parent = prt24
  373. msh24.MeshType = "FileMesh"
  374. msh24.MeshId = "http://www.roblox.com/asset/?id=1778999"
  375. msh24.Scale = Vector3.new(0.4,0.3,0.3)
  376. local msh25 = Instance.new("CylinderMesh")
  377. msh25.Parent = prt25
  378. msh25.Scale = Vector3.new(0.8,0.4,0.8)
  379. local msh26 = Instance.new("CylinderMesh")
  380. msh26.Parent = prt26
  381. msh26.Scale = Vector3.new(0.5,0.5,0.5)
  382. local msh27 = Instance.new("SpecialMesh")
  383. msh27.Parent = prt27
  384. msh27.MeshType = "Wedge"
  385. msh27.Scale = Vector3.new(0.3,0.5,1)
  386. local msh28 = Instance.new("SpecialMesh")
  387. msh28.Parent = prt28
  388. msh28.MeshType = "Wedge"
  389. msh28.Scale = Vector3.new(0.3,0.5,1)
  390.  
  391. local wld1 = Instance.new("Weld")
  392. wld1.Parent = prt1
  393. wld1.Part0 = prt1
  394. wld1.Part1 = Torso
  395. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,2.3) * CFrame.new(1,-1,-0.7)
  396. local wld2 = Instance.new("Weld")
  397. wld2.Parent = prt2
  398. wld2.Part0 = prt2
  399. wld2.Part1 = prt1
  400. wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1,0)
  401. local wld3 = Instance.new("Weld")
  402. wld3.Parent = prt3
  403. wld3.Part0 = prt3
  404. wld3.Part1 = prt2
  405. wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.9,0)
  406. local wld4 = Instance.new("Weld")
  407. wld4.Parent = prt4
  408. wld4.Part0 = prt4
  409. wld4.Part1 = prt1
  410. wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-2,0)
  411. local wld5 = Instance.new("Weld")
  412. wld5.Parent = prt5
  413. wld5.Part0 = prt5
  414. wld5.Part1 = prt4
  415. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.6,0)
  416. local wld6 = Instance.new("Weld")
  417. wld6.Parent = prt6
  418. wld6.Part0 = prt6
  419. wld6.Part1 = prt4
  420. wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.3,0)
  421. local wld7 = Instance.new("Weld")
  422. wld7.Parent = prt7
  423. wld7.Part0 = prt7
  424. wld7.Part1 = prt4
  425. wld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  426. local wld8 = Instance.new("Weld")
  427. wld8.Parent = prt8
  428. wld8.Part0 = prt8
  429. wld8.Part1 = prt4
  430. wld8.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,0) * CFrame.new(0,-0.6,0)
  431. local wld9 = Instance.new("Weld")
  432. wld9.Parent = prt9
  433. wld9.Part0 = prt9
  434. wld9.Part1 = prt4
  435. wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.1,0)
  436. local wld10 = Instance.new("Weld")
  437. wld10.Parent = prt10
  438. wld10.Part0 = prt10
  439. wld10.Part1 = prt9
  440. wld10.C0 = CFrame.new(0.2,0.4,0) * CFrame.fromEulerAnglesXYZ(0,0,0.3)
  441. local wld11 = Instance.new("Weld")
  442. wld11.Parent = prt11
  443. wld11.Part0 = prt11
  444. wld11.Part1 = prt9
  445. wld11.C0 = CFrame.new(0.3,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0.5)
  446. local wld12 = Instance.new("Weld")
  447. wld12.Parent = prt12
  448. wld12.Part0 = prt12
  449. wld12.Part1 = prt9
  450. wld12.C0 = CFrame.new(0.4,0.6,0) * CFrame.fromEulerAnglesXYZ(0,0,0.7)
  451. local wld13 = Instance.new("Weld")
  452. wld13.Parent = prt13
  453. wld13.Part0 = prt13
  454. wld13.Part1 = prt9
  455. wld13.C0 = CFrame.new(0.5,0.7,0) * CFrame.fromEulerAnglesXYZ(0,0,0.9)
  456. local wld14 = Instance.new("Weld")
  457. wld14.Parent = prt14
  458. wld14.Part0 = prt14
  459. wld14.Part1 = prt9
  460. wld14.C0 = CFrame.new(0.6,0.85,0) * CFrame.fromEulerAnglesXYZ(0,0,1.1)
  461. local wld15 = Instance.new("Weld")
  462. wld15.Parent = prt15
  463. wld15.Part0 = prt15
  464. wld15.Part1 = prt9
  465. wld15.C0 = CFrame.new(0.7,1.05,0) * CFrame.fromEulerAnglesXYZ(0,0,1.3)
  466. local wld16 = Instance.new("Weld")
  467. wld16.Parent = prt16
  468. wld16.Part0 = prt16
  469. wld16.Part1 = prt9
  470. wld16.C0 = CFrame.new(0.8,1.25,0) * CFrame.fromEulerAnglesXYZ(0,0,1.5)
  471. local wld17 = Instance.new("Weld")
  472. wld17.Parent = prt17
  473. wld17.Part0 = prt17
  474. wld17.Part1 = prt9
  475. wld17.C0 = CFrame.new(-0.2,0.4,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.3)
  476. local wld18 = Instance.new("Weld")
  477. wld18.Parent = prt18
  478. wld18.Part0 = prt18
  479. wld18.Part1 = prt9
  480. wld18.C0 = CFrame.new(-0.3,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5)
  481. local wld19 = Instance.new("Weld")
  482. wld19.Parent = prt19
  483. wld19.Part0 = prt19
  484. wld19.Part1 = prt9
  485. wld19.C0 = CFrame.new(-0.4,0.6,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.7)
  486. local wld20 = Instance.new("Weld")
  487. wld20.Parent = prt20
  488. wld20.Part0 = prt20
  489. wld20.Part1 = prt9
  490. wld20.C0 = CFrame.new(-0.5,0.7,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.9)
  491. local wld21 = Instance.new("Weld")
  492. wld21.Parent = prt21
  493. wld21.Part0 = prt21
  494. wld21.Part1 = prt9
  495. wld21.C0 = CFrame.new(-0.6,0.85,0) * CFrame.fromEulerAnglesXYZ(0,0,-1.1)
  496. local wld22 = Instance.new("Weld")
  497. wld22.Parent = prt22
  498. wld22.Part0 = prt22
  499. wld22.Part1 = prt9
  500. wld22.C0 = CFrame.new(-0.7,1.05,0) * CFrame.fromEulerAnglesXYZ(0,0,-1.3)
  501. local wld23 = Instance.new("Weld")
  502. wld23.Parent = prt23
  503. wld23.Part0 = prt23
  504. wld23.Part1 = prt9
  505. wld23.C0 = CFrame.new(-0.8,1.25,0) * CFrame.fromEulerAnglesXYZ(0,0,-1.5)
  506. local wld24 = Instance.new("Weld")
  507. wld24.Parent = prt24
  508. wld24.Part0 = prt24
  509. wld24.Part1 = prt9
  510. wld24.C0 = CFrame.fromEulerAnglesXYZ(3.14,0,0) * CFrame.new(0,-0.3,0)
  511. local wld25 = Instance.new("Weld")
  512. wld25.Parent = prt25
  513. wld25.Part0 = prt25
  514. wld25.Part1 = prt24
  515. wld25.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,0) * CFrame.new(0,0.55,0)
  516. local wld26 = Instance.new("Weld")
  517. wld26.Parent = prt26
  518. wld26.Part0 = prt26
  519. wld26.Part1 = prt25
  520. wld26.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  521. local wld27 = Instance.new("Weld")
  522. wld27.Parent = prt27
  523. wld27.Part0 = prt27
  524. wld27.Part1 = prt24
  525. wld27.C0 = CFrame.fromEulerAnglesXYZ(1.57,1.57,0) * CFrame.new(-0.3,1.6,0)
  526. local wld28 = Instance.new("Weld")
  527. wld28.Parent = prt28
  528. wld28.Part0 = prt28
  529. wld28.Part1 = prt24
  530. wld28.C0 = CFrame.fromEulerAnglesXYZ(1.57,-1.57,0) * CFrame.new(0.3,1.6,0)
  531.  
  532. local mien = Instance.new("Model")
  533. mien.Parent = Character
  534. mien.Name = "Chariot "
  535. local chariot = Instance.new("Model")
  536. chariot.Name = "Chariot"
  537. chariot.Parent = nil
  538.  
  539. local char1 = Instance.new("Part")
  540. char1.formFactor = 1
  541. char1.Parent = chariot
  542. char1.CanCollide = true
  543. char1.BrickColor = BrickColor.new("Black")
  544. char1.Name = "ChariotPart1"
  545. char1.Size = Vector3.new(3,1,5)
  546. char1.Position = Torso.Position
  547. local char2 = Instance.new("Part")
  548. char2.formFactor = 1
  549. char2.Parent = chariot
  550. char2.CanCollide = true
  551. char2.BrickColor = BrickColor.new("Black")
  552. char2.Name = "ChariotPart2"
  553. char2.Size = Vector3.new(1,1,1)
  554. char2.Position = Torso.Position
  555. local char3 = Instance.new("Part")
  556. char3.formFactor = 1
  557. char3.Parent = chariot
  558. char3.CanCollide = true
  559. char3.BrickColor = BrickColor.new("Black")
  560. char3.Name = "ChariotPart3"
  561. char3.Size = Vector3.new(2,2,2)
  562. char3.Position = Torso.Position
  563. local char4 = Instance.new("Part")
  564. char4.formFactor = 1
  565. char4.Parent = chariot
  566. char4.CanCollide = true
  567. char4.BrickColor = BrickColor.new("Black")
  568. char4.Name = "ChariotPart4"
  569. char4.Size = Vector3.new(3,3,3)
  570. char4.Position = Torso.Position
  571. local char5 = Instance.new("Part")
  572. char5.formFactor = 1
  573. char5.Parent = chariot
  574. char5.CanCollide = true
  575. char5.BrickColor = BrickColor.new("Black")
  576. char5.Name = "ChariotPart5"
  577. char5.Size = Vector3.new(3,3,3)
  578. char5.Position = Torso.Position
  579. local char6 = Instance.new("Part")
  580. char6.formFactor = 1
  581. char6.Parent = chariot
  582. char6.CanCollide = true
  583. char6.BrickColor = Color
  584. char6.Name = "ChariotPart6"
  585. char6.Size = Vector3.new(3,3,3)
  586. char6.Position = Torso.Position
  587. local char7 = Instance.new("Part")
  588. char7.formFactor = 1
  589. char7.Parent = chariot
  590. char7.CanCollide = true
  591. char7.BrickColor = BrickColor.new("Black")
  592. char7.Name = "ChariotPart7"
  593. char7.Size = Vector3.new(2,1,5)
  594. char7.Position = Torso.Position
  595. local char8 = Instance.new("Part")
  596. char8.formFactor = 1
  597. char8.Parent = chariot
  598. char8.CanCollide = true
  599. char8.BrickColor = Color
  600. char8.Name = "ChariotPart8"
  601. char8.Size = Vector3.new(2,1,5)
  602. char8.Position = Torso.Position
  603. local char9 = Instance.new("Part")
  604. char9.formFactor = 1
  605. char9.Parent = chariot
  606. char9.CanCollide = true
  607. char9.BrickColor = BrickColor.new("Black")
  608. char9.Name = "ChariotPart9"
  609. char9.Size = Vector3.new(1,1,1)
  610. char9.Position = Torso.Position
  611. local char10 = Instance.new("Part")
  612. char10.formFactor = 1
  613. char10.Parent = chariot
  614. char10.CanCollide = true
  615. char10.BrickColor = BrickColor.new("Black")
  616. char10.Name = "ChariotPart10"
  617. char10.Size = Vector3.new(4,4,2)
  618. char10.Position = Torso.Position
  619. local char11 = Instance.new("Part")
  620. char11.formFactor = 1
  621. char11.Parent = chariot
  622. char11.CanCollide = true
  623. char11.BrickColor = Color
  624. char11.Name = "ChariotPart11"
  625. char11.Size = Vector3.new(4,4,2)
  626. char11.Position = Torso.Position
  627. local char12 = Instance.new("Part")
  628. char12.formFactor = 1
  629. char12.Parent = chariot
  630. char12.CanCollide = true
  631. char12.BrickColor = BrickColor.new("Black")
  632. char12.Name = "ChariotPart12"
  633. char12.Size = Vector3.new(2,4,2)
  634. char12.Position = Torso.Position
  635. local char13 = Instance.new("Part")
  636. char13.formFactor = 1
  637. char13.Parent = chariot
  638. char13.CanCollide = true
  639. char13.BrickColor = Color
  640. char13.Name = "ChariotPart13"
  641. char13.Size = Vector3.new(2,4,2)
  642. char13.Position = Torso.Position
  643. local char14 = Instance.new("Part")
  644. char14.formFactor = 1
  645. char14.Parent = chariot
  646. char14.CanCollide = true
  647. char14.BrickColor = BrickColor.new("Black")
  648. char14.Name = "ChariotPart14"
  649. char14.Size = Vector3.new(2,4,2)
  650. char14.Position = Torso.Position
  651. local char15 = Instance.new("Part")
  652. char15.formFactor = 1
  653. char15.Parent = chariot
  654. char15.CanCollide = true
  655. char15.BrickColor = Color
  656. char15.Name = "ChariotPart15"
  657. char15.Size = Vector3.new(2,4,2)
  658. char15.Position = Torso.Position
  659. local char16 = Instance.new("Part")
  660. char16.formFactor = 1
  661. char16.Parent = chariot
  662. char16.CanCollide = true
  663. char16.BrickColor = BrickColor.new("Black")
  664. char16.Name = "ChariotPart16"
  665. char16.Size = Vector3.new(2,2,2)
  666. char16.Position = Torso.Position
  667. local char17 = Instance.new("Part")
  668. char17.formFactor = 1
  669. char17.Parent = chariot
  670. char17.CanCollide = true
  671. char17.BrickColor = BrickColor.new("Black")
  672. char17.Name = "ChariotPart17"
  673. char17.Size = Vector3.new(4,4,4)
  674. char17.Position = Torso.Position
  675. local char17a = Instance.new("Part")
  676. char17a.formFactor = 1
  677. char17a.Parent = chariot
  678. char17a.CanCollide = true
  679. char17a.BrickColor = Color
  680. char17a.Name = "ChariotPart17a"
  681. char17a.Size = Vector3.new(4,4,4)
  682. char17a.Position = Torso.Position
  683. local char18 = Instance.new("Part")
  684. char18.formFactor = 1
  685. char18.Parent = chariot
  686. char18.CanCollide = false
  687. char18.BrickColor = BrickColor.new("Black")
  688. char18.Name = "ChariotSpike"
  689. char18.Size = Vector3.new(3,3,3)
  690. char18.Position = Torso.Position
  691. local char19 = Instance.new("Part")
  692. char19.formFactor = 1
  693. char19.Parent = chariot
  694. char19.CanCollide = false
  695. char19.BrickColor = BrickColor.new("Black")
  696. char19.Name = "ChariotSpike"
  697. char19.Size = Vector3.new(3,3,3)
  698. char19.Position = Torso.Position
  699. local char20 = Instance.new("Part")
  700. char20.formFactor = 1
  701. char20.Parent = chariot
  702. char20.CanCollide = false
  703. char20.BrickColor = BrickColor.new("Black")
  704. char20.Name = "ChariotSpike"
  705. char20.Size = Vector3.new(3,3,3)
  706. char20.Position = Torso.Position
  707. local char21 = Instance.new("Part")
  708. char21.formFactor = 1
  709. char21.Parent = chariot
  710. char21.CanCollide = false
  711. char21.BrickColor = BrickColor.new("Black")
  712. char21.Name = "ChariotSpike"
  713. char21.Size = Vector3.new(3,3,3)
  714. char21.Position = Torso.Position
  715. local char22 = Instance.new("Part")
  716. char22.formFactor = 1
  717. char22.Parent = chariot
  718. char22.CanCollide = false
  719. char22.BrickColor = BrickColor.new("Black")
  720. char22.Name = "ChariotSpike"
  721. char22.Size = Vector3.new(3,3,3)
  722. char22.Position = Torso.Position
  723. local char23 = Instance.new("Part")
  724. char23.formFactor = 1
  725. char23.Parent = chariot
  726. char23.CanCollide = false
  727. char23.BrickColor = BrickColor.new("Black")
  728. char23.Name = "ChariotSpike"
  729. char23.Size = Vector3.new(3,3,3)
  730. char23.Position = Torso.Position
  731. local char24 = Instance.new("Part")
  732. char24.formFactor = 1
  733. char24.Parent = chariot
  734. char24.CanCollide = false
  735. char24.BrickColor = BrickColor.new("Black")
  736. char24.Name = "ChariotSpike"
  737. char24.Size = Vector3.new(3,3,3)
  738. char24.Position = Torso.Position
  739. local char25 = Instance.new("Seat")
  740. char25.formFactor = 1
  741. --char25.Parent = chariot
  742. char25.Parent = nil
  743. char25.CanCollide = false
  744. char25.BrickColor = BrickColor.new("Black")
  745. char25.Name = "ChariotSeat"
  746. char25.Transparency = 1
  747. char25.Size = Vector3.new(1,1,1)
  748. char25.Position = Torso.Position
  749.  
  750. local charm1 = Instance.new("BlockMesh")
  751. charm1.Parent = char1
  752. charm1.Scale = Vector3.new(1,1,1)
  753. local charm2 = Instance.new("BlockMesh")
  754. charm2.Parent = char2
  755. charm2.Scale = Vector3.new(1,1,1)
  756. local charm3 = Instance.new("BlockMesh")
  757. charm3.Parent = char3
  758. charm3.Scale = Vector3.new(1,1,1)
  759. local charm4 = Instance.new("CylinderMesh")
  760. charm4.Parent = char4
  761. charm4.Scale = Vector3.new(1,1,1)
  762. local charm5 = Instance.new("CylinderMesh")
  763. charm5.Parent = char5
  764. charm5.Scale = Vector3.new(1,1,1)
  765. local charm6 = Instance.new("CylinderMesh")
  766. charm6.Parent = char6
  767. charm6.Scale = Vector3.new(0.7,1.1,0.7)
  768. local charm7 = Instance.new("BlockMesh")
  769. charm7.Parent = char7
  770. charm7.Scale = Vector3.new(0.9,0.9,0.9)
  771. local charm8 = Instance.new("BlockMesh")
  772. charm8.Parent = char8
  773. charm8.Scale = Vector3.new(1,0.7,0.8)
  774. local charm9 = Instance.new("CylinderMesh")
  775. charm9.Parent = char9
  776. charm9.Scale = Vector3.new(0.7,1.7,0.7)
  777. local charm10 = Instance.new("BlockMesh")
  778. charm10.Parent = char10
  779. charm10.Scale = Vector3.new(1,1,1)
  780. local charm11 = Instance.new("BlockMesh")
  781. charm11.Parent = char11
  782. charm11.Scale = Vector3.new(0.99,0.9,1)
  783. local charm12 = Instance.new("BlockMesh")
  784. charm12.Parent = char12
  785. charm12.Scale = Vector3.new(1,1,1)
  786. local charm13 = Instance.new("BlockMesh")
  787. charm13.Parent = char13
  788. charm13.Scale = Vector3.new(0.99,0.9,1)
  789. local charm14 = Instance.new("BlockMesh")
  790. charm14.Parent = char14
  791. charm14.Scale = Vector3.new(1,1,1)
  792. local charm15 = Instance.new("BlockMesh")
  793. charm15.Parent = char15
  794. charm15.Scale = Vector3.new(0.99,0.9,1)
  795. local charm16 = Instance.new("BlockMesh")
  796. charm16.Parent = char16
  797. charm16.Scale = Vector3.new(1,1,1)
  798. local charm17 = Instance.new("CylinderMesh")
  799. charm17.Parent = char17
  800. charm17.Scale = Vector3.new(1,1,1)
  801. local charm17a = Instance.new("CylinderMesh")
  802. charm17a.Parent = char17a
  803. charm17a.Scale = Vector3.new(0.8,1.1,0.8)
  804. local charm18 = Instance.new("SpecialMesh")
  805. charm18.Parent = char18
  806. charm18.MeshId = "http://www.roblox.com/asset/?id=1778999"
  807. charm18.Scale = Vector3.new(1.5,1.5,1.5)
  808. local charm19 = Instance.new("SpecialMesh")
  809. charm19.Parent = char19
  810. charm19.MeshId = "http://www.roblox.com/asset/?id=1778999"
  811. charm19.Scale = Vector3.new(1.5,1.5,1.5)
  812. local charm20 = Instance.new("SpecialMesh")
  813. charm20.Parent = char20
  814. charm20.MeshId = "http://www.roblox.com/asset/?id=1778999"
  815. charm20.Scale = Vector3.new(1.5,1.5,1.5)
  816. local charm21 = Instance.new("SpecialMesh")
  817. charm21.Parent = char21
  818. charm21.MeshId = "http://www.roblox.com/asset/?id=1778999"
  819. charm21.Scale = Vector3.new(1.5,1.5,1.5)
  820. local charm22 = Instance.new("SpecialMesh")
  821. charm22.Parent = char22
  822. charm22.MeshId = "http://www.roblox.com/asset/?id=1778999"
  823. charm22.Scale = Vector3.new(1.5,1.5,1.5)
  824. local charm23 = Instance.new("SpecialMesh")
  825. charm23.Parent = char23
  826. charm23.MeshId = "http://www.roblox.com/asset/?id=1778999"
  827. charm23.Scale = Vector3.new(1.5,1.5,1.5)
  828. local charm24 = Instance.new("SpecialMesh")
  829. charm24.Parent = char24
  830. charm24.MeshId = "http://www.roblox.com/asset/?id=1778999"
  831. charm24.Scale = Vector3.new(1.5,1.5,1.5)
  832. local charm25 = Instance.new("BlockMesh")
  833. charm25.Parent = char25
  834. charm25.Scale = Vector3.new(1,1,1)
  835.  
  836. local charw1 = Instance.new("Weld")
  837. charw1.Parent = char1
  838. charw1.Part0 = char1
  839. charw1.Part1 = Torso
  840. charw1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-2,8)
  841. local charw2 = Instance.new("Weld")
  842. charw2.Parent = char2
  843. charw2.Part0 = char2
  844. charw2.Part1 = char1
  845. charw2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-3)
  846. local charw3 = Instance.new("Weld")
  847. charw3.Parent = char3
  848. charw3.Part0 = char3
  849. charw3.Part1 = char2
  850. charw3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-1)
  851. local charw4 = Instance.new("Weld")
  852. charw4.Parent = char4
  853. charw4.Part0 = char4
  854. charw4.Part1 = char1
  855. charw4.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,1.5)
  856. local charw5 = Instance.new("Weld")
  857. charw5.Parent = char5
  858. charw5.Part0 = char5
  859. charw5.Part1 = char1
  860. charw5.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0.5,1.3)
  861. local charw6 = Instance.new("Weld")
  862. charw6.Parent = char6
  863. charw6.Part0 = char6
  864. charw6.Part1 = char5
  865. charw6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  866. local charw7 = Instance.new("Weld")
  867. charw7.Parent = char7
  868. charw7.Part0 = char7
  869. charw7.Part1 = char1
  870. charw7.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1,0)
  871. local charw8 = Instance.new("Weld")
  872. charw8.Parent = char8
  873. charw8.Part0 = char8
  874. charw8.Part1 = char7
  875. charw8.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  876. local charw9 = Instance.new("Weld")
  877. charw9.Parent = char9
  878. charw9.Part0 = char9
  879. charw9.Part1 = char7
  880. charw9.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,-0.2,-1.5)
  881. local charw10 = Instance.new("Weld")
  882. charw10.Parent = char10
  883. charw10.Part0 = char10
  884. charw10.Part1 = char1
  885. charw10.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,3)
  886. local charw11 = Instance.new("Weld")
  887. charw11.Parent = char11
  888. charw11.Part0 = char11
  889. charw11.Part1 = char10
  890. charw11.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.5)
  891. local charw12 = Instance.new("Weld")
  892. charw12.Parent = char12
  893. charw12.Part0 = char12
  894. charw12.Part1 = char10
  895. charw12.C0 = CFrame.fromEulerAnglesXYZ(0,0.5,0) * CFrame.new(-2.4,0,-0.4)
  896. local charw13 = Instance.new("Weld")
  897. charw13.Parent = char13
  898. charw13.Part0 = char13
  899. charw13.Part1 = char12
  900. charw13.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.5)
  901. local charw14 = Instance.new("Weld")
  902. charw14.Parent = char14
  903. charw14.Part0 = char14
  904. charw14.Part1 = char10
  905. charw14.C0 = CFrame.fromEulerAnglesXYZ(0,0.5,0) * CFrame.new(2.1,0,0.3)
  906. local charw15 = Instance.new("Weld")
  907. charw15.Parent = char15
  908. charw15.Part0 = char15
  909. charw15.Part1 = char14
  910. charw15.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.5)
  911. local charw16 = Instance.new("Weld")
  912. charw16.Parent = char16
  913. charw16.Part0 = char16
  914. charw16.Part1 = char10
  915. charw16.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.5,0,2)
  916. local charw17 = Instance.new("Weld")
  917. charw17.Parent = char17
  918. charw17.Part0 = char17
  919. charw17.Part1 = char16
  920. charw17.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,2)
  921. local charw18 = Instance.new("Weld")
  922. charw18.Parent = char18
  923. charw18.Part0 = char18
  924. charw18.Part1 = char17
  925. charw18.C0 = CFrame.new(0,-3,0) * CFrame.fromEulerAnglesXYZ(1.57,0,0)
  926. local charw19 = Instance.new("Weld")
  927. charw19.Parent = char19
  928. charw19.Part0 = char19
  929. charw19.Part1 = char17
  930. charw19.C0 = CFrame.new(0,-3,0) * CFrame.fromEulerAnglesXYZ(1.57,0.9,0)
  931. local charw20 = Instance.new("Weld")
  932. charw20.Parent = char20
  933. charw20.Part0 = char20
  934. charw20.Part1 = char17
  935. charw20.C0 = CFrame.new(0,-3,0) * CFrame.fromEulerAnglesXYZ(1.57,1.8,0)
  936. local charw21 = Instance.new("Weld")
  937. charw21.Parent = char21
  938. charw21.Part0 = char21
  939. charw21.Part1 = char17
  940. charw21.C0 = CFrame.new(0,-3,0) * CFrame.fromEulerAnglesXYZ(1.57,2.7,0)
  941. local charw22 = Instance.new("Weld")
  942. charw22.Parent = char22
  943. charw22.Part0 = char22
  944. charw22.Part1 = char17
  945. charw22.C0 = CFrame.new(0,-3,0) * CFrame.fromEulerAnglesXYZ(1.57,3.6,0)
  946. local charw23 = Instance.new("Weld")
  947. charw23.Parent = char23
  948. charw23.Part0 = char23
  949. charw23.Part1 = char17
  950. charw23.C0 = CFrame.new(0,-3,0) * CFrame.fromEulerAnglesXYZ(1.57,4.5,0)
  951. local charw24 = Instance.new("Weld")
  952. charw24.Parent = char24
  953. charw24.Part0 = char24
  954. charw24.Part1 = char17
  955. charw24.C0 = CFrame.new(0,-3,0) * CFrame.fromEulerAnglesXYZ(1.57,5.4,0)
  956. local charw17a = Instance.new("Weld")
  957. charw17a.Parent = char17a
  958. charw17a.Part0 = char17a
  959. charw17a.Part1 = char17
  960. charw17a.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  961. local charw25 = Instance.new("Weld")
  962. charw25.Parent = char25
  963. charw25.Part0 = char25
  964. charw25.Part1 = char3
  965. charw25.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1,0)
  966.  
  967. --[[local hum = Instance.new("Humanoid")
  968. hum.Parent = chariot
  969. hum.MaxHealth = 500 ]]
  970.  
  971. local SlashSound = Instance.new("Sound") -- PRELOADING SOUNDS TROLOLOL
  972. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  973. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  974. SlashSound.Parent = modelzorz
  975. SlashSound.Volume = .7
  976. SlashSound.Pitch = 1
  977. local SlashSound = Instance.new("Sound")
  978. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  979. SlashSound.Parent = workspace
  980. SlashSound.Volume = .5
  981. SlashSound.Pitch = 1
  982. local SlashSound = Instance.new("Sound")
  983. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  984. SlashSound.Parent = workspace
  985. SlashSound.Volume = .7
  986. SlashSound.Pitch = 1
  987. local SlashSound = Instance.new("Sound")
  988. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  989. SlashSound.Parent = workspace
  990. SlashSound.Volume = .7
  991. SlashSound.Pitch = 1
  992.  
  993. local fengui = Instance.new("GuiMain")
  994. fengui.Parent = Player.PlayerGui
  995. fengui.Name = "WeaponGUI"
  996. local fenframe = Instance.new("Frame")
  997. fenframe.Parent = fengui
  998. fenframe.BackgroundColor3 = Color3.new(255,255,255)
  999. fenframe.BackgroundTransparency = 1
  1000. fenframe.BorderColor3 = Color3.new(17,17,17)
  1001. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  1002. local fentext = Instance.new("TextLabel")
  1003. fentext.Parent = fenframe
  1004. fentext.Text = "Mana("..mana..")"
  1005. fentext.BackgroundTransparency = 1
  1006. fentext.SizeConstraint = "RelativeXY"
  1007. fentext.TextXAlignment = "Center"
  1008. fentext.TextYAlignment = "Center"
  1009. fentext.Position = UDim2.new(0,80,1,200)
  1010. local fentext2 = Instance.new("TextLabel")
  1011. fentext2.Parent = fenframe
  1012. fentext2.Text = " "
  1013. fentext2.BackgroundTransparency = 0
  1014. fentext2.BackgroundColor3 = Color3.new(0,0,0)
  1015. fentext2.SizeConstraint = "RelativeXY"
  1016. fentext2.TextXAlignment = "Center"
  1017. fentext2.TextYAlignment = "Center"
  1018. fentext2.Position = UDim2.new(0,10,1,170)
  1019. fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0)
  1020. local fentext3 = Instance.new("TextLabel")
  1021. fentext3.Parent = fenframe
  1022. fentext3.Text = " "
  1023. fentext3.BackgroundTransparency = 0
  1024. fentext3.BackgroundColor3 = Color3.new(1,1,0)
  1025. fentext3.SizeConstraint = "RelativeXY"
  1026. fentext3.TextXAlignment = "Center"
  1027. fentext3.TextYAlignment = "Center"
  1028. fentext3.Position = UDim2.new(0,10,1,170)
  1029. fentext3.Size = UDim2.new(mana*0.007,0,0.400000006,0)
  1030. --2.9000001, 0}, {0.450000018, 0}
  1031. local fentext5 = Instance.new("TextLabel")
  1032. fentext5.Parent = fenframe
  1033. fentext5.Text = " "
  1034. fentext5.BackgroundTransparency = 1
  1035. fentext5.BackgroundColor3 = Color3.new(0,0,0)
  1036. fentext5.SizeConstraint = "RelativeXY"
  1037. fentext5.TextXAlignment = "Center"
  1038. fentext5.TextYAlignment = "Center"
  1039. fentext5.Position = UDim2.new(0,10,0.8,170)
  1040. fentext5.Size = UDim2.new(2.79999995,0,0.210000306,0)
  1041. local fentext6 = Instance.new("TextLabel")
  1042. fentext6.Parent = fenframe
  1043. fentext6.Text = " "
  1044. fentext6.BackgroundTransparency = 1
  1045. fentext6.BackgroundColor3 = Color3.new(1,1,0)
  1046. fentext6.SizeConstraint = "RelativeXY"
  1047. fentext6.TextXAlignment = "Center"
  1048. fentext6.TextYAlignment = "Center"
  1049. fentext6.Position = UDim2.new(0,10,0.8,170)
  1050. fentext6.Size = UDim2.new(HeroBar*0.007,0,0.200000006,0)
  1051. local gairo = Instance.new("BodyGyro")
  1052. gairo.Parent = nil
  1053. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  1054. gairo.P = 20e+003
  1055. local gairo2 = Instance.new("BodyGyro")
  1056.  
  1057. if (script.Parent.className ~= "HopperBin") then
  1058. Tool = Instance.new("HopperBin")
  1059. Tool.Parent = Backpack
  1060. Tool.Name = "Charibassa"
  1061. script.Parent = Tool
  1062. end
  1063. Bin = script.Parent
  1064.  
  1065. function hideanim()
  1066. for i = 0,1,0.1 do
  1067. wait()
  1068. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1069. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0.3*i,1.57-0.7*i) * CFrame.new(-1*i,1-0.5*i,0.8*i)
  1070. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+2.5*i,0,0)
  1071. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1072. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1073. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1074. end
  1075. wait(0.1)
  1076. wld1.Part1 = Torso
  1077. wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,2.3) * CFrame.new(1,-1,-0.7)
  1078. end
  1079.  
  1080. function equipanim()
  1081. for i = 0,1,0.1 do
  1082. wait()
  1083. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1084. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.5*i,0,0)
  1085. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1086. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1087. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1088. end
  1089. wait(0.1)
  1090. wld1.Part1 = LeftArm
  1091. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57-1.57,0.3,1.57-0.7) * CFrame.new(-1,1-0.5,0.8)
  1092. for i = 0,1,0.1 do
  1093. wait()
  1094. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1095. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57-1.57+1.57*i,0.3-0.3*i,1.57-0.7+0.7*i) * CFrame.new(-1+1*i,1-0.5+0.5*i,0.8-0.8*i)
  1096. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.5-2.5*i,0,0)
  1097. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1098. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1099. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1100. end
  1101. end
  1102.  
  1103. function onehit()
  1104. attack = true
  1105. for i = 0,1,0.1 do
  1106. wait()
  1107. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,-1*i,1.57) * CFrame.new(0,1,0)
  1108. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1109. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+3*i,0,0)
  1110. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1111. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1112. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1113. end
  1114. con1=prt25.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1115. con2=prt26.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1116. con3=prt27.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1117. con4=prt28.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1118. ss(1)
  1119. for i = 0,1,0.2 do
  1120. wait()
  1121. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,-1+2.5*i,1.57) * CFrame.new(0,1,0)
  1122. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1123. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+3-3*i,0,0)
  1124. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1125. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1*i,0,0)
  1126. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1127. end
  1128. con1:disconnect()
  1129. con2:disconnect()
  1130. con3:disconnect()
  1131. con4:disconnect()
  1132. wait(0.2)
  1133. attack = false
  1134. end
  1135.  
  1136. function twohit()
  1137. attack = true
  1138. for i = 0,1,0.1 do
  1139. wait()
  1140. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,-1+2.5-1.5*i,1.57) * CFrame.new(0,1,0)
  1141. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1142. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1+0.57*i,-1.57*i,0)
  1143. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1144. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2.57*i,0,1.4*i)
  1145. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1146. end
  1147. con1=prt25.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1148. con2=prt26.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1149. con3=prt27.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1150. con4=prt28.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1151. ss(0.9)
  1152. for i = 0,1,0.2 do
  1153. wait()
  1154. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1*i,1.57) * CFrame.new(0,1,0)
  1155. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1156. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1+0.57,-1.57,0)
  1157. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+3*i,0,0)
  1158. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1.4-2*i)
  1159. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1160. end
  1161. con1:disconnect()
  1162. con2:disconnect()
  1163. con3:disconnect()
  1164. con4:disconnect()
  1165. attack = false
  1166. end
  1167.  
  1168. function threehit()
  1169. attack = true
  1170. for i = 0,1,0.1 do
  1171. wait()
  1172. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1-0.5*i,1.57) * CFrame.new(0,1,-0.5*i)
  1173. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1174. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57-2*i,-1.57+1.57*i,0)
  1175. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5+3-2.5*i,0,0)
  1176. RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(1.57,0,1.4-2)
  1177. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1178. end
  1179. con1=prt25.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1180. con2=prt26.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1181. con3=prt27.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1182. con4=prt28.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1183. ss(1.1)
  1184. for i = 0,1,0.1 do
  1185. wait()
  1186. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1-0.5,1.57) * CFrame.new(0,1,-0.5+0.5*i)
  1187. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1188. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57-2+1.5*i,0,0)
  1189. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1190. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1.4-2+2*i)
  1191. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1192. end
  1193. con1:disconnect()
  1194. con2:disconnect()
  1195. con3:disconnect()
  1196. con4:disconnect()
  1197. attack = false
  1198. end
  1199.  
  1200. function fourhit(mouse)
  1201. attack = true
  1202. for i = 0,1,0.1 do
  1203. wait()
  1204. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0.5+2.64*i,1.57) * CFrame.new(0,1,0)
  1205. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1206. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57-2+1.5+2*i,0,0)
  1207. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1208. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.77*i,0,1.4-1.4*i)
  1209. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1210. end
  1211. ss(1)
  1212. prt1.CanCollide = true
  1213. wld1.Part1 = nil
  1214. coroutine.resume(coroutine.create(function()
  1215. for i = 0,1,0.2 do
  1216. wait()
  1217. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0.5+2.64,1.57) * CFrame.new(0,1,0)
  1218. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1219. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57-2+1.5+2-3*i,0,0)
  1220. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1221. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.77,0,1.4-1.4)
  1222. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1223. end
  1224. end))
  1225. shoottrail(mouse)
  1226. wait(1)
  1227. prt1.Anchored = false
  1228. wld1.Parent = prt1
  1229. wld1.Part0 = prt1
  1230. wld1.Part1 = LeftArm
  1231. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57) * CFrame.new(0,1,0)
  1232. wld1.C1 = CFrame.new(0,0,0)
  1233. if heromode == false then
  1234. else
  1235. wait(4)
  1236. end
  1237. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  1238. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  1239. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1240. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1241. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1242. attack = false
  1243. end
  1244.  
  1245. function SpinSlash()
  1246. attack = true
  1247. for i = 0,1,0.1 do
  1248. wait()
  1249. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0.5*i,1.57) * CFrame.new(0,1,0)
  1250. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1251. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1+0.57*i,-1.57*i,0)
  1252. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.8*i,0,0)
  1253. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,-1.57*i,0)
  1254. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1*i,0,0)
  1255. end
  1256. local vel = Instance.new("BodyGyro")
  1257. vel.Parent = Torso
  1258. vel.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  1259. vel.P = 20e+003
  1260. CF = Torso.CFrame
  1261. ss(1)
  1262. con1=prt25.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1263. con2=prt26.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1264. con3=prt27.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1265. con4=prt28.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
  1266. for i = 0 , 1 , 0.1 do
  1267. wait(0)
  1268. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0.5+0.5*i,1.57) * CFrame.new(0,1,0)
  1269. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1270. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1+0.57,-1.57,0)
  1271. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.8+2*i,0,0)
  1272. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,-1.57,0)
  1273. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1+2*i,0,0)
  1274. vel.cframe = CF * CFrame.fromEulerAnglesXYZ(0,3.14*i,0)
  1275. end
  1276. wait(0.2)
  1277. con1:disconnect()
  1278. con2:disconnect()
  1279. con3:disconnect()
  1280. con4:disconnect()
  1281. vel.Parent = nil
  1282. for i = 0,1,0.1 do
  1283. wait(0)
  1284. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0.5+0.5-1*i,1.57) * CFrame.new(0,1,0)
  1285. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1286. LW.C0 = CFrame.new(-1.5+0.5-0.5,0.5,-0.5+0.5) * CFrame.fromEulerAnglesXYZ(1+0.57-0.57*i,-1.57+1.57*i,0)
  1287. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.8+2-1.2*i,0,0)
  1288. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,-1.5+1.57*i,0)
  1289. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1+2-1*i,0,0)
  1290. end
  1291. attack = false
  1292. end
  1293.  
  1294. --[[function Derp()
  1295. attack = true
  1296. for i = 0,1,0.1 do
  1297. wait()
  1298. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14*i,1.57) * CFrame.new(0,1,0)
  1299. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1300. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,0.5*i)
  1301. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1302. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-0.5*i)
  1303. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1304. end
  1305. wait(0.5)
  1306. attack = false
  1307. end ]]
  1308.  
  1309. function Change()
  1310. if mode == "Normal" then
  1311. mode = "Throw"
  1312. elseif mode == "Throw" then
  1313. mode = "Normal"
  1314. end
  1315. end
  1316.  
  1317. function SpearThrow(mouse)
  1318. attack = true
  1319. for i = 0,1,0.1 do
  1320. wait()
  1321. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14*i,1.57) * CFrame.new(0,1,0)
  1322. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1323. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+3.04*i,0,0)
  1324. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1325. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1326. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1327. end
  1328. wait(0.1)
  1329. if RageBuff == true then
  1330. lolololdur = 0
  1331. while hold == true do
  1332. wait()
  1333. if lolololdur == 10 then
  1334. magicsound(3)
  1335. MMMAGIC(prt25,1,1,1,0,0,0,BrickColor.new("Bright red"))
  1336. MMMAGIC(prt25,3,3,3,0,0,0,BrickColor.new("Bright red"))
  1337. rangepower = 30
  1338. end
  1339. if lolololdur == 30 then
  1340. magicsound(2)
  1341. MMMAGIC(prt25,3,3,3,0,0,0,BrickColor.new("Bright red"))
  1342. MMMAGIC(prt25,5,5,5,0,0,0,BrickColor.new("Bright red"))
  1343. rangepower = 50
  1344. end
  1345. if lolololdur == 60 then
  1346. magicsound(1)
  1347. MMMAGIC(prt25,5,5,5,0,0,0,BrickColor.new("Bright red"))
  1348. MMMAGIC(prt25,7,7,7,0,0,0,BrickColor.new("Bright red"))
  1349. rangepower = 100
  1350. RAEG = true
  1351. end
  1352. lolololdur = lolololdur + 1
  1353. end
  1354. end
  1355. ss(1)
  1356. coroutine.resume(coroutine.create(function()
  1357. for i = 0,1,0.2 do
  1358. wait()
  1359. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1360. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57-2+1.5+2-3*i,0,0)
  1361. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1362. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.77,0,1.4-1.4)
  1363. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1364. end
  1365. end))
  1366. prt1.CanCollide = true
  1367. shoottrail(mouse)
  1368. --ShootArrow(mouse.hit.p, 200, mouse.Target)
  1369. wait(1)
  1370. prt1.Anchored = false
  1371. wld1.Parent = prt1
  1372. wld1.Part0 = prt1
  1373. wld1.Part1 = LeftArm
  1374. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57) * CFrame.new(0,1,0)
  1375. wld1.C1 = CFrame.new(0,0,0)
  1376. if heromode == false then
  1377. else
  1378. wait(4)
  1379. end
  1380. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  1381. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  1382. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1383. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1384. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1385. attack = false
  1386. rangepower = 10
  1387. RAEG = false
  1388. end
  1389.  
  1390. function ChariotSummon()
  1391. attack = true
  1392. if Riding == false then
  1393. Riding = true
  1394. gairo2.Parent = nil
  1395. if chariot.Parent == nil then
  1396. local c = chariot:children()
  1397. for i = 1,#c do
  1398. c[i].Transparency = 1
  1399. end
  1400. bod = Instance.new("BodyPosition")
  1401. bod.position = Torso.Position + Vector3.new(0,10,0)
  1402. bod.Parent = Torso
  1403. bod.maxForce = Vector3.new(4e+080, 4e+080, 4e+080)
  1404. local c = chariot:children()
  1405. for i = 1,#c do
  1406. coroutine.resume(coroutine.create(function(Part)
  1407. for i = 0,1,0.1 do
  1408. wait(0.1)
  1409. Part.Transparency = Part.Transparency - 0.1
  1410. end
  1411. end),c[i])
  1412. end
  1413.  
  1414. player = Player
  1415. ch = Character
  1416. RH = ch.Torso["Right Hip"]
  1417. LH = ch.Torso["Left Hip"]
  1418. --
  1419. RW2.Part0 = ch.Torso
  1420. RW2.C0 = CFrame.new(0, -1.5, 0)
  1421. RW2.C1 = CFrame.new(-0.5, 0.5, 0)
  1422. RW2.Part1 = ch["Right Leg"]
  1423. RW2.Parent = ch.Torso
  1424. --_G.R = RW
  1425. --
  1426. LW2.Part0 = ch.Torso
  1427. LW2.C0 = CFrame.new(0, -1.5, 0)
  1428. LW2.C1 = CFrame.new(0.5, 0.5, 0)
  1429. LW2.Part1 = ch["Left Leg"]
  1430. LW2.Parent = ch.Torso
  1431. --_G.L = LW
  1432. --
  1433.  
  1434. for i = 0,1,0.1 do
  1435. wait()
  1436. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  1437. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1438. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.07*i,0,-1*i)
  1439. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1440. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.07*i,0,1*i)
  1441. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1442. RW2.C0 = CFrame.new(0, -1.5, -0.3*i) * CFrame.fromEulerAnglesXYZ(0.8*i,0,0)
  1443. RW2.C1 = CFrame.new(-0.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1444. LW2.C0 = CFrame.new(0, -1.5, 0.1*i) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1445. LW2.C1 = CFrame.new(0.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1446. end
  1447. wait(0.1)
  1448. char1.Anchored = false
  1449. chariot.Parent = mien
  1450. charw1.Parent = char1
  1451. charw1.Part1 = Torso
  1452. charw1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,3.5,1)
  1453. Character.Humanoid.WalkSpeed = 20
  1454. wait(0.5)
  1455. bod.Parent = nil
  1456. for i = 0,1,0.1 do
  1457. wait()
  1458. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  1459. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1460. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.07-0.07*i,0,-1+1*i)
  1461. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1462. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.07-1.07*i,0,1-1*i)
  1463. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1464. end
  1465. else
  1466.  
  1467. player = Player
  1468. ch = Character
  1469. RH = ch.Torso["Right Hip"]
  1470. LH = ch.Torso["Left Hip"]
  1471. --
  1472. RW2.Part0 = ch.Torso
  1473. RW2.C0 = CFrame.new(0, -1.5, -0.3) * CFrame.fromEulerAnglesXYZ(0.8,0,0)
  1474. RW2.C1 = CFrame.new(-0.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1475. RW2.Part1 = ch["Right Leg"]
  1476. RW2.Parent = ch.Torso
  1477. --_G.R = RW
  1478. --
  1479. LW2.Part0 = ch.Torso
  1480. LW2.C0 = CFrame.new(0, -1.5, 0.1) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  1481. LW2.C1 = CFrame.new(0.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1482. LW2.Part1 = ch["Left Leg"]
  1483. LW2.Parent = ch.Torso
  1484. --_G.L = LW
  1485. --
  1486.  
  1487. char1.Anchored = false
  1488. chariot.Parent = mien
  1489. charw1.Parent = char1
  1490. charw1.Part1 = Torso
  1491. charw1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,3.5,1)
  1492. Character.Humanoid.WalkSpeed = 20
  1493. end
  1494. elseif Riding == true then
  1495. Riding = false
  1496.  
  1497. RW2.Parent = nil
  1498. LW2.Parent = nil
  1499. RH.Parent = player.Character.Torso
  1500. LH.Parent = player.Character.Torso
  1501.  
  1502. Character.Humanoid.WalkSpeed = 16
  1503. gairo2.Parent = char1
  1504. gairo2.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  1505. gairo2.P = 20e+003
  1506. gairo2.cframe = char1.CFrame
  1507. charw1.Parent = nil
  1508. end
  1509. attack = false
  1510. end
  1511.  
  1512. function HeroMode()
  1513. if mana >= 200 and Character.Humanoid.Health == Character.Humanoid.MaxHealth then
  1514. HeroBar = 400
  1515. attack = true
  1516. for i = 0,1,0.1 do
  1517. wait()
  1518. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1*i,1.57) * CFrame.new(0,1,0)
  1519. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1520. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5*i,0,0)
  1521. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1522. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1*i,0,0)
  1523. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1524. end
  1525. coroutine.resume(coroutine.create(function()
  1526. for i = 0,1,0.05 do
  1527. wait()
  1528. fentext5.BackgroundTransparency = fentext5.BackgroundTransparency - 0.05
  1529. fentext6.BackgroundTransparency = fentext6.BackgroundTransparency - 0.05
  1530. end
  1531. end))
  1532. mana = 0
  1533. magicsound(1)
  1534. EVENMOARMAGIX(prt25,5,3,5,0,0,0,0,0,0,BrickColor.new("New Yeller"))
  1535. heromode = true
  1536. local heropart1 = prt10:Clone()
  1537. heropart1.Parent = modelzorz
  1538. heropart1.Transparency = 0.5
  1539. heropart1.Reflectance = 0.2
  1540. heropart1.BrickColor = BrickColor.new("New Yeller")
  1541. heropart1.Mesh.Scale = Vector3.new(0.25,0.9,0.25)
  1542. local heropart2 = prt11:Clone()
  1543. heropart2.Parent = modelzorz
  1544. heropart2.Transparency = 0.5
  1545. heropart2.Reflectance = 0.2
  1546. heropart2.BrickColor = BrickColor.new("New Yeller")
  1547. heropart2.Mesh.Scale = Vector3.new(0.25,1,0.25)
  1548. local heropart3 = prt12:Clone()
  1549. heropart3.Parent = modelzorz
  1550. heropart3.Transparency = 0.5
  1551. heropart3.Reflectance = 0.2
  1552. heropart3.BrickColor = BrickColor.new("New Yeller")
  1553. heropart3.Mesh.Scale = Vector3.new(0.25,1.1,0.25)
  1554. local heropart4 = prt13:Clone()
  1555. heropart4.Parent = modelzorz
  1556. heropart4.Transparency = 0.5
  1557. heropart4.Reflectance = 0.2
  1558. heropart4.BrickColor = BrickColor.new("New Yeller")
  1559. heropart4.Mesh.Scale = Vector3.new(0.25,1.2,0.25)
  1560. local heropart5 = prt14:Clone()
  1561. heropart5.Parent = modelzorz
  1562. heropart5.Transparency = 0.5
  1563. heropart5.Reflectance = 0.2
  1564. heropart5.BrickColor = BrickColor.new("New Yeller")
  1565. heropart5.Mesh.Scale = Vector3.new(0.25,1.3,0.25)
  1566. local heropart6 = prt15:Clone()
  1567. heropart6.Parent = modelzorz
  1568. heropart6.Transparency = 0.5
  1569. heropart6.Reflectance = 0.2
  1570. heropart6.BrickColor = BrickColor.new("New Yeller")
  1571. heropart6.Mesh.Scale = Vector3.new(0.25,1.4,0.25)
  1572. local heropart7 = prt16:Clone()
  1573. heropart7.Parent = modelzorz
  1574. heropart7.Transparency = 0.5
  1575. heropart7.Reflectance = 0.2
  1576. heropart7.BrickColor = BrickColor.new("New Yeller")
  1577. heropart7.Mesh.Scale = Vector3.new(0.25,1.5,0.25)
  1578. local heropart8 = prt17:Clone()
  1579. heropart8.Parent = modelzorz
  1580. heropart8.Transparency = 0.5
  1581. heropart8.Reflectance = 0.2
  1582. heropart8.BrickColor = BrickColor.new("New Yeller")
  1583. heropart8.Mesh.Scale = Vector3.new(0.25,0.9,0.25)
  1584. local heropart9 = prt18:Clone()
  1585. heropart9.Parent = modelzorz
  1586. heropart9.Transparency = 0.5
  1587. heropart9.Reflectance = 0.2
  1588. heropart9.BrickColor = BrickColor.new("New Yeller")
  1589. heropart9.Mesh.Scale = Vector3.new(0.25,1,0.25)
  1590. local heropart10 = prt19:Clone()
  1591. heropart10.Parent = modelzorz
  1592. heropart10.Transparency = 0.5
  1593. heropart10.Reflectance = 0.2
  1594. heropart10.BrickColor = BrickColor.new("New Yeller")
  1595. heropart10.Mesh.Scale = Vector3.new(0.25,1.1,0.25)
  1596. local heropart11 = prt20:Clone()
  1597. heropart11.Parent = modelzorz
  1598. heropart11.Transparency = 0.5
  1599. heropart11.Reflectance = 0.2
  1600. heropart11.BrickColor = BrickColor.new("New Yeller")
  1601. heropart11.Mesh.Scale = Vector3.new(0.25,1.2,0.25)
  1602. local heropart12 = prt21:Clone()
  1603. heropart12.Parent = modelzorz
  1604. heropart12.Transparency = 0.5
  1605. heropart12.Reflectance = 0.2
  1606. heropart12.BrickColor = BrickColor.new("New Yeller")
  1607. heropart12.Mesh.Scale = Vector3.new(0.25,1.3,0.25)
  1608. local heropart13 = prt22:Clone()
  1609. heropart13.Parent = modelzorz
  1610. heropart13.Transparency = 0.5
  1611. heropart13.Reflectance = 0.2
  1612. heropart13.BrickColor = BrickColor.new("New Yeller")
  1613. heropart13.Mesh.Scale = Vector3.new(0.25,1.4,0.25)
  1614. local heropart14 = prt23:Clone()
  1615. heropart14.Parent = modelzorz
  1616. heropart14.Transparency = 0.5
  1617. heropart14.Reflectance = 0.2
  1618. heropart14.BrickColor = BrickColor.new("New Yeller")
  1619. heropart14.Mesh.Scale = Vector3.new(0.25,1.5,0.25)
  1620. local heropart15 = prt27:Clone()
  1621. heropart15.Parent = modelzorz
  1622. heropart15.Transparency = 0.5
  1623. heropart15.Reflectance = 0.2
  1624. heropart15.BrickColor = BrickColor.new("New Yeller")
  1625. heropart15.Mesh.Scale = Vector3.new(0.4,0.7,1.1)
  1626. local heropart16 = prt28:Clone()
  1627. heropart16.Parent = modelzorz
  1628. heropart16.Transparency = 0.5
  1629. heropart16.Reflectance = 0.2
  1630. heropart16.BrickColor = BrickColor.new("New Yeller")
  1631. heropart16.Mesh.Scale = Vector3.new(0.4,0.7,1.1)
  1632.  
  1633. local heroweld1 = Instance.new("Weld")
  1634. heroweld1.Parent = heropart1
  1635. heroweld1.Part0 = heropart1
  1636. heroweld1.Part1 = prt10
  1637. heroweld1.C0 = CFrame.new(0,0.3,0)
  1638. local heroweld2 = Instance.new("Weld")
  1639. heroweld2.Parent = heropart2
  1640. heroweld2.Part0 = heropart2
  1641. heroweld2.Part1 = prt11
  1642. heroweld2.C0 = CFrame.new(0,0.3,0)
  1643. local heroweld3 = Instance.new("Weld")
  1644. heroweld3.Parent = heropart3
  1645. heroweld3.Part0 = heropart3
  1646. heroweld3.Part1 = prt12
  1647. heroweld3.C0 = CFrame.new(0,0.3,0)
  1648. local heroweld4 = Instance.new("Weld")
  1649. heroweld4.Parent = heropart4
  1650. heroweld4.Part0 = heropart4
  1651. heroweld4.Part1 = prt13
  1652. heroweld4.C0 = CFrame.new(0,0.3,0)
  1653. local heroweld5 = Instance.new("Weld")
  1654. heroweld5.Parent = heropart5
  1655. heroweld5.Part0 = heropart5
  1656. heroweld5.Part1 = prt14
  1657. heroweld5.C0 = CFrame.new(0,0.3,0)
  1658. local heroweld6 = Instance.new("Weld")
  1659. heroweld6.Parent = heropart6
  1660. heroweld6.Part0 = heropart6
  1661. heroweld6.Part1 = prt15
  1662. heroweld6.C0 = CFrame.new(0,0.3,0)
  1663. local heroweld7 = Instance.new("Weld")
  1664. heroweld7.Parent = heropart7
  1665. heroweld7.Part0 = heropart7
  1666. heroweld7.Part1 = prt16
  1667. heroweld7.C0 = CFrame.new(0,0.3,0)
  1668. local heroweld8 = Instance.new("Weld")
  1669. heroweld8.Parent = heropart8
  1670. heroweld8.Part0 = heropart8
  1671. heroweld8.Part1 = prt17
  1672. heroweld8.C0 = CFrame.new(0,0.3,0)
  1673. local heroweld9 = Instance.new("Weld")
  1674. heroweld9.Parent = heropart9
  1675. heroweld9.Part0 = heropart9
  1676. heroweld9.Part1 = prt18
  1677. heroweld9.C0 = CFrame.new(0,0.3,0)
  1678. local heroweld10 = Instance.new("Weld")
  1679. heroweld10.Parent = heropart10
  1680. heroweld10.Part0 = heropart10
  1681. heroweld10.Part1 = prt19
  1682. heroweld10.C0 = CFrame.new(0,0.3,0)
  1683. local heroweld11 = Instance.new("Weld")
  1684. heroweld11.Parent = heropart11
  1685. heroweld11.Part0 = heropart11
  1686. heroweld11.Part1 = prt20
  1687. heroweld11.C0 = CFrame.new(0,0.3,0)
  1688. local heroweld12 = Instance.new("Weld")
  1689. heroweld12.Parent = heropart12
  1690. heroweld12.Part0 = heropart12
  1691. heroweld12.Part1 = prt21
  1692. heroweld12.C0 = CFrame.new(0,0.3,0)
  1693. local heroweld13 = Instance.new("Weld")
  1694. heroweld13.Parent = heropart13
  1695. heroweld13.Part0 = heropart13
  1696. heroweld13.Part1 = prt22
  1697. heroweld13.C0 = CFrame.new(0,0.3,0)
  1698. local heroweld14 = Instance.new("Weld")
  1699. heroweld14.Parent = heropart14
  1700. heroweld14.Part0 = heropart14
  1701. heroweld14.Part1 = prt23
  1702. heroweld14.C0 = CFrame.new(0,0.3,0)
  1703. local heroweld15 = Instance.new("Weld")
  1704. heroweld15.Parent = heropart15
  1705. heroweld15.Part0 = heropart15
  1706. heroweld15.Part1 = prt27
  1707. heroweld15.C0 = CFrame.new(0,-0.1,0.1)
  1708. local heroweld16 = Instance.new("Weld")
  1709. heroweld16.Parent = heropart16
  1710. heroweld16.Part0 = heropart16
  1711. heroweld16.Part1 = prt28
  1712. heroweld16.C0 = CFrame.new(0,-0.1,0.1)
  1713.  
  1714. coroutine.resume(coroutine.create(function()
  1715. while HeroBar > 0 do
  1716. wait(0.1)
  1717. mana = 0
  1718. HeroBar = HeroBar - 1
  1719. --Character.Humanoid.Health = Character.Humanoid.Health + 0.1
  1720. local bawleffect = Instance.new("Part")
  1721. bawleffect.formFactor = 1
  1722. bawleffect.CanCollide = false
  1723. bawleffect.Name = "Effect"
  1724. bawleffect.Locked = true
  1725. bawleffect.Size = Vector3.new(1,1,1)
  1726. bawleffect.Parent = Character
  1727. bawleffect.Anchored = true
  1728. bawleffect.BrickColor = BrickColor.new("New Yeller")
  1729. bawleffect.CFrame = prt25.CFrame * CFrame.new(math.random(-1,0)+math.random(),math.random(-1,0)+math.random(),math.random(-2,5)+math.random())
  1730. local bawlmesh = Instance.new("SpecialMesh")
  1731. bawlmesh.Parent = bawleffect
  1732. bawlmesh.Scale = Vector3.new(0.1,0.1,0.1)
  1733. bawlmesh.MeshType = "Sphere"
  1734. coroutine.resume(coroutine.create(function(Part)
  1735. wait(0.1)
  1736. for i = 0,1,0.1 do
  1737. wait()
  1738. Part.Reflectance = i
  1739. Part.Transparency = i
  1740. end
  1741. Part.Parent = nil
  1742. end),bawleffect)
  1743. end
  1744. heromode = false
  1745. for i = 0,1,0.05 do
  1746. wait()
  1747. fentext5.BackgroundTransparency = fentext5.BackgroundTransparency + 0.05
  1748. fentext6.BackgroundTransparency = fentext6.BackgroundTransparency + 0.05
  1749. heropart1.Transparency = heropart1.Transparency + 0.05
  1750. heropart2.Transparency = heropart2.Transparency + 0.05
  1751. heropart3.Transparency = heropart3.Transparency + 0.05
  1752. heropart4.Transparency = heropart4.Transparency + 0.05
  1753. heropart5.Transparency = heropart5.Transparency + 0.05
  1754. heropart6.Transparency = heropart6.Transparency + 0.05
  1755. heropart7.Transparency = heropart7.Transparency + 0.05
  1756. heropart8.Transparency = heropart8.Transparency + 0.05
  1757. heropart9.Transparency = heropart9.Transparency + 0.05
  1758. heropart10.Transparency = heropart10.Transparency + 0.05
  1759. heropart11.Transparency = heropart11.Transparency + 0.05
  1760. heropart12.Transparency = heropart12.Transparency + 0.05
  1761. heropart13.Transparency = heropart13.Transparency + 0.05
  1762. heropart14.Transparency = heropart14.Transparency + 0.05
  1763. heropart15.Transparency = heropart15.Transparency + 0.05
  1764. heropart16.Transparency = heropart16.Transparency + 0.05
  1765. end
  1766. heropart1.Parent = nil
  1767. heropart2.Parent = nil
  1768. heropart3.Parent = nil
  1769. heropart4.Parent = nil
  1770. heropart5.Parent = nil
  1771. heropart6.Parent = nil
  1772. heropart7.Parent = nil
  1773. heropart8.Parent = nil
  1774. heropart9.Parent = nil
  1775. heropart10.Parent = nil
  1776. heropart11.Parent = nil
  1777. heropart12.Parent = nil
  1778. heropart13.Parent = nil
  1779. heropart14.Parent = nil
  1780. heropart15.Parent = nil
  1781. heropart16.Parent = nil
  1782. end))
  1783. wait(0.1)
  1784. for i = 0,1,0.1 do
  1785. wait()
  1786. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1-1*i,1.57) * CFrame.new(0,1,0)
  1787. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1788. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5-1.5*i,0,0)
  1789. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1790. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+1*i,0,0)
  1791. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1792. end
  1793. attack = false
  1794. end
  1795. end
  1796.  
  1797. function Imbue()
  1798. if mana >= 50 then
  1799. attack = true
  1800. for i = 0,1,0.1 do
  1801. wait()
  1802. MMMAGIC(RightArm,2,2,2,0,-1,0,BrickColor.new("White"))
  1803. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0.5*i,1.57) * CFrame.new(0,1,0)
  1804. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,-1.57*i,0)
  1805. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1806. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,0)
  1807. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1808. end
  1809. for i = 0,1,0.05 do
  1810. wait()
  1811. MMMAGIC(RightArm,3,3,3,0,-1-2*i,0,BrickColor.new("White"))
  1812. end
  1813. mana = mana - 50
  1814. Imbued = true
  1815. coroutine.resume(coroutine.create(function()
  1816. lasersound(1)
  1817. local Bawl1 = Instance.new("Part")
  1818. Bawl1.Parent = modelzorz
  1819. Bawl1.CanCollide = false
  1820. Bawl1.BrickColor = BrickColor.new("White")
  1821. Bawl1.Position = Torso.Position
  1822. Bawl1.Transparency = 1
  1823. Bawl1.Size = Vector3.new(1,1,1)
  1824. local BawlMesh1 = Instance.new("SpecialMesh")
  1825. BawlMesh1.Parent = Bawl1
  1826. BawlMesh1.MeshType = "Sphere"
  1827. BawlMesh1.Scale = Vector3.new(0,0,0)
  1828. local BawlWeld1 = Instance.new("Weld")
  1829. BawlWeld1.Parent = Bawl1
  1830. BawlWeld1.Part0 = Bawl1
  1831. BawlWeld1.Part1 = prt25
  1832. BawlWeld1.C0 = CFrame.new(1.5,0,0)
  1833. EVENMOARMAGIX(Bawl1,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
  1834. local Bawl2 = Instance.new("Part")
  1835. Bawl2.Parent = modelzorz
  1836. Bawl2.CanCollide = false
  1837. Bawl2.BrickColor = BrickColor.new("White")
  1838. Bawl2.Position = Torso.Position
  1839. Bawl2.Transparency = 1
  1840. Bawl2.Size = Vector3.new(1,1,1)
  1841. local BawlMesh2 = Instance.new("SpecialMesh")
  1842. BawlMesh2.Parent = Bawl2
  1843. BawlMesh2.MeshType = "Sphere"
  1844. BawlMesh2.Scale = Vector3.new(0,0,0)
  1845. local BawlWeld2 = Instance.new("Weld")
  1846. BawlWeld2.Parent = Bawl2
  1847. BawlWeld2.Part0 = Bawl2
  1848. BawlWeld2.Part1 = prt25
  1849. BawlWeld2.C0 = CFrame.new(-1.5,0,0)
  1850. EVENMOARMAGIX(Bawl2,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
  1851. coroutine.resume(coroutine.create(function()
  1852. while Imbued == true do
  1853. wait(0.1)
  1854. BawlWeld1.C0 = BawlWeld1.C0 * CFrame.fromEulerAnglesXYZ(0,0,0.3)
  1855. BawlWeld2.C0 = BawlWeld2.C0 * CFrame.fromEulerAnglesXYZ(0,0,0.3)
  1856. MMMAGIC(Bawl1,2,2,2,0,0,0,BrickColor.new("White"))
  1857. MMMAGIC(Bawl2,2,2,2,0,0,0,BrickColor.new("White"))
  1858. end
  1859. Bawl1.Parent = nil
  1860. Bawl2.Parent = nil
  1861. end))
  1862. end))
  1863. MMMAGIC(RightArm,5,5,5,0,-1-2,0,BrickColor.new("White"))
  1864. wait(0.5)
  1865. for i = 0,1,0.1 do
  1866. wait()
  1867. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0.5-0.5*i,1.57) * CFrame.new(0,1,0)
  1868. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57-0.57*i,-1.57+1.57*i,0)
  1869. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1870. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i*i,0,0)
  1871. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1872. end
  1873. attack = false
  1874. end
  1875. end
  1876.  
  1877. function Rest()
  1878. attack = true
  1879. Resting = true
  1880. Character.Humanoid.WalkSpeed = 0
  1881. gairo2.Parent = char1
  1882. gairo2.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  1883. gairo2.P = 20e+003
  1884. gairo2.cframe = char1.CFrame
  1885. bod = Instance.new("BodyPosition")
  1886. bod.position = char1.Position
  1887. bod.Parent = char1
  1888. bod.maxForce = Vector3.new(4e+080, 4e+080, 4e+080)
  1889. for i = 0,1,0.1 do
  1890. wait()
  1891. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0.8*i,1.57) * CFrame.new(0,1,0)
  1892. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5*i,0,0)
  1893. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1894. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1895. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1896. RW2.C0 = CFrame.new(0.1*i, -1.5, -0.3-0.2*i) * CFrame.fromEulerAnglesXYZ(0.8+0.77*i,0,0.5*i)
  1897. RW2.C1 = CFrame.new(-0.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1898. LW2.C0 = CFrame.new(-0.1*i, -1.5, 0.1-0.6*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.07*i,0,-0.5*i)
  1899. LW2.C1 = CFrame.new(0.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1900. charw1.C0 = CFrame.fromEulerAnglesXYZ(0.3*i,0,0) * CFrame.new(0,3.5-1*i,1+1*i)
  1901. end
  1902. bod.Parent = nil
  1903. coroutine.resume(coroutine.create(function()
  1904. while Resting == true do
  1905. wait(math.random(5,15))
  1906. for i = 1,2 do
  1907. wait()
  1908. for i = 0,1,0.2 do
  1909. wait()
  1910. if Resting == true then
  1911. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0.8-0.3*i,1.57) * CFrame.new(0,1,0)
  1912. end
  1913. end
  1914. for i = 0,1,0.2 do
  1915. wait()
  1916. if Resting == true then
  1917. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0.8-0.3+0.3*i,1.57) * CFrame.new(0,1,0)
  1918. end
  1919. end
  1920. end
  1921. end
  1922. end))
  1923. coroutine.resume(coroutine.create(function()
  1924. while Resting == true do
  1925. wait()
  1926. for i = 0,1,0.01 do
  1927. wait()
  1928. if Resting == true then
  1929. --wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0.8*i,1.57) * CFrame.new(0,1,0)
  1930. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5+0.2*i,0,0)
  1931. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1932. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.2*i,0,0)
  1933. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1934. RW2.C0 = CFrame.new(0.1, -1.5, -0.3-0.2) * CFrame.fromEulerAnglesXYZ(0.8+0.77,0,0.5)
  1935. RW2.C1 = CFrame.new(-0.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1936. LW2.C0 = CFrame.new(-0.1, -1.5, 0.1-0.6) * CFrame.fromEulerAnglesXYZ(-0.5+2.07,0,-0.5)
  1937. LW2.C1 = CFrame.new(0.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1938. --charw1.C0 = CFrame.fromEulerAnglesXYZ(0.3*i,0,0) * CFrame.new(0,3.5-1*i,1+1*i)
  1939. end
  1940. end
  1941. for i = 0,1,0.01 do
  1942. wait()
  1943. if Resting == true then
  1944. --wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0.8*i,1.57) * CFrame.new(0,1,0)
  1945. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5+0.2-0.2*i,0,0)
  1946. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1947. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.2-0.2*i,0,0)
  1948. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1949. RW2.C0 = CFrame.new(0.1, -1.5, -0.3-0.2) * CFrame.fromEulerAnglesXYZ(0.8+0.77,0,0.5)
  1950. RW2.C1 = CFrame.new(-0.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1951. LW2.C0 = CFrame.new(-0.1, -1.5, 0.1-0.6) * CFrame.fromEulerAnglesXYZ(-0.5+2.07,0,-0.5)
  1952. LW2.C1 = CFrame.new(0.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1953. --charw1.C0 = CFrame.fromEulerAnglesXYZ(0.3*i,0,0) * CFrame.new(0,3.5-1*i,1+1*i)
  1954. end
  1955. end
  1956. end
  1957. end))
  1958. humanoid = Character.Humanoid
  1959. lhh = humanoid.Health
  1960. while Resting == true do
  1961. wait()
  1962. if mana < 400 then
  1963. mana = mana + 1
  1964. end
  1965. Character.Humanoid.Health = Character.Humanoid.Health + 0.1
  1966. if humanoid.Health < lhh then
  1967. Resting = false
  1968. print(lhh - humanoid.Health)
  1969. test = lhh - humanoid.Health
  1970. lhh = humanoid.Health
  1971. else
  1972. end
  1973. end
  1974. if Sleeping == true then
  1975. bod = Instance.new("BodyPosition")
  1976. bod.position = char1.Position
  1977. bod.Parent = char1
  1978. bod.maxForce = Vector3.new(4e+080, 4e+080, 4e+080)
  1979. for i = 0,1,0.1 do
  1980. wait()
  1981. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.2*i,0,0)
  1982. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0.8,1.57) * CFrame.new(0,1,0)
  1983. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5-1.07*i,0,0)
  1984. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1985. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5-1.07*i,0,0)
  1986. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1987. RW2.C0 = CFrame.new(0.1-0.1*i, -1.5, -0.3-0.2+0.2*i) * CFrame.fromEulerAnglesXYZ(0.8+0.77-1.2*i,0,0.5-0.5*i)
  1988. RW2.C1 = CFrame.new(-0.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1989. LW2.C0 = CFrame.new(-0.1+0.1*i, -1.5, 0.1-0.6+0.2*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.07-1.2*i,0,-0.5+0.5*i)
  1990. LW2.C1 = CFrame.new(0.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1991. charw1.C0 = CFrame.fromEulerAnglesXYZ(0.3+1.27*i,0,0) * CFrame.new(0,3.5-1-1*i,1+1-3*i)
  1992. end
  1993. bod.Parent = nil
  1994. humanoid = Character.Humanoid
  1995. lhh = humanoid.Health
  1996. while Sleeping == true do
  1997. wait()
  1998. if mana < 400 then
  1999. mana = mana + 5
  2000. end
  2001. Character.Humanoid.Health = Character.Humanoid.Health + 0.5
  2002. if humanoid.Health < lhh then
  2003. Sleeping = false
  2004. print(lhh - humanoid.Health)
  2005. test = lhh - humanoid.Health
  2006. lhh = humanoid.Health
  2007. else
  2008. end
  2009. end
  2010. end
  2011. bod = Instance.new("BodyPosition")
  2012. bod.position = char1.Position
  2013. bod.Parent = char1
  2014. bod.maxForce = Vector3.new(4e+080, 4e+080, 4e+080)
  2015. for i = 0,1,0.1 do
  2016. wait()
  2017. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  2018. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0.8-0.8*i,1.57) * CFrame.new(0,1,0)
  2019. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5+1.5*i,0,0)
  2020. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2021. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  2022. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2023. RW2.C0 = CFrame.new(0.1-0.1*i, -1.5, -0.3-0.2+0.2*i) * CFrame.fromEulerAnglesXYZ(0.8+0.77-0.77*i,0,0.5-0.5*i)
  2024. RW2.C1 = CFrame.new(-0.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2025. LW2.C0 = CFrame.new(-0.1+0.1*i, -1.5, 0.1-0.6+0.6*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.07-2.07*i,0,-0.5+0.5*i)
  2026. LW2.C1 = CFrame.new(0.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2027. charw1.C0 = CFrame.fromEulerAnglesXYZ(0.3-0.3*i,0,0) * CFrame.new(0,3.5-1+1*i,1+1-1*i)
  2028. end
  2029. bod.Parent = nil
  2030. gairo2.Parent = nil
  2031. Character.Humanoid.WalkSpeed = 16
  2032. Resting = false
  2033. Sleeping = false
  2034. attack = false
  2035. end
  2036.  
  2037. function SpearThrow2(mouse)
  2038. if mana >= 50 or heromode == true then
  2039. attack = true
  2040. for i = 0,1,0.1 do
  2041. wait()
  2042. if heromode == true then
  2043. MMMAGIC(LeftArm,4,4,4,0,-1,0,BrickColor.new("New Yeller"))
  2044. else
  2045. MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("White"))
  2046. end
  2047. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14*i,1.57) * CFrame.new(0,1,0)
  2048. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  2049. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+3.04*i,0,0)
  2050. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2051. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2052. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2053. end
  2054. wait(0.1)
  2055. if RageBuff == true then
  2056. lolololdur = 0
  2057. while hold == true do
  2058. wait()
  2059. if heromode == true then
  2060. MMMAGIC(LeftArm,4,4,4,0,-1,0,BrickColor.new("New Yeller"))
  2061. else
  2062. if lolololdur >= 60 then
  2063. MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("Bright red"))
  2064. else
  2065. MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("White"))
  2066. end
  2067. end
  2068. if lolololdur == 10 then
  2069. magicsound(3)
  2070. MMMAGIC(prt25,1,1,1,0,0,0,BrickColor.new("Bright red"))
  2071. MMMAGIC(prt25,3,3,3,0,0,0,BrickColor.new("Bright red"))
  2072. rangepower = 30
  2073. end
  2074. if lolololdur == 30 then
  2075. magicsound(2)
  2076. MMMAGIC(prt25,3,3,3,0,0,0,BrickColor.new("Bright red"))
  2077. MMMAGIC(prt25,5,5,5,0,0,0,BrickColor.new("Bright red"))
  2078. rangepower = 50
  2079. end
  2080. if lolololdur == 60 then
  2081. magicsound(1)
  2082. MMMAGIC(prt25,5,5,5,0,0,0,BrickColor.new("Bright red"))
  2083. MMMAGIC(prt25,7,7,7,0,0,0,BrickColor.new("Bright red"))
  2084. rangepower = 100
  2085. RAEG = true
  2086. end
  2087. lolololdur = lolololdur + 1
  2088. end
  2089. end
  2090. ss(1)
  2091. coroutine.resume(coroutine.create(function()
  2092. for i = 0,1,0.2 do
  2093. wait()
  2094. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  2095. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57-2+1.5+2-3*i,0,0)
  2096. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2097. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.77,0,1.4-1.4)
  2098. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2099. end
  2100. end))
  2101. if heromode == false then
  2102. mana = mana - 50
  2103. end
  2104. if Riding == true then
  2105. for i = 1,6 do
  2106. coroutine.resume(coroutine.create(function()
  2107. shoottrail2(mouse)
  2108. end))
  2109. end
  2110. else
  2111. for i = 1,2 do
  2112. coroutine.resume(coroutine.create(function()
  2113. shoottrail2(mouse)
  2114. end))
  2115. end
  2116. end
  2117. prt1.CanCollide = true
  2118. shoottrail(mouse)
  2119. --ShootArrow(mouse.hit.p, 200, mouse.Target)
  2120. wait(1)
  2121. prt1.Anchored = false
  2122. wld1.Parent = prt1
  2123. wld1.Part0 = prt1
  2124. wld1.Part1 = LeftArm
  2125. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57) * CFrame.new(0,1,0)
  2126. wld1.C1 = CFrame.new(0,0,0)
  2127. if heromode == false then
  2128. else
  2129. wait(8)
  2130. end
  2131. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  2132. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  2133. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2134. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2135. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2136. attack = false
  2137. rangepower = 10
  2138. RAEG = false
  2139. end
  2140. end
  2141.  
  2142. function BouncingSpear(mouse)
  2143. attack = true
  2144. for i = 0,1,0.1 do
  2145. wait()
  2146. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14*i,1.57) * CFrame.new(0,1,0)
  2147. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  2148. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+3.04*i,0,0)
  2149. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2150. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2151. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2152. end
  2153. wait(0.1)
  2154. if RageBuff == true then
  2155. lolololdur = 0
  2156. while hold == true do
  2157. wait()
  2158. if lolololdur == 10 then
  2159. magicsound(3)
  2160. MMMAGIC(prt25,1,1,1,0,0,0,BrickColor.new("Bright red"))
  2161. MMMAGIC(prt25,3,3,3,0,0,0,BrickColor.new("Bright red"))
  2162. rangepower = 30
  2163. end
  2164. if lolololdur == 30 then
  2165. magicsound(2)
  2166. MMMAGIC(prt25,3,3,3,0,0,0,BrickColor.new("Bright red"))
  2167. MMMAGIC(prt25,5,5,5,0,0,0,BrickColor.new("Bright red"))
  2168. rangepower = 50
  2169. end
  2170. if lolololdur == 60 then
  2171. magicsound(1)
  2172. MMMAGIC(prt25,5,5,5,0,0,0,BrickColor.new("Bright red"))
  2173. MMMAGIC(prt25,7,7,7,0,0,0,BrickColor.new("Bright red"))
  2174. rangepower = 100
  2175. RAEG = true
  2176. end
  2177. lolololdur = lolololdur + 1
  2178. end
  2179. end
  2180. ss(1)
  2181. coroutine.resume(coroutine.create(function()
  2182. for i = 0,1,0.2 do
  2183. wait()
  2184. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  2185. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57-2+1.5+2-3*i,0,0)
  2186. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2187. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.77,0,1.4-1.4)
  2188. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2189. end
  2190. end))
  2191. Bouncing = true
  2192. prt1.CanCollide = true
  2193. spread2 = 100000
  2194. cloning = 0
  2195. wait()
  2196. attack = true
  2197. while wld1.Parent ~= nil and Bouncing == true and attack == true do
  2198. if wld1.Parent == nil then
  2199. Bouncing = false
  2200. end
  2201. cloning = cloning + 1
  2202. if cloning == 5 and heromode == false then
  2203. cloning = 0
  2204. for i = 1,2 do
  2205. coroutine.resume(coroutine.create(function()
  2206. shoottrail2(mouse)
  2207. end))
  2208. end
  2209. end
  2210. shoottrail(mouse)
  2211. --ShootArrow(mouse.hit.p, 200, mouse.Target)
  2212. if heromode == true then
  2213. rangepower = 40
  2214. spread = 2000
  2215. spread2 = 2500
  2216. --spread2 = 100000
  2217. --spread = 100000
  2218. range = 30
  2219. range2 = 200
  2220. elseif heromode == false then
  2221. rangepower = 10
  2222. spread = 2000
  2223. spread2 = 2500
  2224. --spread2 = 100000
  2225. --spread = 100000
  2226. range = 50
  2227. range2 = 200
  2228. end
  2229. wait(0)
  2230. end
  2231. wait(1)
  2232. rangepower = 10
  2233. spread = 0
  2234. range = 1000
  2235. range2 = 1000
  2236. spread2 = 500
  2237. cloning = 0
  2238. Bouncing = false
  2239. prt1.Anchored = false
  2240. wld1.Parent = prt1
  2241. wld1.Part0 = prt1
  2242. wld1.Part1 = LeftArm
  2243. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57) * CFrame.new(0,1,0)
  2244. wld1.C1 = CFrame.new(0,0,0)
  2245. if heromode == false then
  2246. else
  2247. wait(4)
  2248. end
  2249. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  2250. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  2251. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2252. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2253. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2254. attack = false
  2255. rangepower = 10
  2256. RAEG = false
  2257. end
  2258.  
  2259. function ThrowSpam(mouse)
  2260. attack = true
  2261. for i = 0,1,0.1 do
  2262. wait()
  2263. if heromode == true then
  2264. MMMAGIC(LeftArm,4,4,4,0,-1,0,BrickColor.new("New Yeller"))
  2265. else
  2266. MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("White"))
  2267. end
  2268. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14*i,1.57) * CFrame.new(0,1,0)
  2269. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  2270. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+3.04*i,0,0)
  2271. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2272. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2273. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2274. end
  2275. wait(0.1)
  2276. if RageBuff == true then
  2277. lolololdur = 0
  2278. while hold == true do
  2279. wait()
  2280. if heromode == true then
  2281. MMMAGIC(LeftArm,4,4,4,0,-1,0,BrickColor.new("New Yeller"))
  2282. else
  2283. if lolololdur >= 60 then
  2284. MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("Bright red"))
  2285. else
  2286. MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("White"))
  2287. end
  2288. end
  2289. if lolololdur == 10 then
  2290. magicsound(3)
  2291. MMMAGIC(prt25,1,1,1,0,0,0,BrickColor.new("Bright red"))
  2292. MMMAGIC(prt25,3,3,3,0,0,0,BrickColor.new("Bright red"))
  2293. rangepower = 30
  2294. end
  2295. if lolololdur == 30 then
  2296. magicsound(2)
  2297. MMMAGIC(prt25,3,3,3,0,0,0,BrickColor.new("Bright red"))
  2298. MMMAGIC(prt25,5,5,5,0,0,0,BrickColor.new("Bright red"))
  2299. rangepower = 50
  2300. end
  2301. if lolololdur == 60 then
  2302. magicsound(1)
  2303. MMMAGIC(prt25,5,5,5,0,0,0,BrickColor.new("Bright red"))
  2304. MMMAGIC(prt25,7,7,7,0,0,0,BrickColor.new("Bright red"))
  2305. rangepower = 100
  2306. RAEG = true
  2307. end
  2308. lolololdur = lolololdur + 1
  2309. end
  2310. end
  2311. ss(1)
  2312. coroutine.resume(coroutine.create(function()
  2313. for i = 1,10 do
  2314. coroutine.resume(coroutine.create(function()
  2315. wait(1)
  2316. shoottrail2(mouse)
  2317. end))
  2318. end
  2319. end))
  2320. coroutine.resume(coroutine.create(function()
  2321. for i = 0,1,0.2 do
  2322. wait()
  2323. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  2324. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57-2+1.5+2-3*i,0,0)
  2325. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2326. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.77,0,1.4-1.4)
  2327. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2328. end
  2329. end))
  2330. prt1.CanCollide = true
  2331. shoottrail(mouse)
  2332. --ShootArrow(mouse.hit.p, 200, mouse.Target)
  2333. wait(1)
  2334. prt1.Anchored = false
  2335. wld1.Parent = prt1
  2336. wld1.Part0 = prt1
  2337. wld1.Part1 = LeftArm
  2338. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57) * CFrame.new(0,1,0)
  2339. wld1.C1 = CFrame.new(0,0,0)
  2340. if heromode == false then
  2341. else
  2342. wait(4)
  2343. end
  2344. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  2345. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  2346. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2347. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2348. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2349. attack = false
  2350. rangepower = 10
  2351. RAEG = false
  2352. end
  2353.  
  2354. function ThrowSpam2(mouse)
  2355. attack = true
  2356. for i = 0,1,0.1 do
  2357. wait()
  2358. if heromode == true then
  2359. MMMAGIC(LeftArm,4,4,4,0,-1,0,BrickColor.new("New Yeller"))
  2360. else
  2361. MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("White"))
  2362. end
  2363. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14*i,1.57) * CFrame.new(0,1,0)
  2364. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  2365. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+3.04*i,0,0)
  2366. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2367. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2368. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2369. end
  2370. wait(0.1)
  2371. if RageBuff == true then
  2372. lolololdur = 0
  2373. while hold == true do
  2374. wait()
  2375. if heromode == true then
  2376. MMMAGIC(LeftArm,4,4,4,0,-1,0,BrickColor.new("New Yeller"))
  2377. else
  2378. if lolololdur >= 60 then
  2379. MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("Bright red"))
  2380. else
  2381. MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("White"))
  2382. end
  2383. end
  2384. if lolololdur == 10 then
  2385. magicsound(3)
  2386. MMMAGIC(prt25,1,1,1,0,0,0,BrickColor.new("Bright red"))
  2387. MMMAGIC(prt25,3,3,3,0,0,0,BrickColor.new("Bright red"))
  2388. rangepower = 30
  2389. end
  2390. if lolololdur == 30 then
  2391. magicsound(2)
  2392. MMMAGIC(prt25,3,3,3,0,0,0,BrickColor.new("Bright red"))
  2393. MMMAGIC(prt25,5,5,5,0,0,0,BrickColor.new("Bright red"))
  2394. rangepower = 50
  2395. end
  2396. if lolololdur == 60 then
  2397. magicsound(1)
  2398. MMMAGIC(prt25,5,5,5,0,0,0,BrickColor.new("Bright red"))
  2399. MMMAGIC(prt25,7,7,7,0,0,0,BrickColor.new("Bright red"))
  2400. rangepower = 100
  2401. RAEG = true
  2402. end
  2403. lolololdur = lolololdur + 1
  2404. end
  2405. end
  2406. ss(1)
  2407. coroutine.resume(coroutine.create(function()
  2408. for i = 1,30 do
  2409. wait(0.1)
  2410. coroutine.resume(coroutine.create(function()
  2411. shoottrail2(mouse)
  2412. end))
  2413. end
  2414. coroutine.resume(coroutine.create(function()
  2415. for i = 0,1,0.2 do
  2416. wait()
  2417. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  2418. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57-2+1.5+2-3*i,0,0)
  2419. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2420. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.77,0,1.4-1.4)
  2421. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2422. end
  2423. end))
  2424. prt1.CanCollide = true
  2425. shoottrail(mouse)
  2426. --ShootArrow(mouse.hit.p, 200, mouse.Target)
  2427. wait(1)
  2428. prt1.Anchored = false
  2429. wld1.Parent = prt1
  2430. wld1.Part0 = prt1
  2431. wld1.Part1 = LeftArm
  2432. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57) * CFrame.new(0,1,0)
  2433. wld1.C1 = CFrame.new(0,0,0)
  2434. if heromode == false then
  2435. else
  2436. wait(4)
  2437. end
  2438. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  2439. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  2440. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2441. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2442. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2443. attack = false
  2444. rangepower = 10
  2445. RAEG = false
  2446. end))
  2447. end
  2448.  
  2449. function WRYYY()
  2450. attack = true
  2451. if Riding == false then
  2452. Riding = true
  2453. bod = Instance.new("BodyPosition")
  2454. bod.position = Torso.Position + Vector3.new(0,50,0)
  2455. bod.Parent = Torso
  2456. bod.maxForce = Vector3.new(4e+080, 4e+080, 4e+080)
  2457. for i = 0,1,0.1 do
  2458. wait()
  2459. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  2460. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1*i,0,0)
  2461. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2462. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,0,0)
  2463. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2464. end
  2465. if chariot.Parent == nil then
  2466. local c = chariot:children()
  2467. for i = 1,#c do
  2468. c[i].Transparency = 1
  2469. end
  2470. local c = chariot:children()
  2471. for i = 1,#c do
  2472. coroutine.resume(coroutine.create(function(Part)
  2473. for i = 0,1,0.1 do
  2474. wait(0.1)
  2475. Part.Transparency = Part.Transparency - 0.1
  2476. end
  2477. end),c[i])
  2478. end
  2479. wait(0.1)
  2480. gairo2.Parent = nil
  2481. char1.Anchored = false
  2482. chariot.Parent = mien
  2483. charw1.Parent = char1
  2484. charw1.Part1 = Torso
  2485. charw1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,3,0)
  2486. Character.Humanoid.WalkSpeed = 20
  2487. wait(1)
  2488. else
  2489. gairo2.Parent = nil
  2490. char1.Anchored = false
  2491. chariot.Parent = mien
  2492. charw1.Parent = char1
  2493. charw1.Part1 = Torso
  2494. charw1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,3,0)
  2495. Character.Humanoid.WalkSpeed = 20
  2496. wait(1)
  2497. end
  2498. bod.position = Torso.Position - Vector3.new(0,50,0)
  2499. for i = 0,1,0.1 do
  2500. wait()
  2501. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  2502. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1-1.5*i,0,0)
  2503. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2504. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-1.5*i,0,0)
  2505. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2506. end
  2507. local c = game.Workspace:GetChildren();
  2508. for i = 1, #c do
  2509. local hum = c[i]:findFirstChild("Humanoid")
  2510. if hum ~= nil and hum.Health ~= 0 then
  2511. local head = c[i]:findFirstChild("Head");
  2512. if head ~= nil then
  2513. local targ = head.Position - char1.Position;
  2514. local mag = targ.magnitude;
  2515. if mag <= 6 and c[i].Name ~= Player.Name then
  2516. wait()
  2517. WRYHit(head,char1,50)
  2518. end
  2519. end
  2520. end
  2521. end
  2522. wait(0.5)
  2523. bod.Parent = nil
  2524. end
  2525. attack = false
  2526. end
  2527.  
  2528. function GroundSlasher()
  2529. attack = true
  2530. gairo.Parent = Head
  2531. gairo.cframe = Head.CFrame
  2532. spikecona1=char18.Touched:connect(function(hit) SpikeDamage(hit,10,20) end)
  2533. spikecona2=char19.Touched:connect(function(hit) SpikeDamage(hit,10,20) end)
  2534. spikecona3=char20.Touched:connect(function(hit) SpikeDamage(hit,10,20) end)
  2535. spikecona4=char21.Touched:connect(function(hit) SpikeDamage(hit,10,20) end)
  2536. spikecona5=char22.Touched:connect(function(hit) SpikeDamage(hit,10,20) end)
  2537. spikecona6=char23.Touched:connect(function(hit) SpikeDamage(hit,10,20) end)
  2538. spikecona7=char24.Touched:connect(function(hit) SpikeDamage(hit,10,20) end)
  2539. for i = 0,1,0.1 do
  2540. wait()
  2541. gairo.cframe = Head.CFrame * CFrame.fromEulerAnglesXYZ(-0.1*i,0,0)
  2542. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  2543. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-3*i,0,0)
  2544. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2545. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2*i,0,0)
  2546. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2547. end
  2548. blah = 0
  2549. for i = 0,1,0.01 do
  2550. wait()
  2551. blah = blah + 0.5
  2552. charw17.C0 = CFrame.fromEulerAnglesXYZ(0,blah,0) * CFrame.new(0,0,2)
  2553. end
  2554. gairo.Parent = nil
  2555. for i = 0,1,0.1 do
  2556. wait()
  2557. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-3+3*i,0,0)
  2558. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2559. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2+2*i,0,0)
  2560. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2561. end
  2562. spikecona1:disconnect()
  2563. spikecona2:disconnect()
  2564. spikecona3:disconnect()
  2565. spikecona4:disconnect()
  2566. spikecona5:disconnect()
  2567. spikecona6:disconnect()
  2568. spikecona7:disconnect()
  2569. wait(1)
  2570. attack = false
  2571. end
  2572.  
  2573. function SpearWave(mouse)
  2574. attack = true
  2575. spearwave = true
  2576. prt1.CanCollide = true
  2577. shoottrail(Torso.Position)
  2578. --ShootArrow(mouse.hit.p, 200, mouse.Target)
  2579. wait(1)
  2580. prt1.Anchored = false
  2581. wld1.Parent = prt1
  2582. wld1.Part0 = prt1
  2583. wld1.Part1 = LeftArm
  2584. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57) * CFrame.new(0,1,0)
  2585. wld1.C1 = CFrame.new(0,0,0)
  2586. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  2587. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  2588. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2589. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2590. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2591. spearwave = false
  2592. attack = false
  2593. end
  2594.  
  2595. function Halo()
  2596. if HealBuff == false and mana >= 50 then
  2597. attack = true
  2598. HealBuff = true
  2599. for i = 0,1,0.1 do
  2600. wait()
  2601. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1*i,1.57) * CFrame.new(0,1,0)
  2602. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5*i,0,0)
  2603. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2604. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  2605. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2606. end
  2607. mana = mana - 50
  2608. purify(1)
  2609. EVENMOARMAGIX(prt25,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
  2610. Character.Humanoid.MaxHealth = 200
  2611. wait()
  2612. Character.Humanoid.Health = Character.Humanoid.Health * 2
  2613. local las=Instance.new("Part",workspace)
  2614. las.Anchored=true
  2615. las.Locked=true
  2616. las.CanCollide=false
  2617. las.TopSurface=0
  2618. las.BottomSurface=0
  2619. las.FormFactor = "Custom"
  2620. las.BrickColor=BrickColor.new("White")
  2621. las.Size=Vector3.new(1,1,1)
  2622. las.CFrame=CFrame.new((prt25.Position+Torso.Position)/2,Torso.Position) *CFrame.Angles(math.rad(90),0,0)
  2623. local msh=Instance.new("SpecialMesh",las)
  2624. mag = (prt25.Position-Torso.Position).magnitude
  2625. msh.Scale=Vector3.new(1,mag,1)
  2626. coroutine.resume(coroutine.create(function(Part,Mesh)
  2627. for i = 0,1,0.1 do
  2628. wait()
  2629. Part.Transparency = Part.Transparency + 0.1
  2630. Mesh.Scale = Mesh.Scale + Vector3.new(-0.05,0.7,-0.05)
  2631. end
  2632. Part.Parent = nil
  2633. end),las,msh)
  2634. local halo = Instance.new("Part")
  2635. halo.Parent = modelzorz
  2636. halo.CanCollide = false
  2637. halo.BrickColor = BrickColor.new("White")
  2638. halo.Position = Torso.Position
  2639. halo.Transparency = 1
  2640. halo.Size = Vector3.new(1,1,1)
  2641. local haloMesh = Instance.new("SpecialMesh")
  2642. haloMesh.Parent = halo
  2643. haloMesh.MeshType = "Sphere"
  2644. haloMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2645. haloMesh.Scale = Vector3.new(0,1,0)
  2646. local haloWeld = Instance.new("Weld")
  2647. haloWeld.Parent = halo
  2648. haloWeld.Part0 = halo
  2649. haloWeld.Part1 = Head
  2650. haloWeld.C0 = CFrame.new(0,0,-1.7) * CFrame.fromEulerAnglesXYZ(1.57,0,0)
  2651. coroutine.resume(coroutine.create(function()
  2652. for i = 0,1,0.1 do
  2653. wait()
  2654. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1-1*i,1.57) * CFrame.new(0,1,0)
  2655. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5-1.5*i,0,0)
  2656. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2657. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  2658. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2659. end
  2660. end))
  2661. attack = false
  2662. for i = 0,1,0.1 do
  2663. wait()
  2664. halo.Transparency = halo.Transparency - 0.1
  2665. haloMesh.Scale = haloMesh.Scale + Vector3.new(0.1,0,0.1)
  2666. end
  2667. while Character.Humanoid.Health >= 100 do
  2668. wait()
  2669. end
  2670. Character.Humanoid.MaxHealth = 100
  2671. wait()
  2672. for i = 0,1,0.1 do
  2673. wait()
  2674. halo.Transparency = halo.Transparency + 0.1
  2675. end
  2676. halo.Parent = nil
  2677. HealBuff = false
  2678. end
  2679. end
  2680.  
  2681. function HaloOther(mouse)
  2682. if mana >= 50 and mouse.Target.Parent:findFirstChild("Humanoid")~=nil then
  2683. attack = true
  2684. durp = mouse.Target
  2685. for i = 0,1,0.1 do
  2686. wait()
  2687. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1*i,1.57) * CFrame.new(0,1,0)
  2688. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5*i,0,0)
  2689. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2690. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  2691. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2692. end
  2693. mana = mana - 50
  2694. purify(1)
  2695. EVENMOARMAGIX(prt25,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
  2696. durp.Parent.Humanoid.MaxHealth = 200
  2697. wait()
  2698. durp.Parent.Humanoid.Health = durp.Parent.Humanoid.Health * 2
  2699. local las=Instance.new("Part",workspace)
  2700. las.Anchored=true
  2701. las.Locked=true
  2702. las.CanCollide=false
  2703. las.TopSurface=0
  2704. las.BottomSurface=0
  2705. las.FormFactor = "Custom"
  2706. las.BrickColor=BrickColor.new("White")
  2707. las.Size=Vector3.new(1,1,1)
  2708. las.CFrame=CFrame.new((prt25.Position+durp.Parent.Torso.Position)/2,durp.Parent.Torso.Position) *CFrame.Angles(math.rad(90),0,0)
  2709. local msh=Instance.new("SpecialMesh",las)
  2710. mag = (prt25.Position-durp.Parent.Torso.Position).magnitude
  2711. msh.Scale=Vector3.new(1,mag,1)
  2712. coroutine.resume(coroutine.create(function(Part,Mesh)
  2713. for i = 0,1,0.1 do
  2714. wait()
  2715. Part.Transparency = Part.Transparency + 0.1
  2716. Mesh.Scale = Mesh.Scale + Vector3.new(-0.05,0.7,-0.05)
  2717. end
  2718. Part.Parent = nil
  2719. end),las,msh)
  2720. local halo = Instance.new("Part")
  2721. halo.Parent = durp.Parent
  2722. halo.CanCollide = false
  2723. halo.BrickColor = BrickColor.new("White")
  2724. halo.Position = Torso.Position
  2725. halo.Transparency = 1
  2726. halo.Size = Vector3.new(1,1,1)
  2727. local haloMesh = Instance.new("SpecialMesh")
  2728. haloMesh.Parent = halo
  2729. haloMesh.MeshType = "Sphere"
  2730. haloMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2731. haloMesh.Scale = Vector3.new(0,1,0)
  2732. local haloWeld = Instance.new("Weld")
  2733. haloWeld.Parent = halo
  2734. haloWeld.Part0 = halo
  2735. haloWeld.Part1 = durp.Parent:findFirstChild("Head")
  2736. haloWeld.C0 = CFrame.new(0,0,-1.7) * CFrame.fromEulerAnglesXYZ(1.57,0,0)
  2737. coroutine.resume(coroutine.create(function()
  2738. for i = 0,1,0.1 do
  2739. wait()
  2740. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1-1*i,1.57) * CFrame.new(0,1,0)
  2741. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5-1.5*i,0,0)
  2742. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2743. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  2744. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2745. end
  2746. end))
  2747. attack = false
  2748. for i = 0,1,0.1 do
  2749. wait()
  2750. halo.Transparency = halo.Transparency - 0.1
  2751. haloMesh.Scale = haloMesh.Scale + Vector3.new(0.1,0,0.1)
  2752. end
  2753. while durp.Parent.Humanoid.Health >= 100 do
  2754. wait()
  2755. end
  2756. durp.Parent.Humanoid.MaxHealth = 100
  2757. wait()
  2758. if halo.Parent ~= nil then
  2759. for i = 0,1,0.1 do
  2760. wait()
  2761. halo.Transparency = halo.Transparency + 0.1
  2762. end
  2763. halo.Parent = nil
  2764. end
  2765. end
  2766. end
  2767.  
  2768. function HealOther(mouse)
  2769. if mana >= 20 and mouse.Target.Parent:findFirstChild("Humanoid")~=nil then
  2770. attack = true
  2771. durp = mouse.Target
  2772. for i = 0,1,0.1 do
  2773. wait()
  2774. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1*i,1.57) * CFrame.new(0,1,0)
  2775. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5*i,0,0)
  2776. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2777. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  2778. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2779. end
  2780. mana = mana - 20
  2781. purify(1)
  2782. EVENMOARMAGIX(prt25,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
  2783. EVENMOARMAGIX(durp.Parent.Torso,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
  2784. durp.Parent.Humanoid.Health = durp.Parent.Humanoid.Health + 20
  2785. coroutine.resume(coroutine.create(function()
  2786. for i = 0,1,0.1 do
  2787. wait()
  2788. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1-1*i,1.57) * CFrame.new(0,1,0)
  2789. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5-1.5*i,0,0)
  2790. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2791. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  2792. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2793. end
  2794. end))
  2795. attack = false
  2796. end
  2797. end
  2798.  
  2799. function BuffWalk()
  2800. if WalkBuff == false and mana >= 50 then
  2801. attack = true
  2802. WalkBuff = true
  2803. for i = 0,1,0.1 do
  2804. wait()
  2805. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1*i,1.57) * CFrame.new(0,1,0)
  2806. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5*i,0,0)
  2807. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2808. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  2809. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2810. end
  2811. mana = mana - 50
  2812. lasersound(1)
  2813. EVENMOARMAGIX(prt25,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
  2814. Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed + 5
  2815. coroutine.resume(coroutine.create(function()
  2816. for i = 0,1,0.1 do
  2817. wait()
  2818. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1-1*i,1.57) * CFrame.new(0,1,0)
  2819. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5-1.5*i,0,0)
  2820. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2821. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  2822. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2823. end
  2824. end))
  2825. attack = false
  2826. for i = 0,120 do
  2827. wait(0.1)
  2828. if LeftLeg~=nil then
  2829. MMMAGIC(LeftLeg,2,2,2,0,-0.8,0,BrickColor.new("White"))
  2830. end
  2831. if RightLeg~=nil then
  2832. MMMAGIC(RightLeg,2,2,2,0,-0.8,0,BrickColor.new("White"))
  2833. end
  2834. end
  2835. Character.Humanoid.WalkSpeed = Character.Humanoid.WalkSpeed - 5
  2836. WalkBuff = false
  2837. end
  2838. end
  2839.  
  2840. function BuffWalkOther(mouse)
  2841. if mana >= 50 and mouse.Target.Parent:findFirstChild("Humanoid")~=nil then
  2842. attack = true
  2843. durp = mouse.Target
  2844. for i = 0,1,0.1 do
  2845. wait()
  2846. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1*i,1.57) * CFrame.new(0,1,0)
  2847. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5*i,0,0)
  2848. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2849. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  2850. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2851. end
  2852. mana = mana - 50
  2853. lasersound(1)
  2854. EVENMOARMAGIX(prt25,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
  2855. durp.Parent.Humanoid.WalkSpeed = durp.Parent.Humanoid.WalkSpeed + 5
  2856. local las=Instance.new("Part",workspace)
  2857. las.Anchored=true
  2858. las.Locked=true
  2859. las.CanCollide=false
  2860. las.TopSurface=0
  2861. las.BottomSurface=0
  2862. las.FormFactor = "Custom"
  2863. las.BrickColor=BrickColor.new("White")
  2864. las.Size=Vector3.new(1,1,1)
  2865. las.CFrame=CFrame.new((prt25.Position+durp.Parent.Torso.Position)/2,durp.Parent.Torso.Position) *CFrame.Angles(math.rad(90),0,0)
  2866. local msh=Instance.new("SpecialMesh",las)
  2867. mag = (prt25.Position-durp.Parent.Torso.Position).magnitude
  2868. msh.Scale=Vector3.new(1,mag,1)
  2869. coroutine.resume(coroutine.create(function(Part,Mesh)
  2870. for i = 0,1,0.1 do
  2871. wait()
  2872. Part.Transparency = Part.Transparency + 0.1
  2873. Mesh.Scale = Mesh.Scale + Vector3.new(-0.05,0.7,-0.05)
  2874. end
  2875. Part.Parent = nil
  2876. end),las,msh)
  2877. coroutine.resume(coroutine.create(function()
  2878. for i = 0,1,0.1 do
  2879. wait()
  2880. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1-1*i,1.57) * CFrame.new(0,1,0)
  2881. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5-1.5*i,0,0)
  2882. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2883. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  2884. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2885. end
  2886. end))
  2887. attack = false
  2888. coroutine.resume(coroutine.create(function(Him)
  2889. for i = 0,120 do
  2890. wait(0.1)
  2891. if Him.Parent:findFirstChild("Left Leg")~=nil then
  2892. MMMAGIC(Him.Parent["Left Leg"],2,2,2,0,-0.8,0,BrickColor.new("White"))
  2893. end
  2894. if Him.Parent:findFirstChild("Right Leg")~=nil then
  2895. MMMAGIC(Him.Parent["Right Leg"],2,2,2,0,-0.8,0,BrickColor.new("White"))
  2896. end
  2897. end
  2898. Him.Parent.Humanoid.WalkSpeed = Him.Parent.Humanoid.WalkSpeed - 5
  2899. end),durp)
  2900. end
  2901. end
  2902.  
  2903. function BuffRage(mouse)
  2904. if RageBuff == false and mana >= 100 then
  2905. attack = true
  2906. RageBuff = true
  2907. for i = 0,1,0.1 do
  2908. wait()
  2909. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1*i,1.57) * CFrame.new(0,1,0)
  2910. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5*i,0,0)
  2911. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2912. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  2913. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2914. end
  2915. mana = mana - 100
  2916. lasersound(1)
  2917. EVENMOARMAGIX(prt25,5,3,5,0,0,0,0,0,0,BrickColor.new("Bright red"))
  2918. coroutine.resume(coroutine.create(function()
  2919. for i = 0,1,0.1 do
  2920. wait()
  2921. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1-1*i,1.57) * CFrame.new(0,1,0)
  2922. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5-1.5*i,0,0)
  2923. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2924. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  2925. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2926. end
  2927. end))
  2928. attack = false
  2929. for i = 1,10 do
  2930. wait(1)
  2931. local msh1 = Instance.new("SpecialMesh")
  2932. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  2933. msh1.MeshType = "Sphere"
  2934. S=Instance.new("Part")
  2935. S.Name="Effect"
  2936. S.formFactor=0
  2937. S.Size=Vector3.new(1,1,1)
  2938. S.BrickColor=BrickColor.new("Bright red")
  2939. S.Reflectance = 0
  2940. S.TopSurface=0
  2941. S.BottomSurface=0
  2942. S.Transparency=0
  2943. S.Anchored=false
  2944. S.CanCollide=false
  2945. S.CFrame=prt25.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  2946. S.Parent=Character
  2947. msh1.Parent = S
  2948. W=Instance.new("Weld")
  2949. W.Parent=S
  2950. W.Part0=S
  2951. W.Part1=prt25
  2952. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.15,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  2953.  
  2954. end
  2955. RageBuff = false
  2956. end
  2957. end
  2958.  
  2959. function HealOther(mouse)
  2960. if mana >= 0 then
  2961. attack = true
  2962. Healing = true
  2963. durp = mouse.Target
  2964. for i = 0,1,0.1 do
  2965. wait()
  2966. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1*i,1.57) * CFrame.new(0,1,0)
  2967. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5*i,0,0)
  2968. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2969. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  2970. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2971. end
  2972. if mouse.Hit.p ~= nil then
  2973. purify(1)
  2974. local las=Instance.new("Part")
  2975. las.Parent = modelzorz
  2976. las.Anchored=true
  2977. las.Locked=true
  2978. las.CanCollide=false
  2979. las.TopSurface=0
  2980. las.BottomSurface=0
  2981. las.FormFactor = "Custom"
  2982. las.Transparency = 1
  2983. las.BrickColor=BrickColor.new("White")
  2984. las.Size=Vector3.new(1,1,1)
  2985. las.CFrame=CFrame.new(mouse.Hit.p)
  2986. local msh=Instance.new("SpecialMesh",las)
  2987. msh.Scale=Vector3.new(10,5000,10)
  2988. local las2=Instance.new("Part",modelzorz)
  2989. las2.Anchored=true
  2990. las2.Locked=true
  2991. las2.CanCollide=false
  2992. las2.TopSurface=0
  2993. las2.BottomSurface=0
  2994. las2.FormFactor = "Custom"
  2995. las2.BrickColor=BrickColor.new("White")
  2996. las2.Size=Vector3.new(1,1,1)
  2997. las2.CFrame=CFrame.new((prt25.Position+las.Position)/2,las.Position) *CFrame.Angles(math.rad(90),0,0)
  2998. las2.Transparency = 1
  2999. local msh2=Instance.new("SpecialMesh",las2)
  3000. mag = (prt25.Position-las.Position).magnitude
  3001. msh2.Scale=Vector3.new(1,mag,1)
  3002. for i = 0,1,0.1 do
  3003. wait()
  3004. las.Transparency = las.Transparency - 0.05
  3005. las2.Transparency = las2.Transparency - 0.05
  3006. end
  3007. while mouse.Target ~= nil and mouse.Hit.p ~= nil and las.Parent ~= nil and las2.Parent ~= nil and Healing == true and mana >= 0 do
  3008. wait()
  3009. if heromode == false then
  3010. mana = mana - 1
  3011. end
  3012. durp = mouse.Target
  3013. if durp.Parent:findFirstChild("Humanoid")~=nil then
  3014. durp.Parent.Humanoid.Health = durp.Parent.Humanoid.Health + 1
  3015. end
  3016. las.CFrame=CFrame.new(mouse.Hit.p)
  3017. las2.CFrame=CFrame.new((prt25.Position+las.Position)/2,las.Position) *CFrame.Angles(math.rad(90),0,0)
  3018. mag = (prt25.Position-las.Position).magnitude
  3019. msh2.Scale=Vector3.new(1,mag,1)
  3020. end
  3021. for i = 0,1,0.1 do
  3022. wait()
  3023. las.Transparency = las.Transparency + 0.05
  3024. las2.Transparency = las2.Transparency + 0.05
  3025. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,1-1*i,1.57) * CFrame.new(0,1,0)
  3026. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5-1.5*i,0,0)
  3027. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3028. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  3029. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3030. end
  3031. las.Parent = nil
  3032. las2.Parent = nil
  3033. attack = false
  3034. end
  3035. end
  3036. end
  3037.  
  3038. --[[function ChariotThrow()
  3039. attack = true
  3040. for i = 0,1,0.1 do
  3041. wait()
  3042. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  3043. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-3*i,0,0)
  3044. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3045. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2*i,0,0)
  3046. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3047. end
  3048. for i = 0,1,0.1 do
  3049. wait()
  3050. charw1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,3,50*i*i)
  3051. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  3052. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-3+4*i*i,0,0)
  3053. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3054. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2+4*i*i,0,0)
  3055. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3056. end
  3057. wait(0.5)
  3058. charw1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,3,0)
  3059. wait(0.5)
  3060. attack = false
  3061. end ]]
  3062.  
  3063. spread = 0
  3064. range = 1000
  3065. rangepower = 10
  3066. function shoottrail(mouse)
  3067. local spreadvector = (Vector3.new(math.random(-spread,spread),math.random(-spread,spread),math.random(-spread,spread)) / 100) * (prt1.Position-mouse.Hit.p).magnitude/100
  3068. local dir = CFrame.new((prt1.Position+mouse.Hit.p)/2,mouse.Hit.p+spreadvector)
  3069. local hit,pos = rayCast(prt1.Position,dir.lookVector,10,Character)
  3070. local rangepos = range
  3071. local function drawtrail(From,To)
  3072. local effectsmsh = Instance.new("CylinderMesh")
  3073. effectsmsh.Scale = Vector3.new(1,1,1)
  3074. effectsmsh.Name = "Mesh"
  3075. local effectsg = Instance.new("Part")
  3076. effectsg.formFactor = 3
  3077. effectsg.CanCollide = false
  3078. effectsg.Name = "Eff"
  3079. effectsg.Locked = true
  3080. effectsg.Anchored = true
  3081. effectsg.Size = Vector3.new(2,0.5,2)
  3082. effectsg.Parent = workspace
  3083. effectsmsh.Parent = effectsg
  3084. if heromode == true then
  3085. effectsg.BrickColor = BrickColor.new("New Yeller")
  3086. else
  3087. effectsg.BrickColor = BrickColor.new("Black")
  3088. end
  3089. effectsg.Reflectance = 0.25
  3090. local LP = From
  3091. local point1 = To
  3092. local mg = (LP - point1).magnitude
  3093. effectsmsh.Scale = Vector3.new(1,mg*5,1)
  3094. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  3095. --prt25.CFrame = effectsg.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(180),1.57,0)
  3096. prt25.CFrame = effectsg.CFrame * CFrame.fromEulerAnglesXYZ(-1.57,0,1.57)
  3097. wld1.Part0 = prt25
  3098. wld1.Part1 = effectsg
  3099. --wld1.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  3100. wld1.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57)
  3101. wld1.C1 = CFrame.new(0,0,0)
  3102. coroutine.resume(coroutine.create(function()
  3103. for i = 0 , 1 , 0.1 do
  3104. wait()
  3105. prt1.CFrame = effectsg.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(180),1.57,0)
  3106. effectsg.Transparency = 1*i
  3107. effectsmsh.Scale = Vector3.new(1-1*i,mg*5,1-1*i)
  3108. end
  3109. effectsg.Parent = nil
  3110. end))
  3111. end
  3112. local newpos = prt1.Position
  3113. local inc = rangepower
  3114. repeat
  3115. wait()
  3116. rangepos = rangepos - 10
  3117. dir = dir * CFrame.Angles(math.rad(-1),0,0)
  3118. hit,pos = rayCast(newpos,dir.lookVector,inc,Character)
  3119. drawtrail(newpos,pos)
  3120. newpos = newpos + (dir.lookVector * inc)
  3121. if inc >= 20 then
  3122. inc = inc - 10
  3123. end
  3124. if hit ~= nil then
  3125. rangepos = 0
  3126. end
  3127. until rangepos <= 0
  3128. if hit ~= nil then
  3129. local effectsmsh = Instance.new("SpecialMesh")
  3130. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  3131. effectsmsh.TextureId = "http://www.roblox.com/asset/?id=15886781"
  3132. effectsmsh.Scale = Vector3.new(1,1,2.5)
  3133. local effectsg = Instance.new("Part")
  3134. effectsg.formFactor = 3
  3135. effectsg.CanCollide = false
  3136. effectsg.Name = "Arrow"
  3137. effectsg.Locked = true
  3138. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  3139. effectsg.Parent = nil
  3140. effectsmsh.Parent = effectsg
  3141. effectsg.CFrame = CFrame.new(newpos,pos) + CFrame.new(newpos,pos).lookVector*2.5*2
  3142. prt1.CFrame = effectsg.CFrame
  3143. wld1.Part0 = prt1
  3144. wld1.Part1 = hit
  3145. --local HitPos = effectsg.Position + CFrame.new(newpos,pos).lookVector*0.75
  3146. --local HitPos = prt1.Position + CFrame.new(newpos,pos).lookVector*0.75
  3147. local HitPos = prt1.Position + (prt1.CFrame.lookVector * .5)
  3148. prt1.CFrame = CFrame.new(HitPos) * CFrame.fromEulerAnglesXYZ(0,1.57,0)
  3149. local CJ = CFrame.new(HitPos)
  3150. local C0 = prt1.CFrame:inverse() * CJ
  3151. local C1 = hit.CFrame:inverse() * CJ
  3152. wld1.C0 = C0
  3153. wld1.C1 = C1
  3154. wld1.Parent = prt1
  3155. Damg = 40
  3156. hs(0.8)
  3157. if RAEG == true then
  3158. magicsound(1)
  3159. Damg=Damg+10
  3160. MMMAGIC(prt25,10,10,10,0,0,0,BrickColor.new("Bright red"))
  3161. MMMAGIC(prt25,8,8,8,0,0,0,BrickColor.new("Bright yellow"))
  3162. local c = game.Workspace:GetChildren();
  3163. for i = 1, #c do
  3164. local hum = c[i]:findFirstChild("Humanoid")
  3165. if hum ~= nil and hum.Health ~= 0 then
  3166. local head = c[i]:findFirstChild("Head");
  3167. if head ~= nil then
  3168. local targ = head.Position - prt25.Position;
  3169. local mag = targ.magnitude;
  3170. if mag <= 15 and c[i].Name ~= Player.Name then
  3171. wait()
  3172. DBHit(head,prt25,10)
  3173. end
  3174. end
  3175. end
  3176. end
  3177. end
  3178. if Imbued == true or heromode == true then
  3179. magicsound(0.7)
  3180. local c = game.Workspace:GetChildren();
  3181. for i = 1, #c do
  3182. local hum = c[i]:findFirstChild("Humanoid")
  3183. if hum ~= nil and hum.Health ~= 0 then
  3184. local head = c[i]:findFirstChild("Head");
  3185. if head ~= nil then
  3186. local targ = head.Position - prt25.Position;
  3187. local mag = targ.magnitude;
  3188. if mag <= 15 and c[i].Name ~= Player.Name then
  3189. wait()
  3190. if heromode == true and Bouncing == true then
  3191. DBHit(head,prt25,5)
  3192. else
  3193. DBHit(head,prt25,30)
  3194. end
  3195. end
  3196. end
  3197. end
  3198. end
  3199. local msh1 = Instance.new("SpecialMesh") --Messy Script incoming >_>
  3200. msh1.Scale = Vector3.new(0.01,0.01,0.01)
  3201. msh1.MeshType = "Sphere"
  3202. S=Instance.new("Part")
  3203. S.Name="Effect"
  3204. S.formFactor=0
  3205. S.Size=Vector3.new(3,3,3)
  3206. if heromode == true then
  3207. S.BrickColor=BrickColor.new("New Yeller")
  3208. else
  3209. S.BrickColor=BrickColor.new("White")
  3210. end
  3211. S.Reflectance = 0
  3212. S.TopSurface=0
  3213. S.BottomSurface=0
  3214. S.Transparency=0
  3215. S.Anchored=true
  3216. S.CanCollide=false
  3217. S.CFrame=prt25.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3218. if heromode == true and Bouncing == true then
  3219. S.Parent=Character
  3220. else
  3221. S.Parent=workspace
  3222. end
  3223. msh1.Parent = S
  3224. r=Instance.new("Part")
  3225. r.Anchored=true
  3226. r.Name="Ring"
  3227. r.CanCollide=false
  3228. r.TopSurface=0
  3229. r.BottomSurface=0
  3230. r.CFrame=prt25.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(1,0,0)
  3231. r.Parent=workspace
  3232. local ring = Instance.new("SpecialMesh")
  3233. ring.Parent = r
  3234. ring.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3235. ring.Name = "RingMesh"
  3236. r.RingMesh.Scale=Vector3.new(0.1,0.1,0.1)
  3237. if heromode == true then
  3238. r.BrickColor=BrickColor.new("New Yeller")
  3239. else
  3240. r.BrickColor=BrickColor.new("White")
  3241. end
  3242. if heromode == true and Bouncing == true then
  3243. coroutine.resume(coroutine.create(function(par) for i=1, 9 do par.Transparency=i/9 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(3,3,3) wait() end par.Parent=nil end),r)
  3244. else
  3245. coroutine.resume(coroutine.create(function(par) for i=1, 14 do par.Transparency=i/14 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(3,3,3) wait() end par.Parent=nil end),r)
  3246. end
  3247. r=Instance.new("Part")
  3248. r.Anchored=true
  3249. r.Name="Ring"
  3250. r.CanCollide=false
  3251. r.TopSurface=0
  3252. r.BottomSurface=0
  3253. r.CFrame=prt25.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(-1,0,0)
  3254. if heromode == true and Bouncing == true then
  3255. r.Parent=Character
  3256. else
  3257. r.Parent=workspace
  3258. end
  3259. local ring = Instance.new("SpecialMesh")
  3260. ring.Parent = r
  3261. ring.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3262. ring.Name = "RingMesh"
  3263. r.RingMesh.Scale=Vector3.new(0.1,0.1,0.1)
  3264. if heromode == true then
  3265. r.BrickColor=BrickColor.new("New Yeller")
  3266. else
  3267. r.BrickColor=BrickColor.new("White")
  3268. end
  3269. if heromode == true and Bouncing == true then
  3270. coroutine.resume(coroutine.create(function(par) for i=1, 9 do par.Transparency=i/9 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(3,3,3) wait() end par.Parent=nil end),r)
  3271. else
  3272. coroutine.resume(coroutine.create(function(par) for i=1, 14 do par.Transparency=i/14 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(3,3,3) wait() end par.Parent=nil end),r)
  3273. end
  3274. if heromode == true and Bouncing == true then
  3275. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.4,0.4,0.4) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.1 wait() end Part.Parent=nil end),S,S.CFrame)
  3276. else
  3277. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 19 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.4,0.4,0.4) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.05 wait() end Part.Parent=nil end),S,S.CFrame)
  3278. end
  3279.  
  3280. local msh1 = Instance.new("SpecialMesh")
  3281. msh1.Scale = Vector3.new(0.01,0.01,0.01)
  3282. msh1.MeshType = "Sphere"
  3283. S=Instance.new("Part")
  3284. S.Name="Effect"
  3285. S.formFactor=0
  3286. S.Size=Vector3.new(3,3,3)
  3287. if heromode == true then
  3288. S.BrickColor=BrickColor.new("New Yeller")
  3289. else
  3290. S.BrickColor=BrickColor.new("White")
  3291. end
  3292. S.Reflectance = 0
  3293. S.TopSurface=0
  3294. S.BottomSurface=0
  3295. S.Transparency=0
  3296. S.Anchored=true
  3297. S.CanCollide=false
  3298. S.CFrame=prt25.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3299. S.Parent=Character
  3300. msh1.Parent = S
  3301. if heromode == true and Bouncing == true then
  3302. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.3,0.3,0.3) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.1 wait() end Part.Parent=nil end),S,S.CFrame)
  3303. else
  3304. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 19 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.3,0.3,0.3) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.05 wait() end Part.Parent=nil end),S,S.CFrame)
  3305. end
  3306.  
  3307. local msh1 = Instance.new("SpecialMesh")
  3308. msh1.Scale = Vector3.new(1,0.5,1)
  3309. msh1.MeshType = "Sphere"
  3310. S=Instance.new("Part")
  3311. S.Name="Effect"
  3312. S.formFactor=0
  3313. S.Size=Vector3.new(8,8,8)
  3314. if heromode == true then
  3315. S.BrickColor=BrickColor.new("New Yeller")
  3316. else
  3317. S.BrickColor=BrickColor.new("White")
  3318. end
  3319. S.Reflectance = 0
  3320. S.TopSurface=0
  3321. S.BottomSurface=0
  3322. S.Transparency=0
  3323. S.Anchored=true
  3324. S.CanCollide=false
  3325. S.CFrame=prt25.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  3326. if heromode == true and Bouncing == true then
  3327. S.Parent=Character
  3328. else
  3329. S.Parent=workspace
  3330. end
  3331. msh1.Parent = S
  3332. if heromode == true and Bouncing == true then
  3333. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  3334. else
  3335. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 18 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.05 wait() end Part.Parent=nil end),S,S.CFrame)
  3336. end
  3337. Imbued = false
  3338. end
  3339. coroutine.resume(coroutine.create(function()
  3340. wait(15)
  3341. effectsg.Parent = nil
  3342. end))
  3343. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  3344. hum = hit.Parent.Humanoid
  3345. Damagefunc1(hit,Damg,15)
  3346. elseif hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  3347. hum = hit.Parent.Parent.Humanoid
  3348. Damagefunc1(hit,Damg,15)
  3349. end
  3350. end
  3351. end
  3352.  
  3353. spread2 = 500
  3354. range2 = 1000
  3355. rangepower = 10
  3356. function shoottrail2(mouse)
  3357. local spreadvector = (Vector3.new(math.random(-spread2,spread2),math.random(-spread2,spread2),math.random(-spread2,spread2)) / 100) * (prt1.Position-mouse.Hit.p).magnitude/100
  3358. local dir = CFrame.new((prt1.Position+mouse.Hit.p)/2,mouse.Hit.p+spreadvector)
  3359. local hit2,pos = rayCast(prt1.Position,dir.lookVector,10,Character)
  3360. local rangepos = range2
  3361. local function drawtrail(From,To)
  3362. local effectsmsh = Instance.new("CylinderMesh")
  3363. effectsmsh.Scale = Vector3.new(1,1,1)
  3364. effectsmsh.Name = "Mesh"
  3365. local effectsg = Instance.new("Part")
  3366. effectsg.formFactor = 3
  3367. effectsg.CanCollide = false
  3368. effectsg.Name = "Eff"
  3369. effectsg.Locked = true
  3370. effectsg.Anchored = true
  3371. effectsg.Size = Vector3.new(2,0.2,2)
  3372. effectsg.Parent = Character
  3373. effectsmsh.Parent = effectsg
  3374. if heromode == true then
  3375. effectsg.BrickColor = BrickColor.new("New Yeller")
  3376. else
  3377. if RAEG == true then
  3378. effectsg.BrickColor = BrickColor.new("Bright red")
  3379. else
  3380. effectsg.BrickColor = BrickColor.new("white")
  3381. end
  3382. end
  3383. effectsg.Reflectance = 0.25
  3384. local LP = From
  3385. local point1 = To
  3386. local mg = (LP - point1).magnitude
  3387. effectsmsh.Scale = Vector3.new(1,mg*5,1)
  3388. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  3389. coroutine.resume(coroutine.create(function()
  3390. for i = 0 , 1 , 0.2 do
  3391. wait()
  3392. effectsg.Transparency = 1*i
  3393. effectsmsh.Scale = Vector3.new(1-1*i,mg*5,1-1*i)
  3394. end
  3395. effectsg.Parent = nil
  3396. end))
  3397. end
  3398. local newpos = prt1.Position
  3399. local inc = rangepower
  3400. repeat
  3401. wait()
  3402. rangepos = rangepos - 10
  3403. dir = dir * CFrame.Angles(math.rad(-1),0,0)
  3404. hit2,pos = rayCast(newpos,dir.lookVector,inc,Character)
  3405. drawtrail(newpos,pos)
  3406. newpos = newpos + (dir.lookVector * inc)
  3407. if inc >= 20 then
  3408. inc = inc - 10
  3409. end
  3410. if hit2 ~= nil then
  3411. rangepos = 0
  3412. end
  3413. until rangepos <= 0
  3414. if hit2 ~= nil then
  3415. local effectsmsh = Instance.new("SpecialMesh")
  3416. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  3417. --effectsmsh.Scale = Vector3.new(1,1,2.5)
  3418. effectsmsh.Scale = Vector3.new(3,3,3)
  3419. local effectsg = Instance.new("Part")
  3420. effectsg.formFactor = 3
  3421. effectsg.CanCollide = false
  3422. effectsg.Name = "Arrow"
  3423. effectsg.Locked = true
  3424. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  3425. effectsg.Parent = modelzorz
  3426. if heromode == true then
  3427. effectsg.BrickColor = BrickColor.new("New Yeller")
  3428. else
  3429. if RAEG == true then
  3430. effectsg.BrickColor = BrickColor.new("Bright red")
  3431. else
  3432. effectsg.BrickColor = BrickColor.new("white")
  3433. end
  3434. end
  3435. effectsmsh.Parent = effectsg
  3436. effectsg.CFrame = CFrame.new(newpos,pos) + CFrame.new(newpos,pos).lookVector*2.5*2
  3437. local efwel = Instance.new("Weld")
  3438. efwel.Parent = effectsg
  3439. efwel.Part0 = effectsg
  3440. efwel.Part1 = hit2
  3441. local HitPos = effectsg.Position + CFrame.new(newpos,pos).lookVector*0.75
  3442. --local HitPos = prt1.Position + CFrame.new(newpos,pos).lookVector*0.75
  3443. --local HitPos = prt1.Position + (prt1.CFrame.lookVector * .5)
  3444. local CJ = CFrame.new(HitPos)
  3445. local C0 = effectsg.CFrame:inverse() * CJ
  3446. local C1 = hit2.CFrame:inverse() * CJ
  3447. efwel.C0 = C0
  3448. efwel.C1 = C1
  3449. efwel.Parent = effectsg
  3450. Damg = 20
  3451. if RAEG == true then
  3452. Damg=Damg+5
  3453. end
  3454. hs(0.8)
  3455. if heromode == true then
  3456. magicsound(0.7)
  3457. local c = game.Workspace:GetChildren();
  3458. for i = 1, #c do
  3459. local hum = c[i]:findFirstChild("Humanoid")
  3460. if hum ~= nil and hum.Health ~= 0 then
  3461. local head = c[i]:findFirstChild("Head");
  3462. if head ~= nil then
  3463. local targ = head.Position - effectsg.Position;
  3464. local mag = targ.magnitude;
  3465. if mag <= 15 and c[i].Name ~= Player.Name then
  3466. wait()
  3467. DBHit(head,effectsg,5)
  3468. end
  3469. end
  3470. end
  3471. end
  3472. local msh1 = Instance.new("SpecialMesh") --Messy Script incoming >_>
  3473. msh1.Scale = Vector3.new(0.01,0.01,0.01)
  3474. msh1.MeshType = "Sphere"
  3475. S=Instance.new("Part")
  3476. S.Name="Effect"
  3477. S.formFactor=0
  3478. S.Size=Vector3.new(3,3,3)
  3479. S.BrickColor=BrickColor.new("New Yeller")
  3480. S.Reflectance = 0
  3481. S.TopSurface=0
  3482. S.BottomSurface=0
  3483. S.Transparency=0
  3484. S.Anchored=true
  3485. S.CanCollide=false
  3486. S.CFrame=effectsg.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3487. S.Parent=workspace
  3488. msh1.Parent = S
  3489. r=Instance.new("Part")
  3490. r.Anchored=true
  3491. r.Name="Ring"
  3492. r.CanCollide=false
  3493. r.TopSurface=0
  3494. r.BottomSurface=0
  3495. r.CFrame=effectsg.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(1,0,0)
  3496. r.Parent=workspace
  3497. local ring = Instance.new("SpecialMesh")
  3498. ring.Parent = r
  3499. ring.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3500. ring.Name = "RingMesh"
  3501. r.RingMesh.Scale=Vector3.new(0.1,0.1,0.1)
  3502. r.BrickColor=BrickColor.new("New Yeller")
  3503. coroutine.resume(coroutine.create(function(par) for i=1, 9 do par.Transparency=i/9 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(3,3,3) wait() end par.Parent=nil end),r)
  3504. r=Instance.new("Part")
  3505. r.Anchored=true
  3506. r.Name="Ring"
  3507. r.CanCollide=false
  3508. r.TopSurface=0
  3509. r.BottomSurface=0
  3510. r.CFrame=effectsg.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(-1,0,0)
  3511. r.Parent=workspace
  3512. local ring = Instance.new("SpecialMesh")
  3513. ring.Parent = r
  3514. ring.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3515. ring.Name = "RingMesh"
  3516. r.RingMesh.Scale=Vector3.new(0.1,0.1,0.1)
  3517. r.BrickColor=BrickColor.new("New Yeller")
  3518. coroutine.resume(coroutine.create(function(par) for i=1, 9 do par.Transparency=i/9 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(3,3,3) wait() end par.Parent=nil end),r)
  3519. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.4,0.4,0.4) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.1 wait() end Part.Parent=nil end),S,S.CFrame)
  3520.  
  3521. local msh1 = Instance.new("SpecialMesh")
  3522. msh1.Scale = Vector3.new(0.01,0.01,0.01)
  3523. msh1.MeshType = "Sphere"
  3524. S=Instance.new("Part")
  3525. S.Name="Effect"
  3526. S.formFactor=0
  3527. S.Size=Vector3.new(3,3,3)
  3528. S.BrickColor=BrickColor.new("New Yeller")
  3529. S.Reflectance = 0
  3530. S.TopSurface=0
  3531. S.BottomSurface=0
  3532. S.Transparency=0
  3533. S.Anchored=true
  3534. S.CanCollide=false
  3535. S.CFrame=effectsg.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3536. S.Parent=Character
  3537. msh1.Parent = S
  3538. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.3,0.3,0.3) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.1 wait() end Part.Parent=nil end),S,S.CFrame)
  3539.  
  3540. local msh1 = Instance.new("SpecialMesh")
  3541. msh1.Scale = Vector3.new(1,0.5,1)
  3542. msh1.MeshType = "Sphere"
  3543. S=Instance.new("Part")
  3544. S.Name="Effect"
  3545. S.formFactor=0
  3546. S.Size=Vector3.new(8,8,8)
  3547. S.BrickColor=BrickColor.new("New Yeller")
  3548. S.Reflectance = 0
  3549. S.TopSurface=0
  3550. S.BottomSurface=0
  3551. S.Transparency=0
  3552. S.Anchored=true
  3553. S.CanCollide=false
  3554. S.CFrame=effectsg.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
  3555. S.Parent=workspace
  3556. msh1.Parent = S
  3557. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  3558. end
  3559. coroutine.resume(coroutine.create(function()
  3560. wait(3)
  3561. effectsg.Parent = nil
  3562. end))
  3563. if hit2.Parent:FindFirstChild("Humanoid") ~= nil then
  3564. hum = hit2.Parent.Humanoid
  3565. attackdebounce = false
  3566. Damagefunc1(hit2,Damg,15)
  3567. elseif hit2.Parent.Parent ~= nil and hit2.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  3568. hum = hit2.Parent.Parent.Humanoid
  3569. attackdebounce = false
  3570. Damagefunc1(hit2,Damg,15)
  3571. end
  3572. end
  3573. end
  3574.  
  3575. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  3576. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3577. end
  3578.  
  3579. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  3580. local msh1 = Instance.new("BlockMesh")
  3581. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  3582. S=Instance.new("Part")
  3583. S.Name="Effect"
  3584. S.formFactor=0
  3585. S.Size=Vector3.new(x1,y1,z1)
  3586. S.BrickColor=color
  3587. S.Reflectance = 0
  3588. S.TopSurface=0
  3589. S.BottomSurface=0
  3590. S.Transparency=0
  3591. S.Anchored=true
  3592. S.CanCollide=false
  3593. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3594. S.Parent=Character
  3595. msh1.Parent = S
  3596. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  3597. end
  3598.  
  3599. function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  3600. local msh1 = Instance.new("BlockMesh")
  3601. msh1.Scale = Vector3.new(x1,y1,z1)
  3602. S=Instance.new("Part")
  3603. S.Name="Effect"
  3604. S.formFactor=0
  3605. S.Size=Vector3.new(1,1,1)
  3606. S.BrickColor=color
  3607. S.Reflectance = 0
  3608. S.TopSurface=0
  3609. S.BottomSurface=0
  3610. S.Transparency=0
  3611. S.Anchored=true
  3612. S.CanCollide=false
  3613. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3614. S.Parent=Character
  3615. msh1.Parent = S
  3616. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  3617. end
  3618.  
  3619. function MOREMAGIX(part,cframe,x,y,z,color)
  3620. p2=Instance.new("Part")
  3621. p2.Name="Blast"
  3622. p2.TopSurface=0
  3623. p2.BottomSurface=0
  3624. p2.CanCollide=false
  3625. p2.Anchored=true
  3626. p2.BrickColor=color
  3627. p2.Size=Vector3.new(x,y,z)
  3628. p2.formFactor="Symmetric"
  3629. p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
  3630. p2.Parent=workspace
  3631. m=Instance.new("BlockMesh")
  3632. m.Parent=p2
  3633. m.Name="BlastMesh"
  3634. coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10))
  3635. end
  3636.  
  3637. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  3638. local msh1 = Instance.new("SpecialMesh")
  3639. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  3640. msh1.MeshType = "Sphere"
  3641. S=Instance.new("Part")
  3642. S.Name="Effect"
  3643. S.formFactor=0
  3644. S.Size=Vector3.new(x1,y1,z1)
  3645. S.BrickColor=color
  3646. S.Reflectance = 0
  3647. S.TopSurface=0
  3648. S.BottomSurface=0
  3649. S.Transparency=0
  3650. S.Anchored=true
  3651. S.CanCollide=false
  3652. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  3653. S.Parent=Character
  3654. msh1.Parent = S
  3655. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  3656. end
  3657.  
  3658. function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  3659. local msh1 = Instance.new("SpecialMesh")
  3660. msh1.Scale = Vector3.new(x1,y1,z1)
  3661. msh1.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3662. S=Instance.new("Part")
  3663. S.Name="Effect"
  3664. S.formFactor=0
  3665. S.Size=Vector3.new(1,1,1)
  3666. S.BrickColor=color
  3667. S.Reflectance = 0
  3668. S.TopSurface=0
  3669. S.BottomSurface=0
  3670. S.Transparency=0
  3671. S.Anchored=true
  3672. S.CanCollide=false
  3673. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  3674. S.Parent=Character
  3675. msh1.Parent = S
  3676. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  3677. end
  3678.  
  3679. function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  3680. local msh1 = Instance.new("SpecialMesh")
  3681. msh1.Scale = Vector3.new(x1,y1,z1)
  3682. msh1.MeshId = "http://www.roblox.com/asset/?id=1323306"
  3683. S=Instance.new("Part")
  3684. S.Name="Effect"
  3685. S.formFactor=0
  3686. S.Size=Vector3.new(1,1,1)
  3687. S.BrickColor=color
  3688. S.Reflectance = 0
  3689. S.TopSurface=0
  3690. S.BottomSurface=0
  3691. S.Transparency=0
  3692. S.Anchored=true
  3693. S.CanCollide=false
  3694. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  3695. S.Parent=Character
  3696. msh1.Parent = S
  3697. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  3698. end
  3699.  
  3700. function ss(pitch)
  3701.  
  3702. local SlashSound = Instance.new("Sound")
  3703. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  3704. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  3705. SlashSound.Parent = workspace
  3706. SlashSound.Volume = .7
  3707. SlashSound.Pitch = pitch
  3708. SlashSound.PlayOnRemove = true
  3709. coroutine.resume(coroutine.create(function()
  3710. wait(0)
  3711. SlashSound.Parent = nil
  3712. end))
  3713. end
  3714. function equipsound(pitch)
  3715.  
  3716. local SlashSound = Instance.new("Sound")
  3717. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  3718. SlashSound.Parent = workspace
  3719. SlashSound.Volume = .5
  3720. SlashSound.Pitch = pitch
  3721. SlashSound.PlayOnRemove = true
  3722. coroutine.resume(coroutine.create(function()
  3723. wait(0)
  3724. SlashSound.Parent = nil
  3725. end))
  3726. end
  3727. function magicsound(pitch)
  3728.  
  3729. local SlashSound = Instance.new("Sound")
  3730. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  3731. SlashSound.Parent = workspace
  3732. SlashSound.Volume = .5
  3733. SlashSound.Pitch = pitch
  3734. SlashSound.PlayOnRemove = true
  3735. coroutine.resume(coroutine.create(function()
  3736. wait(0)
  3737. SlashSound.Parent = nil
  3738. end))
  3739. end
  3740. function critsound(pitch)
  3741.  
  3742. local SlashSound = Instance.new("Sound")
  3743. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  3744. SlashSound.Parent = workspace
  3745. SlashSound.Volume = .7
  3746. SlashSound.Pitch = pitch
  3747. SlashSound.PlayOnRemove = true
  3748. coroutine.resume(coroutine.create(function()
  3749. wait(0)
  3750. SlashSound.Parent = nil
  3751. end))
  3752. end
  3753. function spikesound(pitch)
  3754.  
  3755. local SlashSound = Instance.new("Sound")
  3756. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  3757. SlashSound.Parent = workspace
  3758. SlashSound.Volume = .7
  3759. SlashSound.Pitch = pitch
  3760. SlashSound.PlayOnRemove = true
  3761. coroutine.resume(coroutine.create(function()
  3762. wait(0)
  3763. SlashSound.Parent = nil
  3764. end))
  3765. end
  3766. function lasersound(pitch)
  3767.  
  3768. local SlashSound = Instance.new("Sound")
  3769. SlashSound.SoundId = "rbxasset://sounds/Launching rocket.wav"
  3770. SlashSound.Parent = workspace
  3771. SlashSound.Volume = .5
  3772. SlashSound.Pitch = pitch
  3773. SlashSound.PlayOnRemove = true
  3774. coroutine.resume(coroutine.create(function()
  3775. wait(0)
  3776. SlashSound.Parent = nil
  3777. end))
  3778. end
  3779. function hs(pitch)
  3780. local SlashSound = Instance.new("Sound")
  3781. SlashSound.SoundId = "http://roblox.com/asset/?id=10209590"
  3782. SlashSound.Parent = workspace
  3783. SlashSound.Volume = .5
  3784. SlashSound.Pitch = pitch
  3785. SlashSound.PlayOnRemove = true
  3786. coroutine.resume(coroutine.create(function()
  3787. wait(0)
  3788. SlashSound.Parent = nil
  3789. end))
  3790. end
  3791. function purify(pitch)
  3792. local SlashSound = Instance.new("Sound")
  3793. SlashSound.SoundId = "http://roblox.com/asset/?id=2101144"
  3794. SlashSound.Parent = workspace
  3795. SlashSound.Volume = .5
  3796. SlashSound.Pitch = pitch
  3797. SlashSound.PlayOnRemove = true
  3798. coroutine.resume(coroutine.create(function()
  3799. wait(0)
  3800. SlashSound.Parent = nil
  3801. end))
  3802. end
  3803.  
  3804. Damagefunc1=function(hit,Damage,Knockback)
  3805. if attackdebounce == false then
  3806. attackdebounce = true
  3807. coroutine.resume(coroutine.create(function()
  3808. wait(0.1)
  3809. attackdebounce = false
  3810. end))
  3811. if hit.Parent==nil then
  3812. return
  3813. end
  3814. CPlayer=Bin
  3815. h=hit.Parent:FindFirstChild("Humanoid")
  3816. if h==nil then
  3817. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  3818. end
  3819. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  3820. if mana < 400 then
  3821. mana = mana + math.random(20,30)
  3822. end
  3823. if mana > 400 then
  3824. mana = 400
  3825. end
  3826. if Bouncing == false then
  3827. if HeroBar < 400 then
  3828. HeroBar = HeroBar + math.random(5,15)
  3829. end
  3830. if HeroBar > 400 then
  3831. HeroBar = 400
  3832. end
  3833. end
  3834. if heromode == false then
  3835. Damage=Damage
  3836. else
  3837. Damage=Damage*1.5
  3838. end
  3839. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil or game.Players:GetPlayerFromCharacter(hit.Parent.Parent)~=nil then
  3840. return
  3841. end]]
  3842. c=Instance.new("ObjectValue")
  3843. c.Name="creator"
  3844. c.Value=game.Players.LocalPlayer
  3845. c.Parent=h
  3846. game:GetService("Debris"):AddItem(c,.5)
  3847. -- print(c.Value)
  3848. if math.random(0,99)+math.random()<=5 then
  3849. CRIT=true
  3850. Damage=Damage*1.5
  3851. --[[ Knockback=Knockback*2
  3852. r=Instance.new("BodyAngularVelocity")
  3853. r.P=3000
  3854. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  3855. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  3856. r.Parent=hit.Parent.Torso]]
  3857. critsound(2)
  3858.  
  3859. end
  3860. Damage=Damage+math.random(0,10)
  3861. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  3862. h:TakeDamage(Damage)
  3863. showDamage(hit.Parent,Damage,.5)
  3864. vp=Instance.new("BodyVelocity")
  3865. vp.P=500
  3866. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  3867. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  3868. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  3869. if Knockback>0 then
  3870. vp.Parent=hit.Parent.Torso
  3871. end
  3872. game:GetService("Debris"):AddItem(vp,.25)
  3873. --[[ r=Instance.new("BodyAngularVelocity")
  3874. r.P=3000
  3875. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  3876. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  3877. r.Parent=hit.Parent.Torso]]
  3878. game:GetService("Debris"):AddItem(r,.5)
  3879. c=Instance.new("ObjectValue")
  3880. c.Name="creator"
  3881. c.Value=Player
  3882. c.Parent=h
  3883. game:GetService("Debris"):AddItem(c,.5)
  3884. CRIT=false
  3885. hitDeb=true
  3886. AttackPos=6
  3887. end
  3888. end
  3889. end
  3890.  
  3891. DBHit=function(hit,DB,Dmg) --credits to turdulator for making this function :D
  3892. if hit.Parent==nil then
  3893. return
  3894. end
  3895. h=hit.Parent:FindFirstChild("Humanoid")
  3896. if h==nil then
  3897. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  3898. end
  3899. t=hit.Parent:FindFirstChild("Torso")
  3900. if h~=nil and t~=nil then
  3901. if h.Parent==Character then
  3902. return
  3903. end
  3904. if Bouncing == false then
  3905. if HeroBar < 400 then
  3906. HeroBar = HeroBar + math.random(5,15)
  3907. end
  3908. if HeroBar > 400 then
  3909. HeroBar = 400
  3910. end
  3911. end
  3912. if heromode == false then
  3913. Damage=Dmg+math.random(0,9)
  3914. else
  3915. Damage=Dmg+math.random(2,10)
  3916. end
  3917. h:TakeDamage(Damage)
  3918. c=Instance.new("ObjectValue")
  3919. c.Name="creator"
  3920. c.Value=game.Players.LocalPlayer
  3921. c.Parent=h
  3922. game:GetService("Debris"):AddItem(c,.5)
  3923. showDamage(hit.Parent,Damage,.5)
  3924. vl=Instance.new("BodyVelocity")
  3925. vl.P=4500
  3926. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3927. vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,3,0)
  3928. vl.Parent=t
  3929. game:GetService("Debris"):AddItem(vl,.2)
  3930. rl=Instance.new("BodyAngularVelocity")
  3931. rl.P=3000
  3932. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  3933. rl.angularvelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3934. rl.Parent=t
  3935. game:GetService("Debris"):AddItem(rl,.2)
  3936. else
  3937. if hit.CanCollide==false then
  3938. return
  3939. end
  3940. MagicCom:disconnect()
  3941. -- DBExplode(DB)
  3942. end
  3943. end
  3944.  
  3945. WRYHit=function(hit,DB,Dmg) --credits to turdulator for making this function :D
  3946. if hit.Parent==nil then
  3947. return
  3948. end
  3949. h=hit.Parent:FindFirstChild("Humanoid")
  3950. t=hit.Parent:FindFirstChild("Torso")
  3951. if h~=nil and t~=nil then
  3952. if h.Parent==Character then
  3953. return
  3954. end
  3955. if mana < 400 then
  3956. mana = mana + math.random(10,30)
  3957. end
  3958. if mana > 400 then
  3959. mana = 400
  3960. end
  3961. if Bouncing == false then
  3962. if HeroBar < 400 then
  3963. HeroBar = HeroBar + math.random(5,15)
  3964. end
  3965. if HeroBar > 400 then
  3966. HeroBar = 400
  3967. end
  3968. end
  3969. if heromode == false then
  3970. Damage=Dmg+math.random(0,9)
  3971. else
  3972. Damage=Dmg+math.random(2,10)
  3973. end
  3974. h:TakeDamage(Damage)
  3975. critsound(2)
  3976. c=Instance.new("ObjectValue")
  3977. c.Name="creator"
  3978. c.Value=game.Players.LocalPlayer
  3979. c.Parent=h
  3980. game:GetService("Debris"):AddItem(c,.5)
  3981. showDamage(hit.Parent,Damage,.5)
  3982. vl=Instance.new("BodyVelocity")
  3983. vl.P=4500
  3984. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  3985. vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,3,0)
  3986. vl.Parent=t
  3987. game:GetService("Debris"):AddItem(vl,.2)
  3988. rl=Instance.new("BodyAngularVelocity")
  3989. rl.P=3000
  3990. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  3991. rl.angularvelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3992. rl.Parent=t
  3993. game:GetService("Debris"):AddItem(rl,.2)
  3994. else
  3995. if hit.CanCollide==false then
  3996. return
  3997. end
  3998. MagicCom:disconnect()
  3999. -- DBExplode(DB)
  4000. end
  4001. end
  4002.  
  4003. SpikeDamage=function(hit,Damage,Knockback)
  4004. if attackdebounce == false then
  4005. attackdebounce = true
  4006. coroutine.resume(coroutine.create(function()
  4007. wait(0.5)
  4008. attackdebounce = false
  4009. end))
  4010. if hit.Parent==nil then
  4011. return
  4012. end
  4013. CPlayer=Bin
  4014. h=hit.Parent:FindFirstChild("Humanoid")
  4015. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  4016. if mana < 400 then
  4017. mana = mana + math.random(5,10)
  4018. end
  4019. if mana > 400 then
  4020. mana = 400
  4021. end
  4022. if Bouncing == false then
  4023. if HeroBar < 400 then
  4024. HeroBar = HeroBar + math.random(5,15)
  4025. end
  4026. if HeroBar > 400 then
  4027. HeroBar = 400
  4028. end
  4029. end
  4030. if heromode == false then
  4031. Damage=Damage
  4032. else
  4033. Damage=Damage*1.5
  4034. end
  4035. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  4036. return
  4037. end]]
  4038. c=Instance.new("ObjectValue")
  4039. c.Name="creator"
  4040. c.Value=game.Players.LocalPlayer
  4041. c.Parent=h
  4042. game:GetService("Debris"):AddItem(c,.5)
  4043. -- print(c.Value)
  4044. if math.random(0,99)+math.random()<=5 then
  4045. CRIT=true
  4046. Damage=Damage*1.5
  4047. --[[ Knockback=Knockback*2
  4048. r=Instance.new("BodyAngularVelocity")
  4049. r.P=3000
  4050. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  4051. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  4052. r.Parent=hit.Parent.Torso]]
  4053. critsound(2)
  4054.  
  4055. end
  4056. Damage=Damage+math.random(0,10)
  4057. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  4058. h:TakeDamage(Damage)
  4059. showDamage(hit.Parent,Damage,.5)
  4060. vp=Instance.new("BodyVelocity")
  4061. vp.P=500
  4062. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  4063. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  4064. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  4065. if Knockback>0 then
  4066. vp.Parent=hit.Parent.Torso
  4067. end
  4068. game:GetService("Debris"):AddItem(vp,.25)
  4069. --[[ r=Instance.new("BodyAngularVelocity")
  4070. r.P=3000
  4071. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  4072. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  4073. r.Parent=hit.Parent.Torso]]
  4074. game:GetService("Debris"):AddItem(r,.5)
  4075. c=Instance.new("ObjectValue")
  4076. c.Name="creator"
  4077. c.Value=Player
  4078. c.Parent=h
  4079. game:GetService("Debris"):AddItem(c,.5)
  4080. CRIT=false
  4081. hitDeb=true
  4082. AttackPos=6
  4083. end
  4084. end
  4085. end
  4086.  
  4087. showDamage=function(Char,Dealt,du)
  4088. m=Instance.new("Model")
  4089. m.Name=tostring(Dealt)
  4090. h=Instance.new("Humanoid")
  4091. h.Health=0
  4092. h.MaxHealth=0
  4093. h.Parent=m
  4094. c=Instance.new("Part")
  4095. c.Transparency=0
  4096. c.BrickColor=BrickColor:Red()
  4097. if CRIT==true then
  4098. c.BrickColor=BrickColor.new("Really red")
  4099. end
  4100. c.Name="Head"
  4101. c.TopSurface=0
  4102. c.BottomSurface=0
  4103. c.formFactor="Plate"
  4104. c.Size=Vector3.new(1,.4,1)
  4105. ms=Instance.new("CylinderMesh")
  4106. ms.Bevel=.1
  4107. ms.Scale=Vector3.new(.8,.8,.8)
  4108. if CRIT==true then
  4109. ms.Scale=Vector3.new(1.25,1.5,1.25)
  4110. ms.Bevel=.2
  4111. end
  4112. ms.Parent=c
  4113. c.Reflectance=0
  4114. Instance.new("BodyGyro").Parent=c
  4115. c.Parent=m
  4116. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  4117. f=Instance.new("BodyPosition")
  4118. f.P=2000
  4119. f.D=100
  4120. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  4121. f.position=c.Position+Vector3.new(0,3,0)
  4122. f.Parent=c
  4123. game:GetService("Debris"):AddItem(m,.5+du)
  4124. c.CanCollide=false
  4125. m.Parent=workspace
  4126. c.CanCollide=false
  4127. end
  4128.  
  4129. hold = false
  4130.  
  4131. function ob1d(mouse)
  4132. if attack == true then return end
  4133. hold = true
  4134. if mode == "Normal" then
  4135. if combo == 0 then
  4136. combo = 1
  4137. onehit()
  4138. coroutine.resume(coroutine.create(function()
  4139. wait(0.5)
  4140. if attack == false then
  4141. combo = 0
  4142. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  4143. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  4144. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  4145. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4146. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4147. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4148. end
  4149. end))
  4150. elseif combo == 1 then
  4151. combo = 2
  4152. twohit()
  4153. coroutine.resume(coroutine.create(function()
  4154. wait(0.5)
  4155. if attack == false then
  4156. combo = 0
  4157. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  4158. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  4159. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  4160. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4161. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4162. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4163. end
  4164. end))
  4165. elseif combo == 2 then
  4166. combo = 3
  4167. threehit()
  4168. coroutine.resume(coroutine.create(function()
  4169. wait(0.5)
  4170. if attack == false then
  4171. combo = 0
  4172. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  4173. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  4174. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  4175. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4176. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4177. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4178. end
  4179. end))
  4180. elseif combo == 3 then
  4181. combo = 4
  4182. fourhit(mouse)
  4183. wait(0.5)
  4184. combo = 0
  4185. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  4186. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  4187. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
  4188. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4189. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4190. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4191. end
  4192. elseif mode == "Throw" then
  4193. SpearThrow(mouse)
  4194. end
  4195. end
  4196.  
  4197. function ob1u(mouse)
  4198. hold = false
  4199. end
  4200.  
  4201. buttonhold = false
  4202.  
  4203. function Key(key,mouse)
  4204. if key == "q" then
  4205. if Resting == true then
  4206. Resting = false
  4207. Sleeping = true
  4208. end
  4209. end
  4210. if key == "k" then
  4211. if Riding == true then
  4212. if Resting == false and Sleeping == false then
  4213. Sleeping = false
  4214. Rest()
  4215. elseif Resting == true then
  4216. Sleeping = false
  4217. Resting = false
  4218. end
  4219. end
  4220. end
  4221. if key == "t" then
  4222. coroutine.resume(coroutine.create(function()
  4223. wait(0.1)
  4224. rangepower = 10
  4225. spread = 0
  4226. range = 1000
  4227. range2 = 1000
  4228. spread2 = 500
  4229. cloning = 0
  4230. wld1.Parent = prt1
  4231. wld1.Part0 = prt1
  4232. wld1.Part1 = LeftArm
  4233. wld1.C0 = CFrame.fromEulerAnglesXYZ(1.57,0,1.57) * CFrame.new(0,1,0)
  4234. wld1.C1 = CFrame.new(0,0,0)
  4235. Bouncing = false
  4236. attack = false
  4237. end))
  4238. end
  4239. if attack == true then return end
  4240. if key == "q" then
  4241. Change()
  4242. end
  4243. --[[NORMAL ATTACKS]]--
  4244. if key == "e" then
  4245. if Riding == false then
  4246. SpinSlash()
  4247. else
  4248. GroundSlasher()
  4249. end
  4250. end
  4251. if key == "r" then
  4252. hold = true
  4253. --SpearWave(mouse)
  4254. SpearThrow2(mouse)
  4255. end
  4256. if key == "t" then
  4257. BouncingSpear(mouse)
  4258. end
  4259. if key == "y" then
  4260. if Riding == true then
  4261. ThrowSpam(mouse)
  4262. else
  4263. ThrowSpam2(mouse)
  4264. end
  4265. end
  4266. --[[MISC MOVES]]--
  4267. if key == "f" then
  4268. ChariotSummon()
  4269. end
  4270. if key == "g" then
  4271. WRYYY()
  4272. end
  4273. if key == "h" then
  4274. HeroMode()
  4275. end
  4276. if key == "j" then
  4277. if Imbued == false then
  4278. Imbue()
  4279. end
  4280. end
  4281. --[[BUFF ATTACKS]]--
  4282. if key == "z" then
  4283. if Riding == false then
  4284. else
  4285. Halo()
  4286. end
  4287. end
  4288. if key == "x" then
  4289. if Riding == false then
  4290. else
  4291. HaloOther(mouse)
  4292. end
  4293. end
  4294. if key == "c" then
  4295. if Riding == false then
  4296. else
  4297. HealOther(mouse)
  4298. end
  4299. end
  4300. --[[if key == "v" then
  4301. if Riding == false then
  4302. else
  4303. BuffWalk()
  4304. end
  4305. end ]]
  4306. if key == "v" then
  4307. if Riding == false then
  4308. else
  4309. BuffWalkOther(mouse)
  4310. end
  4311. end
  4312. if key == "b" then
  4313. if Riding == false then
  4314. else
  4315. BuffRage(mouse)
  4316. end
  4317. end
  4318. end
  4319.  
  4320. function key2(key,mouse)
  4321. if key == "c" then
  4322. Healing = false
  4323. end
  4324. if key == "r" then
  4325. hold = false
  4326. end
  4327. end
  4328.  
  4329. function s(mouse)
  4330. mouse.Button1Down:connect(function() ob1d(mouse) end)
  4331. mouse.Button1Up:connect(function() ob1u(mouse) end)
  4332. mouse.KeyDown:connect(function(key) Key(key,mouse) end)
  4333. --mouse.KeyDown:connect(key,mouse)
  4334. mouse.KeyUp:connect(key2,mouse)
  4335. player = Player
  4336. ch = Character
  4337. RSH = ch.Torso["Right Shoulder"]
  4338. LSH = ch.Torso["Left Shoulder"]
  4339. --
  4340. RW.Part0 = ch.Torso
  4341. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  4342. RW.C1 = CFrame.new(0, 0.5, 0)
  4343. RW.Part1 = ch["Right Arm"]
  4344. RW.Parent = ch.Torso
  4345. --_G.R = RW
  4346. --
  4347. LW.Part0 = ch.Torso
  4348. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  4349. LW.C1 = CFrame.new(0, 0.5, 0)
  4350. LW.Part1 = ch["Left Arm"]
  4351. LW.Parent = ch.Torso
  4352. --_G.L = LW
  4353. --
  4354. equipanim()
  4355. end
  4356.  
  4357. function ds(mouse)
  4358. hideanim()
  4359. RW.Parent = nil
  4360. LW.Parent = nil
  4361. RSH.Parent = player.Character.Torso
  4362. LSH.Parent = player.Character.Torso
  4363. end
  4364.  
  4365. Bin.Selected:connect(s)
  4366. Bin.Deselected:connect(ds)
  4367.  
  4368. function onRunning(speed)
  4369. if attack == true then return end
  4370. if speed>0 then
  4371. walking = true
  4372. --[[for i = 0,1,0.1 do
  4373. wait()
  4374. if attack == false then
  4375. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  4376. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4377. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4378. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4379. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4380. end
  4381. end ]]
  4382. else
  4383. walking = false
  4384. --[[for i = 0,1,0.1 do
  4385. wait()
  4386. if attack == false then
  4387. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  4388. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4389. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4390. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4391. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  4392. end
  4393. end ]]
  4394. end
  4395. end
  4396. Character.Humanoid.Running:connect(onRunning)
  4397.  
  4398. dur = 0
  4399. coroutine.resume(coroutine.create(function()
  4400. while true do
  4401. wait(0)
  4402. if Riding == true then
  4403. if Torso.Velocity.magnitude > 1 then
  4404. spikecon=char17.Touched:connect(function(hit) SpikeDamage(hit,10,30) end)
  4405. --if Resting == false then
  4406. coroutine.resume(coroutine.create(function()
  4407. if Resting == false or Sleeping == false then
  4408. if idle == true then
  4409. idle = false
  4410. for i = 0,1,0.2 do
  4411. wait(0)
  4412. RW2.C0 = CFrame.new(0, -1.5, -0.3) * CFrame.fromEulerAnglesXYZ(0.8-0.1*i,0,0)
  4413. end
  4414. end
  4415. end
  4416. end))
  4417. dur = dur + 0.3
  4418. charw17.C0 = CFrame.fromEulerAnglesXYZ(0,dur,0) * CFrame.new(0,0,2)
  4419. --end
  4420. elseif Torso.Velocity.magnitude < 2 then
  4421. wait(0)
  4422. coroutine.resume(coroutine.create(function()
  4423. if Resting == false or Sleeping == false then
  4424. if idle == false then
  4425. idle = true
  4426. for i = 0,1,0.2 do
  4427. wait(0)
  4428. RW2.C0 = CFrame.new(0, -1.5, -0.3) * CFrame.fromEulerAnglesXYZ(0.8-0.1+0.1*i,0,0)
  4429. end
  4430. end
  4431. end
  4432. end))
  4433. --end
  4434. if spikecon ~= nil then
  4435. spikecon:disconnect()
  4436. end
  4437. end
  4438. end
  4439. end
  4440. end))
  4441. blehbeh = 0
  4442. while true do
  4443. wait(0)
  4444. blehbeh = blehbeh + 1
  4445. if blehbeh == 5 then
  4446. if mana < 400 then
  4447. mana = mana + 1
  4448. end
  4449. blehbeh = 0
  4450. end
  4451. fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0)
  4452. fentext.Text = "Mana("..mana..")"
  4453. fentext3.BackgroundColor3 = Color3.new(1,1,1)
  4454. fentext6.Size = UDim2.new(HeroBar*0.007,0,0.200000006,0)
  4455. end
  4456.  
  4457.  
  4458. -- mediafire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement