FilthyFrank

Tsugari Gama script

Mar 3rd, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 86.95 KB | None | 0 0
  1. if script:FindFirstChild("DSource") then
  2. script.DSource:Destroy()
  3. end
  4.  
  5. --71339704
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. _G.Mouse = Player:GetMouse()
  9. Character = Player.Character
  10. PlayerGui = Player.PlayerGui
  11. Backpack = Player.Backpack
  12. Torso = Character.Torso
  13. Head = Character.Head
  14. LeftArm = Character["Left Arm"]
  15. LeftLeg = Character["Left Leg"]
  16. RightArm = Character["Right Arm"]
  17. RightLeg = Character["Right Leg"]
  18. LS = Torso["Left Shoulder"]
  19. LH = Torso["Left Hip"]
  20. RS = Torso["Right Shoulder"]
  21. RH = Torso["Right Hip"]
  22. attack = false
  23. attackdebounce = false
  24. restoring = false
  25. combo = 0
  26. MP = 600
  27. sitting=false
  28. attack = false
  29. attackdebounce = false
  30. combo = 0
  31. regening = false
  32. Modes = {"Normal", "Unarmed"}
  33. Number = 1
  34. mode = Modes[Number]
  35. element = "Water"
  36. Style = "Standard"
  37. Guard = false
  38. Bashing = false
  39. holddash = false
  40. barragehold = false
  41. idleanimdelay = false
  42. willidleanim = true
  43. --player
  44. player = nil
  45. --save shoulders
  46. RSH, LSH = nil, nil
  47. --welds
  48. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  49. RWL, LWL = Instance.new("Weld"), Instance.new("Weld")
  50. --what anim
  51. anim = "none"
  52. bov=Instance.new("BodyPosition")
  53. bov.P=2000
  54. bov.D=100
  55. bov.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  56.  
  57. if Character:findFirstChild("Tusgari-Gama",true) ~= nil then
  58. Character:findFirstChild("Tusgari-Gama",true).Parent = nil
  59. end
  60. if Player.PlayerGui:findFirstChild("MPGUI",true) ~= nil then
  61. Player.PlayerGui:findFirstChild("MPGUI",true).Parent = nil
  62. end
  63.  
  64.  
  65. Character.Humanoid.MaxHealth = 27*37+37^27
  66.  
  67. function part(formfactor,parent,reflectance,transparency,Color,name,size)
  68. local fp = Instance.new("Part")
  69. fp.formFactor = formfactor
  70. fp.Parent = parent
  71. fp.Reflectance = reflectance
  72. fp.Transparency = transparency
  73. fp.CanCollide = false
  74. fp.BrickColor = BrickColor.new(Color)
  75. fp.Name = name
  76. fp.Size = size
  77. fp.Position = Torso.Position
  78. fp.BottomSurface="Smooth"
  79. fp.TopSurface="Smooth"
  80. fp:BreakJoints()
  81. return fp
  82. end
  83.  
  84. function wedgepart(formfactor,parent,reflectance,transparency,Color,name,size)
  85. local fp = Instance.new("WedgePart")
  86. fp.formFactor = formfactor
  87. fp.Parent = parent
  88. fp.Reflectance = reflectance
  89. fp.Transparency = transparency
  90. fp.CanCollide = false
  91. fp.BrickColor = BrickColor.new(Color)
  92. fp.Name = name
  93. fp.Size = size
  94. fp.Position = Torso.Position
  95. fp.BottomSurface="Smooth"
  96. fp.TopSurface="Smooth"
  97. fp:BreakJoints()
  98. return fp
  99. end
  100.  
  101. local Tsu = Instance.new("Model")
  102. Tsu.Parent = Character
  103. Tsu.Name = "Tsusgari-Gama"
  104.  
  105. function Weld(w, p, p1, a, b, c, x, y, z)
  106. w.Parent = p
  107. w.Part0 = p
  108. w.Part1 = p1
  109. w.C1 = CFrame.fromEulerAnglesXYZ(a,b,c) * CFrame.new(x,y,z)
  110. end
  111.  
  112. prt0 = part("Custom",Tsu,0,0,"Earth orange","Handle",Vector3.new(0.2, 1.2, 0.4))
  113. weld0 = Instance.new("Weld")
  114. weld0.Parent = prt0
  115. weld0.Part0 = prt0
  116. weld0.Part1 = LeftArm
  117. weld0.C0 = CFrame.fromEulerAnglesXYZ(math.pi/2,-math.pi,0) * CFrame.new(0,0+1,0)
  118. Instance.new("CylinderMesh",prt0)
  119. prt1 = part("Custom",Tsu,0,0,"Earth orange","Handle",Vector3.new(0.2, 1.2, 0.4))
  120. weld1 = Instance.new("Weld")
  121. weld1.Parent = prt1
  122. weld1.Part0 = prt1
  123. weld1.Part1 = RightArm
  124. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.pi/2,-math.pi,0) * CFrame.new(0,0+1,0)
  125. Instance.new("CylinderMesh",prt1)
  126. prt2 = part("Custom",Tsu,0,0,"Bright blue","No",Vector3.new(0.2, 0.2, 0.4))
  127. weld2 = Instance.new("Weld")
  128. weld2.Parent = prt2
  129. weld2.Part0 = prt2
  130. weld2.Part1 = prt0
  131. weld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.7,0)
  132. mesh2 = Instance.new("CylinderMesh",prt2)
  133. prt3 = part("Custom",Tsu,0,0,"Bright blue","No",Vector3.new(0.2, 0.2, 0.4))
  134. weld3 = Instance.new("Weld")
  135. weld3.Parent = prt3
  136. weld3.Part0 = prt3
  137. weld3.Part1 = prt1
  138. weld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.7,0)
  139. Instance.new("CylinderMesh",prt3)
  140. prt4 = wedgepart("Custom",Tsu,0.5,0,"Cyan","No",Vector3.new(0.25, 0.45, 1))
  141. weld4 = Instance.new("Weld")
  142. weld4.Parent = prt4
  143. weld4.Part0 = prt4
  144. weld4.Part1 = prt0
  145. weld4.C0 = CFrame.fromEulerAnglesXYZ(-math.pi/6,0,0) * CFrame.new(0,0.7,0.2)
  146. prt5 = wedgepart("Custom",Tsu,0.5,0,"Cyan","No",Vector3.new(0.25, 0.45, 1))
  147. weld5 = Instance.new("Weld")
  148. weld5.Parent = prt5
  149. weld5.Part0 = prt5
  150. weld5.Part1 = prt1
  151. weld5.C0 = CFrame.fromEulerAnglesXYZ(-math.pi/6,0,0) * CFrame.new(0,0.7,0.2)
  152. prt6 = part("Custom",Tsu,0,0,"Bright blue","No",Vector3.new(0.2, 0.2, 0.4))
  153. weld6 = Instance.new("Weld")
  154. weld6.Parent = prt6
  155. weld6.Part0 = prt6
  156. weld6.Part1 = prt0
  157. weld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0,0) * CFrame.new(0,-.7,0)
  158. Instance.new("CylinderMesh",prt6)
  159. prt7 = part("Custom",Tsu,0,0,"Bright blue","No",Vector3.new(0.2, 0.2, 0.4))
  160. weld7 = Instance.new("Weld")
  161. weld7.Parent = prt7
  162. weld7.Part0 = prt7
  163. weld7.Part1 = prt1
  164. weld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-.7,0)
  165. Instance.new("CylinderMesh",prt7)
  166. --105 angle, shoulder weld; arm pivot drop-up
  167.  
  168. local mpGUI = Instance.new("GuiMain")
  169. mpGUI.Parent = Player.PlayerGui
  170. mpGUI.Name = "MPGUI"
  171. local magicframe = Instance.new("Frame")
  172. magicframe.Parent = mpGUI
  173. if prt5.BrickColor == "Cyan" then
  174. magicframe.BackgroundColor3 = Color3.new(0,0,1013)
  175. else
  176. magicframe.BackgroundColor3 = Color3.new(199,199,199)
  177. end
  178. magicframe.BackgroundTransparency = 1
  179. magicframe.BorderColor3 = Color3.new(149,149,149)
  180. magicframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  181. local magictext = Instance.new("TextLabel")
  182. magictext.Parent = magicframe
  183. magictext.Text = "MP("..MP..")"
  184. magictext.BackgroundTransparency = 1
  185. magictext.SizeConstraint = "RelativeXY"
  186. magictext.TextXAlignment = "Center"
  187. magictext.TextYAlignment = "Center"
  188. magictext.Position = UDim2.new(0,80,1,200)
  189. local magictext2 = Instance.new("TextLabel")
  190. magictext2.Parent = magicframe
  191. magictext2.Text = " "
  192. magictext2.BackgroundTransparency = 0
  193. magictext2.BackgroundColor3 = Color3.new(0,0,0)
  194. magictext2.SizeConstraint = "RelativeXY"
  195. magictext2.TextXAlignment = "Center"
  196. magictext2.TextYAlignment = "Center"
  197. magictext2.Position = UDim2.new(0,10,1,170)
  198. magictext2.Size = UDim2.new(2.79999995,0,0.210000306,0)
  199. local magictext3 = Instance.new("TextLabel")
  200. magictext3.Parent = magicframe
  201. magictext3.Text = " "
  202. magictext3.BackgroundTransparency = 0
  203. if prt5.BrickColor == "Cyan" then
  204. magictext3.BackgroundColor3 = Color3.new(0,0,1013)
  205. else
  206. magictext3.BackgroundColor3 = Color3.new(199,199,199)
  207. end
  208. magictext3.SizeConstraint = "RelativeXY"
  209. magictext3.TextXAlignment = "Center"
  210. magictext3.TextYAlignment = "Center"
  211. magictext3.Position = UDim2.new(0,10,1,170)
  212. magictext3.Size = UDim2.new(MP*0.007,0,0.400000006,0)
  213. --{2.9000001, 0}, {0.450000018, 0}
  214.  
  215. local mpStandard = Instance.new("BillboardGui")
  216. mpStandard.Parent = Player.PlayerGui
  217. mpStandard.Name = "MPGUI"
  218. mpStandard.Adornee = Head
  219. mpStandard.Size = UDim2.new(1, 0, 1, 0)
  220. mpStandard.StudsOffset = Vector3.new(0, 2, 0)
  221. local Frame = Instance.new("Frame")
  222. Frame.Parent = mpStandard
  223. Frame.Size = magictext3.Size
  224. Frame.BackgroundTransparency = 0.35
  225. Frame.BackgroundColor3 = magictext3.BackgroundColor3
  226. local text = Instance.new("TextLabel")
  227. text.Parent = Frame
  228. text.Position = UDim2.new{0,0}, {0,0}
  229. text.Size = UDim2.new(2.5, 0, 2.5, 0)
  230. text.Text = magictext.Text
  231.  
  232. local gairo = Instance.new("BodyGyro")
  233. gairo.Parent = nil
  234. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  235. gairo.P = 20e+003
  236.  
  237. local Gyro2 = Instance.new("BodyGyro")
  238. Gyro2.Parent = nil
  239. Gyro2.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  240. Gyro2.P = 20e+003
  241.  
  242. function ss(pitch) --linerider64 was here :D
  243.  
  244. local SlashSound = Instance.new("Sound")
  245. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  246. SlashSound.Parent = workspace
  247. SlashSound.Volume = .7
  248. SlashSound.Pitch = pitch --linerider64 was also here XD
  249. SlashSound.PlayOnRemove = true
  250. --SlashSound:play()
  251. coroutine.resume(coroutine.create(function()
  252. wait(0)
  253. SlashSound.Parent = nil
  254. end))
  255. end
  256. function ss1(pitch)
  257.  
  258. local Slash = Instance.new("Sound")
  259. Slash.SoundId = "http://roblox.com/asset/?id=10209645"
  260. Slash.Parent = workspace
  261. Slash.Volume = 1
  262. Slash.Pitch = pitch --0.65
  263. Slash.PlayOnRemove = true
  264. --Slash:play()
  265. coroutine.resume(coroutine.create(function()
  266. wait(0)
  267. Slash.Parent = nil
  268. end))
  269. end
  270. function SEE(pitch)
  271.  
  272. local SEE = Instance.new("Sound")
  273. SEE.SoundId = "http://www.roblox.com/asset/?id=2101148"
  274. SEE.Parent = workspace
  275. SEE.Volume = 1
  276. SEE.Pitch = pitch --1
  277. SEE.PlayOnRemove = true
  278. --See:play()
  279. coroutine.resume(coroutine.create(function()
  280. wait(0)
  281. SEE.Parent = nil
  282. end))
  283. end
  284. function ss3(pitch)
  285.  
  286. local SEE = Instance.new("Sound")
  287. SEE.SoundId = "http://www.roblox.com/asset/?id=48618802 "
  288. SEE.Parent = workspace
  289. SEE.Volume = 1
  290. SEE.Pitch = pitch --1.5
  291. SEE.PlayOnRemove = true
  292. --See:play()
  293. coroutine.resume(coroutine.create(function()
  294. wait(0)
  295. SEE.Parent = nil
  296. end))
  297. end
  298. function glassbreak(pitch)
  299.  
  300. local SEE = Instance.new("Sound")
  301. SEE.SoundId = "rbxasset://Sounds/glassbreak.wav"
  302. SEE.Parent = parent
  303. SEE.Volume = 1
  304. SEE.Pitch = pitch --1.5
  305. SEE.PlayOnRemove = true
  306. --See:play()
  307. coroutine.resume(coroutine.create(function()
  308. wait(0)
  309. SEE.Parent = nil
  310. end))
  311. end
  312. function critsound(pitch)
  313.  
  314. local SlashSound = Instance.new("Sound")
  315. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  316. SlashSound.Parent = workspace
  317. SlashSound.Volume = .7
  318. SlashSound.Pitch = pitch
  319. SlashSound.PlayOnRemove = true
  320. coroutine.resume(coroutine.create(function()
  321. wait(0)
  322. SlashSound.Parent = nil
  323. end))
  324. end
  325. function sheath(pitch)
  326.  
  327. local SlashSound = Instance.new("Sound")
  328. SlashSound.SoundId = "http://roblox.com/asset/?id=10209850"
  329. SlashSound.Parent = workspace
  330. SlashSound.Volume = .7
  331. SlashSound.Pitch = pitch
  332. SlashSound.PlayOnRemove = true
  333. coroutine.resume(coroutine.create(function()
  334. wait(0)
  335. SlashSound.Parent = nil
  336. end))
  337. end
  338. function shieldbash(pitch)
  339.  
  340. local SlashSound = Instance.new("Sound")
  341. SlashSound.SoundId = "http://roblox.com/asset/?id=10209583"
  342. SlashSound.Parent = workspace
  343. SlashSound.Volume = .7
  344. SlashSound.Pitch = pitch
  345. SlashSound.PlayOnRemove = true
  346. coroutine.resume(coroutine.create(function()
  347. wait(0)
  348. SlashSound.Parent = nil
  349. end))
  350. end
  351. function magicsound(pitch)
  352.  
  353. local SlashSound = Instance.new("Sound")
  354. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  355. SlashSound.Parent = workspace
  356. SlashSound.Volume = .5
  357. SlashSound.Pitch = pitch
  358. SlashSound.PlayOnRemove = true
  359. coroutine.resume(coroutine.create(function()
  360. wait(0)
  361. SlashSound.Parent = nil
  362. end))
  363. end
  364. function abscond(pitch)
  365.  
  366. local SlashSound = Instance.new("Sound")
  367. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2767090"
  368. SlashSound.Parent = workspace
  369. SlashSound.Volume = 1
  370. SlashSound.Pitch = pitch
  371. SlashSound.PlayOnRemove = true
  372. coroutine.resume(coroutine.create(function()
  373. wait(0)
  374. SlashSound.Parent = nil
  375. end))
  376. end
  377. function Charge(pitch)
  378.  
  379. local SlashSound = Instance.new("Sound")
  380. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
  381. SlashSound.Parent = workspace
  382. SlashSound.Volume = 1
  383. SlashSound.Pitch = pitch
  384. SlashSound.PlayOnRemove = true
  385. coroutine.resume(coroutine.create(function()
  386. wait(0)
  387. SlashSound.Parent = nil
  388. end))
  389. end
  390. function MagicMayhemUltimaSounds()
  391.  
  392. local SlashSound = Instance.new("Sound")
  393. SlashSound.SoundId = "http://www.roblox.com/asset/?id=13775494"
  394. SlashSound.Parent = workspace
  395. SlashSound.Volume = 1
  396. SlashSound.Pitch = 0.1
  397. SlashSound.PlayOnRemove = true
  398. coroutine.resume(coroutine.create(function()
  399. wait(0)
  400. SlashSound.Parent = nil
  401. end))
  402. local SlashSound = Instance.new("Sound")
  403. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2691586"
  404. SlashSound.Parent = workspace
  405. SlashSound.Volume = 1
  406. SlashSound.Pitch = 0.2
  407. SlashSound.PlayOnRemove = true
  408. coroutine.resume(coroutine.create(function()
  409. wait(0)
  410. SlashSound.Parent = nil
  411. end))
  412. local SlashSound = Instance.new("Sound")
  413. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2691586"
  414. SlashSound.Parent = workspace
  415. SlashSound.Volume = 1
  416. SlashSound.Pitch = 0.05
  417. SlashSound.PlayOnRemove = true
  418. coroutine.resume(coroutine.create(function()
  419. wait(0)
  420. SlashSound.Parent = nil
  421. end))
  422. local SlashSound = Instance.new("Sound")
  423. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  424. SlashSound.Parent = workspace
  425. SlashSound.Volume = 1
  426. SlashSound.Pitch = 0.05
  427. SlashSound.PlayOnRemove = true
  428. coroutine.resume(coroutine.create(function()
  429. wait(0)
  430. SlashSound.Parent = nil
  431. end))
  432. local SlashSound = Instance.new("Sound")
  433. SlashSound.SoundId = "http://www.roblox.com/asset?id=1369158"
  434. SlashSound.Parent = workspace
  435. SlashSound.Volume = 1
  436. SlashSound.Pitch = 0.7
  437. SlashSound.PlayOnRemove = true
  438. coroutine.resume(coroutine.create(function()
  439. wait(0)
  440. SlashSound.Parent = nil
  441. end))
  442. local SlashSound = Instance.new("Sound")
  443. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2974000"
  444. SlashSound.Parent = workspace
  445. SlashSound.Volume = 1
  446. SlashSound.Pitch = 0.5
  447. SlashSound.PlayOnRemove = true
  448. coroutine.resume(coroutine.create(function()
  449. wait(0)
  450. SlashSound.Parent = nil
  451. end))
  452. local SlashSound = Instance.new("Sound")
  453. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2974249"
  454. SlashSound.Parent = workspace
  455. SlashSound.Volume = 1
  456. SlashSound.Pitch = 0.3
  457. SlashSound.PlayOnRemove = true
  458. coroutine.resume(coroutine.create(function()
  459. wait(0)
  460. SlashSound.Parent = nil
  461. end))
  462. end
  463.  
  464. if (script.Parent.className ~= "HopperBin") then
  465. local Tool = Instance.new("HopperBin")
  466. Tool.Parent = Backpack
  467. Tool.Name = "Tsugari-Gama"
  468. script.Parent = Tool
  469. end
  470. Bin = script.Parent
  471.  
  472. local SpikeMesh = Instance.new("SpecialMesh")
  473. SpikeMesh.MeshId = "http://www.roblox.com/asset/?id=1033714"
  474. SpikeMesh.MeshType = "FileMesh"
  475. SpikeMesh.Parent = Tsu
  476. SpikeMesh.Scale = Vector3.new(1, 1, 1)
  477.  
  478. function unequipweld()
  479. weld0.Part1 = Torso
  480. weld0.C0 = CFrame.fromEulerAnglesXYZ(0,math.pi,0) * CFrame.new(-1.5,1,0)
  481. weld1.Part1 = Torso
  482. weld1.C0 = CFrame.fromEulerAnglesXYZ(0,math.pi,0) * CFrame.new(1.5,1,0)
  483. --[[C1=CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  484. ]]--
  485. end
  486.  
  487. function equipweld()
  488. weld0.Part1 = LeftArm
  489. weld0.C0 = CFrame.fromEulerAnglesXYZ(math.pi/2,-math.pi,0) * CFrame.new(0,0+1,0)
  490. weld1.Part1 = RightArm
  491. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.pi/2,-math.pi,0) * CFrame.new(0,0+1,0)
  492. end
  493.  
  494. function hideanim()
  495. for i = 0, 1, 0.1 do
  496. wait(0)
  497. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5*i-0.5,-math.pi/6*i+math.pi/6)
  498. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  499. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,-0.5*i+0.5,math.pi/6*i-math.pi/6)
  500. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  501. end
  502. wait(0.1)
  503. unequipweld()
  504. end
  505.  
  506. function equipanim()
  507. equipweld()
  508. for i = 0, 1, 0.2 do
  509. wait(0)
  510. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.pi/6*i,0.5*i,0)
  511. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  512. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.pi/6*i,-0.5*i,0)
  513. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  514. end
  515. end
  516.  
  517. function maim()
  518. equipweld()
  519. for i = 0, 1, 0.2 do
  520. wait(0)
  521. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,-math.rad(85)*i,-math.pi/4+math.rad(5)*i)
  522. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  523. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,math.rad(85)*i,math.pi/4-math.rad(5)*i)
  524. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  525. end
  526. end
  527.  
  528. function changeequipleft()
  529. if Number > 1 then
  530. Number = Number - 1
  531. mode = Modes[Number]
  532. print(mode)
  533. if Number == 1 then
  534. AttackMode()
  535. end
  536. while mode == Normal do
  537. if mode == Normal then
  538. DifferentEffect(Torso)
  539. DifferentEffect(Torso)
  540. end
  541. end
  542. end
  543. end
  544.  
  545. function changeequipright()
  546. if Number < #Modes then
  547. Number = Number + 1
  548. mode = Modes[Number]
  549. print(mode)
  550. if Number == 2 then
  551. ArmedCom()
  552. end
  553. end
  554. end
  555.  
  556. function ChangeElement()
  557. attack = true
  558. for i = 0,1,0.1 do
  559. wait()
  560. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  561. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,0,0)
  562. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  563. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1*i,0,0)
  564. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  565. end
  566. magicsound(1)
  567. if element == "Water" then
  568. element = "None"
  569. WaveEffect(Torso,3,3,3,0,-2,0,0,0,0,BrickColor.new("Grime"))
  570. elseif element == "None" then
  571. element = "Water"
  572. WaveEffect(Torso,3,3,3,0,-2,0,0,0,0,BrickColor.new("Cyan"))
  573. end
  574. for i = 0,1,0.2 do
  575. wait()
  576. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3+0.6*i,3.14,0) * CFrame.new(0,0,-0.5)
  577. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-3*i,0,0)
  578. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  579. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-3*i,0,0)
  580. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  581. end
  582. wait(0.2)
  583. for i = 0,1,0.1 do
  584. wait()
  585. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  586. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+1*i,0,0)
  587. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  588. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2*i,0,0)
  589. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  590. end
  591. attack = false
  592. end
  593.  
  594. function ArmedCom()
  595. attack = true
  596. for i = 0,1,0.1 do
  597. wait()
  598. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(-0.5*i+1.57,3.14,0) * CFrame.new(0,0,-0.5)
  599. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5*i,0,-0.5*i)
  600. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  601. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5*i,0,0.5*i)
  602. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  603. weld0.C0 = CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) * CFrame.new(0, 1, 0)
  604. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) * CFrame.new(0, 1, 0)
  605. end
  606. wait(0)
  607. for i = 0, 1 , 0.1 do
  608. wait(0)
  609. MMMAGIC(prt0,0.8,0.8,0.8,0,0,0,BrickColor.new("Navy blue"))
  610. MMMAGIC(prt1,0.8,0.8,0.8,0,0,0,BrickColor.new("Navy blue"))
  611. end
  612. for i = 0,1,0.1 do
  613. wait()
  614. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.62-0.5*i,3.14,0) * CFrame.new(0,0,-0.5)
  615. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-2.5*i,0,0.5*i-0.5)
  616. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  617. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-2.5*i,0,-0.5*i+0.5)
  618. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  619. equipweld()
  620. end
  621. --Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  622. attack = false
  623. end
  624.  
  625. function AttackMode()
  626. attack = true
  627. for i = 0,1,0.1 do
  628. wait()
  629. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  630. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,-1.57*i,0)
  631. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
  632. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.3*i,1*i,0)
  633. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  634. end
  635. sheath(2.25)
  636. wait(0.2)
  637. for i = 0,1,0.1 do
  638. wait()
  639. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  640. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,-1.57+1.57*i,0)
  641. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,0)
  642. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.3+0.3*i,1-1*i,0)
  643. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  644. end
  645. attack = false
  646. end
  647.  
  648. function oneslash()
  649. attack = true
  650. combo = 1
  651. for i = 0 , 1 , 0.1 do
  652. wait(0)
  653. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,-0.5*i+0.5,0.5*i-0.5)
  654. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  655. end
  656. gairo.Parent = Head
  657. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  658. gairo.P = 20e+003
  659. gairo.cframe = Head.CFrame
  660. ss(0.8)
  661. con1=prt0.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  662. con2=prt1.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  663. for i = 0 , 1 , 0.2 do
  664. wait(0)
  665. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1*i) * CFrame.new(0,0,-0.5)
  666. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2*i+2,1*i,0)
  667. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1*i,0,0)
  668. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i,0,1*i)
  669. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  670. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.pi/2,-math.pi-math.pi/3*i,0) * CFrame.new(0, 1, 0)
  671. end
  672. wait(0.3)
  673. con1:disconnect()
  674. con2:disconnect()
  675. --Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  676. attack = false
  677. end
  678.  
  679. function twoslash()
  680. attack = true
  681. combo = 2
  682. gairo.Parent = Head
  683. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  684. gairo.P = 20e+003
  685. gairo.cframe = Head.CFrame
  686. for i = 0 , 1 , 0.1 do
  687. wait(0)
  688. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  689. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5*i+4.07,0,0)
  690. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) * CFrame.new(0, 1, -1)
  691. end
  692. magicsound(3)
  693. con1=prt0.Touched:connect(function(hit) abscondDamagefunc2(hit,20,30) end)
  694. con2=prt1.Touched:connect(function(hit) critsound(1) Damagefunc2(hit,20,30) end)
  695. wait(0.2)
  696. for i = 0, 1 , 0.1 do
  697. wait(0)
  698. MMMAGIC(prt1,2,2,2,0,0,0,BrickColor.new("Navy blue"))
  699. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.5*i) * CFrame.new(0,0,-0.5)
  700. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  701. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-4*i+2.5+4.07,0,0)
  702. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  703. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1*i,-1.2*i,0)
  704. equipweld()
  705. end
  706. wait(0.5)
  707. con1:disconnect()
  708. con2:disconnect()
  709. --Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  710. gairo.Parent = nil
  711. attack = false
  712. end
  713.  
  714. function threeslash()
  715. attack = true
  716. combo = 3
  717. for i = 0 , 1 , 0.1 do
  718. wait(0)
  719. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1*i) * CFrame.new(0,0,-0.5)
  720. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ((-2*i+2),0,-1*i)
  721. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  722. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i,0,-1*i)
  723. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  724. end
  725. gairo.Parent = Head
  726. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  727. gairo.P = 20e+003
  728. gairo.cframe = Head.CFrame
  729. wait(0.3)
  730. if MP >= 100 then
  731. MMMAGIC(prt1,.8,.8,.8,0,0,0,BrickColor.new("Neon orange"))
  732. MMMAGIC(prt1,1,1,1,0,0,0,BrickColor.new("New Yeller"))
  733. MMMAGIC(prt1,2,2,2,0,0,0,BrickColor.new("Cool yellow"))
  734. MMMAGIC(prt1,3,3,3,0,0,0,BrickColor.new("Bright yellow"))
  735. wait()
  736. MP = MP - math.random(3,57)
  737. end
  738. wait()
  739. SEE(7)
  740. con1=prt0.Touched:connect(function(hit) Damagefunc1(hit,0,1) Damagefunc2(hit,0.5,3.1) end)
  741. con2=prt1.Touched:connect(function(hit) Damagefunc1(hit,0,2.3) Damagefunc2(hit,-0.78,5) end)
  742. wait(0.2)
  743. con1:disconnect()
  744. con2:disconnect()
  745. wait(0.3)
  746. --Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  747. attack = false
  748. end
  749.  
  750. function Epic()
  751. attack = true
  752. r = 20
  753. h = 30
  754. if MP >= 450 then
  755. MP = MP - 150
  756. print(MP)
  757. if MP >= 600 then
  758. script:Destroy()
  759. end
  760. end
  761. for i = 0 , 1 , 0.1 do
  762. wait(0)
  763. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-1*i,3.14,0) * CFrame.new(0,0,-0.5)
  764. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.14*i,0.2*i,0)
  765. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  766. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.14*i,-0.2*i,0)
  767. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  768. end
  769. for i = 0, 1 , 0.1 do
  770. wait(0)
  771. MMMAGIC(prt0,1,1,1,0,0,0,BrickColor.new("Bright yellow"))
  772. MMMAGIC(prt1,1,1,1,0,0,0,BrickColor.new("Bright yellow"))
  773. end
  774. for o = h,75,7 do
  775. for i = 0,360,30 do
  776. local c = Instance.new("Part")
  777. c.Parent = Workspace
  778. c.Size = Vector3.new(4,o,4)
  779. c.Anchored = true
  780. c.Material = "Slate"
  781. c.CanCollide = true
  782. c.BrickColor = BrickColor.new("Brown")
  783. Spike=SpikeMesh:clone()
  784. Spike.Parent=c
  785. Spike.Scale = c.Size
  786. c.CFrame = Torso.CFrame + Vector3.new(math.cos(math.rad(i))*r,0,math.sin(math.rad(i))*r) - Vector3.new(0,c.Size.y,0)
  787. coroutine.resume(coroutine.create(function()
  788. for i = 1,c.Size.y,2 do
  789. wait()
  790. c.CFrame = c.CFrame + Vector3.new(0,2,0)
  791. end
  792. delay(3,function()
  793. for i = 1,c.Size.y do
  794. wait()
  795. c.CFrame = c.CFrame - Vector3.new(0,1,0)
  796. end
  797. c:Remove()
  798. end)
  799. end))
  800. end
  801. r = r+10
  802. end
  803. for i = 0 , 1 , 0.1 do
  804. wait(0)
  805. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-1*i+1,3.14,0) * CFrame.new(0,0,-0.5)
  806. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.14*i-3.14,0.2*i-0.2,0)
  807. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  808. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.14*i-3.14,-0.2*i+0.2,0)
  809. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  810. end
  811. attack = false
  812. end
  813.  
  814. function Block()
  815. attack = true
  816. Guard = true
  817. Character.Humanoid.WalkSpeed = 20
  818. for i = 0,1,0.1 do
  819. wait()
  820. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  821. LW.C0 = CFrame.new(-1.5+0.8*i,0.5+0.2*i,-0.8*i) * CFrame.fromEulerAnglesXYZ(2.07*i,0,1.4*i)
  822. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  823. RW.C0 = CFrame.new(1.5-0.8*i,0.5,-0.8*i) * CFrame.fromEulerAnglesXYZ(0.7+0.87*i,0,-1.4*i)
  824. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  825. end
  826. humanoid = Character.Humanoid
  827. lhh = humanoid.Health
  828.  
  829. while Guard == true do
  830. wait()
  831.  
  832. if humanoid.Health < lhh then
  833.  
  834. print(lhh - humanoid.Health)
  835. test = lhh - humanoid.Health
  836. if MP < 600 then
  837. MP = MP - math.random(test, test*50)
  838. end
  839. if MP > 600 then
  840. MP = 600
  841. end
  842. if mode == "Normal" then
  843. humanoid.Health = lhh - (test * 50)
  844. elseif mode == "Unarmed" then
  845. humanoid.Health = lhh - (test * 50)
  846. end
  847. lhh = humanoid.Health
  848. shieldbash(1)
  849. local vel = Instance.new("BodyVelocity")
  850. vel.Parent = Torso
  851. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1000
  852. vel.velocity = Torso.CFrame.lookVector * -20
  853. velo = -20
  854. for i = 0,1,0.2 do
  855. wait()
  856. LW.C0 = CFrame.new(-1.5+0.8,0.5+0.2,-0.8) * CFrame.fromEulerAnglesXYZ(2.07,0,1.4+0.5*i)
  857. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  858. RW.C0 = CFrame.new(1.5-0.8,0.5,-0.8) * CFrame.fromEulerAnglesXYZ(0.7+0.87,0,-1.4-0.5*i)
  859. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  860. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  861. end
  862. for i = 0,1,0.05 do
  863. wait()
  864. LW.C0 = CFrame.new(-1.5+0.8,0.5+0.2,-0.8) * CFrame.fromEulerAnglesXYZ(2.07,0,1.4+0.5-0.5*i)
  865. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  866. RW.C0 = CFrame.new(1.5-0.8,0.5,-0.8) * CFrame.fromEulerAnglesXYZ(0.7+0.87,0,-1.4-0.5+0.5*i)
  867. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  868. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
  869. velo = velo + 0.5
  870. vel.velocity = Torso.CFrame.lookVector * velo
  871. end
  872. vel.Parent = nil
  873.  
  874. end
  875.  
  876. wait(0.1)
  877. end
  878. Character.Humanoid.WalkSpeed = 16
  879. if Guard == false then
  880. for i = 0,1,0.1 do
  881. wait()
  882. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  883. LW.C0 = CFrame.new(-1.5+0.8-0.8*i,0.5+0.2-0.2*i,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(2.07-2.07*i,0,1.4-1.4*i)
  884. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  885. RW.C0 = CFrame.new(1.5-0.8+0.8*i,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(0.7+0.87-0.87*i,0,-1.4+1.4*i)
  886. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  887. end
  888. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  889. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  890. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  891. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.7,0,0)
  892. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  893. attack = false
  894. end
  895. end
  896.  
  897. function Dash()
  898. if MP >= 20 then
  899. attack = true
  900. gairo.Parent = Head
  901. gairo.cframe = Head.CFrame
  902. for i = 0,1,0.1 do
  903. wait()
  904. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5*i) * CFrame.new(0,0,-0.5)
  905. LW.C0 = CFrame.new(-1.5+0.7*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.9*i,0,1*i)
  906. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  907. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,-1.2*i)
  908. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  909. end
  910. MP = MP - 20
  911. MagicMayhemUltimaSounds(5)
  912. con1=prt0.Touched:connect(function(hit) Bash(hit,40) end)
  913. local vel = Instance.new("BodyVelocity")
  914. vel.Parent = Player.Character.Torso
  915. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  916. vel.velocity = Head.CFrame.lookVector * 100
  917. for i = 0,1,0.2 do
  918. wait()
  919. if element == "Water" then
  920. MMMAGIC(prt0,3,3,3,0,0,0,BrickColor.new("Cyan"))
  921. MOREMAGIX(prt0,0,2,2,2,BrickColor.new("Cyan"))
  922. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Cyan"))
  923. else
  924. MMMAGIC(prt0,3,3,3,0,0,0,BrickColor.new("Grime"))
  925. MOREMAGIX(prt0,0,2,2,2,BrickColor.new("Grime"))
  926. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Grime"))
  927. end
  928. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5) * CFrame.new(0,0,-0.5)
  929. LW.C0 = CFrame.new(-1.5+0.7,0.5,-0.5-0.3*i) * CFrame.fromEulerAnglesXYZ(1.9,0,1-0.3*i)
  930. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  931. RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5-0.3*i) * CFrame.fromEulerAnglesXYZ(1+0.57,0,-1.2+0.3*i)
  932. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  933. end
  934. for i = 0,1,0.2 do
  935. wait()
  936. if element == "Water" then
  937. MMMAGIC(prt0,3,3,3,0,0,0,BrickColor.new("Cyan"))
  938. MOREMAGIX(prt0,0,2,2,2,BrickColor.new("Cyan"))
  939. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Cyan"))
  940. else
  941. MMMAGIC(prt0,3,3,3,0,0,0,BrickColor.new("Grime"))
  942. MOREMAGIX(prt0,0,2,2,2,BrickColor.new("Grime"))
  943. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Grime"))
  944. end
  945. end
  946. vel.Parent = nil
  947. for i = 0,1,0.2 do
  948. wait()
  949. if element == "Water" then
  950. MMMAGIC(prt0,3,3,3,0,0,0,BrickColor.new("Cyan"))
  951. MOREMAGIX(prt0,0,2,2,2,BrickColor.new("Cyan"))
  952. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Cyan"))
  953. else
  954. MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("Grime"))
  955. MOREMAGIX(prt19,0,2,2,2,BrickColor.new("Grime"))
  956. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Grime"))
  957. end
  958. end
  959. if mode == "Normal" then
  960. wait(0.3)
  961. for i = 0,1,0.1 do
  962. wait()
  963. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-0.5*i) * CFrame.new(0,0,-0.5)
  964. LW.C0 = CFrame.new(-1.5+0.7-0.7*i,0.5,-0.5-0.3+0.8*i) * CFrame.fromEulerAnglesXYZ(1.9-1.9*i,0,1-0.3-0.7*i)
  965. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  966. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5-0.3+0.8*i) * CFrame.fromEulerAnglesXYZ(1+0.57-0.57*i,0,-1.2+0.3+0.9*i)
  967. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  968. end
  969. gairo.Parent = nil
  970. wait(0.2)
  971. con1:disconnect()
  972. elseif mode == "Unarmed" then
  973. if holddash == true and MP >= 20 then
  974. con1:disconnect()
  975. gairo.Parent = nil
  976. wait(0.5)
  977. gairo.Parent = Head
  978. gairo.cframe = Head.CFrame
  979. for i = 0,1,0.1 do
  980. wait()
  981. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-1*i) * CFrame.new(0,0,-0.5)
  982. LW.C0 = CFrame.new(-1.5+0.7-0.7*i,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(1.9,0,0.7-1.6*i)
  983. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  984. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-0.9+2*i)
  985. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  986. end
  987. magicsound(8)
  988. con2=prt1.Touched:connect(function(hit) Damagefunc2(hit,40,25) end)
  989. MP = MP - 2*10
  990. local vel = Instance.new("BodyVelocity")
  991. vel.Parent = Torso
  992. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  993. vel.velocity = Head.CFrame.lookVector * 50 --Applied force
  994. for i = 0,1,0.2 do
  995. wait()
  996. if element == "Water" then
  997. MMMAGIC(prt1,3,3,3,0,0,0,BrickColor.new("Cyan"))
  998. MOREMAGIX(prt1,0,2,2,2,BrickColor.new("Cyan"))
  999. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Cyan"))
  1000. else
  1001. MMMAGIC(prt1,3,3,3,0,0,0,BrickColor.new("Grime"))
  1002. MOREMAGIX(prt1,0,2,2,2,BrickColor.new("Grime"))
  1003. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Grime"))
  1004. end
  1005. --weld1 weld here
  1006. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-1) * CFrame.new(0,0,-0.5)
  1007. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.9-0.33*i,0,0.7-1.5+0.4*i)
  1008. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1009. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-0.9+2)
  1010. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1011. end
  1012. for i = 0,1,0.2 do
  1013. wait()
  1014. if element == "Water" then
  1015. MMMAGIC(prt1,3,3,3,0,0,0,BrickColor.new("Cyan"))
  1016. MOREMAGIX(prt1,0,2,2,2,BrickColor.new("Cyan"))
  1017. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Cyan"))
  1018. else
  1019. MMMAGIC(prt1,3,3,3,0,0,0,BrickColor.new("Grime"))
  1020. MOREMAGIX(prt1,0,2,2,2,BrickColor.new("Grime"))
  1021. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Grime"))
  1022. end
  1023. end
  1024. vel.Parent = nil
  1025. for i = 0,1,0.2 do
  1026. wait()
  1027. if element == "Water" then
  1028. MMMAGIC(prt1,3,3,3,0,0,0,BrickColor.new("Cyan"))
  1029. MOREMAGIX(prt1,0,2,2,2,BrickColor.new("Cyan"))
  1030. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Cyan"))
  1031. else
  1032. MMMAGIC(prt1,3,3,3,0,0,0,BrickColor.new("Grime"))
  1033. MOREMAGIX(prt1,0,2,2,2,BrickColor.new("Grime"))
  1034. DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Grime"))
  1035. end
  1036. end
  1037. wait(0.3)
  1038. con2:disconnect()
  1039. for i = 0,1,0.1 do
  1040. wait()
  1041. --weld1 weld here
  1042. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-0.5+0.5*i) * CFrame.new(0,0,-0.5)
  1043. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.9-0.33-1.57*i,0,1.2-1.2*i)
  1044. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1045. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.57*i,0,1.1-1.1*i)
  1046. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1047. end
  1048. gairo.Parent = nil
  1049. else
  1050. wait(0.3)
  1051. for i = 0,1,0.1 do
  1052. wait()
  1053. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-0.5*i) * CFrame.new(0,0,-0.5)
  1054. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.9-0.33-1.57*i,0,1.2-1.2*i)
  1055. --LW.C0 = CFrame.new(-1.5+0.7-0.7*i,0.5,-0.5-0.3+0.8*i) * CFrame.fromEulerAnglesXYZ(1.9-1.9*i,0,1-0.3-0.7*i)
  1056. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1057. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5-0.3+0.8*i) * CFrame.fromEulerAnglesXYZ(1+0.57-0.57*i,0,-1.2+0.3+0.9*i)
  1058. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1059. end
  1060. gairo.Parent = nil
  1061. wait(0.2)
  1062. con1:disconnect()
  1063. end
  1064. end
  1065. attack = false
  1066. end
  1067. end
  1068.  
  1069. function Restore()
  1070. attack = true
  1071. restoring = true
  1072. Taunts={"Curaga.","This'll take a while","Cura","Cure!","Mending.."}
  1073. for i = 0,1,0.1 do
  1074. wait()
  1075. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.2*i+0.3,3.14,0) * CFrame.new(0,0,-0.5)
  1076. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-math.pi/4*i+math.pi/18,-0.45*i+0.2,-math.pi/6*i+math.pi/18)
  1077. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1078. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-math.pi/4*i+math.pi/18,0.45*i-0.2,math.pi/6*i-math.pi/18)
  1079. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1080. end
  1081. coroutine.resume(coroutine.create(function()
  1082. while wait() do
  1083. game:GetService("Chat"):Chat(Character,Taunts[math.random(1, #Taunts)],"Blue")
  1084. wait(1)
  1085. Character.Chat:Remove()
  1086. end
  1087. end))
  1088. local lol = Instance.new("Part")
  1089. lol.Parent = Tsu
  1090. lol.Shape = "Ball"
  1091. lol.Position = Torso.Position
  1092. lol.Anchored = false
  1093. lol.Name = "lol"
  1094. lol.Transparency = 0.35
  1095. lol.CanCollide = false
  1096. lol.Size = Vector3.new(1,1,1)
  1097. lol.BrickColor = workspace.Base.BrickColor or workspace.BasePart.BrickColor
  1098. local lolmesh = Instance.new("SpecialMesh")
  1099. lolmesh.Parent = lol
  1100. lolmesh.Scale = Vector3.new(0.3,0.3,0.3)
  1101. lolmesh.MeshType = "Sphere"
  1102. local lolweld = Instance.new("Weld")
  1103. lolweld.Parent = lol
  1104. lolweld.Part0 = lol
  1105. lolweld.Part1 = Torso
  1106. wait(0)
  1107. coroutine.resume(coroutine.create(function()
  1108. for i = 0, 1, 0.05 do
  1109. wait(0)
  1110. lolmesh.Scale = lolmesh.Scale + Vector3.new(0.15,0.15,0.15)
  1111. end
  1112. end))
  1113. while restoring == true do
  1114. wait(0.15)
  1115. lolweld.C0 = CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) * CFrame.new(0, -5, 4.2)
  1116. lolweld.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1117. MMMAGIC(lol,.8,.8,.8,0,0,0,BrickColor.new("Sand green"))
  1118. MMMAGIC(lol,1,1,1,0,0,0,BrickColor.new("Eath green"))
  1119. MMMAGIC(lol,2,2,2,0,0,0,BrickColor.new("Camo"))
  1120. MMMAGIC(lol,3,3,3,0,0,0,BrickColor.new("Black"))
  1121. DifferentEffect(workspace.Base)
  1122. DifferentEffect(workspace.Base)
  1123. DifferentEffect(workspace.Base)
  1124. con=lol.Touched:connect(function(hit) Damagefunc1(hit.Torso, 0.5, 0) end)
  1125. if MP >= 1000 then
  1126. MP = 1000
  1127. else
  1128. Character.Humanoid.Health = Character.Humanoid.Health + 5.05
  1129. MP = MP + 2*2^4
  1130. end
  1131. end
  1132. wait(.3)
  1133. for i = 0, 1, 0.05 do
  1134. wait(0)
  1135. lol.Transparency = lol.Transparency + 0.03
  1136. lolmesh.Scale = lolmesh.Scale + Vector3.new(0.25,0.25,0.25)
  1137. end
  1138. for i = 0,1,0.1 do
  1139. wait()
  1140. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.2*i+0.3-0.3+0.2,3.14,0) * CFrame.new(0,0,-0.5)
  1141. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-math.rad(55)+math.pi/18*i,-0.25-0.2*i,-math.rad(40)+math.pi/18*i)
  1142. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1143. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-math.rad(55)+math.pi/18*i,0.25+0.2*i,math.rad(40)-math.pi/18*i)
  1144. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1145. end
  1146. con:disconnect()
  1147. lol:Destroy()
  1148. attack = false
  1149. end
  1150.  
  1151. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1152. local msh1 = Instance.new("BlockMesh")
  1153. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1154. S=Instance.new("Part")
  1155. S.Name="Effect"
  1156. S.formFactor=3
  1157. S.Size=Vector3.new(x1,y1,z1)
  1158. S.BrickColor=color
  1159. S.Reflectance = 0
  1160. S.TopSurface=0
  1161. S.BottomSurface=0
  1162. S.Transparency=0
  1163. S.Anchored=true
  1164. S.CanCollide=false
  1165. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1166. S.Parent=Character
  1167. msh1.Parent = S
  1168. 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)
  1169. end
  1170.  
  1171. function MMMAGIC2(part,x1,y1,z1,x2,y2,z2,color)
  1172. local msh1 = Instance.new("BlockMesh")
  1173. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1174. S=Instance.new("Part")
  1175. S.Name="Effect"
  1176. S.formFactor=0
  1177. S.Size=Vector3.new(x1,y1,z1)
  1178. S.BrickColor=color
  1179. S.Reflectance = 0
  1180. S.TopSurface=0
  1181. S.BottomSurface=0
  1182. S.Transparency=0
  1183. S.Anchored=true
  1184. S.CanCollide=false
  1185. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1186. S.Parent=Character
  1187. msh1.Parent = S
  1188. 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)
  1189. end
  1190.  
  1191. function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  1192. local msh1 = Instance.new("BlockMesh")
  1193. msh1.Scale = Vector3.new(x1,y1,z1)
  1194. S=Instance.new("Part")
  1195. S.Name="Effect"
  1196. S.formFactor=0
  1197. S.Size=Vector3.new(1,1,1)
  1198. S.BrickColor=color
  1199. S.Reflectance = 0
  1200. S.TopSurface=0
  1201. S.BottomSurface=0
  1202. S.Transparency=0
  1203. S.Anchored=true
  1204. S.CanCollide=false
  1205. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1206. S.Parent=Character
  1207. msh1.Parent = S
  1208. 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)
  1209. end
  1210.  
  1211. function MOREMAGIX(part,cframe,x,y,z,color)
  1212. p2=Instance.new("Part")
  1213. p2.Name="Blast"
  1214. p2.TopSurface=0
  1215. p2.BottomSurface=0
  1216. p2.CanCollide=false
  1217. p2.Anchored=true
  1218. p2.BrickColor=color
  1219. p2.Size=Vector3.new(x,y,z)
  1220. p2.formFactor="Symmetric"
  1221. p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
  1222. p2.Parent=workspace
  1223. m=Instance.new("BlockMesh")
  1224. m.Parent=p2
  1225. m.Name="BlastMesh"
  1226. 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))
  1227. end
  1228.  
  1229. function TsubasaMAGIX(part,cframe,x,y,z,color)
  1230. p2=Instance.new("Part")
  1231. p2.Name="Wings"
  1232. p2.TopSurface=0
  1233. p2.BottomSurface=0
  1234. p2.CanCollide=false
  1235. p2.Anchored=true
  1236. p2.BrickColor=color
  1237. p2.Size=Vector3.new(x,y,z)
  1238. p2.formFactor="Symmetric"
  1239. p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
  1240. p2.Parent=workspace
  1241. local m = Instance.new("SpecialMesh")
  1242. m.Scale = Vector3.new(.01,1.5,5)
  1243. m.MeshId = "http://www.roblox.com/asset/?id=1081197"
  1244. m.MeshType = "FileMesh"
  1245. m.Parent=p2
  1246. m.Name="Wing"
  1247. coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do 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 Wings.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10))
  1248. end
  1249.  
  1250. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1251. local msh1 = Instance.new("SpecialMesh")
  1252. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  1253. msh1.MeshType = "Sphere"
  1254. S=Instance.new("Part")
  1255. S.Name="Effect"
  1256. S.formFactor=0
  1257. S.Size=Vector3.new(x1,y1,z1)
  1258. S.BrickColor=color
  1259. S.Reflectance = 0
  1260. S.TopSurface=0
  1261. S.BottomSurface=0
  1262. S.Transparency=0
  1263. S.Anchored=true
  1264. S.CanCollide=false
  1265. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1266. S.Parent=Character
  1267. msh1.Parent = S
  1268. 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)
  1269. end
  1270.  
  1271. function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1272. local msh1 = Instance.new("SpecialMesh")
  1273. msh1.Scale = Vector3.new(x1,y1,z1)
  1274. msh1.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1275. S=Instance.new("Part")
  1276. S.Name="Effect"
  1277. S.formFactor=0
  1278. S.Size=Vector3.new(1,1,1)
  1279. S.BrickColor=color
  1280. S.Reflectance = 0
  1281. S.TopSurface=0
  1282. S.BottomSurface=0
  1283. S.Transparency=0
  1284. S.Anchored=true
  1285. S.CanCollide=false
  1286. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1287. S.Parent=Character
  1288. msh1.Parent = S
  1289. 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)
  1290. end
  1291.  
  1292. function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1293. local msh1 = Instance.new("SpecialMesh")
  1294. msh1.Scale = Vector3.new(x1,y1,z1)
  1295. msh1.MeshId = "http://www.roblox.com/asset/?id=1323306"
  1296. S=Instance.new("Part")
  1297. S.Name="Effect"
  1298. S.formFactor=0
  1299. S.Size=Vector3.new(1,1,1)
  1300. S.BrickColor=color
  1301. S.Reflectance = 0
  1302. S.TopSurface=0
  1303. S.BottomSurface=0
  1304. S.Transparency=0
  1305. S.Anchored=true
  1306. S.CanCollide=false
  1307. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  1308. S.Parent=Character
  1309. msh1.Parent = S
  1310. 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)
  1311. end
  1312.  
  1313. function DifferentEffect(parent)
  1314. p=Instance.new("Part")
  1315. p.Name="FlameEm"
  1316. p.Shape=0
  1317. p.TopSurface=0
  1318. p.BottomSurface=0
  1319. p.BrickColor = parent.BrickColor
  1320. p.Anchored=true
  1321. p.CanCollide=false
  1322. p.Size=Vector3.new(1,1,1)
  1323. p.CFrame=CFrame.new(Character["Torso"].CFrame.p+Vector3.new(0,-3,0))+Vector3.new(math.random(-10,10)/3,0,math.random(-10,10)/3)
  1324. p.Parent=parent
  1325. m=Instance.new("SpecialMesh")
  1326. m.MeshType="Sphere"
  1327. m.Parent=p
  1328. m.Scale=Vector3.new(1,1,1)
  1329. coroutine.resume(coroutine.create(function(p) for i=1, 9 do p.Mesh.Scale=p.Mesh.Scale+Vector3.new(0,1.5,0) p.Transparency=p.Transparency+1/9 wait(0) end p.Parent=nil end),p)
  1330. end
  1331.  
  1332. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1333. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1334. end
  1335.  
  1336. LastPoint = Torso
  1337. function effect(Color,Ref,LP,P1,returnn)
  1338. local effectsmsh = Instance.new("CylinderMesh")
  1339. effectsmsh.Scale = Vector3.new(1,1,1)
  1340. effectsmsh.Name = "Mesh"
  1341. local effectsg = Instance.new("Part")
  1342. effectsg.formFactor = 3
  1343. effectsg.CanCollide = false
  1344. effectsg.Name = "Eff"
  1345. effectsg.Locked = true
  1346. effectsg.Anchored = true
  1347. effectsg.Transparency=0.7
  1348. effectsg.Size = Vector3.new(0.5,1,0.5)
  1349. effectsg.Parent = workspace
  1350. effectsmsh.Parent = effectsg
  1351. effectsg.BrickColor = BrickColor.new(Color)
  1352. effectsg.Reflectance = Ref
  1353. local point1 = P1
  1354. local mg = (LP.p - point1.p).magnitude
  1355. effectsg.Size = Vector3.new(0.5,mg,0.5)
  1356. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  1357. if returnn then return effectsg end
  1358. coroutine.resume(coroutine.create(function()
  1359. con1=effectsg.Touched:connect(function(hit) Damagefunc2(hit,5,1) end)
  1360. local c = game.Workspace:GetChildren();
  1361. for i = 1, #c do
  1362. local hum = c[i]:findFirstChild("Humanoid")
  1363. if hum ~= nil and hum.Health ~= 0 then
  1364. local head = c[i]:findFirstChild("Head");
  1365. if head ~= nil then
  1366. local targ = head.Position - effectsg.Position;
  1367. local mag = targ.magnitude;
  1368. if mag <= 6 then
  1369. Damagefunc1(head,5,1)
  1370. end
  1371. end
  1372. end
  1373. end
  1374. if not returnn then
  1375. for i = 0 , 1 , 0.2 do
  1376. wait()
  1377. local dir = effectsg.CFrame.lookVector+Vector3.new(0,0,0)
  1378. local hit2,pos = rayCast(effectsg.Position,effectsg.CFrame.lookVector,10,Character)
  1379. if hit2 ~= nil then
  1380. if hit2.Parent:FindFirstChild("Humanoid") ~= nil then
  1381. hum = hit2.Parent.Humanoid
  1382. Damagefunc1(hit2,5,5)
  1383. end
  1384. end
  1385. effectsmsh.Scale = Vector3.new(1-1*i,1,1-1*i)
  1386. end
  1387. wait()
  1388. effectsg.Parent = nil
  1389. end
  1390. end))
  1391. end
  1392.  
  1393. function effect2(Color,Ref,LP,P1,returnn)
  1394. local effectsmsh = Instance.new("BlockMesh")
  1395. effectsmsh.Scale = Vector3.new(1,1,1)
  1396. effectsmsh.Name = "Mesh"
  1397. local effectsg = Instance.new("Part")
  1398. effectsg.formFactor = 3
  1399. effectsg.CanCollide = false
  1400. effectsg.Name = "Eff"
  1401. effectsg.Locked = true
  1402. effectsg.Anchored = true
  1403. effectsg.Transparency=0.4
  1404. effectsg.Size = Vector3.new(1,1,1)
  1405. effectsg.Parent = workspace
  1406. effectsmsh.Parent = effectsg
  1407. effectsg.BrickColor = BrickColor.new(Color)
  1408. effectsg.Reflectance = Ref
  1409. local point1 = P1
  1410. local mg = (LP.p - point1.p).magnitude
  1411. effectsg.Size = Vector3.new(5,mg,5)
  1412. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  1413. if returnn then return effectsg end
  1414. coroutine.resume(coroutine.create(function()
  1415. con1=effectsg.Touched:connect(function(hit) Damagefunc2(hit,5,1) end)
  1416. local c = game.Workspace:GetChildren();
  1417. for i = 1, #c do
  1418. local hum = c[i]:findFirstChild("Humanoid")
  1419. if hum ~= nil and hum.Health ~= 0 then
  1420. local head = c[i]:findFirstChild("Head");
  1421. if head ~= nil then
  1422. local targ = head.Position - effectsg.Position;
  1423. local mag = targ.magnitude;
  1424. if mag <= 6 then
  1425. Damagefunc1(head,5,1)
  1426. end
  1427. end
  1428. end
  1429. end
  1430. if not returnn then
  1431. for i = 0 , 1 , 0.2 do
  1432. wait()
  1433. effectsg.Transparency=effectsg.Transparency+0.1
  1434. end
  1435. wait()
  1436. effectsg.Parent = nil
  1437. end
  1438. end))
  1439. end
  1440.  
  1441. function SlashEffect(part,x1,y1,z1,x2,y2,z2,color,size,power,repeats)
  1442. p2=Instance.new("Part")
  1443. p2.Name="Blast"
  1444. p2.TopSurface=0
  1445. p2.BottomSurface=0
  1446. p2.CanCollide=false
  1447. p2.Anchored=true
  1448. p2.BrickColor=color
  1449. p2.Size=Vector3.new(2,2,2)
  1450. p2.formFactor="Symmetric"
  1451. p2.CFrame=part.CFrame*CFrame.fromEulerAnglesXYZ(x2,y2,z2)*CFrame.new(x1,y1,z1)
  1452. p2.Parent=workspace
  1453. p2.Transparency=1
  1454. m=Instance.new("BlockMesh")
  1455. m.Parent=p2
  1456. m.Name="BlastMesh"
  1457. local LastPoint = p2.CFrame
  1458. coroutine.resume(coroutine.create(function(part,dir)
  1459. for loll=1, repeats do
  1460. part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09)
  1461. part.CFrame=part.CFrame*CFrame.new(0,2.5*size,0)*CFrame.fromEulerAnglesXYZ(0.6*power,0,0)
  1462. local Point = part.CFrame
  1463. effect("White",0.5,LastPoint,Point)
  1464. LastPoint = Point
  1465. wait(0)
  1466. end
  1467. part.Parent=nil
  1468. end),p2,0)
  1469. end
  1470. --SlashEffect(workspace.LocalPlayer.Torso,0,-6,-3,-1.57,math.random(-1,1)+math.random(),0,BrickColor.new("Bright yellow"),1.5,1.5)
  1471.  
  1472. function DashEf(P,color)
  1473. local m = Instance.new("Part")
  1474. m.Parent = workspace
  1475. m.BrickColor = color
  1476. m.Transparency = 0
  1477. m.Anchored = true
  1478. m.CFrame = P
  1479. m.CanCollide = false
  1480. local me = Instance.new("SpecialMesh")
  1481. me.Parent = m
  1482. me.MeshType = "FileMesh"
  1483. me.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1484. me.Scale = Vector3.new(2.5,2.5,2.5)
  1485. coroutine.resume(coroutine.create(function(part,mesh)
  1486. for i = 0,5 do
  1487. wait(0.1)
  1488. part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0, math.random(0,2), 0)
  1489. mesh.Scale = mesh.Scale + Vector3.new(0.5,0.4,0.5)
  1490. part.Transparency = part.Transparency + 0.20
  1491. end
  1492. m:Remove()
  1493. end),m,me)
  1494. end
  1495.  
  1496. function slasheffect(cframe,waitin,size,efdam)
  1497. wait(waitin)
  1498. for l=1, 2 do
  1499. wait()
  1500. e=Instance.new("Part")
  1501. e.Name="SlashEffect"
  1502. e.TopSurface=0
  1503. e.BottomSurface=0
  1504. e.formFactor="Symmetric"
  1505. e.Size=Vector3.new(2,2,size)
  1506. e.Anchored=true
  1507. e.BrickColor=BrickColor.new("White")
  1508. e.Reflectance=0
  1509.  
  1510. e.CanCollide=false
  1511. m=Instance.new("SpecialMesh")
  1512. m.MeshType="Sphere"
  1513. m.Scale=Vector3.new(.25,.25,1)
  1514. m.Parent=e
  1515. e.CFrame = cframe
  1516. e.Parent=workspace
  1517. local c = game.Workspace:GetChildren();
  1518. for i = 1, #c do
  1519. local hum = c[i]:findFirstChild("Humanoid")
  1520. if hum ~= nil and hum.Health ~= 0 then
  1521. local head = c[i]:findFirstChild("Head");
  1522. if head ~= nil then
  1523. local targ = head.Position - e.Position;
  1524. local mag = targ.magnitude;
  1525. if mag <= 5 and c[i].Name ~= Player.Name then
  1526. Damagefunc1(head,5,1)
  1527. end
  1528. end
  1529. end
  1530. end
  1531. coroutine.resume(coroutine.create(function(m) for i=1, 9 do m.Transparency=i*.1 m.Mesh.Scale=m.Mesh.Scale-Vector3.new(.01,.01,.05)*2 wait() end m.Parent=nil coneffect:disconnect() end),e)
  1532. end
  1533. end
  1534.  
  1535. DarkRiftF=function(par) --Saz
  1536. while barragehold == true and MP >= 0 do
  1537. MP = MP - math.random(0,10)
  1538. PWN={}
  1539. for _,v in pairs(workspace:children()) do
  1540. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  1541. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  1542. if v~=Character and (v.Torso.Position-par.Position).magnitude<=25 then
  1543. table.insert(PWN,v.Torso)
  1544. end
  1545. end
  1546. end
  1547. end
  1548. for _,t in pairs(PWN) do
  1549. Mag=(par.Position-t.Position).magnitude/2
  1550. t.Parent.Humanoid:TakeDamage(.6)
  1551. rl=Instance.new("BodyAngularVelocity")
  1552. rl.P=3000
  1553. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  1554. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
  1555. rl.Parent=t
  1556. game:GetService("Debris"):AddItem(rl,.1)
  1557. if Mag<=2 then
  1558. if mana <= 600 then
  1559. MP = MP + math.random(0,10)
  1560. else
  1561. MP = 600
  1562. end
  1563. t.Parent.Humanoid:TakeDamage(.3)
  1564. else
  1565. if mana <= 600 then
  1566. MP = MP + 5
  1567. else
  1568. MP = 600
  1569. end
  1570. vl=Instance.new("BodyVelocity")
  1571. vl.P=3000
  1572. vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
  1573. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  1574. vl.Parent=t
  1575. game:GetService("Debris"):AddItem(vl,.1)
  1576. end
  1577. end
  1578. wait(.08)
  1579. end
  1580. end
  1581.  
  1582. function effect()
  1583. local clone = prt1:clone()
  1584. clone.Parent = workspace
  1585. clone.Anchored = true
  1586. clone.Transparency = 0.35
  1587. clone.Reflectance = 0
  1588. clone.Mesh.MeshType = "Brick"
  1589. clone.Mesh.Scale = clone.Mesh.Scale + Vector3.new(0,0,2)
  1590. clone.BrickColor = BrickColor.new("Black")
  1591. coroutine.resume(coroutine.create(function()
  1592. wait(0.25)
  1593. clone:Destroy()
  1594. end))
  1595. local clone2 = part1:clone()
  1596. clone2.Parent = workspace
  1597. clone2.Anchored = true
  1598. clone2.Transparency = 0.35
  1599. clone2.Reflectance = 0
  1600. clone2.Mesh.MeshType = "Brick"
  1601. clone2.Mesh.Scale = clone2.Mesh.Scale + Vector3.new(0,0,2)
  1602. clone2.BrickColor = BrickColor.new("White")
  1603. coroutine.resume(coroutine.create(function()
  1604. wait(0.25)
  1605. wait(0)
  1606. clone2:Destroy()
  1607. end))
  1608. end
  1609.  
  1610. Damagefunc1=function(hit,Damage,Knockback)
  1611. if attackdebounce == false then
  1612. attackdebounce = true
  1613. coroutine.resume(coroutine.create(function()
  1614. wait(0.1)
  1615. attackdebounce = false
  1616. end))
  1617. if hit.Parent==nil then
  1618. return
  1619. end
  1620. CPlayer=Bin
  1621. h=hit.Parent:FindFirstChild("Humanoid")
  1622. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1623. if MP < 1000 then
  1624. mana = mana + math.random(5,15)
  1625. end
  1626. if MP > 1000 then
  1627. MP = 1000
  1628. end
  1629. Damage=Damage
  1630. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1631. return
  1632. end]]
  1633. c=Instance.new("ObjectValue")
  1634. c.Name="creator"
  1635. c.Value=game.Players.LocalPlayer
  1636. c.Parent=h
  1637. game:GetService("Debris"):AddItem(c,.5)
  1638. -- print(c.Value)
  1639. if math.random(0,99)+math.random()<=7.8 then
  1640. CRIT=true
  1641. Damage=Damage*3
  1642. --[[ Knockback=Knockback*2
  1643. r=Instance.new("BodyAngularVelocity")
  1644. r.P=3000
  1645. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1646. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1647. r.Parent=hit.Parent.Torso]]
  1648. critsound(2)
  1649.  
  1650. end
  1651. Damage=Damage+math.random(0,10)
  1652. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  1653. h:TakeDamage(Damage)
  1654. showDamage(hit.Parent,Damage,.5)
  1655. vp=Instance.new("BodyVelocity")
  1656. vp.P=500
  1657. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1658. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1659. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  1660. if Knockback>0 then
  1661. vp.Parent=hit.Parent.Torso
  1662. end
  1663. game:GetService("Debris"):AddItem(vp,.25)
  1664. --[[ r=Instance.new("BodyAngularVelocity")
  1665. r.P=3000
  1666. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1667. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1668. r.Parent=hit.Parent.Torso]]
  1669. game:GetService("Debris"):AddItem(r,.5)
  1670. c=Instance.new("ObjectValue")
  1671. c.Name="creator"
  1672. c.Value=Player
  1673. c.Parent=h
  1674. game:GetService("Debris"):AddItem(c,.5)
  1675. CRIT=false
  1676. hitDeb=true
  1677. AttackPos=6
  1678. end
  1679. end
  1680. end
  1681.  
  1682. Damagefunc2=function(hit,Damage,Knockback)
  1683. if attackdebounce == false then
  1684. attackdebounce = true
  1685. coroutine.resume(coroutine.create(function()
  1686. wait(0.1)
  1687. attackdebounce = false
  1688. end))
  1689. if hit.Parent==nil then
  1690. return
  1691. end
  1692. CPlayer=Bin
  1693. h=hit.Parent:FindFirstChild("Humanoid")
  1694. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1695. if MP < 1000 then
  1696. MP = MP + math.random(5,15)
  1697. end
  1698. if MP > 1000 then
  1699. MP = 1000
  1700. end
  1701. Damage=Damage
  1702. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1703. return
  1704. end]]
  1705. c=Instance.new("ObjectValue")
  1706. c.Name="creator"
  1707. c.Value=game.Players.LocalPlayer
  1708. c.Parent=h
  1709. game:GetService("Debris"):AddItem(c,.5)
  1710. -- print(c.Value)
  1711. if math.random(0,99)+math.random()<=7.8 then
  1712. CRIT=true
  1713. Damage=Damage*3
  1714. --[[ Knockback=Knockback*2
  1715. r=Instance.new("BodyAngularVelocity")
  1716. r.P=3000
  1717. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1718. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1719. r.Parent=hit.Parent.Torso]]
  1720. critsound(2)
  1721.  
  1722. end
  1723. Damage=Damage+math.random(0,10)
  1724. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  1725. h:TakeDamage(Damage)
  1726. showDamage(hit.Parent,Damage,.5)
  1727. vl=Instance.new("BodyVelocity")
  1728. vl.P=4500
  1729. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1730. -- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,30,0)
  1731. vl.velocity=Head.CFrame.lookVector*Knockback+Head.Velocity/1.05
  1732. if Knockback>0 then
  1733. vl.Parent=hit.Parent.Torso
  1734. end
  1735. game:GetService("Debris"):AddItem(vl,.2)
  1736. rl=Instance.new("BodyAngularVelocity")
  1737. rl.P=3000
  1738. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1739. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1740. if Knockback>0 then
  1741. rl.Parent=hit.Parent.Torso
  1742. end
  1743. game:GetService("Debris"):AddItem(rl,.2)
  1744. c=Instance.new("ObjectValue")
  1745. c.Name="creator"
  1746. c.Value=Player
  1747. c.Parent=h
  1748. game:GetService("Debris"):AddItem(c,.5)
  1749. CRIT=false
  1750. hitDeb=true
  1751. AttackPos=6
  1752. end
  1753. end
  1754. end
  1755.  
  1756. BALLFUNC=function(hit,Damage,Knockback)
  1757. if hit.Parent==nil then
  1758. return
  1759. end
  1760. CPlayer=Bin
  1761. h=hit.Parent:FindFirstChild("Humanoid")
  1762. if h~=nil and hit.Parent.Name~=".." and hit.Parent:FindFirstChild("Torso")~=nil then
  1763. Damage=Damage
  1764. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1765. return
  1766. end]]
  1767. c=Instance.new("ObjectValue")
  1768. c.Name="creator"
  1769. c.Value=game.Players.LocalPlayer
  1770. c.Parent=h
  1771. game:GetService("Debris"):AddItem(c,.5)
  1772. -- print(c.Value)
  1773. if math.random(1,1)==1 then
  1774. CRIT=true
  1775. Damage=Damage*2
  1776. coroutine.resume(coroutine.create(function()
  1777. for i = 0,5 do
  1778. wait()
  1779. MOREMAGIX(hit.Parent.Torso,3,3,3,0,0,0,BrickColor.new("Mid grey"))
  1780. end
  1781. wait(1)
  1782. for i = 0,8 do
  1783. wait(0.1)
  1784. MOREMAGIX(hit.Parent.Torso,0,2,2,2,BrickColor.new("White"))
  1785. end
  1786. end))
  1787. Knockback=Knockback*2
  1788. r=Instance.new("BodyAngularVelocity")
  1789. r.P=3000
  1790. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1791. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1792. r.Parent=hit.Parent.Torso
  1793. s=Instance.new("Sound")
  1794. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  1795. s.Volume=1
  1796. s.Pitch=2
  1797. s.Parent=hit
  1798. s.PlayOnRemove=true
  1799. s.Parent=nil
  1800.  
  1801. end
  1802. Damage=Damage+math.random(0,10)
  1803. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  1804. h:TakeDamage(Damage)
  1805. showDamage(hit.Parent,Damage,.5)
  1806. vp=Instance.new("BodyVelocity")
  1807. vp.P=500
  1808. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1809. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1810. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  1811. if Knockback>0 then
  1812. vp.Parent=hit.Parent.Torso
  1813. end
  1814. game:GetService("Debris"):AddItem(vp,.25)
  1815. --[[ r=Instance.new("BodyAngularVelocity")
  1816. r.P=3000
  1817. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1818. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1819. r.Parent=hit.Parent.Torso]]
  1820. game:GetService("Debris"):AddItem(r,.5)
  1821. c=Instance.new("ObjectValue")
  1822. c.Name="creator"
  1823. c.Value=Player
  1824. c.Parent=h
  1825. game:GetService("Debris"):AddItem(c,.5)
  1826. CRIT=false
  1827. hitDeb=true
  1828. AttackPos=6
  1829. end
  1830. end
  1831.  
  1832. Bash=function(hit,Damage) --credits to turdulator for making this function :D
  1833. if attackdebounce == false then
  1834. attackdebounce = true
  1835. coroutine.resume(coroutine.create(function()
  1836. wait(0.1)
  1837. attackdebounce = false
  1838. end))
  1839. if hit.Parent==nil then
  1840. return
  1841. end
  1842. h=hit.Parent:FindFirstChild("Humanoid")
  1843. t=hit.Parent:FindFirstChild("Torso")
  1844. if h~=nil and t~=nil then
  1845. if h.Parent==Character then
  1846. return
  1847. end
  1848. if MP < 600 then
  1849. MP = MP + math.random(5,15)
  1850. end
  1851. if MP > 600 then
  1852. MP = 600
  1853. end
  1854. shieldbash(1)
  1855. if math.random(0,99)+math.random()<=7.8 then
  1856. CRIT=true
  1857. Damage=Damage*3
  1858. --[[ Knockback=Knockback*2
  1859. r=Instance.new("BodyAngularVelocity")
  1860. r.P=3000
  1861. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1862. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1863. r.Parent=hit.Parent.Torso]]
  1864. critsound(2)
  1865.  
  1866. end
  1867. h:TakeDamage(Damage)
  1868. showDamage(hit.Parent,Damage,.5)
  1869. vl=Instance.new("BodyVelocity")
  1870. vl.P=4500
  1871. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1872. -- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,30,0)
  1873. vl.velocity=Head.CFrame.lookVector*35+Head.Velocity/1.05
  1874. vl.Parent=t
  1875. game:GetService("Debris"):AddItem(vl,.2)
  1876. rl=Instance.new("BodyAngularVelocity")
  1877. rl.P=3000
  1878. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1879. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1880. rl.Parent=t
  1881. game:GetService("Debris"):AddItem(rl,.2)
  1882. else
  1883. if hit.CanCollide==false then
  1884. return
  1885. end
  1886. MagicCom:disconnect()
  1887. -- DBExplode(DB)
  1888. end
  1889. end
  1890. end
  1891.  
  1892. UpBlast=function(hit,Damage) --credits to turdulator for making this function :D
  1893. if hit.Parent==nil then
  1894. return
  1895. end
  1896. h=hit.Parent:FindFirstChild("Humanoid")
  1897. t=hit.Parent:FindFirstChild("Torso")
  1898. if h~=nil and t~=nil then
  1899. if h.Parent==Character then
  1900. return
  1901. end
  1902. if MP < 600 then
  1903. MP = MP + math.random(10,20)
  1904. end
  1905. if MP > 600 then
  1906. MP = 600
  1907. end
  1908. if math.random(0,99)+math.random()<=7.8 then
  1909. CRIT=true
  1910. Damage=Damage*3
  1911. --[[ Knockback=Knockback*2
  1912. r=Instance.new("BodyAngularVelocity")
  1913. r.P=3000
  1914. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1915. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1916. r.Parent=hit.Parent.Torso]]
  1917. critsound(2)
  1918.  
  1919. end
  1920. h:TakeDamage(Damage)
  1921. showDamage(hit.Parent,Damage,.5)
  1922. vl=Instance.new("BodyVelocity")
  1923. vl.P=4500
  1924. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1925. -- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,3,0)
  1926. vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,45,0)
  1927. vl.Parent=t
  1928. game:GetService("Debris"):AddItem(vl,.2)
  1929. rl=Instance.new("BodyAngularVelocity")
  1930. rl.P=3000
  1931. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1932. -- rl.angularvelocity=Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
  1933. local tes = math.random(1,2)
  1934. if tes == 1 then
  1935. rl.angularvelocity=Vector3.new(0,0,math.random(-40,40))
  1936. elseif tes == 2 then
  1937. rl.angularvelocity=Vector3.new(math.random(-40,40),0,0)
  1938. end
  1939. rl.Parent=t
  1940. game:GetService("Debris"):AddItem(rl,.2)
  1941. else
  1942. if hit.CanCollide==false then
  1943. return
  1944. end
  1945. MagicCom:disconnect()
  1946. -- DBExplode(DB)
  1947. end
  1948. end
  1949.  
  1950. UltimaMagicMayhemDamage=function(hit,Damage) --credits to turdulator for making this function :D
  1951. if hit.Parent==nil then
  1952. return
  1953. end
  1954. h=hit.Parent:FindFirstChild("Humanoid")
  1955. t=hit.Parent:FindFirstChild("Torso")
  1956. if h~=nil and t~=nil then
  1957. if h.Parent==Character then
  1958. return
  1959. end
  1960. if math.random(0,99)+math.random()<=7.8 then
  1961. CRIT=true
  1962. Damage=Damage*10
  1963. --[[ Knockback=Knockback*2
  1964. r=Instance.new("BodyAngularVelocity")
  1965. r.P=3000
  1966. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  1967. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1968. r.Parent=hit.Parent.Torso]]
  1969. critsound(2)
  1970.  
  1971. end
  1972. h:TakeDamage(Damage)
  1973. showDamage(hit.Parent,Damage,.5)
  1974. vl=Instance.new("BodyVelocity")
  1975. vl.P=4500
  1976. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1977. -- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,3,0)
  1978. vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,600,0)
  1979. vl.Parent=t
  1980. game:GetService("Debris"):AddItem(vl,.2)
  1981. rl=Instance.new("BodyAngularVelocity")
  1982. rl.P=3000
  1983. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1984. -- rl.angularvelocity=Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
  1985. local tes = math.random(1,2)
  1986. if tes == 1 then
  1987. rl.angularvelocity=Vector3.new(0,0,math.random(-40,40))
  1988. elseif tes == 2 then
  1989. rl.angularvelocity=Vector3.new(math.random(-40,40),0,0)
  1990. end
  1991. rl.Parent=t
  1992. game:GetService("Debris"):AddItem(rl,.2)
  1993. else
  1994. if hit.CanCollide==false then
  1995. return
  1996. end
  1997. MagicCom:disconnect()
  1998. -- DBExplode(DB)
  1999. end
  2000. end
  2001.  
  2002. DBHit=function(hit,DB) --credits to turdulator for making this function :D
  2003. if hit.Parent==nil then
  2004. return
  2005. end
  2006. h=hit.Parent:FindFirstChild("Humanoid")
  2007. t=hit.Parent:FindFirstChild("Torso")
  2008. if h~=nil and t~=nil then
  2009. if h.Parent==Character then
  2010. return
  2011. end
  2012. h:TakeDamage(5)
  2013. showDamage(hit.Parent,5,.5)
  2014. coroutine.resume(coroutine.create(function()
  2015. MMMAGIC(hit.Parent.Torso,3,3,3,0,0,0,part1.BrickColor)
  2016. wait(1)
  2017. wait(0.1)
  2018. MOREMAGIX(hit.Parent.Torso,0,2,2,2,prt1.BrickColor)
  2019. end))
  2020. vl=Instance.new("BodyVelocity")
  2021. vl.P=4500
  2022. vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2023. vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,3,0)
  2024. vl.Parent=t
  2025. game:GetService("Debris"):AddItem(vl,.2)
  2026. rl=Instance.new("BodyAngularVelocity")
  2027. rl.P=3000
  2028. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  2029. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2030. rl.Parent=t
  2031. game:GetService("Debris"):AddItem(rl,.2)
  2032. else
  2033. if hit.CanCollide==false then
  2034. return
  2035. end
  2036. MagicCom:disconnect()
  2037. -- DBExplode(DB)
  2038. end
  2039. end
  2040.  
  2041. showDamage=function(Char,Dealt,du)
  2042. m=Instance.new("Model")
  2043. m.Name=tostring(Dealt)
  2044. h=Instance.new("Humanoid")
  2045. h.Health=0
  2046. h.MaxHealth=0
  2047. h.Parent=m
  2048. c=Instance.new("Part")
  2049. c.Transparency=0
  2050. c.BrickColor=BrickColor.new("Grime")
  2051. if CRIT==true then
  2052. c.BrickColor=BrickColor.new("Grime")
  2053. end
  2054. c.Name="Head"
  2055. c.TopSurface=0
  2056. c.BottomSurface=0
  2057. c.formFactor="Plate"
  2058. c.Size=Vector3.new(1,.4,1)
  2059. ms=Instance.new("CylinderMesh")
  2060. ms.Bevel=.1
  2061. ms.Scale=Vector3.new(.8,.8,.8)
  2062. if CRIT==true then
  2063. ms.Scale=Vector3.new(1.25,1.5,1.25)
  2064. ms.Bevel=.2
  2065. end
  2066. ms.Parent=c
  2067. c.Reflectance=0
  2068. Instance.new("BodyGyro").Parent=c
  2069. c.Parent=m
  2070. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  2071. f=Instance.new("BodyPosition")
  2072. f.P=2000
  2073. f.D=100
  2074. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2075. f.position=c.Position+Vector3.new(0,3,0)
  2076. f.Parent=c
  2077. game:GetService("Debris"):AddItem(m,.5+du)
  2078. c.CanCollide=false
  2079. m.Parent=workspace
  2080. c.CanCollide=false
  2081. end
  2082.  
  2083. function ob1d(mouse)
  2084. if attack == true then return end
  2085. hold = true
  2086. if combo == 0 then
  2087. oneslash()
  2088. coroutine.resume(coroutine.create(function()
  2089. wait(0.5)
  2090. if attack == false then
  2091. combo = 0
  2092. for i = 0,1,0.1 do
  2093. wait()
  2094. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1*i-1) * CFrame.new(0,0,-0.5)
  2095. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2+2,-0.5*i+1,-0.5*i)
  2096. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i-1,0,0)
  2097. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1*i+1,0,-1*i+1)
  2098. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2099. weld1.C0 = CFrame.fromEulerAnglesXYZ(math.pi/2,-math.pi-math.pi/6+math.pi/6,0) * CFrame.new(0, 1, 0)
  2100. end
  2101. wait(0.1)
  2102. gairo.Parent = nil
  2103. end
  2104. end))
  2105. elseif combo == 1 then
  2106. twoslash()
  2107. coroutine.resume(coroutine.create(function()
  2108. wait(0.2)
  2109. if attack == false then
  2110. combo = 0
  2111. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2112. equipanim()
  2113. wait(0.1)
  2114. gairo.Parent = nil
  2115. end
  2116. end))
  2117. elseif combo == 2 then
  2118. threeslash()
  2119. coroutine.resume(coroutine.create(function()
  2120. wait(0.2)
  2121. if attack == false then
  2122. combo = 0
  2123. for i = 0 , 1 , 0.1 do
  2124. wait(0)
  2125. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2126. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2*i+2,0,-1*i+1)
  2127. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2128. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i-1,0,-1*i+1)
  2129. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2130. end
  2131. wait(0.1)
  2132. gairo.Parent = nil
  2133. end
  2134. end))
  2135. end
  2136. end
  2137.  
  2138. function ob1u(mouse)
  2139. hold = false
  2140. end
  2141.  
  2142. buttonhold = false
  2143.  
  2144. function key(key)
  2145. if attack == true then return end
  2146. if key == "q" then
  2147. changeequipleft()
  2148. end
  2149. if key == "e" then
  2150. changeequipright()
  2151. end
  2152. if key == "h" then
  2153. if MP >= 10 then
  2154. ChangeElement()
  2155. end
  2156. end
  2157. if key == "f" then
  2158. Gaurd = true
  2159. Block()
  2160. end
  2161. if key == "g" then
  2162. restoring = true
  2163. Restore()
  2164. end
  2165. if key == "z" then
  2166. holddash = true
  2167. Dash()
  2168. end
  2169. if element == "None" then
  2170. if key =="x" then
  2171. Epic()
  2172. end
  2173. end
  2174. end
  2175.  
  2176. function key2(key)
  2177. if key == "g"then
  2178. restoring = false
  2179. end
  2180. if key == "f" then
  2181. Guard = false
  2182. end
  2183. if key == "z" then
  2184. holddash = false
  2185. barragehold = false
  2186. end
  2187. end
  2188.  
  2189. function s(mouse)
  2190. mouse.Button1Down:connect(function() ob1d(mouse) end)
  2191. mouse.Button1Up:connect(function() ob1u(mouse) end)
  2192. mouse.KeyDown:connect(key)
  2193. mouse.KeyUp:connect(key2)
  2194. MMouse=mouse
  2195. unsheathed = true
  2196. player = Player
  2197. ch = Character
  2198. RSH = ch.Torso["Right Shoulder"]
  2199. LSH = ch.Torso["Left Shoulder"]
  2200. --
  2201. RW.Part0 = ch.Torso
  2202. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2203. RW.C1 = CFrame.new(0, 0.5, 0)
  2204. RW.Part1 = ch["Right Arm"]
  2205. RW.Parent = ch.Torso
  2206. --_G.R = RW
  2207. --
  2208. LW.Part0 = ch.Torso
  2209. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2210. LW.C1 = CFrame.new(0, 0.5, 0)
  2211. LW.Part1 = ch["Left Arm"]
  2212. LW.Parent = ch.Torso
  2213. --_G.L = LW
  2214. --
  2215. equipanim()
  2216. end
  2217.  
  2218. function ds(mouse)
  2219. unsheathed = false
  2220. hideanim()
  2221. wait(0)
  2222. RW.Parent = nil
  2223. LW.Parent = nil
  2224. RSH.Parent = player.Character.Torso
  2225. LSH.Parent = player.Character.Torso
  2226. end
  2227.  
  2228. Bin.Selected:connect(s)
  2229. Bin.Deselected:connect(ds)
  2230.  
  2231. function idleanim()
  2232. if attack == false then
  2233. --print("MOARDERP")
  2234. for i = 0,1,0.05 do
  2235. wait()
  2236. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(mat.pi/6+math.pi/36*i,-math.pi/2,0)
  2237. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2238. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(mat.pi/6+math.pi/36*i,math.pi/2,0)
  2239. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2240. end
  2241. wait(0.5)
  2242. for i = 0,1,0.05 do
  2243. wait()
  2244. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(mat.pi/6+math.pi/36+1.2*i,-math.pi/2+math.pi/18*i,0)
  2245. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2246. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(mat.pi/6+math.pi/36+1.2*i,math.pi/2-math.pi/18*i,0)
  2247. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2248. end
  2249. wait(0.1)
  2250. for i = 0,1,0.05 do
  2251. wait()
  2252. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(mat.pi/6+math.pi/36+1.2-2*i,-math.pi/2-math.pi/18+math.rad/6,0)
  2253. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2254. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(mat.pi/6-math.pi/36-0.8*i,math.pi/2+math.pi/18+math.rad/6,0)
  2255. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2256. end
  2257. wait(0.3)
  2258. for i = 0,1,0.05 do
  2259. wait()
  2260. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(mat.pi/6+math.pi/36+1.2-2*i,-math.pi/2-math.pi/4.5,0)
  2261. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2262. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(mat.pi/6-math.pi/36-0.8*i,math.pi/2+math.pi/4.5,0)
  2263. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2264. end
  2265. end
  2266. end
  2267.  
  2268. function onRunning(speed)
  2269. if attack == true then return end
  2270. if speed>0 then
  2271. walking = true
  2272. if attack == false then
  2273. for i = 0,1,0.1 do
  2274. wait()
  2275. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.2*i,3.14,0) * CFrame.new(0,0,-0.5)
  2276. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-math.pi/4*i,-0.45*i,-math.pi/6*i)
  2277. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2278. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-math.pi/4*i,0.45*i,math.pi/6*i)
  2279. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2280. end
  2281. wait(0.1)
  2282. for i = 0,1,0.1 do
  2283. wait()
  2284. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3+0.3,3.14,0) * CFrame.new(0,0,-0.5)
  2285. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-math.pi/4*i+math.pi/18,-0.45*i+0.15,-math.pi/6*i)
  2286. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2287. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-math.pi/4*i+math.pi/18,0.45*i-0.15,math.pi/6*i)
  2288. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2289. end
  2290.  
  2291. end
  2292. else
  2293. walking = false
  2294. for i = 0,1,0.1 do
  2295. wait()
  2296. Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
  2297. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2298. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2299. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2300. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2301. end
  2302. end
  2303. end
  2304. Character.Humanoid.Running:connect(onRunning)
  2305.  
  2306. while true do
  2307. wait(0)
  2308. magictext3.Size = UDim2.new(MP*0.007,0,0.200000006,0)
  2309. Frame.Size = magictext3.Size
  2310. magictext.Text = "MP("..MP..")"
  2311. text.Text = magictext.Text
  2312. if mode == "Normal" then
  2313. prt4.BrickColor = BrickColor.new("Dark stone grey")
  2314. prt5.BrickColor = BrickColor.new("Dark stone grey")
  2315. elseif mode == "Unarmed" then
  2316. prt4.BrickColor = BrickColor.new("Cyan")
  2317. prt5.BrickColor = BrickColor.new("Cyan")
  2318. end
  2319. end
Add Comment
Please, Sign In to add comment