Advertisement
iiJosephCats205

Katana FE

Sep 11th, 2019
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 64.18 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142.  
  143. --MADE BY OneLegend (NOT THE SCRIPT) LOCAL SCRIPT: JUST RUN
  144.  
  145.  
  146. Player = script.Parent.Parent
  147.  
  148. Character = Player.Character
  149.  
  150. PlayerGui = Player.PlayerGui
  151.  
  152. Backpack = Player.Backpack
  153.  
  154. Torso = Character.Torso
  155.  
  156. Head = Character.Head
  157.  
  158. LeftArm = Character["Left Arm"]
  159.  
  160. LeftLeg = Character["Left Leg"]
  161.  
  162. RightArm = Character["Right Arm"]
  163.  
  164. RightLeg = Character["Right Leg"]
  165.  
  166. LS = Torso["Left Shoulder"]
  167.  
  168. LH = Torso["Left Hip"]
  169.  
  170. RS = Torso["Right Shoulder"]
  171.  
  172. RH = Torso["Right Hip"]
  173.  
  174. attack = false
  175.  
  176. attackdebounce = false
  177.  
  178. combo = 0
  179.  
  180. mana = 400
  181.  
  182. necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  183.  
  184. lightning = false
  185.  
  186. restoring = false
  187.  
  188. --player
  189.  
  190. player = nil
  191.  
  192. --save shoulders
  193.  
  194. RSH, LSH = nil, nil
  195.  
  196. --welds
  197.  
  198. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  199.  
  200. --what anim
  201.  
  202. anim = "none"
  203.  
  204.  
  205.  
  206. if Character:findFirstChild("Katana",true) ~= nil then
  207.  
  208. Character:findFirstChild("Katana",true).Parent = nil
  209.  
  210. end
  211.  
  212. if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then
  213.  
  214. Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil
  215.  
  216. end
  217.  
  218.  
  219.  
  220.  
  221.  
  222. local modelzorz = Instance.new("Model")
  223.  
  224. modelzorz.Name = "Katana"
  225.  
  226. modelzorz.Parent = Character
  227.  
  228.  
  229.  
  230. local prt1 = Instance.new("Part")
  231.  
  232. prt1.formFactor = 1
  233.  
  234. prt1.Parent = modelzorz
  235.  
  236. prt1.CanCollide = false
  237.  
  238. prt1.BrickColor = BrickColor.new("Really red")
  239.  
  240. prt1.Name = "Handle"
  241.  
  242. prt1.Transparency = 0
  243.  
  244. prt1.Size = Vector3.new(1,1,1)
  245.  
  246. prt1.CFrame = Torso.CFrame
  247.  
  248. local prt2 = Instance.new("Part")
  249.  
  250. prt2.formFactor = 1
  251.  
  252. prt2.Parent = modelzorz
  253.  
  254. prt2.CanCollide = false
  255.  
  256. prt2.BrickColor = BrickColor.new("Really black")
  257.  
  258. prt2.Name = "Handle2"
  259.  
  260. prt2.Transparency = 0
  261.  
  262. prt2.Size = Vector3.new(1,1,1)
  263.  
  264. prt2.CFrame = Torso.CFrame
  265.  
  266. local prt3 = Instance.new("Part")
  267.  
  268. prt3.formFactor = 1
  269.  
  270. prt3.Parent = modelzorz
  271.  
  272. prt3.CanCollide = false
  273.  
  274. prt3.BrickColor = BrickColor.new("Dark grey")
  275.  
  276. prt3.Name = "Handle3"
  277.  
  278. prt3.Transparency = 0
  279.  
  280. prt3.Size = Vector3.new(1,1,1)
  281.  
  282. prt3.CFrame = Torso.CFrame
  283.  
  284. local prt4 = Instance.new("Part")
  285.  
  286. prt4.formFactor = 1
  287.  
  288. prt4.Parent = modelzorz
  289.  
  290. prt4.CanCollide = false
  291.  
  292. prt4.BrickColor = BrickColor.new("Really black")
  293.  
  294. prt4.Name = "Blade1"
  295.  
  296. prt4.Reflectance = 0.4
  297.  
  298. prt4.Transparency = 0
  299.  
  300. prt4.Size = Vector3.new(1,3,1)
  301.  
  302. prt4.CFrame = Torso.CFrame
  303.  
  304. local prt5 = Instance.new("Part")
  305.  
  306. prt5.formFactor = 1
  307.  
  308. prt5.Parent = modelzorz
  309.  
  310. prt5.CanCollide = false
  311.  
  312. prt5.BrickColor = BrickColor.new("Really black")
  313.  
  314. prt5.Name = "Blade2"
  315.  
  316. prt5.Transparency = 0
  317.  
  318. prt5.Size = Vector3.new(1,1,1)
  319.  
  320. prt5.CFrame = Torso.CFrame
  321.  
  322. local prt6 = Instance.new("Part")
  323.  
  324. prt6.formFactor = 1
  325.  
  326. prt6.Parent = modelzorz
  327.  
  328. prt6.CanCollide = false
  329.  
  330. prt6.BrickColor = BrickColor.new("Really black")
  331.  
  332. prt6.Name = "Blade3"
  333.  
  334. prt6.Reflectance = 0.4
  335.  
  336. prt6.Transparency = 0
  337.  
  338. prt6.Size = Vector3.new(1,1,1)
  339.  
  340. prt6.CFrame = Torso.CFrame
  341.  
  342. local prt7 = Instance.new("Part")
  343.  
  344. prt7.formFactor = 1
  345.  
  346. prt7.Parent = modelzorz
  347.  
  348. prt7.CanCollide = false
  349.  
  350. prt7.BrickColor = BrickColor.new("Really red")
  351.  
  352. prt7.Name = "Handle3"
  353.  
  354. prt7.Transparency = 0
  355.  
  356. prt7.Size = Vector3.new(1,1,1)
  357.  
  358. prt7.CFrame = Torso.CFrame
  359.  
  360. local prt8 = Instance.new("Part")
  361.  
  362. prt8.formFactor = 1
  363.  
  364. prt8.Parent = modelzorz
  365.  
  366. prt8.CanCollide = false
  367.  
  368. prt8.BrickColor = BrickColor.new("Really black")
  369.  
  370. prt8.Name = "Handle4"
  371.  
  372. prt8.Transparency = 0
  373.  
  374. prt8.Size = Vector3.new(1,1,1)
  375.  
  376. prt8.CFrame = Torso.CFrame
  377.  
  378. local prt9 = Instance.new("Part")
  379.  
  380. prt9.formFactor = 1
  381.  
  382. prt9.Parent = modelzorz
  383.  
  384. prt9.CanCollide = false
  385.  
  386. prt9.BrickColor = BrickColor.new("Really black")
  387.  
  388. prt9.Name = "Handle5"
  389.  
  390. prt9.Transparency = 0
  391.  
  392. prt9.Size = Vector3.new(1,1,1)
  393.  
  394. prt9.CFrame = Torso.CFrame
  395.  
  396. local prt10 = Instance.new("Part")
  397.  
  398. prt10.formFactor = 1
  399.  
  400. prt10.Parent = modelzorz
  401.  
  402. prt10.CanCollide = false
  403.  
  404. prt10.BrickColor = BrickColor.new("Really red")
  405.  
  406. prt10.Name = "Handle6"
  407.  
  408. prt10.Transparency = 0
  409.  
  410. prt10.Size = Vector3.new(1,1,1)
  411.  
  412. prt10.CFrame = Torso.CFrame
  413.  
  414. local prt11 = Instance.new("Part")
  415.  
  416. prt11.formFactor = 1
  417.  
  418. prt11.Parent = modelzorz
  419.  
  420. prt11.CanCollide = false
  421.  
  422. prt11.BrickColor = BrickColor.new("Really red")
  423.  
  424. prt11.Name = "Handle7"
  425.  
  426. prt11.Transparency = 0
  427.  
  428. prt11.Size = Vector3.new(1,1,1)
  429.  
  430. prt11.CFrame = Torso.CFrame
  431.  
  432. local prt12 = Instance.new("Part")
  433.  
  434. prt12.formFactor = 1
  435.  
  436. prt12.Parent = modelzorz
  437.  
  438. prt12.CanCollide = false
  439.  
  440. prt12.BrickColor = BrickColor.new("Dark grey")
  441.  
  442. prt12.Name = "Handle8"
  443.  
  444. prt12.Transparency = 0
  445.  
  446. prt12.Size = Vector3.new(1,1,1)
  447.  
  448. prt12.CFrame = Torso.CFrame
  449.  
  450. local prt13 = Instance.new("Part")
  451.  
  452. prt13.formFactor = 1
  453.  
  454. prt13.Parent = modelzorz
  455.  
  456. prt13.CanCollide = false
  457.  
  458. prt13.BrickColor = BrickColor.new("Really black")
  459.  
  460. prt13.Name = "Blade4"
  461.  
  462. prt13.Reflectance = 0.4
  463.  
  464. prt13.Transparency = 0
  465.  
  466. prt13.Size = Vector3.new(1,1,1)
  467.  
  468. prt13.CFrame = Torso.CFrame
  469.  
  470. local prt14 = Instance.new("Part")
  471.  
  472. prt14.formFactor = 1
  473.  
  474. prt14.Parent = modelzorz
  475.  
  476. prt14.CanCollide = false
  477.  
  478. prt14.BrickColor = BrickColor.new("Really black")
  479.  
  480. prt14.Name = "Blade5"
  481.  
  482. prt14.Reflectance = 0.4
  483.  
  484. prt14.Transparency = 0
  485.  
  486. prt14.Size = Vector3.new(1,1,1)
  487.  
  488. prt14.CFrame = Torso.CFrame
  489.  
  490. local prt15 = Instance.new("Part")
  491.  
  492. prt15.formFactor = 1
  493.  
  494. prt15.Parent = modelzorz
  495.  
  496. prt15.CanCollide = false
  497.  
  498. prt15.BrickColor = BrickColor.new("Really black")
  499.  
  500. prt15.Name = "Blade6"
  501.  
  502. prt15.Reflectance = 0.4
  503.  
  504. prt15.Transparency = 0
  505.  
  506. prt15.Size = Vector3.new(1,1,1)
  507.  
  508. prt15.CFrame = Torso.CFrame
  509.  
  510. local prt16 = Instance.new("Part")
  511.  
  512. prt16.formFactor = 1
  513.  
  514. prt16.Parent = modelzorz
  515.  
  516. prt16.CanCollide = false
  517.  
  518. prt16.BrickColor = BrickColor.new("Really black")
  519.  
  520. prt16.Name = "Blade7"
  521.  
  522. prt16.Reflectance = 0.4
  523.  
  524. prt16.Transparency = 0
  525.  
  526. prt16.Size = Vector3.new(1,1,1)
  527.  
  528. prt16.CFrame = Torso.CFrame
  529.  
  530. modelzorz:BreakJoints()
  531.  
  532.  
  533.  
  534. local msh1 = Instance.new("CylinderMesh")
  535.  
  536. msh1.Parent = prt1
  537.  
  538. msh1.Scale = Vector3.new(0.3,1,0.5)
  539.  
  540. local msh2 = Instance.new("CylinderMesh")
  541.  
  542. msh2.Parent = prt2
  543.  
  544. msh2.Scale = Vector3.new(0.3,0.1,0.5)
  545.  
  546. local msh3 = Instance.new("BlockMesh")
  547.  
  548. msh3.Parent = prt3
  549.  
  550. msh3.Scale = Vector3.new(0.4,0.3,0.4)
  551.  
  552. local msh4 = Instance.new("BlockMesh")
  553.  
  554. msh4.Parent = prt4
  555.  
  556. msh4.Scale = Vector3.new(0.1,1,0.3)
  557.  
  558. local msh5 = Instance.new("CylinderMesh")
  559.  
  560. msh5.Parent = prt5
  561.  
  562. msh5.Scale = Vector3.new(0.2,1,0.5)
  563.  
  564. local msh6 = Instance.new("SpecialMesh")
  565.  
  566. msh6.Parent = prt6
  567.  
  568. msh6.MeshType = "Wedge"
  569.  
  570. msh6.Scale = Vector3.new(0.1,0.7,0.3)
  571.  
  572. local msh7 = Instance.new("CylinderMesh")
  573.  
  574. msh7.Parent = prt7
  575.  
  576. msh7.Scale = Vector3.new(0.2,0.1,0.5)
  577.  
  578. local msh8 = Instance.new("CylinderMesh")
  579.  
  580. msh8.Parent = prt8
  581.  
  582. msh8.Scale = Vector3.new(0.2,0.1,0.5)
  583.  
  584. local msh9 = Instance.new("CylinderMesh")
  585.  
  586. msh9.Parent = prt9
  587.  
  588. msh9.Scale = Vector3.new(0.2,0.1,0.5)
  589.  
  590. local msh10 = Instance.new("CylinderMesh")
  591.  
  592. msh10.Parent = prt10
  593.  
  594. msh10.Scale = Vector3.new(0.2,0.1,0.5)
  595.  
  596. local msh11 = Instance.new("CylinderMesh")
  597.  
  598. msh11.Parent = prt11
  599.  
  600. msh11.Scale = Vector3.new(0.2,0.1,0.5)
  601.  
  602. local msh12 = Instance.new("BlockMesh")
  603.  
  604. msh12.Parent = prt12
  605.  
  606. msh12.Scale = Vector3.new(0.2,0.2,0.3)
  607.  
  608. local msh13 = Instance.new("BlockMesh")
  609.  
  610. msh13.Parent = prt13
  611.  
  612. msh13.Scale = Vector3.new(0.1,0.5,0.3)
  613.  
  614. local msh14 = Instance.new("BlockMesh")
  615.  
  616. msh14.Parent = prt14
  617.  
  618. msh14.Scale = Vector3.new(0.1,0.1,0.1)
  619.  
  620. local msh15 = Instance.new("BlockMesh")
  621.  
  622. msh15.Parent = prt15
  623.  
  624. msh15.Scale = Vector3.new(0.1,0.3,0.3)
  625.  
  626. local msh16 = Instance.new("SpecialMesh")
  627.  
  628. msh16.Parent = prt16
  629.  
  630. msh16.MeshType = "Wedge"
  631.  
  632. msh16.Scale = Vector3.new(0.1,0.5,0.3)
  633.  
  634.  
  635.  
  636. local wld1 = Instance.new("Weld")
  637.  
  638. wld1.Parent = prt1
  639.  
  640. wld1.Part0 = prt1
  641.  
  642. wld1.Part1 = Torso
  643.  
  644. wld1.C0 = CFrame.fromEulerAnglesXYZ(-1.7,0,0) * CFrame.new(1,1,0.5)
  645.  
  646. wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  647.  
  648. local wld2 = Instance.new("Weld")
  649.  
  650. wld2.Parent = prt2
  651.  
  652. wld2.Part0 = prt2
  653.  
  654. wld2.Part1 = prt1
  655.  
  656. wld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.66,0)
  657.  
  658. wld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  659.  
  660. local wld3 = Instance.new("Weld")
  661.  
  662. wld3.Parent = prt3
  663.  
  664. wld3.Part0 = prt3
  665.  
  666. wld3.Part1 = prt1
  667.  
  668. wld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.78,0)
  669.  
  670. wld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  671.  
  672. local wld4 = Instance.new("Weld")
  673.  
  674. wld4.Parent = prt4
  675.  
  676. wld4.Part0 = prt4
  677.  
  678. wld4.Part1 = prt3
  679.  
  680. wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.35,0)
  681.  
  682. wld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  683.  
  684. local wld5 = Instance.new("Weld")
  685.  
  686. wld5.Parent = prt5
  687.  
  688. wld5.Part0 = prt5
  689.  
  690. wld5.Part1 = prt3
  691.  
  692. wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.77,0)
  693.  
  694. wld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  695.  
  696. local wld6 = Instance.new("Weld")
  697.  
  698. wld6.Parent = prt6
  699.  
  700. wld6.Part0 = prt6
  701.  
  702. wld6.Part1 = prt4
  703.  
  704. wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.61,0)
  705.  
  706. wld6.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  707.  
  708. local wld7 = Instance.new("Weld")
  709.  
  710. wld7.Parent = prt7
  711.  
  712. wld7.Part0 = prt7
  713.  
  714. wld7.Part1 = Torso
  715.  
  716. wld7.C0 = CFrame.fromEulerAnglesXYZ(1.57,-1.57,0) * CFrame.new(0.6,1,-0.6)
  717.  
  718. wld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  719.  
  720. local wld8 = Instance.new("Weld")
  721.  
  722. wld8.Parent = prt8
  723.  
  724. wld8.Part0 = prt8
  725.  
  726. wld8.Part1 = prt7
  727.  
  728. wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.12,0)
  729.  
  730. wld8.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  731.  
  732. local wld9 = Instance.new("Weld")
  733.  
  734. wld9.Parent = prt9
  735.  
  736. wld9.Part0 = prt9
  737.  
  738. wld9.Part1 = prt7
  739.  
  740. wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.12,0)
  741.  
  742. wld9.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  743.  
  744. local wld10 = Instance.new("Weld")
  745.  
  746. wld10.Parent = prt10
  747.  
  748. wld10.Part0 = prt10
  749.  
  750. wld10.Part1 = prt7
  751.  
  752. wld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.24,0)
  753.  
  754. wld10.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  755.  
  756. local wld11 = Instance.new("Weld")
  757.  
  758. wld11.Parent = prt11
  759.  
  760. wld11.Part0 = prt11
  761.  
  762. wld11.Part1 = prt7
  763.  
  764. wld11.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.24,0)
  765.  
  766. wld11.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  767.  
  768. local wld12 = Instance.new("Weld")
  769.  
  770. wld12.Parent = prt12
  771.  
  772. wld12.Part0 = prt12
  773.  
  774. wld12.Part1 = prt7
  775.  
  776. wld12.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.4,0)
  777.  
  778. wld12.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  779.  
  780. local wld13 = Instance.new("Weld")
  781.  
  782. wld13.Parent = prt13
  783.  
  784. wld13.Part0 = prt13
  785.  
  786. wld13.Part1 = prt12
  787.  
  788. wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.42,0)
  789.  
  790. wld13.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  791.  
  792. local wld14 = Instance.new("Weld")
  793.  
  794. wld14.Parent = prt14
  795.  
  796. wld14.Part0 = prt14
  797.  
  798. wld14.Part1 = prt13
  799.  
  800. wld14.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.35,0.1)
  801.  
  802. wld14.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  803.  
  804. local wld15 = Instance.new("Weld")
  805.  
  806. wld15.Parent = prt15
  807.  
  808. wld15.Part0 = prt15
  809.  
  810. wld15.Part1 = prt14
  811.  
  812. wld15.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.24,-0.1)
  813.  
  814. wld15.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  815.  
  816. local wld16 = Instance.new("Weld")
  817.  
  818. wld16.Parent = prt16
  819.  
  820. wld16.Part0 = prt16
  821.  
  822. wld16.Part1 = prt15
  823.  
  824. wld16.C0 = CFrame.fromEulerAnglesXYZ(3.14,0,0) * CFrame.new(0,0.48,0)
  825.  
  826. wld16.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  827.  
  828.  
  829.  
  830. local SlashSound = Instance.new("Sound") -- PRELOADING SOUNDS TROLOLOL
  831.  
  832. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  833.  
  834. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  835.  
  836. SlashSound.Parent = modelzorz
  837.  
  838. SlashSound.Volume = .7
  839.  
  840. SlashSound.Pitch = 1
  841.  
  842. local SlashSound = Instance.new("Sound")
  843.  
  844. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  845.  
  846. SlashSound.Parent = modelzorz
  847.  
  848. SlashSound.Volume = .5
  849.  
  850. SlashSound.Pitch = 1
  851.  
  852. local SlashSound = Instance.new("Sound")
  853.  
  854. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  855.  
  856. SlashSound.Parent = modelzorz
  857.  
  858. SlashSound.Volume = .7
  859.  
  860. SlashSound.Pitch = 1
  861.  
  862. local SlashSound = Instance.new("Sound")
  863.  
  864. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  865.  
  866. SlashSound.Parent = modelzorz
  867.  
  868. SlashSound.Volume = .7
  869.  
  870. SlashSound.Pitch = 1
  871.  
  872.  
  873.  
  874. local fengui = Instance.new("GuiMain")
  875.  
  876. fengui.Parent = Player.PlayerGui
  877.  
  878. fengui.Name = "manaGUI"
  879.  
  880. local fenframe = Instance.new("Frame")
  881.  
  882. fenframe.Parent = fengui
  883.  
  884. fenframe.BackgroundColor3 = Color3.new(255,255,255)
  885.  
  886. fenframe.BackgroundTransparency = 1
  887.  
  888. fenframe.BorderColor3 = Color3.new(17,17,17)
  889.  
  890. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  891.  
  892. local fentext = Instance.new("TextLabel")
  893.  
  894. fentext.Parent = fenframe
  895.  
  896. fentext.Text = "Mana("..mana..")"
  897.  
  898. fentext.BackgroundTransparency = 1
  899.  
  900. fentext.SizeConstraint = "RelativeXY"
  901.  
  902. fentext.TextXAlignment = "Center"
  903.  
  904. fentext.TextYAlignment = "Center"
  905.  
  906. fentext.Position = UDim2.new(0,80,1,200)
  907.  
  908. local fentext2 = Instance.new("TextLabel")
  909.  
  910. fentext2.Parent = fenframe
  911.  
  912. fentext2.Text = " "
  913.  
  914. fentext2.BackgroundTransparency = 0
  915.  
  916. fentext2.BackgroundColor3 = Color3.new(0,0,0)
  917.  
  918. fentext2.SizeConstraint = "RelativeXY"
  919.  
  920. fentext2.TextXAlignment = "Center"
  921.  
  922. fentext2.TextYAlignment = "Center"
  923.  
  924. fentext2.Position = UDim2.new(0,10,1,170)
  925.  
  926. fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0)
  927.  
  928. local fentext3 = Instance.new("TextLabel")
  929.  
  930. fentext3.Parent = fenframe
  931.  
  932. fentext3.Text = " "
  933.  
  934. fentext3.BackgroundTransparency = 0
  935.  
  936. fentext3.BackgroundColor3 = Color3.new(1,1,0)
  937.  
  938. fentext3.SizeConstraint = "RelativeXY"
  939.  
  940. fentext3.TextXAlignment = "Center"
  941.  
  942. fentext3.TextYAlignment = "Center"
  943.  
  944. fentext3.Position = UDim2.new(0,10,1,170)
  945.  
  946. fentext3.Size = UDim2.new(mana*0.007,0,0.400000006,0)
  947.  
  948. --2.9000001, 0}, {0.450000018, 0}
  949.  
  950. local gairo = Instance.new("BodyGyro")
  951.  
  952. gairo.Parent = nil
  953.  
  954. gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  955.  
  956. gairo.P = 20e+003
  957.  
  958.  
  959.  
  960. if (script.Parent.className ~= "HopperBin") then
  961.  
  962. Tool = Instance.new("HopperBin")
  963.  
  964. Tool.Parent = Backpack
  965.  
  966. Tool.Name = "Katana"
  967.  
  968. script.Parent = Tool
  969.  
  970. end
  971.  
  972. Bin = script.Parent
  973.  
  974.  
  975.  
  976. function hideanim()
  977.  
  978. for i = 0,1,0.1 do
  979.  
  980. wait()
  981.  
  982. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5*i,0,0.4*i)
  983.  
  984. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0.5*i)
  985.  
  986. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57*i,0)
  987.  
  988. RW.C0 = CFrame.new(1.5-1.2*i,0.5-0.2*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5*i,0,-1*i)
  989.  
  990. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-3.14*i,0)
  991.  
  992. end
  993.  
  994. wld1.Part1 = Torso
  995.  
  996. wld1.C0 = CFrame.fromEulerAnglesXYZ(-1.7,0,0) * CFrame.new(1,1,0.5)
  997.  
  998. wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  999.  
  1000. wld7.Part1 = Torso
  1001.  
  1002. wld7.C0 = CFrame.fromEulerAnglesXYZ(1.57,-1.57,0) * CFrame.new(0.6,1,-0.6)
  1003.  
  1004. wld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1005.  
  1006. for i = 0,1,0.1 do
  1007.  
  1008. wait()
  1009.  
  1010. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,0.4-0.4*i)
  1011.  
  1012. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0.5-0.5*i)
  1013.  
  1014. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57+1.57*i,0)
  1015.  
  1016. RW.C0 = CFrame.new(1.5-1.2+1.2*i,0.5-0.2+0.2*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,-1+1*i)
  1017.  
  1018. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-3.14+3.14*i,0)
  1019.  
  1020. end
  1021.  
  1022. end
  1023.  
  1024.  
  1025.  
  1026. function equipanim()
  1027.  
  1028. for i = 0,1,0.1 do
  1029.  
  1030. wait()
  1031.  
  1032. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5*i,0,0.4*i)
  1033.  
  1034. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1035.  
  1036. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1037.  
  1038. RW.C0 = CFrame.new(1.5-1.2*i,0.5-0.2*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5*i,0,-1*i)
  1039.  
  1040. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,3.14*i,0)
  1041.  
  1042. end
  1043.  
  1044. wld1.Part1 = RightArm
  1045.  
  1046. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1047.  
  1048. wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1049.  
  1050. for i = 0,1,0.2 do
  1051.  
  1052. wait()
  1053.  
  1054. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5-0.6*i,0,0.4-0.4*i)
  1055.  
  1056. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1057.  
  1058. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1059.  
  1060. RW.C0 = CFrame.new(1.5-1.2+1.2*i,0.5-0.2+0.2*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,-1+2.77*i)
  1061.  
  1062. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,3.14+4.14*i,0)
  1063.  
  1064. end
  1065.  
  1066. wait(0.2)
  1067.  
  1068. for i = 0,1,0.1 do
  1069.  
  1070. wait()
  1071.  
  1072. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.5-0.6+0.1*i,0,0)
  1073.  
  1074. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0.5*i)
  1075.  
  1076. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57*i,0)
  1077.  
  1078. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,1.77-1.77*i)
  1079.  
  1080. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,7.28-7.28*i,0)
  1081.  
  1082. end
  1083.  
  1084. wld7.Part1 = LeftArm
  1085.  
  1086. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1087.  
  1088. wld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
  1089.  
  1090. for i = 0,1,0.1 do
  1091.  
  1092. wait()
  1093.  
  1094. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0.5-0.5*i)
  1095.  
  1096. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57+1.57*i,0)
  1097.  
  1098. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1099.  
  1100. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1101.  
  1102. end
  1103.  
  1104. Torso.Neck.C0=necko
  1105.  
  1106. end
  1107.  
  1108.  
  1109.  
  1110. function onehit()
  1111.  
  1112. attack = true
  1113.  
  1114. for i = 0,1,0.1 do
  1115.  
  1116. wait()
  1117.  
  1118. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1119.  
  1120. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1121.  
  1122. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,0,1*i)
  1123.  
  1124. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1*i,0)
  1125.  
  1126. end
  1127.  
  1128. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  1129.  
  1130. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  1131.  
  1132. ss(1)
  1133.  
  1134. for i = 0,1,0.2 do
  1135.  
  1136. wait()
  1137.  
  1138. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3*i,0,0)
  1139.  
  1140. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  1141.  
  1142. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1143.  
  1144. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1145.  
  1146. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(2-1*i,0,1-2*i)
  1147.  
  1148. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1,0)
  1149.  
  1150. end
  1151.  
  1152. con1:disconnect()
  1153.  
  1154. con2:disconnect()
  1155.  
  1156. attack = false
  1157.  
  1158. end
  1159.  
  1160.  
  1161.  
  1162. function twohit()
  1163.  
  1164. attack = true
  1165.  
  1166. for i = 0,1,0.1 do
  1167.  
  1168. wait()
  1169.  
  1170. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.5*i,0,0)
  1171.  
  1172. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  1173.  
  1174. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  1175.  
  1176. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1177.  
  1178. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(2-1+1.5*i,0,1-2+1*i)
  1179.  
  1180. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1-1*i,0)
  1181.  
  1182. end
  1183.  
  1184. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  1185.  
  1186. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  1187.  
  1188. ss(1.2)
  1189.  
  1190. for i = 0,1,0.2 do
  1191.  
  1192. wait()
  1193.  
  1194. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.5+0.5*i,0,0)
  1195.  
  1196. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  1197.  
  1198. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  1199.  
  1200. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1201.  
  1202. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-1+1.5-2*i,0,0)
  1203.  
  1204. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1205.  
  1206. end
  1207.  
  1208. con1:disconnect()
  1209.  
  1210. con2:disconnect()
  1211.  
  1212. attack = false
  1213.  
  1214. end
  1215.  
  1216.  
  1217.  
  1218. function threehit()
  1219.  
  1220. attack = true
  1221.  
  1222. for i = 0,1,0.1 do
  1223.  
  1224. wait()
  1225.  
  1226. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.3*i,0,0)
  1227.  
  1228. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  1229.  
  1230. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  1231.  
  1232. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1233.  
  1234. RW.C0 = CFrame.new(1.5-0.5*i,0.5+0.4*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1.07*i,0,-1.57*i)
  1235.  
  1236. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57*i,0)
  1237.  
  1238. end
  1239.  
  1240. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  1241.  
  1242. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  1243.  
  1244. ss(0.9)
  1245.  
  1246. for i = 0,1,0.2 do
  1247.  
  1248. wait()
  1249.  
  1250. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  1251.  
  1252. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  1253.  
  1254. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1255.  
  1256. RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5+0.4-0.4*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1.07,0,-1.57+3.14*i)
  1257.  
  1258. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57,0)
  1259.  
  1260. end
  1261.  
  1262. con1:disconnect()
  1263.  
  1264. con2:disconnect()
  1265.  
  1266. attack = false
  1267.  
  1268. end
  1269.  
  1270.  
  1271.  
  1272. function fourhit()
  1273.  
  1274. attack = true
  1275.  
  1276. gairo.Parent = Head
  1277.  
  1278. gairo.cframe = Head.CFrame
  1279.  
  1280. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  1281.  
  1282. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  1283.  
  1284. ss(0.6)
  1285.  
  1286. for i = 0,1,0.2 do
  1287.  
  1288. wait()
  1289.  
  1290. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.4*i)
  1291.  
  1292. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90),0,0) * CFrame.new(0,1,0)
  1293.  
  1294. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,-0.5*i)
  1295.  
  1296. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1297.  
  1298. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-1.2*i)
  1299.  
  1300. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,-1.57+1.57*i,0)
  1301.  
  1302. end
  1303.  
  1304. wait(0.1)
  1305.  
  1306. con1:disconnect()
  1307.  
  1308. con2:disconnect()
  1309.  
  1310. attack = false
  1311.  
  1312. end
  1313.  
  1314.  
  1315.  
  1316. function fivehit()
  1317.  
  1318. attack = true
  1319.  
  1320. for i = 0,1,0.1 do
  1321.  
  1322. wait()
  1323.  
  1324. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.4+0.8*i)
  1325.  
  1326. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  1327.  
  1328. LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.07*i,0,-0.5+1.5*i)
  1329.  
  1330. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57*i,0)
  1331.  
  1332. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-2.07*i,0,0.37-0.37*i)
  1333.  
  1334. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1335.  
  1336. end
  1337.  
  1338. con1=prt14.Touched:connect(function(hit) Damagefunc1(hit,15,10) end)
  1339.  
  1340. con2=prt15.Touched:connect(function(hit) Damagefunc1(hit,25,10) end)
  1341.  
  1342. con3=prt16.Touched:connect(function(hit) Damagefunc1(hit,25,10) end)
  1343.  
  1344. ss(1.4)
  1345.  
  1346. for i = 0,1,0.2 do
  1347.  
  1348. wait()
  1349.  
  1350. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.4+0.8-0.4*i)
  1351.  
  1352. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90)+math.rad(90)-math.rad(90),0,0) * CFrame.new(0,1,0)
  1353.  
  1354. LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.07,0,1-2.57*i)
  1355.  
  1356. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57,0)
  1357.  
  1358. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5,0,0)
  1359.  
  1360. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1361.  
  1362. end
  1363.  
  1364. wait(0.2)
  1365.  
  1366. con1:disconnect()
  1367.  
  1368. con2:disconnect()
  1369.  
  1370. con3:disconnect()
  1371.  
  1372. gairo.Parent = nil
  1373.  
  1374. Torso.Neck.C0=necko
  1375.  
  1376. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1377.  
  1378. attack = false
  1379.  
  1380. end
  1381.  
  1382.  
  1383.  
  1384. function WindCharge()
  1385.  
  1386. if mana >= 20 then
  1387.  
  1388. attack = true
  1389.  
  1390. gairo.Parent = Head
  1391.  
  1392. gairo.cframe = Head.CFrame
  1393.  
  1394. efect()
  1395.  
  1396. for i = 0,1,0.1 do
  1397.  
  1398. wait()
  1399.  
  1400. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1401.  
  1402. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1403.  
  1404. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1405.  
  1406. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1407.  
  1408. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3*i,0,1*i)
  1409.  
  1410. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1411.  
  1412. end
  1413.  
  1414. mana = mana - 0
  1415.  
  1416. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
  1417.  
  1418. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
  1419.  
  1420. ss(1)
  1421.  
  1422. lightning = true
  1423.  
  1424. coroutine.resume(coroutine.create(function()
  1425.  
  1426. Stun2(prt4,10,25,10)
  1427.  
  1428. --Stun2(prt4,10,25,10)
  1429.  
  1430. end))
  1431.  
  1432. for i = 0,1,0.2 do
  1433.  
  1434. wait()
  1435.  
  1436. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  1437.  
  1438. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.5*i)
  1439.  
  1440. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5*i)
  1441.  
  1442. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1443.  
  1444. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3-1.43*i,0,1-0.5*i)
  1445.  
  1446. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1447.  
  1448. end
  1449.  
  1450. wait()
  1451.  
  1452. local vel = Instance.new("BodyVelocity")
  1453.  
  1454. vel.Parent = Player.Character.Torso
  1455.  
  1456. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1457.  
  1458. vel.velocity = Player.Character.Head.CFrame.lookVector * 100
  1459.  
  1460. wait(0.5)
  1461.  
  1462. vel.Parent = nil
  1463.  
  1464. lightning = false
  1465.  
  1466. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1467.  
  1468. Torso.Neck.C0=necko
  1469.  
  1470. con1:disconnect()
  1471.  
  1472. con2:disconnect()
  1473.  
  1474. gairo.Parent = nil
  1475.  
  1476. attack = false
  1477.  
  1478. end
  1479.  
  1480. end
  1481.  
  1482.  
  1483.  
  1484. function Restore()
  1485.  
  1486. attack = true
  1487.  
  1488. for i = 0,1,0.1 do
  1489.  
  1490. wait()
  1491.  
  1492. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1*i,0,0) * CFrame.new(0,1,0)
  1493.  
  1494. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(-0.4*i,0,0)
  1495.  
  1496. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1497.  
  1498. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1499.  
  1500. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5*i,0,0)
  1501.  
  1502. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1503.  
  1504. end
  1505.  
  1506. local lol = Instance.new("Part")
  1507.  
  1508. lol.Parent = modelzorz
  1509.  
  1510. lol.Shape = "Ball"
  1511.  
  1512. lol.Position = Torso.Position
  1513.  
  1514. lol.Anchored = false
  1515.  
  1516. lol.Transparency = 0.5
  1517.  
  1518. lol.CanCollide = false
  1519.  
  1520. lol.Size = Vector3.new(1,1,1)
  1521.  
  1522. lol.BrickColor = BrickColor.new("Really red")
  1523.  
  1524. lol.CFrame = Torso.CFrame
  1525.  
  1526. local lolmesh = Instance.new("SpecialMesh")
  1527.  
  1528. lolmesh.Parent = lol
  1529.  
  1530. lolmesh.Scale = Vector3.new(0.5,0.5,0.5)
  1531.  
  1532. lolmesh.MeshType = "Sphere"
  1533.  
  1534. local lolweld = Instance.new("Weld")
  1535.  
  1536. lolweld.Parent = lol
  1537.  
  1538. lolweld.Part0 = lol
  1539.  
  1540. lolweld.Part1 = prt6
  1541.  
  1542. wait(0)
  1543.  
  1544. coroutine.resume(coroutine.create(function()
  1545.  
  1546. for i = 0, 1, 0.05 do
  1547.  
  1548. wait(0)
  1549.  
  1550. lolmesh.Scale = lolmesh.Scale + Vector3.new(0.15,0.15,0.15)
  1551.  
  1552. end
  1553.  
  1554. end))
  1555.  
  1556. while restoring == true do
  1557.  
  1558. wait(0.15)
  1559.  
  1560. lolweld.C0 = CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1561.  
  1562. MMMAGIC(lol,2,2,2,0,0,0,BrickColor.new("Really red"))
  1563.  
  1564. DifferentEffect()
  1565.  
  1566. if mana >= 400 then
  1567.  
  1568. mana = 400
  1569.  
  1570. else
  1571.  
  1572. Character.Humanoid.Health = Character.Humanoid.Health + 0.05
  1573.  
  1574. mana = mana + 5
  1575.  
  1576. end
  1577.  
  1578. end
  1579.  
  1580. for i = 0, 1, 0.05 do
  1581.  
  1582. wait(0)
  1583.  
  1584. lol.Transparency = lol.Transparency + 0.03
  1585.  
  1586. lolmesh.Scale = lolmesh.Scale - Vector3.new(0.2,0.2,0.2)
  1587.  
  1588. end
  1589.  
  1590. for i = 0,1,0.1 do
  1591.  
  1592. wait()
  1593.  
  1594. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1-1*i,0,0) * CFrame.new(0,1,0)
  1595.  
  1596. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(-0.4+0.4*i,0,0)
  1597.  
  1598. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  1599.  
  1600. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1601.  
  1602. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-2.5*i,0,0)
  1603.  
  1604. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1605.  
  1606. end
  1607.  
  1608. lol.Parent = nil
  1609.  
  1610. attack = false
  1611.  
  1612. end
  1613.  
  1614.  
  1615.  
  1616. function JetStream()
  1617.  
  1618. if mana >= 1 then
  1619.  
  1620. attack = true
  1621.  
  1622. charging = true
  1623.  
  1624. for i = 0,1,0.1 do
  1625.  
  1626. wait()
  1627.  
  1628. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+0.3*i,0,0) * CFrame.new(0,1,0)
  1629.  
  1630. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,-0.5*i)
  1631.  
  1632. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1633.  
  1634. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.4*i,0,0.3*i)
  1635.  
  1636. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1637.  
  1638. RW.C0 = CFrame.new(1.5-0.8*i,0.5,-0.8*i) * CFrame.fromEulerAnglesXYZ(1.2*i,0,-1.2*i)
  1639.  
  1640. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1*i,0)
  1641.  
  1642. end
  1643.  
  1644. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,35,20) end)
  1645.  
  1646. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,45,20) end)
  1647.  
  1648. local vel = Instance.new("BodyVelocity")
  1649.  
  1650. vel.Parent = Player.Character.Torso
  1651.  
  1652. vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
  1653.  
  1654. vel.velocity = Player.Character.Head.CFrame.lookVector * 100
  1655.  
  1656. while charging == true and mana >= 1 do
  1657.  
  1658. wait(0)
  1659.  
  1660. mana = mana - 0
  1661.  
  1662. vel.velocity = Player.Character.Head.CFrame.lookVector * 100
  1663.  
  1664. MMMAGIC(prt2,1,1,1,0,0,0,BrickColor.new("Really red"))
  1665.  
  1666. MOREMAGIX(prt2,0,1,1,1,BrickColor.new("Really red"))
  1667.  
  1668. end
  1669.  
  1670. wait(0.1)
  1671.  
  1672. con1:disconnect()
  1673.  
  1674. con2:disconnect()
  1675.  
  1676. vel.Parent = nil
  1677.  
  1678. gairo.Parent = nil
  1679.  
  1680. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1681.  
  1682. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1683.  
  1684. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1685.  
  1686. attack = false
  1687.  
  1688. end
  1689.  
  1690. end
  1691.  
  1692.  
  1693.  
  1694. function Stab()
  1695.  
  1696. attack = true
  1697.  
  1698. gairo.Parent = Head
  1699.  
  1700. gairo.cframe = Head.CFrame
  1701.  
  1702. ss(1.2)
  1703.  
  1704. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,20,20) end)
  1705.  
  1706. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,30,20) end)
  1707.  
  1708. for i = 0,1,0.2 do
  1709.  
  1710. wait()
  1711.  
  1712. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  1713.  
  1714. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.3*i)
  1715.  
  1716. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.2*i,0,-0.2*i)
  1717.  
  1718. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1719.  
  1720. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,0.5*i)
  1721.  
  1722. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1723.  
  1724. end
  1725.  
  1726. wait(0.1)
  1727.  
  1728. con1:disconnect()
  1729.  
  1730. con2:disconnect()
  1731.  
  1732. for i = 0,1,0.2 do
  1733.  
  1734. wait()
  1735.  
  1736. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)-math.rad(90)*i,0,0) * CFrame.new(0,1,0)
  1737.  
  1738. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,-0.3+0.3*i)
  1739.  
  1740. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.2+0.2*i,0,-0.2+0.2*i)
  1741.  
  1742. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1743.  
  1744. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,0.5-0.5*i)
  1745.  
  1746. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1747.  
  1748. end
  1749.  
  1750. gairo.Parent = nil
  1751.  
  1752. Torso.Neck.C0=necko
  1753.  
  1754. attack = false
  1755.  
  1756. end
  1757.  
  1758.  
  1759.  
  1760. function WindKatanaWheelSpin()
  1761.  
  1762. if mana >= 20 then
  1763.  
  1764. attack = true
  1765.  
  1766. for i = 0,1,0.1 do
  1767.  
  1768. wait()
  1769.  
  1770. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90)*i,math.rad(90)*i,0) * CFrame.new(0,1,0)
  1771.  
  1772. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)-math.rad(90)*i,math.rad(90)*i,0) * CFrame.new(0,1,0)
  1773.  
  1774. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1775.  
  1776. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
  1777.  
  1778. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1779.  
  1780. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1.57*i)
  1781.  
  1782. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1783.  
  1784. end
  1785.  
  1786. mana = mana - 0
  1787.  
  1788. lightning = true
  1789.  
  1790. coroutine.resume(coroutine.create(function()
  1791.  
  1792. Stun2(prt6,1,1,1)
  1793.  
  1794. end))
  1795.  
  1796. con1=prt4.Touched:connect(function(hit) Damagefunc1(hit,30,20) end)
  1797.  
  1798. con2=prt5.Touched:connect(function(hit) Damagefunc1(hit,40,20) end)
  1799.  
  1800. con3=prt14.Touched:connect(function(hit) Damagefunc1(hit,25,10) end)
  1801.  
  1802. con4=prt15.Touched:connect(function(hit) Damagefunc1(hit,35,10) end)
  1803.  
  1804. con5=prt16.Touched:connect(function(hit) Damagefunc1(hit,35,10) end)
  1805.  
  1806. cf = Head.CFrame
  1807.  
  1808. gairo.Parent = Head
  1809.  
  1810. gairo.cframe = Head.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.rad(90))
  1811.  
  1812. for i = 0,1,0.03 do
  1813.  
  1814. wait()
  1815.  
  1816. ss(1.1)
  1817.  
  1818. gairo.cframe = gairo.cframe * CFrame.fromEulerAnglesXYZ(0,0.8,0)
  1819.  
  1820. end
  1821.  
  1822. gairo.cframe = cf
  1823.  
  1824. con1:disconnect()
  1825.  
  1826. con2:disconnect()
  1827.  
  1828. con3:disconnect()
  1829.  
  1830. con4:disconnect()
  1831.  
  1832. con5:disconnect()
  1833.  
  1834. lightning = false
  1835.  
  1836. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+math.rad(90),math.rad(90),0) * CFrame.new(0,1,0)
  1837.  
  1838. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)-math.rad(90),math.rad(90),0) * CFrame.new(0,1,0)
  1839.  
  1840. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0,0,0)
  1841.  
  1842. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57-0.5)
  1843.  
  1844. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1845.  
  1846. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57+0.5)
  1847.  
  1848. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1849.  
  1850. wait(3)
  1851.  
  1852. gairo.Parent = nil
  1853.  
  1854. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1855.  
  1856. wld7.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  1857.  
  1858. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1859.  
  1860. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1861.  
  1862. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1863.  
  1864. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1865.  
  1866. attack = false
  1867.  
  1868. end
  1869.  
  1870. end
  1871.  
  1872.  
  1873.  
  1874. function SlashShockwave()
  1875.  
  1876. if mana >= 20 then
  1877.  
  1878. attack = true
  1879.  
  1880. for i = 0,1,0.1 do
  1881.  
  1882. wait()
  1883.  
  1884. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1.57*i,0,0) * CFrame.new(0,1,0)
  1885.  
  1886. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3*i,0,0)
  1887.  
  1888. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  1889.  
  1890. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1891.  
  1892. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i,0,0)
  1893.  
  1894. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  1895.  
  1896. end
  1897.  
  1898. wait(0.1)
  1899.  
  1900. ss(1)
  1901.  
  1902. mana = mana - 20
  1903.  
  1904. local slash = Instance.new("Part")
  1905.  
  1906. slash.Parent = modelzorz
  1907.  
  1908. slash.Position = Torso.Position
  1909.  
  1910. slash.Anchored = true
  1911.  
  1912. slash.Transparency = 0.2
  1913.  
  1914. slash.CanCollide = false
  1915.  
  1916. slash.Size = Vector3.new(1,1,1)
  1917.  
  1918. slash.BrickColor = BrickColor.new("Really red")
  1919.  
  1920. slash.CFrame = Torso.CFrame * CFrame.new(1.5,-3,-4)
  1921.  
  1922. local testbrick = Instance.new("Part")
  1923.  
  1924. testbrick.Parent = modelzorz
  1925.  
  1926. testbrick.Anchored = true
  1927.  
  1928. testbrick.Transparency = 1
  1929.  
  1930. testbrick.CFrame = Torso.CFrame * CFrame.new(1.5,0,-4)
  1931.  
  1932. coroutine.resume(coroutine.create(function()
  1933.  
  1934. local c = game.Workspace:GetChildren();
  1935.  
  1936. for i = 1, #c do
  1937.  
  1938. local hum = c[i]:findFirstChild("Humanoid")
  1939.  
  1940. if hum ~= nil and hum.Health ~= 0 then
  1941.  
  1942. local head = c[i]:findFirstChild("Head");
  1943.  
  1944. if head ~= nil then
  1945.  
  1946. local targ = head.Position - testbrick.Position;
  1947.  
  1948. local mag = targ.magnitude;
  1949.  
  1950. if mag <= 3 and c[i].Name ~= Player.Name then
  1951.  
  1952. Damagefunc1(head,20,20)
  1953.  
  1954. end
  1955.  
  1956. end
  1957.  
  1958. end
  1959.  
  1960. end
  1961.  
  1962. testbrick.Parent = nil
  1963.  
  1964. end))
  1965.  
  1966. local lolmesh = Instance.new("SpecialMesh")
  1967.  
  1968. lolmesh.Parent = slash
  1969.  
  1970. lolmesh.Scale = Vector3.new(0.6,1,0.6)
  1971.  
  1972. lolmesh.MeshType = "Sphere"
  1973.  
  1974. coroutine.resume(coroutine.create(function(Part,Mesh)
  1975.  
  1976. for i = 0, 1, 0.2 do
  1977.  
  1978. wait(0)
  1979.  
  1980. Mesh.Scale = Mesh.Scale + Vector3.new(0,0.7,0)
  1981.  
  1982. end
  1983.  
  1984. wait(0.5)
  1985.  
  1986. for i = 0,1,0.1 do
  1987.  
  1988. wait()
  1989.  
  1990. Part.Transparency = Part.Transparency + 0.1
  1991.  
  1992. end
  1993.  
  1994. Part.Parent = nil
  1995.  
  1996. end),slash,lolmesh)
  1997.  
  1998. coroutine.resume(coroutine.create(function()
  1999.  
  2000. CF = -4
  2001.  
  2002. scale = 0.6
  2003.  
  2004. scale2 = 0.7
  2005.  
  2006. for i = 0,10 do
  2007.  
  2008. wait(0.1)
  2009.  
  2010. CF = CF * 1.2
  2011.  
  2012. scale = scale + 0.1
  2013.  
  2014. scale2 = scale2 + 0.2
  2015.  
  2016. ss(math.random()+math.random())
  2017.  
  2018. local slash = Instance.new("Part")
  2019.  
  2020. slash.Parent = modelzorz
  2021.  
  2022. slash.Position = Torso.Position
  2023.  
  2024. slash.Anchored = true
  2025.  
  2026. slash.Transparency = 0.2
  2027.  
  2028. slash.CanCollide = false
  2029.  
  2030. slash.Size = Vector3.new(1,1,1)
  2031.  
  2032. slash.BrickColor = BrickColor.new("Really red")
  2033.  
  2034. slash.CFrame = Torso.CFrame * CFrame.new(1+math.random(),-3,CF)
  2035.  
  2036. local testbrick = Instance.new("Part")
  2037.  
  2038. testbrick.Parent = modelzorz
  2039.  
  2040. testbrick.Anchored = true
  2041.  
  2042. testbrick.Transparency = 1
  2043.  
  2044. testbrick.CFrame = Torso.CFrame * CFrame.new(1+math.random(),0,CF)
  2045.  
  2046. coroutine.resume(coroutine.create(function()
  2047.  
  2048. local c = game.Workspace:GetChildren();
  2049.  
  2050. for i = 1, #c do
  2051.  
  2052. local hum = c[i]:findFirstChild("Humanoid")
  2053.  
  2054. if hum ~= nil and hum.Health ~= 0 then
  2055.  
  2056. local head = c[i]:findFirstChild("Head");
  2057.  
  2058. if head ~= nil then
  2059.  
  2060. local targ = head.Position - testbrick.Position;
  2061.  
  2062. local mag = targ.magnitude;
  2063.  
  2064. if mag <= 3 and c[i].Name ~= Player.Name then
  2065.  
  2066. Damagefunc1(head,20,20)
  2067.  
  2068. end
  2069.  
  2070. end
  2071.  
  2072. end
  2073.  
  2074. end
  2075.  
  2076. testbrick.Parent = nil
  2077.  
  2078. end))
  2079.  
  2080. local lolmesh = Instance.new("SpecialMesh")
  2081.  
  2082. lolmesh.Parent = slash
  2083.  
  2084. lolmesh.Scale = Vector3.new(scale,1,scale)
  2085.  
  2086. lolmesh.MeshType = "Sphere"
  2087.  
  2088. coroutine.resume(coroutine.create(function(Part,Mesh)
  2089.  
  2090. Part.CFrame = Part.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2091.  
  2092. for i = 0, 1, 0.2 do
  2093.  
  2094. wait(0)
  2095.  
  2096. Mesh.Scale = Mesh.Scale + Vector3.new(0,scale2,0)
  2097.  
  2098. end
  2099.  
  2100. wait(0.5)
  2101.  
  2102. for i = 0,1,0.1 do
  2103.  
  2104. wait()
  2105.  
  2106. Part.Transparency = Part.Transparency + 0.1
  2107.  
  2108. end
  2109.  
  2110. Part.Parent = nil
  2111.  
  2112. end),slash,lolmesh)
  2113.  
  2114. end
  2115.  
  2116. end))
  2117.  
  2118. for i = 0,1,0.2 do
  2119.  
  2120. wait()
  2121.  
  2122. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90)+1.57-1.57*i,0,0) * CFrame.new(0,1,0)
  2123.  
  2124. Torso.Neck.C0=necko*CFrame.fromEulerAnglesXYZ(0.3-0.6*i,0,0)
  2125.  
  2126. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+1*i,0,0)
  2127.  
  2128. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2129.  
  2130. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5+2*i,0,0)
  2131.  
  2132. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2133.  
  2134. end
  2135.  
  2136. attack = false
  2137.  
  2138. end
  2139.  
  2140. end
  2141.  
  2142.  
  2143.  
  2144. function efect()
  2145.  
  2146. local lol = Instance.new("Part")
  2147.  
  2148. lol.Parent = Character
  2149.  
  2150. lol.Shape = "Ball"
  2151.  
  2152. lol.Position = Torso.Position
  2153.  
  2154. lol.Anchored = true
  2155.  
  2156. lol.CanCollide = false
  2157.  
  2158. lol.Size = Vector3.new(1,1,1)
  2159.  
  2160. lol.BrickColor = BrickColor.new("Really red")
  2161.  
  2162. lol.Reflectance = 1
  2163.  
  2164. lol.CFrame = Torso.CFrame
  2165.  
  2166. local lolmesh = Instance.new("SpecialMesh")
  2167.  
  2168. lolmesh.Parent = lol
  2169.  
  2170. lolmesh.Scale = Vector3.new(0.5,0.5,0.5)
  2171.  
  2172. lolmesh.MeshType = "Sphere"
  2173.  
  2174. wait(0)
  2175.  
  2176. coroutine.resume(coroutine.create(function()
  2177.  
  2178. for i = 0, 1, 0.05 do
  2179.  
  2180. wait(0)
  2181.  
  2182. lolmesh.Scale = lolmesh.Scale + Vector3.new(9,9,9)
  2183.  
  2184. lol.Transparency = lol.Transparency + 0.20
  2185.  
  2186. lol.Reflectance = lol.Reflectance - 0.25
  2187.  
  2188. lol.CFrame = Torso.CFrame
  2189.  
  2190. end
  2191.  
  2192. lol:Remove()
  2193.  
  2194. end))
  2195.  
  2196. end
  2197.  
  2198.  
  2199.  
  2200. Stun2=function(Feh,x,y,z)
  2201.  
  2202. coroutine.resume(coroutine.create(function(part)
  2203.  
  2204. --[[ if part.Parent:FindFirstChild("Torso")==nil then
  2205.  
  2206. return
  2207.  
  2208. end]]
  2209.  
  2210. Torsoh2=part
  2211.  
  2212. End2=Torsoh2.CFrame+Vector3.new(math.random(-20,20)/10,math.random(-30,30)/10,math.random(-20,20)/10)
  2213.  
  2214. ST2=Torsoh2.Position
  2215.  
  2216. --[[ p=Instance.new("BodyPosition")
  2217.  
  2218. p.P=3000
  2219.  
  2220. p.D=100
  2221.  
  2222. p.maxForce=Vector3.new(math.huge,0,math.huge)
  2223.  
  2224. p.position=Torsoh2.Position
  2225.  
  2226. p.Parent=Torsoh2]]
  2227.  
  2228. while part.Parent ~= nil and lightning == true do
  2229.  
  2230. -- f1:Play()
  2231.  
  2232. -- p.position=ST2+Vector3.new(math.random(-50,50)/50,0,math.random(-50,50)/50)
  2233.  
  2234. Start2=End2
  2235.  
  2236. End2=Torsoh2.CFrame*CFrame.new(math.random(-x,x)/10,math.random(-y,y)/10,math.random(-z,z)/10)
  2237.  
  2238. e=Instance.new("Part")
  2239.  
  2240. e.TopSurface=0
  2241.  
  2242. e.BottomSurface=0
  2243.  
  2244. e.CanCollide=false
  2245.  
  2246. e.Anchored=true
  2247.  
  2248. e.formFactor="Symmetric"
  2249.  
  2250. e.Size=Vector3.new(1,1,1)
  2251.  
  2252. Look2=(End2.p-Start2.p).unit
  2253.  
  2254. m=Instance.new("BlockMesh")
  2255.  
  2256. m.Scale=Vector3.new(.2,.2,(Start2.p-End2.p).magnitude)
  2257.  
  2258. m.Parent=e
  2259.  
  2260. e.CFrame=CFrame.new(Start2.p+Look2*(m.Scale.z/2),Start2.p+Look2*99)
  2261.  
  2262. e.Reflectance=.3
  2263.  
  2264. e.Name="Zap"
  2265.  
  2266. e.BrickColor=BrickColor.new("Really red")
  2267.  
  2268. e.Parent=part.Parent
  2269.  
  2270. coroutine.resume(coroutine.create(function(PAR) for i=1, 25 do PAR.Transparency=i/25 wait() end PAR.Parent=nil end),e)
  2271.  
  2272. wait()
  2273.  
  2274. end
  2275.  
  2276. wait(.25)
  2277.  
  2278. -- p.Parent=nil
  2279.  
  2280. end),Feh)
  2281.  
  2282. end
  2283.  
  2284.  
  2285.  
  2286. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  2287.  
  2288. local msh1 = Instance.new("BlockMesh")
  2289.  
  2290. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  2291.  
  2292. S=Instance.new("Part")
  2293.  
  2294. S.Name="Effect"
  2295.  
  2296. S.formFactor=0
  2297.  
  2298. S.Size=Vector3.new(x1,y1,z1)
  2299.  
  2300. S.BrickColor=color
  2301.  
  2302. S.Reflectance = 0
  2303.  
  2304. S.TopSurface=0
  2305.  
  2306. S.BottomSurface=0
  2307.  
  2308. S.Transparency=0
  2309.  
  2310. S.Anchored=true
  2311.  
  2312. S.CanCollide=false
  2313.  
  2314. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2315.  
  2316. S.Parent=Character
  2317.  
  2318. msh1.Parent = S
  2319.  
  2320. 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)
  2321.  
  2322. end
  2323.  
  2324.  
  2325.  
  2326. function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  2327.  
  2328. local msh1 = Instance.new("BlockMesh")
  2329.  
  2330. msh1.Scale = Vector3.new(x1,y1,z1)
  2331.  
  2332. S=Instance.new("Part")
  2333.  
  2334. S.Name="Effect"
  2335.  
  2336. S.formFactor=0
  2337.  
  2338. S.Size=Vector3.new(1,1,1)
  2339.  
  2340. S.BrickColor=color
  2341.  
  2342. S.Reflectance = 0
  2343.  
  2344. S.TopSurface=0
  2345.  
  2346. S.BottomSurface=0
  2347.  
  2348. S.Transparency=0
  2349.  
  2350. S.Anchored=true
  2351.  
  2352. S.CanCollide=false
  2353.  
  2354. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2355.  
  2356. S.Parent=Character
  2357.  
  2358. msh1.Parent = S
  2359.  
  2360. 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)
  2361.  
  2362. end
  2363.  
  2364.  
  2365.  
  2366. function MOREMAGIX(part,cframe,x,y,z,color)
  2367.  
  2368. p2=Instance.new("Part")
  2369.  
  2370. p2.Name="Blast"
  2371.  
  2372. p2.TopSurface=0
  2373.  
  2374. p2.BottomSurface=0
  2375.  
  2376. p2.CanCollide=false
  2377.  
  2378. p2.Anchored=true
  2379.  
  2380. p2.BrickColor=color
  2381.  
  2382. p2.Size=Vector3.new(x,y,z)
  2383.  
  2384. p2.formFactor="Symmetric"
  2385.  
  2386. p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
  2387.  
  2388. p2.Parent=workspace
  2389.  
  2390. m=Instance.new("BlockMesh")
  2391.  
  2392. m.Parent=p2
  2393.  
  2394. m.Name="BlastMesh"
  2395.  
  2396. 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))
  2397.  
  2398. end
  2399.  
  2400.  
  2401.  
  2402. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  2403.  
  2404. local msh1 = Instance.new("SpecialMesh")
  2405.  
  2406. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  2407.  
  2408. msh1.MeshType = "Sphere"
  2409.  
  2410. S=Instance.new("Part")
  2411.  
  2412. S.Name="Effect"
  2413.  
  2414. S.formFactor=0
  2415.  
  2416. S.Size=Vector3.new(x1,y1,z1)
  2417.  
  2418. S.BrickColor=color
  2419.  
  2420. S.Reflectance = 0
  2421.  
  2422. S.TopSurface=0
  2423.  
  2424. S.BottomSurface=0
  2425.  
  2426. S.Transparency=0
  2427.  
  2428. S.Anchored=true
  2429.  
  2430. S.CanCollide=false
  2431.  
  2432. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  2433.  
  2434. S.Parent=Character
  2435.  
  2436. msh1.Parent = S
  2437.  
  2438. 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)
  2439.  
  2440. end
  2441.  
  2442.  
  2443.  
  2444. function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  2445.  
  2446. local msh1 = Instance.new("SpecialMesh")
  2447.  
  2448. msh1.Scale = Vector3.new(x1,y1,z1)
  2449.  
  2450. msh1.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2451.  
  2452. S=Instance.new("Part")
  2453.  
  2454. S.Name="Effect"
  2455.  
  2456. S.formFactor=0
  2457.  
  2458. S.Size=Vector3.new(1,1,1)
  2459.  
  2460. S.BrickColor=color
  2461.  
  2462. S.Reflectance = 0
  2463.  
  2464. S.TopSurface=0
  2465.  
  2466. S.BottomSurface=0
  2467.  
  2468. S.Transparency=0
  2469.  
  2470. S.Anchored=true
  2471.  
  2472. S.CanCollide=false
  2473.  
  2474. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  2475.  
  2476. S.Parent=Character
  2477.  
  2478. msh1.Parent = S
  2479.  
  2480. 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)
  2481.  
  2482. end
  2483.  
  2484.  
  2485.  
  2486. function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  2487.  
  2488. local msh1 = Instance.new("SpecialMesh")
  2489.  
  2490. msh1.Scale = Vector3.new(x1,y1,z1)
  2491.  
  2492. msh1.MeshId = "http://www.roblox.com/asset/?id=1323306"
  2493.  
  2494. S=Instance.new("Part")
  2495.  
  2496. S.Name="Effect"
  2497.  
  2498. S.formFactor=0
  2499.  
  2500. S.Size=Vector3.new(1,1,1)
  2501.  
  2502. S.BrickColor=color
  2503.  
  2504. S.Reflectance = 0
  2505.  
  2506. S.TopSurface=0
  2507.  
  2508. S.BottomSurface=0
  2509.  
  2510. S.Transparency=0
  2511.  
  2512. S.Anchored=true
  2513.  
  2514. S.CanCollide=false
  2515.  
  2516. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
  2517.  
  2518. S.Parent=Character
  2519.  
  2520. msh1.Parent = S
  2521.  
  2522. 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)
  2523.  
  2524. end
  2525.  
  2526.  
  2527.  
  2528. function DifferentEffect()
  2529.  
  2530. p=Instance.new("Part")
  2531.  
  2532. p.Name="FlameEm"
  2533.  
  2534. p.Shape=0
  2535.  
  2536. p.TopSurface=0
  2537.  
  2538. p.BottomSurface=0
  2539.  
  2540. p.BrickColor=BrickColor.new("Really red")
  2541.  
  2542. p.Anchored=true
  2543.  
  2544. p.CanCollide=false
  2545.  
  2546. p.Size=Vector3.new(1,1,1)
  2547.  
  2548. 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)
  2549.  
  2550. p.Parent=workspace
  2551.  
  2552. m=Instance.new("SpecialMesh")
  2553.  
  2554. m.MeshType="Sphere"
  2555.  
  2556. m.Parent=p
  2557.  
  2558. m.Scale=Vector3.new(1,1,1)
  2559.  
  2560. 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)
  2561.  
  2562. end
  2563.  
  2564.  
  2565.  
  2566. function ss(pitch)
  2567.  
  2568.  
  2569.  
  2570. local SlashSound = Instance.new("Sound")
  2571.  
  2572. --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  2573.  
  2574. SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
  2575.  
  2576. SlashSound.Parent = workspace
  2577.  
  2578. SlashSound.Volume = .7
  2579.  
  2580. SlashSound.Pitch = pitch
  2581.  
  2582. SlashSound.PlayOnRemove = true
  2583.  
  2584. coroutine.resume(coroutine.create(function()
  2585.  
  2586. wait(0)
  2587.  
  2588. SlashSound.Parent = nil
  2589.  
  2590. end))
  2591.  
  2592. end
  2593.  
  2594. function magicsound(pitch)
  2595.  
  2596.  
  2597.  
  2598. local SlashSound = Instance.new("Sound")
  2599.  
  2600. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
  2601.  
  2602. SlashSound.Parent = workspace
  2603.  
  2604. SlashSound.Volume = .5
  2605.  
  2606. SlashSound.Pitch = pitch
  2607.  
  2608. SlashSound.PlayOnRemove = true
  2609.  
  2610. coroutine.resume(coroutine.create(function()
  2611.  
  2612. wait(0)
  2613.  
  2614. SlashSound.Parent = nil
  2615.  
  2616. end))
  2617.  
  2618. end
  2619.  
  2620. function critsound(pitch)
  2621.  
  2622.  
  2623.  
  2624. local SlashSound = Instance.new("Sound")
  2625.  
  2626. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
  2627.  
  2628. SlashSound.Parent = workspace
  2629.  
  2630. SlashSound.Volume = .7
  2631.  
  2632. SlashSound.Pitch = pitch
  2633.  
  2634. SlashSound.PlayOnRemove = true
  2635.  
  2636. coroutine.resume(coroutine.create(function()
  2637.  
  2638. wait(0)
  2639.  
  2640. SlashSound.Parent = nil
  2641.  
  2642. end))
  2643.  
  2644. end
  2645.  
  2646. function spikesound(pitch)
  2647.  
  2648.  
  2649.  
  2650. local SlashSound = Instance.new("Sound")
  2651.  
  2652. SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
  2653.  
  2654. SlashSound.Parent = workspace
  2655.  
  2656. SlashSound.Volume = .7
  2657.  
  2658. SlashSound.Pitch = pitch
  2659.  
  2660. SlashSound.PlayOnRemove = true
  2661.  
  2662. coroutine.resume(coroutine.create(function()
  2663.  
  2664. wait(0)
  2665.  
  2666. SlashSound.Parent = nil
  2667.  
  2668. end))
  2669.  
  2670. end
  2671.  
  2672.  
  2673.  
  2674. Damagefunc1=function(hit,Damage,Knockback)
  2675.  
  2676. if attackdebounce == false then
  2677.  
  2678. attackdebounce = true
  2679.  
  2680. coroutine.resume(coroutine.create(function()
  2681.  
  2682. wait(0.1)
  2683.  
  2684. attackdebounce = false
  2685.  
  2686. end))
  2687.  
  2688. if hit.Parent==nil then
  2689.  
  2690. return
  2691.  
  2692. end
  2693.  
  2694. CPlayer=Bin
  2695.  
  2696. h=hit.Parent:FindFirstChild("Humanoid")
  2697.  
  2698. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  2699.  
  2700. if mana < 400 then
  2701.  
  2702. mana = mana + math.random(5,15)
  2703.  
  2704. end
  2705.  
  2706. if mana > 400 then
  2707.  
  2708. mana = 400
  2709.  
  2710. end
  2711.  
  2712. Damage=Damage
  2713.  
  2714. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  2715.  
  2716. return
  2717.  
  2718. end]]
  2719.  
  2720. c=Instance.new("ObjectValue")
  2721.  
  2722. c.Name="creator"
  2723.  
  2724. c.Value=game.Players.LocalPlayer
  2725.  
  2726. c.Parent=h
  2727.  
  2728. game:GetService("Debris"):AddItem(c,.5)
  2729.  
  2730. -- print(c.Value)
  2731.  
  2732. if math.random(0,99)+math.random()<=10 then
  2733.  
  2734. CRIT=true
  2735.  
  2736. Damage=Damage*1.5
  2737.  
  2738. --[[ Knockback=Knockback*2
  2739.  
  2740. r=Instance.new("BodyAngularVelocity")
  2741.  
  2742. r.P=3000
  2743.  
  2744. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  2745.  
  2746. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2747.  
  2748. r.Parent=hit.Parent.Torso]]
  2749.  
  2750. critsound(2)
  2751.  
  2752.  
  2753.  
  2754. end
  2755.  
  2756. Damage=Damage+math.random(0,10)
  2757.  
  2758. -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  2759.  
  2760. h:TakeDamage(Damage)
  2761.  
  2762. showDamage(hit.Parent,Damage,.5)
  2763.  
  2764. vp=Instance.new("BodyVelocity")
  2765.  
  2766. vp.P=500
  2767.  
  2768. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  2769.  
  2770. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  2771.  
  2772. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  2773.  
  2774. if Knockback>0 then
  2775.  
  2776. vp.Parent=hit.Parent.Torso
  2777.  
  2778. end
  2779.  
  2780. game:GetService("Debris"):AddItem(vp,.25)
  2781.  
  2782. --[[ r=Instance.new("BodyAngularVelocity")
  2783.  
  2784. r.P=3000
  2785.  
  2786. r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
  2787.  
  2788. r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  2789.  
  2790. r.Parent=hit.Parent.Torso]]
  2791.  
  2792. game:GetService("Debris"):AddItem(r,.5)
  2793.  
  2794. c=Instance.new("ObjectValue")
  2795.  
  2796. c.Name="creator"
  2797.  
  2798. c.Value=Player
  2799.  
  2800. c.Parent=h
  2801.  
  2802. game:GetService("Debris"):AddItem(c,.5)
  2803.  
  2804. CRIT=false
  2805.  
  2806. hitDeb=true
  2807.  
  2808. AttackPos=6
  2809.  
  2810. end
  2811.  
  2812. end
  2813.  
  2814. end
  2815.  
  2816.  
  2817.  
  2818. showDamage=function(Char,Dealt,du)
  2819.  
  2820. m=Instance.new("Model")
  2821.  
  2822. m.Name=tostring(Dealt)
  2823.  
  2824. h=Instance.new("Humanoid")
  2825.  
  2826. h.Health=0
  2827.  
  2828. h.MaxHealth=0
  2829.  
  2830. h.Parent=m
  2831.  
  2832. c=Instance.new("Part")
  2833.  
  2834. c.Transparency=0
  2835.  
  2836. c.BrickColor=BrickColor:Red()
  2837.  
  2838. if CRIT==true then
  2839.  
  2840. c.BrickColor=BrickColor.new("Really red")
  2841.  
  2842. end
  2843.  
  2844. c.Name="Head"
  2845.  
  2846. c.TopSurface=0
  2847.  
  2848. c.BottomSurface=0
  2849.  
  2850. c.formFactor="Plate"
  2851.  
  2852. c.Size=Vector3.new(1,.4,1)
  2853.  
  2854. ms=Instance.new("CylinderMesh")
  2855.  
  2856. ms.Bevel=.1
  2857.  
  2858. ms.Scale=Vector3.new(.8,.8,.8)
  2859.  
  2860. if CRIT==true then
  2861.  
  2862. ms.Scale=Vector3.new(1.25,1.5,1.25)
  2863.  
  2864. ms.Bevel=.2
  2865.  
  2866. end
  2867.  
  2868. ms.Parent=c
  2869.  
  2870. c.Reflectance=0
  2871.  
  2872. Instance.new("BodyGyro").Parent=c
  2873.  
  2874. c.Parent=m
  2875.  
  2876. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  2877.  
  2878. f=Instance.new("BodyPosition")
  2879.  
  2880. f.P=2000
  2881.  
  2882. f.D=100
  2883.  
  2884. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2885.  
  2886. f.position=c.Position+Vector3.new(0,3,0)
  2887.  
  2888. f.Parent=c
  2889.  
  2890. game:GetService("Debris"):AddItem(m,.5+du)
  2891.  
  2892. c.CanCollide=false
  2893.  
  2894. m.Parent=workspace
  2895.  
  2896. c.CanCollide=false
  2897.  
  2898. end
  2899.  
  2900.  
  2901.  
  2902.  
  2903.  
  2904. hold = false
  2905.  
  2906.  
  2907.  
  2908. function ob1d(mouse)
  2909.  
  2910. if attack == true then return end
  2911.  
  2912. hold = true
  2913.  
  2914. if combo == 0 then
  2915.  
  2916. combo = 1
  2917.  
  2918. onehit()
  2919.  
  2920. coroutine.resume(coroutine.create(function()
  2921.  
  2922. wait(0.5)
  2923.  
  2924. if attack == false then
  2925.  
  2926. combo = 0
  2927.  
  2928. gairo.Parent = nil
  2929.  
  2930. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  2931.  
  2932. Torso.Neck.C0=necko
  2933.  
  2934. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2935.  
  2936. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2937.  
  2938. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2939.  
  2940. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2941.  
  2942. end
  2943.  
  2944. end))
  2945.  
  2946. elseif combo == 1 then
  2947.  
  2948. combo = 2
  2949.  
  2950. twohit()
  2951.  
  2952. coroutine.resume(coroutine.create(function()
  2953.  
  2954. wait(0.5)
  2955.  
  2956. if attack == false then
  2957.  
  2958. combo = 0
  2959.  
  2960. gairo.Parent = nil
  2961.  
  2962. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  2963.  
  2964. Torso.Neck.C0=necko
  2965.  
  2966. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2967.  
  2968. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2969.  
  2970. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2971.  
  2972. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2973.  
  2974. end
  2975.  
  2976. end))
  2977.  
  2978. elseif combo == 2 then
  2979.  
  2980. combo = 3
  2981.  
  2982. threehit()
  2983.  
  2984. coroutine.resume(coroutine.create(function()
  2985.  
  2986. wait(0.5)
  2987.  
  2988. if attack == false then
  2989.  
  2990. combo = 0
  2991.  
  2992. gairo.Parent = nil
  2993.  
  2994. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  2995.  
  2996. Torso.Neck.C0=necko
  2997.  
  2998. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  2999.  
  3000. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3001.  
  3002. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3003.  
  3004. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3005.  
  3006. end
  3007.  
  3008. end))
  3009.  
  3010. elseif combo == 3 then
  3011.  
  3012. combo = 4
  3013.  
  3014. fourhit()
  3015.  
  3016. coroutine.resume(coroutine.create(function()
  3017.  
  3018. wait(0.5)
  3019.  
  3020. if attack == false then
  3021.  
  3022. combo = 0
  3023.  
  3024. gairo.Parent = nil
  3025.  
  3026. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  3027.  
  3028. Torso.Neck.C0=necko
  3029.  
  3030. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3031.  
  3032. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3033.  
  3034. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3035.  
  3036. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3037.  
  3038. end
  3039.  
  3040. end))
  3041.  
  3042. elseif combo == 4 then
  3043.  
  3044. combo = 5
  3045.  
  3046. fivehit()
  3047.  
  3048. combo = 0
  3049.  
  3050. coroutine.resume(coroutine.create(function()
  3051.  
  3052. wait(0.5)
  3053.  
  3054. if attack == false then
  3055.  
  3056. combo = 0
  3057.  
  3058. gairo.Parent = nil
  3059.  
  3060. wld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,1,0)
  3061.  
  3062. Torso.Neck.C0=necko
  3063.  
  3064. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3065.  
  3066. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3067.  
  3068. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3069.  
  3070. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3071.  
  3072. end
  3073.  
  3074. end))
  3075.  
  3076. end
  3077.  
  3078. --[[onehit()
  3079.  
  3080. twohit()
  3081.  
  3082. threehit()
  3083.  
  3084. fourhit()
  3085.  
  3086. fivehit() ]]
  3087.  
  3088. end
  3089.  
  3090.  
  3091.  
  3092. function ob1u(mouse)
  3093.  
  3094. hold = false
  3095.  
  3096. end
  3097.  
  3098.  
  3099.  
  3100. buttonhold = false
  3101.  
  3102.  
  3103.  
  3104. function key(key)
  3105.  
  3106. if attack == true then return end
  3107.  
  3108. if key == "f" then
  3109.  
  3110. WindCharge()
  3111.  
  3112. end
  3113.  
  3114. if key == "g" then
  3115.  
  3116. restoring = true
  3117.  
  3118. Restore()
  3119.  
  3120. end
  3121.  
  3122. if key == "z" then
  3123.  
  3124. JetStream()
  3125.  
  3126. end
  3127.  
  3128. if key == "x" then
  3129.  
  3130. Stab()
  3131.  
  3132. end
  3133.  
  3134. if key == "r" then
  3135.  
  3136. WindKatanaWheelSpin()
  3137.  
  3138. end
  3139.  
  3140. if key == "t" then
  3141.  
  3142. SlashShockwave()
  3143.  
  3144. end
  3145.  
  3146. end
  3147.  
  3148.  
  3149.  
  3150. function key2(key)
  3151.  
  3152. if key == "g"then
  3153.  
  3154. restoring = false
  3155.  
  3156. end
  3157.  
  3158. if key == "z" then
  3159.  
  3160. charging = false
  3161.  
  3162. end
  3163.  
  3164. end
  3165.  
  3166.  
  3167.  
  3168. function s(mouse)
  3169.  
  3170. mouse.Button1Down:connect(function() ob1d(mouse) end)
  3171.  
  3172. mouse.Button1Up:connect(function() ob1u(mouse) end)
  3173.  
  3174. mouse.KeyDown:connect(key)
  3175.  
  3176. mouse.KeyUp:connect(key2)
  3177.  
  3178. player = Player
  3179.  
  3180. ch = Character
  3181.  
  3182. RSH = ch.Torso["Right Shoulder"]
  3183.  
  3184. LSH = ch.Torso["Left Shoulder"]
  3185.  
  3186. --
  3187.  
  3188. RW.Part0 = ch.Torso
  3189.  
  3190. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  3191.  
  3192. RW.C1 = CFrame.new(0, 0.5, 0)
  3193.  
  3194. RW.Part1 = ch["Right Arm"]
  3195.  
  3196. RW.Parent = ch.Torso
  3197.  
  3198. --_G.R = RW
  3199.  
  3200. --
  3201.  
  3202. LW.Part0 = ch.Torso
  3203.  
  3204. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  3205.  
  3206. LW.C1 = CFrame.new(0, 0.5, 0)
  3207.  
  3208. LW.Part1 = ch["Left Arm"]
  3209.  
  3210. LW.Parent = ch.Torso
  3211.  
  3212. --_G.L = LW
  3213.  
  3214. --
  3215.  
  3216. equipanim()
  3217.  
  3218. end
  3219.  
  3220.  
  3221.  
  3222. function ds(mouse)
  3223.  
  3224. hideanim()
  3225.  
  3226. RW.Parent = nil
  3227.  
  3228. LW.Parent = nil
  3229.  
  3230. RSH.Parent = player.Character.Torso
  3231.  
  3232. LSH.Parent = player.Character.Torso
  3233.  
  3234. end
  3235.  
  3236.  
  3237.  
  3238. Bin.Selected:connect(s)
  3239.  
  3240. Bin.Deselected:connect(ds)
  3241.  
  3242.  
  3243.  
  3244. function onRunning(speed)
  3245.  
  3246. if attack == true then return end
  3247.  
  3248. if speed>0 then
  3249.  
  3250. walking = true
  3251.  
  3252. for i = 0,1,0.1 do
  3253.  
  3254. wait()
  3255.  
  3256. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  3257.  
  3258. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3259.  
  3260. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
  3261.  
  3262. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3263.  
  3264. end
  3265.  
  3266. else
  3267.  
  3268. walking = false
  3269.  
  3270. for i = 0,1,0.1 do
  3271.  
  3272. wait()
  3273.  
  3274. LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  3275.  
  3276. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3277.  
  3278. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
  3279.  
  3280. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
  3281.  
  3282. end
  3283.  
  3284.  
  3285.  
  3286. end
  3287.  
  3288. end
  3289.  
  3290. Character.Humanoid.Running:connect(onRunning)
  3291.  
  3292.  
  3293.  
  3294. while true do
  3295.  
  3296. wait(0)
  3297.  
  3298. fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0)
  3299.  
  3300. fentext.Text = "Mana("..mana..")"
  3301.  
  3302. fentext3.BackgroundColor3 = Color3.new(1,1,1)
  3303.  
  3304. end
  3305.  
  3306.  
  3307.  
  3308. -- lego This acts as a chat filter. Don't ask why I do it. I just do >.>
  3309.  
  3310. --[[
  3311.  
  3312. Copyrighted (C) Fenrier/DrFlame 2011
  3313.  
  3314. This script is copyrighted for Fenrier. Any use of this script is breaking
  3315.  
  3316. this copyright.
  3317.  
  3318. All Rights Reserved.
  3319.  
  3320. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement