Advertisement
voidman

Untitled

Dec 27th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.69 KB | None | 0 0
  1. --]]
  2. --https://github.com/Mokiros/roblox-FE-compatibility
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  5. local RealPlayer = Player
  6. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  7. ----------------------------------------------------------------------------------------------------------------------------------------------
  8. --mediafire
  9. plr=game.Players.LocalPlayer
  10. char=plr.Character
  11. char.Humanoid.WalkSpeed=20
  12. pcall(function() char.MainParts:Remove() end)
  13. bin=Instance.new("HopperBin",plr.Backpack)
  14. bin.Name="Pheonix Sword"
  15. script.Parent=bin
  16. attacking=false
  17. pcall(function() workspace.MainParts:Destroy() end)
  18. function makepart(name,parent,s1,s2,s3,color)
  19. p=Instance.new("Part",parent)
  20. p.Name=name
  21. p.formFactor="Custom"
  22. p.Anchored=false
  23. p.Locked=true
  24. p.CanCollide=false
  25. p.Size=Vector3.new(s1,s2,s3)
  26. p.BrickColor=BrickColor.new(color)
  27. p:BreakJoints()
  28. return p
  29. end
  30. function cylinder(part)
  31. bm=Instance.new("CylinderMesh",part)
  32. return bm
  33. end
  34. function blockmesh(part)
  35. bm=Instance.new("BlockMesh",part)
  36. return bm
  37. end
  38. function specmesh(part,type,s1,s2,s3)
  39. spec=Instance.new("SpecialMesh",part)
  40. spec.MeshType=type
  41. spec.Scale=Vector3.new(s1,s2,s3)
  42. return spec
  43. end
  44. chosen="Lime green"
  45. main=Instance.new("Model",char)
  46. main.Name="MainParts"
  47. handle = makepart("Handle",main,.2,2,.2,"Really black")
  48. cylinder(handle)
  49. wd1=Instance.new("Weld",handle)
  50. wd1.Part1=handle
  51. wd1.Part0=nil
  52. handlep = makepart("HandlePart",main,.22,0.02,.22,chosen)
  53. cyl1 = cylinder(handlep)
  54. cyl1.Scale=Vector3.new(1,.5,1)
  55. w1=Instance.new("Weld",handlep)
  56. w1.Part1=handle
  57. w1.Part0=handlep
  58. w1.C1=CFrame.new(0,1,0) * CFrame.Angles(0,0,0)
  59. handlep2 = makepart("HandlePart2",main,.25,.25,.25,chosen)
  60. specmesh(hanelp2,"Sphere",1,1,1)
  61. w1=Instance.new("Weld",handlep2)
  62. w1.Part1=handlep
  63. w1.Part0=handlep2
  64. w1.C1=CFrame.new(0,.05,0) * CFrame.Angles(0,0,0)
  65. handlep3 = makepart("HandlePart3",main,.22,0.02,.22,chosen)
  66. cyl1 = cylinder(handlep3)
  67. cyl1.Scale=Vector3.new(1,.3,1)
  68. w1=Instance.new("Weld",handlep3)
  69. w1.Part1=handle
  70. w1.Part0=handlep3
  71. w1.C1=CFrame.new(0,-.5,0) * CFrame.Angles(0,0,0)
  72. handlep4 = makepart("HandlePart4",main,.24,0.02,.24,chosen)
  73. cyl1 = cylinder(handlep4)
  74. cyl1.Scale=Vector3.new(1,.3,1)
  75. w1=Instance.new("Weld",handlep4)
  76. w1.Part1=handle
  77. w1.Part0=handlep4
  78. w1.C1=CFrame.new(0,-.54,0) * CFrame.Angles(0,0,0)
  79. handlep5 = makepart("HandlePart5",main,.26,0.02,.26,chosen)
  80. cyl1 = cylinder(handlep5)
  81. cyl1.Scale=Vector3.new(1,.3,1)
  82. w1=Instance.new("Weld",handlep5)
  83. w1.Part1=handle
  84. w1.Part0=handlep5
  85. w1.C1=CFrame.new(0,-.57,0) * CFrame.Angles(0,0,0)
  86. handlep6 = makepart("HandlePart6",main,.02,0.02,.02,chosen)
  87. bm6=blockmesh(handlep6)
  88. bm6.Scale=Vector3.new(2,2.6,1.3)
  89. w1=Instance.new("Weld",handlep6)
  90. w1.Part1=handle
  91. w1.Part0=handlep6
  92. w1.C1=CFrame.new(0,-.84,0) * CFrame.Angles(0,0,0)
  93. handlep7 = makepart("HandlePart7",main,.02,0.02,.02,chosen)
  94. bm7=blockmesh(handlep7)
  95. bm7.Scale=Vector3.new(3,1.6,1.3)
  96. w1=Instance.new("Weld",handlep7)
  97. w1.Part1=handle
  98. w1.Part0=handlep7
  99. w1.C1=CFrame.new(.5,-.84,0) * CFrame.Angles(0,0,0)
  100. handlep8 = makepart("HandlePart8",main,.02,0.02,.02,chosen)
  101. bm8=blockmesh(handlep8)
  102. bm8.Scale=Vector3.new(3,1.6,1.3)
  103. w1=Instance.new("Weld",handlep8)
  104. w1.Part1=handle
  105. w1.Part0=handlep8
  106. w1.C1=CFrame.new(-.5,-.84,0) * CFrame.Angles(0,0,0)
  107. handlep11 = makepart("HandlePart11",main,.02,0.02,.02,"Really black")
  108. bm11=blockmesh(handlep11)
  109. bm11.Scale=Vector3.new(1.4,1.4,1.61)
  110. w1=Instance.new("Weld",handlep11)
  111. w1.Part1=handle
  112. w1.Part0=handlep11
  113. w1.C1=CFrame.new(0,-.84,0) * CFrame.Angles(0,0,0)
  114. bladep1 = makepart("BladePart1",main,.02,4,.02,"Really black")
  115. bp1=blockmesh(bladep1)
  116. bp1.Scale=Vector3.new(4,1,.5)
  117. w1=Instance.new("Weld",bladep1)
  118. w1.Part1=handle
  119. w1.Part0=bladep1
  120. w1.C1=CFrame.new(0,-3,0) * CFrame.Angles(0,0,0)
  121. bladep2 = makepart("BladePart2",main,.02,.02,.02,chosen)
  122. bp2=specmesh(bladep2,"Wedge",.6,1,1)
  123. w1=Instance.new("Weld",bladep2)
  124. w1.Part1=handle
  125. w1.Part0=bladep2
  126. w1.C1=CFrame.new(-0.2,-4.6,0)
  127. w1.C0=CFrame.Angles(0,math.rad(90),0)
  128. bladep3 = makepart("BladePart3",main,.02,.02,.02,chosen)
  129. bp3=specmesh(bladep3,"Wedge",.6,1,1)
  130. w1=Instance.new("Weld",bladep3)
  131. w1.Part1=handle
  132. w1.Part0=bladep3
  133. w1.C1=CFrame.new(0.2,-4.6,0)
  134. w1.C0=CFrame.Angles(0,math.rad(270),0)
  135. bladep4 = makepart("BladePart4",main,.02,.02,.02,chosen)
  136. bp4=specmesh(bladep4,"Wedge",.6,1,1)
  137. w1=Instance.new("Weld",bladep4)
  138. w1.Part1=handle
  139. w1.Part0=bladep4
  140. w1.C1=CFrame.new(0.2,-4.3,0)
  141. w1.C0=CFrame.Angles(math.rad(90),math.rad(270),0)
  142. bladep5 = makepart("BladePart5",main,.02,.02,.02,chosen)
  143. bp5=specmesh(bladep5,"Wedge",.6,1,1)
  144. w1=Instance.new("Weld",bladep5)
  145. w1.Part1=handle
  146. w1.Part0=bladep5
  147. w1.C1=CFrame.new(-0.2,-4.3,0)
  148. w1.C0=CFrame.Angles(math.rad(90),math.rad(90),0)
  149. bladep6 = makepart("BladePart6",main,.02,.02,.02,chosen)
  150. bp6=cylinder(bladep6)
  151. bp6.Scale=Vector3.new(1,.6,1)
  152. w1=Instance.new("Weld",bladep6)
  153. w1.Part1=handle
  154. w1.Part0=bladep6
  155. w1.C1=CFrame.new(0,-4.45,0)
  156. w1.C0=CFrame.Angles(math.rad(90),0,math.rad(90))
  157. bladep7 = makepart("BladePart7",main,.02,.02,.02,chosen)
  158. bp7=blockmesh(bladep7)
  159. bp7.Scale=Vector3.new(.6,16.6,.6)
  160. w1=Instance.new("Weld",bladep7)
  161. w1.Part1=handle
  162. w1.Part0=bladep7
  163. w1.C1=CFrame.new(0,-2.72,0)
  164. bladep8 = makepart("BladePart8",main,.02,.02,.02,"Really black")
  165. bp8=specmesh(bladep8,"Wedge",.51,2,3)
  166. w1=Instance.new("Weld",bladep8)
  167. w1.Part1=handle
  168. w1.Part0=bladep8
  169. w1.C1=CFrame.new(0.20,-5.3,0)
  170. w1.C0=CFrame.Angles(math.rad(90),math.rad(90),0)
  171. bladep9 = makepart("BladePart9",main,.02,.02,.02,"Really black")
  172. bp9=specmesh(bladep9,"Wedge",.51,2,3)
  173. w1=Instance.new("Weld",bladep9)
  174. w1.Part1=handle
  175. w1.Part0=bladep9
  176. w1.C1=CFrame.new(-0.20,-5.3,0)
  177. w1.C0=CFrame.Angles(math.rad(90),math.rad(270),0)
  178. --[[ Ghost Sword ]]
  179. function ghost()
  180. main2=Instance.new("Model",char)
  181. main2.Name="GhostMainParts"
  182. handleg = makepart("Handle",main2,.2,2,.2,"Lime green")
  183. cylinder(handleg)
  184. wd12=Instance.new("Weld",handleg)
  185. wd12.Part1=handleg
  186. wd12.Name="Weldd"
  187. wd12.Part0=nil
  188. handlep = makepart("HandlePart",main2,.22,0.02,.22,chosen)
  189. cyl1 = cylinder(handlep)
  190. cyl1.Scale=Vector3.new(1,.5,1)
  191. w1=Instance.new("Weld",handlep)
  192. w1.Part1=handleg
  193. w1.Part0=handlep
  194. w1.C1=CFrame.new(0,1,0) * CFrame.Angles(0,0,0)
  195. handlep2 = makepart("HandlePart2",main2,.25,.25,.25,chosen)
  196. specmesh(hanelp2,"Sphere",1,1,1)
  197. w1=Instance.new("Weld",handlep2)
  198. w1.Part1=handlep
  199. w1.Part0=handlep2
  200. w1.C1=CFrame.new(0,.05,0) * CFrame.Angles(0,0,0)
  201. handlep3 = makepart("HandlePart3",main2,.22,0.02,.22,chosen)
  202. cyl1 = cylinder(handlep3)
  203. cyl1.Scale=Vector3.new(1,.3,1)
  204. w1=Instance.new("Weld",handlep3)
  205. w1.Part1=handleg
  206. w1.Part0=handlep3
  207. w1.C1=CFrame.new(0,-.5,0) * CFrame.Angles(0,0,0)
  208. handlep4 = makepart("HandlePart4",main2,.24,0.02,.24,chosen)
  209. cyl1 = cylinder(handlep4)
  210. cyl1.Scale=Vector3.new(1,.3,1)
  211. w1=Instance.new("Weld",handlep4)
  212. w1.Part1=handleg
  213. w1.Part0=handlep4
  214. w1.C1=CFrame.new(0,-.54,0) * CFrame.Angles(0,0,0)
  215. handlep5 = makepart("HandlePart5",main2,.26,0.02,.26,chosen)
  216. cyl1 = cylinder(handlep5)
  217. cyl1.Scale=Vector3.new(1,.3,1)
  218. w1=Instance.new("Weld",handlep5)
  219. w1.Part1=handleg
  220. w1.Part0=handlep5
  221. w1.C1=CFrame.new(0,-.57,0) * CFrame.Angles(0,0,0)
  222. handlep6 = makepart("HandlePart6",main2,.02,0.02,.02,chosen)
  223. bm6=blockmesh(handlep6)
  224. bm6.Scale=Vector3.new(2,2.6,1.3)
  225. w1=Instance.new("Weld",handlep6)
  226. w1.Part1=handleg
  227. w1.Part0=handlep6
  228. w1.C1=CFrame.new(0,-.84,0) * CFrame.Angles(0,0,0)
  229. handlep7 = makepart("HandlePart7",main2,.02,0.02,.02,chosen)
  230. bm7=blockmesh(handlep7)
  231. bm7.Scale=Vector3.new(3,1.6,1.3)
  232. w1=Instance.new("Weld",handlep7)
  233. w1.Part1=handleg
  234. w1.Part0=handlep7
  235. w1.C1=CFrame.new(.5,-.84,0) * CFrame.Angles(0,0,0)
  236. handlep8 = makepart("HandlePart8",main2,.02,0.02,.02,chosen)
  237. bm8=blockmesh(handlep8)
  238. bm8.Scale=Vector3.new(3,1.6,1.3)
  239. w1=Instance.new("Weld",handlep8)
  240. w1.Part1=handleg
  241. w1.Part0=handlep8
  242. w1.C1=CFrame.new(-.5,-.84,0) * CFrame.Angles(0,0,0)
  243. handlep11 = makepart("HandlePart11",main2,.02,0.02,.02,"Lime green")
  244. bm11=blockmesh(handlep11)
  245. bm11.Scale=Vector3.new(1.4,1.4,1.61)
  246. w1=Instance.new("Weld",handlep11)
  247. w1.Part1=handleg
  248. w1.Part0=handlep11
  249. w1.C1=CFrame.new(0,-.84,0) * CFrame.Angles(0,0,0)
  250. bladep1 = makepart("BladePart1",main2,.02,4,.02,"Lime green")
  251. bp1=blockmesh(bladep1)
  252. bp1.Scale=Vector3.new(4,1,.5)
  253. w1=Instance.new("Weld",bladep1)
  254. w1.Part1=handleg
  255. w1.Part0=bladep1
  256. w1.C1=CFrame.new(0,-3,0) * CFrame.Angles(0,0,0)
  257. bladep2 = makepart("BladePart2",main2,.02,.02,.02,chosen)
  258. bp2=specmesh(bladep2,"Wedge",.6,1,1)
  259. w1=Instance.new("Weld",bladep2)
  260. w1.Part1=handleg
  261. w1.Part0=bladep2
  262. w1.C1=CFrame.new(-0.2,-4.6,0)
  263. w1.C0=CFrame.Angles(0,math.rad(90),0)
  264. bladep3 = makepart("BladePart3",main2,.02,.02,.02,chosen)
  265. bp3=specmesh(bladep3,"Wedge",.6,1,1)
  266. w1=Instance.new("Weld",bladep3)
  267. w1.Part1=handleg
  268. w1.Part0=bladep3
  269. w1.C1=CFrame.new(0.2,-4.6,0)
  270. w1.C0=CFrame.Angles(0,math.rad(270),0)
  271. bladep4 = makepart("BladePart4",main2,.02,.02,.02,chosen)
  272. bp4=specmesh(bladep4,"Wedge",.6,1,1)
  273. w1=Instance.new("Weld",bladep4)
  274. w1.Part1=handleg
  275. w1.Part0=bladep4
  276. w1.C1=CFrame.new(0.2,-4.3,0)
  277. w1.C0=CFrame.Angles(math.rad(90),math.rad(270),0)
  278. bladep5 = makepart("BladePart5",main2,.02,.02,.02,chosen)
  279. bp5=specmesh(bladep5,"Wedge",.6,1,1)
  280. w1=Instance.new("Weld",bladep5)
  281. w1.Part1=handleg
  282. w1.Part0=bladep5
  283. w1.C1=CFrame.new(-0.2,-4.3,0)
  284. w1.C0=CFrame.Angles(math.rad(90),math.rad(90),0)
  285. bladep6 = makepart("BladePart6",main2,.02,.02,.02,chosen)
  286. bp6=cylinder(bladep6)
  287. bp6.Scale=Vector3.new(1,.6,1)
  288. w1=Instance.new("Weld",bladep6)
  289. w1.Part1=handleg
  290. w1.Part0=bladep6
  291. w1.C1=CFrame.new(0,-4.45,0)
  292. w1.C0=CFrame.Angles(math.rad(90),0,math.rad(90))
  293. bladep7 = makepart("BladePart7",main2,.02,.02,.02,chosen)
  294. bp7=blockmesh(bladep7)
  295. bp7.Scale=Vector3.new(.6,16.6,.6)
  296. w1=Instance.new("Weld",bladep7)
  297. w1.Part1=handleg
  298. w1.Part0=bladep7
  299. w1.C1=CFrame.new(0,-2.72,0)
  300. bladep8 = makepart("BladePart8",main2,.02,.02,.02,"Lime green")
  301. bp8=specmesh(bladep8,"Wedge",.51,2,3)
  302. w1=Instance.new("Weld",bladep8)
  303. w1.Part1=handleg
  304. w1.Part0=bladep8
  305. w1.C1=CFrame.new(0.20,-5.3,0)
  306. w1.C0=CFrame.Angles(math.rad(90),math.rad(90),0)
  307. bladep9 = makepart("BladePart9",main2,.02,.02,.02,"Lime green")
  308. bp9=specmesh(bladep9,"Wedge",.51,2,3)
  309. w1=Instance.new("Weld",bladep9)
  310. w1.Part1=handleg
  311. w1.Part0=bladep9
  312. w1.C1=CFrame.new(-0.20,-5.3,0)
  313. w1.C0=CFrame.Angles(math.rad(90),math.rad(270),0)
  314. return main2
  315. end
  316. hold=false
  317. --[[Key/Mouse]]
  318. mode="normal"
  319. function select()
  320. mode="normal"
  321. equipanim()
  322. end
  323. function unselect()
  324. char.Humanoid.WalkSpeed=20
  325. hideanim()
  326. end
  327. combo=0
  328. bin.Selected:connect(function(mouse)
  329. select()
  330. mouse.Button1Down:connect(function()
  331. if combo==0 then
  332. slashanim()
  333. combo = 1
  334. elseif combo==1 then
  335. slashanim2()
  336. combo = 0
  337. end
  338. end)
  339. mouse.KeyDown:connect(function(key)
  340. hold=true
  341. if mode=="normal" then
  342. if key == "q" then
  343. move3()
  344. elseif key=="e" then
  345. move4()
  346. elseif key=="r" then
  347. move5()
  348. end
  349. end
  350. end)
  351. mouse.KeyUp:connect(function()
  352. hold=false
  353. end)
  354. end)
  355. bin.Deselected:connect(function()
  356. unselect()
  357. end)
  358. --[[DMG]]
  359. function damagesplat(dmg,hit)
  360. local mo = Instance.new("Model")
  361. mo.Name = dmg
  362. local pa = Instance.new("Part",mo)
  363. pa.formFactor = 3
  364. pa.Size = Vector3.new(0.8,0.3,0.8)
  365. pa.BrickColor = BrickColor.new(chosen)
  366. pa.CanCollide=false
  367. pa.CFrame = CFrame.new(hit.Position) * CFrame.new(0, 3, 0)
  368. pa.Name = "Head"
  369. cm=Instance.new("CylinderMesh",pa)
  370. local hah = Instance.new("Humanoid")
  371. hah.Parent = mo
  372. hah.MaxHealth = 0
  373. hah.Health = 0
  374. local bp = Instance.new("BodyPosition")
  375. bp.P = 14000
  376. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  377. bp.position = hit.Position + Vector3.new(0, 5, 0)
  378. coroutine.resume(coroutine.create(function()
  379. wait()
  380. mo.Parent = workspace
  381. bp.Parent = pa
  382. wait(1.4)
  383. mo:remove()
  384. end))
  385. end
  386. con = nil
  387. con2 = nil
  388. hitd=0
  389. hitd2=0
  390. function OT(hit)
  391. if hit.Parent == nil then return end
  392. local hum = hit.Parent:findFirstChild("Humanoid")
  393. local head = hit.Parent:findFirstChild("Head")
  394. if hum ~= nil then
  395. dm=math.random(3,12)
  396. hum:TakeDamage(dm)
  397. if head ~= nil then
  398. damagesplat(dm,head)
  399. end
  400. end
  401. hitd=1
  402. end
  403. function OT2(hit)
  404. if hit.Parent == nil then return end
  405. local hum = hit.Parent:findFirstChild("Humanoid")
  406. local head = hit.Parent:findFirstChild("Head")
  407. if hum ~= nil then
  408. dm=math.random(3,18)
  409. hum:TakeDamage(dm)
  410. if head ~= nil then
  411. damagesplat(dm,head)
  412. end
  413. end
  414. hitd2=1
  415. end
  416. function dmgcnnct(p)
  417. con = p.Touched:connect(OT)
  418. end
  419. function dmgcnnct2(p)
  420. con2 = p.Touched:connect(OT2)
  421. end
  422. function dmgdc2()
  423. if con2 ~= nil then
  424. con2:disconnect()
  425. hitd2=0
  426. end
  427. end
  428. function dmgdc()
  429. if con ~= nil then
  430. con:disconnect()
  431. hitd=0
  432. end
  433. end
  434. --[[Anims]]--
  435. RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld")
  436. ch = char
  437. player=plr
  438. RSH, LSH , RHL, LHL = ch.Torso["Right Shoulder"], ch.Torso["Left Shoulder"] , ch.Torso["Right Hip"] , ch.Torso["Left Hip"]
  439. RW.Part0 = ch.Torso
  440. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  441. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  442. RW.Parent = main
  443. --
  444. LW.Part0 = ch.Torso
  445. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  446. LW.C1 = CFrame.new(0, 0.5, 0)
  447. LW.Parent = main
  448. --
  449. RWL.Part0 = ch.Torso
  450. RWL.C0 = CFrame.new(1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  451. RWL.C1 = CFrame.new(0.5, 1, 0)
  452. RWL.Parent = main
  453. --
  454. LWL.Part0 = ch.Torso
  455. LWL.C0 = CFrame.new(-1, -1, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  456. LWL.C1 = CFrame.new(-0.5, 1, 0)
  457. LWL.Parent = main
  458. function RWFunc()
  459. RW.Part1 = ch["Right Arm"]
  460. RSH.Part1 = nil
  461. end
  462. function LWFunc()
  463. LW.Part1 = ch["Left Arm"]
  464. LSH.Part1 = nil
  465. end
  466. function RWLFunc()
  467. RWL.Part1 = ch["Right Leg"]
  468. RHL.Part1 = nil
  469. ch["Right Leg"].Name = "RightLeg"
  470. RightLeg.CanCollide = false
  471. end
  472. function LWLFunc()
  473. LWL.Part1 = ch["Left Leg"]
  474. LHL.Part1 = nil
  475. ch["Left Leg"].Name = "LeftLeg"
  476. LeftLeg.CanCollide = true
  477. end
  478. function RWLRem()
  479. RightLeg.Name = "Right Leg"
  480. RWL.Part1 = nil
  481. RHL.Part1 = ch["Right Leg"]
  482. RightLeg.CanCollide = false
  483. end
  484. function LWLRem()
  485. LeftLeg.Name = "Left Leg"
  486. LWL.Part1 = nil
  487. LHL.Part1 = ch["Left Leg"]
  488. LeftLeg.CanCollide = false
  489. end
  490. function RWRem()
  491. RW.Part1 = nil
  492. RSH.Part1 = ch["Right Arm"]
  493. end
  494. function LWRem()
  495. LW.Part1 = nil
  496. LSH.Part1 = ch["Left Arm"]
  497. end
  498. local RAP = Instance.new("Part")
  499. RAP.formFactor = 0
  500. RAP.CanCollide = false
  501. RAP.Name = "RAPart"
  502. RAP.Locked = true
  503. RAP.Size = Vector3.new(1,1,1)
  504. RAP.Parent = main
  505. RAP.Transparency = 1
  506. local w = Instance.new("Weld")
  507. w.Parent = RAP
  508. w.Part0 = RAP
  509. w.Part1 = char["Right Arm"]
  510. w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  511. w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 1, 0)
  512. local LAP = Instance.new("Part")
  513. LAP.formFactor = 0
  514. LAP.CanCollide = false
  515. LAP.Name = "LAPart"
  516. LAP.Locked = true
  517. LAP.Size = Vector3.new(1,1,1)
  518. LAP.Parent = main
  519. LAP.Transparency = 1
  520. local ww = Instance.new("Weld")
  521. ww.Parent = LAP
  522. ww.Part0 = LAP
  523. ww.Part1 = char["Left Arm"]
  524. ww.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  525. ww.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 1, 0)
  526. function unequipweld()
  527. wd1.Part0 = char.Torso
  528. wd1.C1=CFrame.new(0,-1.5,-.6) * CFrame.Angles(0,0,.8)
  529. wd1.C0=CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  530. end
  531. unequipweld()
  532. function equipweld()
  533. wd1.Part0 = RAP
  534. wd1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  535. wd1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(90)) * CFrame.new(0, 0, 0.2)
  536. end
  537. function hideanim()
  538. RWFunc()
  539. for i = 0 , 1 , 0.2 do
  540. wait()
  541. RW.C0 = CFrame.new(1+0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80+67*i), math.rad(45), math.rad(-45+90*i))
  542. end
  543. for i = 0 , 1 , 0.15 do
  544. wait()
  545. RW.C0 = CFrame.new(1.5,0.5+0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(147+103*i), math.rad(45), math.rad(45-35*i))
  546. end
  547. unequipweld()
  548. wait(0.1)
  549. for i = 0 , 1 , 0.1 do
  550. wait()
  551. RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(250-250*i), math.rad(45-45*i), math.rad(10-10*i))
  552. end
  553. RWRem()
  554. LWRem()
  555. end
  556. function equipanim()
  557. RWFunc()
  558. for i = 0 , 1 , 0.1 do
  559. wait(.05)
  560. RW.C0 = CFrame.new(1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(250*i), math.rad(45*i), math.rad(-10*i))
  561. end
  562. equipweld()
  563. for i = 0 , 1 , 0.2 do
  564. wait(.05)
  565. RW.C0 = CFrame.new(1.5,0.5+0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(250-102.5*i), math.rad(45), math.rad(-10+27.5*i))
  566. end
  567. for i = 0 , 1 , 0.15 do
  568. wait(.05)
  569. RW.C0 = CFrame.new(1.5,1-0.5*i,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(147-67*i), math.rad(45), math.rad(17.5+27.5*i))
  570. end
  571. for i = 0 , 1 , 0.1 do
  572. wait(.05)
  573. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(35), math.rad(45-90*i))
  574. end
  575. end
  576. function slashanim()
  577. RWFunc()
  578. if attacking==true then return end
  579. attacking=true
  580. for i = 0 , 1 , 0.1 do
  581. wait()
  582. RW.C0 = CFrame.new(1-0.5*i,0.5,-0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(80+10*i), math.rad(45+45*i), math.rad(-45+45*i))
  583. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45*i), math.rad(10*i), math.rad(0))
  584. end
  585. dmgcnnct(bladep1)
  586. for i = 0 , 1 , 0.3 do
  587. wait()
  588. RW.C0 = CFrame.new(0.5+1*i,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  589. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(-45+135*i), math.rad(10+35*i), math.rad(0))
  590. end
  591. for i = 0 , 1 , 0.2 do
  592. wait()
  593. RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(90), math.rad(0))
  594. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90+20*i), math.rad(45+5*i), math.rad(0))
  595. end
  596. dmgdc()
  597. if mode=="normal" then
  598. wait(0.15)
  599. wait()
  600. for i = 0 , 1 , 0.1 do
  601. wait()
  602. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(math.rad(90-10*i), math.rad(90-45*i), math.rad(-45*i))
  603. RW.C1 = CFrame.new(0,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(110-110*i), math.rad(50-50*i), math.rad(0))
  604. end
  605. end
  606. attacking=false
  607. end
  608. function test(f)
  609. local a,b=coroutine.resume(coroutine.create(f))
  610. if not a then
  611. local h=Instance.new("Hint",workspace)
  612. h.Text="LOCAL: "..b
  613. wait(10)
  614. h:remove()
  615. end
  616. end
  617. function slashanim2()
  618. test(function()
  619. RWFunc()
  620. LWFunc()
  621. if attacking==true then return end
  622. attacking=true
  623. for i=0,1,0.1 do
  624. wait()
  625. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(0,0,math.rad(30*i))
  626. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(0,0,math.rad(-30*i))
  627. end
  628. fake=ghost()
  629. fake.Handle.Weldd.Part0=LAP
  630. fake.Handle.Weldd.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  631. fake.Handle.Weldd.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(90)) * CFrame.new(0, 0, 0.2)
  632. for i,d in pairs(fake:GetChildren()) do
  633. d.Transparency=0.5
  634. d.BrickColor=BrickColor.new("Lime green")
  635. end
  636. for i=0,1,0.1 do
  637. wait()
  638. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(math.rad(0+120*i),0,math.rad(30))
  639. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(math.rad(0+120*i),0,math.rad(-30))
  640. end
  641. dmgcnnct(bladep1)
  642. dmgcnnct2(fake.BladePart1)
  643. for i=0,1,0.2 do
  644. wait()
  645. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(math.rad(120 - 120*i),0,math.rad(30 - 30*i))
  646. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(math.rad(120 - 120*i),0,math.rad(-30 - -30*i))
  647. end
  648. dmgdc()
  649. dmgdc2()
  650. for i=0,1,0.1 do
  651. wait()
  652. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(0,0,math.rad(0 + 90*i))
  653. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(0,0,math.rad(-0 + -90*i))
  654. end
  655. dmgcnnct(bladep1)
  656. dmgcnnct2(fake.BladePart1)
  657. for i=0,1,0.1 do
  658. wait()
  659. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(0,math.rad(0 + 60*i),math.rad(90 + 0))
  660. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(0,math.rad(-0 + -60*i),math.rad(-80 + -0))
  661. end
  662. dmgdc()
  663. dmgdc2()
  664. for i=0,1,0.1 do
  665. wait()
  666. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(0,math.rad(60 - 60*i),math.rad(90 + 0))
  667. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(0,math.rad(-60 - -60*i),math.rad(-80 + -0))
  668. end
  669. for i=0,1,0.1 do
  670. wait()
  671. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(0,0,math.rad(90 - 90*i))
  672. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(0,0,math.rad(-90 - -90*i))
  673. end
  674. fake:Remove()
  675. LWRem()
  676. for i = 0 , 1 , 0.1 do
  677. wait()
  678. RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80*i), math.rad(35*i), math.rad(-35 + -10*i))
  679. end
  680. attacking=false
  681. end)
  682. end
  683. function move3()
  684. RWFunc()
  685. LWFunc()
  686. if attacking==true then return end
  687. attacking=true
  688. fake2=ghost()
  689. fake2.Handle.Weldd.Part0=LAP
  690. fake2.Handle.Weldd.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  691. fake2.Handle.Weldd.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(90)) * CFrame.new(0, 0, 0.2)
  692. for i,d in pairs(fake2:GetChildren()) do
  693. d.Transparency=0.5
  694. d.BrickColor=BrickColor.new("Lime green")
  695. end
  696. for i=0,1,0.1 do
  697. wait()
  698. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(math.rad(50+50*i),0,math.rad(40+43*i))
  699. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(math.rad(50+50*i),0,math.rad(-40+-43*i))
  700. wd1.C0 = CFrame.Angles(0,0,math.rad(90*i))
  701. fake2.Handle.Weldd.C0 = CFrame.Angles(0,0,math.rad(90*i))
  702. end
  703. dmgcnnct(bladep1)
  704. dmgcnnct2(fake2.BladePart1)
  705. local TorsCF = char.Torso.CFrame
  706. local bg = Instance.new("BodyGyro",char.Torso)
  707. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  708. bg.P = bg.p * 25
  709. bg.cframe = TorsCF
  710. char.Humanoid.WalkSpeed=30
  711. for i=0,50,0.2 do
  712. wait()
  713. bg.cframe = TorsCF * CFrame.Angles(0,math.rad(180+180*i),0)
  714. end
  715. char.Humanoid.WalkSpeed=20
  716. game.Debris:AddItem(bg,0.02)
  717. dmgdc()
  718. dmgdc2()
  719. for i=0,1,0.1 do
  720. wait()
  721. RW.C0 = CFrame.new(1.5,.5,0) * CFrame.Angles(math.rad(100 - 0*i),0,math.rad(-83 + 83*i))
  722. LW.C0 = CFrame.new(-1.5,.5,0) * CFrame.Angles(math.rad(100 - 0*i),0,math.rad(-83 + 83*i))
  723. end
  724. fake2:Remove()
  725. LWRem()
  726. for i=0,1,0.1 do
  727. wait()
  728. wd1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90*i), math.rad(90 + 0*i)) * CFrame.new(0, 0, 0.2)
  729. RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(100 + -20*i), math.rad(35*i), math.rad(-35 + -10*i))
  730. end
  731. attacking=false
  732. end
  733. function move4()
  734. RWFunc()
  735. LWFunc()
  736. if attacking==true then return end
  737. attacking=true
  738. for i=0,1,0.1 do
  739. wait()
  740. RW.C0=CFrame.new(1.5,.5,0) * CFrame.Angles(0,math.rad(10 + 5*i),math.rad(50+50*i))
  741. LW.C0=CFrame.new(-1.5,.5,0) * CFrame.Angles(0,math.rad(80 + 0*i),math.rad(0+-50*i))
  742. end
  743. for i=0,1,0.1 do
  744. wait()
  745. LW.C0=CFrame.new(-1.5,.5,0) * CFrame.Angles(0,math.rad(80 + 0*i),math.rad(-50 + 150*i))
  746. end
  747. function Burn(Part)
  748. if Part.Anchored == true and Part.Name == "Base" then return end
  749. if Part:IsDescendantOf(char) then return end
  750. if Part.Name =="Fireball" then return end
  751. local Fire = Instance.new("Fire")
  752. Fire.Heat = 2
  753. Fire.Size = 5
  754. Fire.Parent = Part
  755. Part:BreakJoints()
  756. Part.BrickColor = BrickColor.new("Lime green")
  757. wait(2)
  758. game.Debris:AddItem(Part,0.02)
  759. end
  760. function Ignite(Part)
  761. if Part.Anchored == true and Part.Name == "Base" then return end
  762. if Part:IsDescendantOf(char) then return end
  763. if Part:FindFirstChild("Fire") == nil then
  764. Part.Anchored = false
  765. local Fire = Instance.new("Fire")
  766. Fire.Heat = 2
  767. Fire.Size = 5
  768. Fire.Parent = Part
  769. Part:BreakJoints()
  770. Part.Touched:connect(function(Hit) Burn(Hit) end)
  771. Part.BrickColor = BrickColor.new("Lime green")
  772. end
  773. end
  774. for i = 1, 150 do
  775. local Source = char.Torso
  776. local Fireball = Instance.new("Part", Workspace)
  777. Fireball.Name = "Fireball"
  778. Fireball.CanCollide = false
  779. Fireball.TopSurface = 0
  780. Fireball.BottomSurface = 0
  781. Fireball.FormFactor = "Custom"
  782. Fireball.Shape = "Ball"
  783. Fireball.Size = Vector3.new(5, 5, 5)
  784. Fireball.CFrame = Source.CFrame * CFrame.new(0, 0, -5)
  785. local Velocity = Instance.new("BodyVelocity")
  786. Velocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  787. Velocity.velocity = (Source.CFrame.lookVector * 50) + Vector3.new(math.random(-25,25), math.random(-10,10), math.random(-10,10))
  788. Velocity.Parent = Fireball
  789. Ignite(Fireball)
  790. Fireball.BrickColor = BrickColor.new("Lime green")
  791. coroutine.wrap(function() wait(math.random(1, 9) / 10) for i = 0, 1, 0.1 do Fireball.Transparency = i wait() end Fireball.Fire.Enabled = false Fireball.Anchored = true wait(1) Fireball:Remove() end)()
  792. wait()
  793. end
  794. for i=0,1,0.1 do
  795. wait()
  796. RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(15+15+50*i), math.rad(35*i), math.rad(100-140*i))
  797. LW.C0=CFrame.new(-1.5,.5,0) * CFrame.Angles(0,math.rad(80 - 80*i),math.rad(100-100*i))
  798. end
  799. LWRem()
  800. attacking=false
  801. end
  802. function move5()
  803. RWFunc()
  804. LWFunc()
  805. if attacking==true then return end
  806. attacking=true
  807. fake3=ghost()
  808. fake3.Handle.Weldd.Part0=LAP
  809. fake3.Handle.Weldd.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  810. fake3.Handle.Weldd.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(90)) * CFrame.new(0, 0, -0.2)
  811. for i,d in pairs(fake3:GetChildren()) do
  812. d.Transparency=0.5
  813. d.BrickColor=BrickColor.new("Lime green")
  814. end
  815. for i=0,1,0.1 do
  816. wait()
  817. RW.C0=CFrame.new(1.5,.5,0) * CFrame.Angles(0,math.rad(-50+-50*i),math.rad(30+30*i))
  818. LW.C0=CFrame.new(-1.5,.5,0) * CFrame.Angles(0,math.rad(50+50*i),math.rad(-30+-30*i))
  819. end
  820. f=0
  821. powermod=Instance.new("Model",char)
  822. powermod.Name="PowerMode"
  823. for i=0,3,0.1 do
  824. f=f+1
  825. wait()
  826. ball=Instance.new("Part",powermod)
  827. ball.formFactor="Custom"
  828. ball.Shape="Ball"
  829. ball.TopSurface="Smooth"
  830. ball.BottomSurface="Smooth"
  831. ball.BrickColor=BrickColor.new(chosen)
  832. ball.Transparency=0.5
  833. ball.Anchored=true
  834. ball.CanCollide=false
  835. ball.Size=Vector3.new(f,f,f)
  836. ball.CFrame=char.Torso.CFrame
  837. end
  838. wait(.1)
  839. powermod:Remove()
  840. function Burn(Part)
  841. if Part.Anchored == true and Part.Name == "Base" then return end
  842. if Part:IsDescendantOf(char) then return end
  843. if Part.Name =="Fireball" then return end
  844. local Fire = Instance.new("Fire")
  845. Fire.Heat = 2
  846. Fire.Size = 5
  847. Fire.Parent = Part
  848. Part:BreakJoints()
  849. Part.BrickColor = BrickColor.new("Lime green")
  850. wait(2)
  851. game.Debris:AddItem(Part,0.02)
  852. end
  853. function Ignite(Part)
  854. if Part.Anchored == true and Part.Name == "Base" then return end
  855. if Part:IsDescendantOf(char) then return end
  856. if Part:FindFirstChild("Fire") == nil then
  857. Part.Anchored = false
  858. local Fire = Instance.new("Fire")
  859. Fire.Heat = 100
  860. Fire.Size = 100
  861. Fire.Parent = Part
  862. Part:BreakJoints()
  863. Part.Touched:connect(function(Hit) Burn(Hit) end)
  864. Part.BrickColor = BrickColor.new("Lime green")
  865. end
  866. end
  867. for i = 1, 250 do
  868. local Source = char.Torso
  869. local Fireball = Instance.new("Part", Workspace)
  870. Fireball.Name = "Fireball"
  871. Fireball.CanCollide = false
  872. Fireball.TopSurface = 0
  873. Fireball.BottomSurface = 0
  874. Fireball.FormFactor = "Custom"
  875. Fireball.Shape = "Ball"
  876. Fireball.Size = Vector3.new(50, 50, 50)
  877. Fireball.CFrame = Source.CFrame * CFrame.new(0, 0, -30)
  878. local Velocity = Instance.new("BodyVelocity")
  879. Velocity.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  880. Velocity.velocity = (Source.CFrame.lookVector * 250) + Vector3.new(math.random(-2,2), math.random(-2,2), math.random(-2,2))
  881. Velocity.Parent = Fireball
  882. Ignite(Fireball)
  883. Fireball.BrickColor = BrickColor.new("Lime green")
  884. coroutine.wrap(function() wait(math.random(1, 9) / 10) for i = 0, 1, 0.1 do Fireball.Transparency = i wait() end Fireball.Fire.Enabled = false Fireball.Anchored = true wait(1) Fireball:Remove() end)()
  885. wait(0.02)
  886. end
  887. fake3:Remove()
  888. LWRem()
  889. attacking=false
  890. end
  891. function swordmode()
  892. RWFunc()
  893. char.Humanoid.WalkSpeed=20
  894. bin.Name="Pheonix Sword"
  895. hitdeb=1
  896. hitdeb=0
  897. wd1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0)
  898. wd1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(90), math.rad(90)) * CFrame.new(0, 0, 0.2)
  899. for i = 0 , 1 , 0.1 do
  900. wait()
  901. RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(35), math.rad(45-90*i))
  902. end
  903. mode="normal"
  904. end --[[Filterd, May Error]]-- --[[Filterd, May Error]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement