Advertisement
Axelpuff

probabl(kinda works)

Aug 14th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 73.21 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  2. print("FE Compatibility: by WaverlyCole & Mokiros")
  3. InternalData = {}
  4. do
  5. script.Parent = owner.Character
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput"
  8. local function NewFakeEvent()
  9. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  10. return Fake
  11. end
  12. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  13. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  14. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  15. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  16. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  17. local function TriggerEvent(self,Event,...)
  18. local Trigger = Mouse[Event]
  19. if Trigger and Trigger.fakeEvent and Trigger.Function then
  20. Trigger.Function(...)
  21. end
  22. end
  23. Mouse.TrigEvent = TriggerEvent
  24. UserInputService.TrigEvent = TriggerEvent
  25. Event.OnServerEvent:Connect(function(FiredBy,Input)
  26. if FiredBy.Name ~= owner.Name then end
  27. if Input.MouseEvent then
  28. Mouse.Target = Input.Target
  29. Mouse.Hit = Input.Hit
  30. else
  31. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  32. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  33. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  34. end
  35. for _,Action in pairs(ContextActionService.Actions) do
  36. for _,Key in pairs(Action.Keys) do
  37. if Key==Input.KeyCode then
  38. Action.Function(Action.Name,Input.UserInputState,Input)
  39. end
  40. end
  41. end
  42. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  43. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  44. end
  45. end)
  46. InternalData["Mouse"] = Mouse
  47. InternalData["ContextActionService"] = ContextActionService
  48. InternalData["UserInputService"] = UserInputService
  49. Event.Parent = NLS([[
  50. local Player = owner
  51. local Event = script:WaitForChild("UserInput")
  52. local UserInputService = game:GetService("UserInputService")
  53. local Mouse = Player:GetMouse()
  54. local Input = function(Input,gameProcessedEvent)
  55. if gameProcessedEvent then return end
  56. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  57. end
  58. UserInputService.InputBegan:Connect(Input)
  59. UserInputService.InputEnded:Connect(Input)
  60. local Hit,Target
  61. while wait(1/30) do
  62. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63. Hit,Target = Mouse.Hit,Mouse.Target
  64. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  65. end
  66. end
  67. ]],owner.Character)
  68. end
  69. RealGame = game;game = setmetatable({},{
  70. __index = function (self,Index)
  71. local Sandbox = function (Thing)
  72. if Thing:IsA("Player") then
  73. local RealPlayer = Thing
  74. return setmetatable({},{
  75. __index = function (self,Index)
  76. local Type = type(RealPlayer[Index])
  77. if Type == "function" then
  78. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  79. return function (self)
  80. return InternalData["Mouse"]
  81. end
  82. end
  83. return function (self,...)
  84. return RealPlayer[Index](RealPlayer,...)
  85. end
  86. else
  87. if Index == "PlrObj" then
  88. return RealPlayer
  89. end
  90. return RealPlayer[Index]
  91. end
  92. end;
  93. __tostring = function(self)
  94. return RealPlayer.Name
  95. end
  96. })
  97. end
  98. end
  99. if RealGame[Index] then
  100. local Type = type(RealGame[Index])
  101. if Type == "function" then
  102. if Index:lower() == "getservice" or Index:lower() == "service" then
  103. return function (self,Service)
  104. if Service:lower() == "players" then
  105. return setmetatable({},{
  106. __index = function (self2,Index2)
  107. local RealService = RealGame:GetService(Service)
  108. local Type2 = type(Index2)
  109. if Type2 == "function" then
  110. return function (self,...)
  111. return RealService[Index2](RealService,...)
  112. end
  113. else
  114. if Index2:lower() == "localplayer" then
  115. return Sandbox(owner)
  116. end
  117. return RealService[Index2]
  118. end
  119. end;
  120. __tostring = function(self)
  121. return RealGame:GetService(Service).Name
  122. end
  123. })
  124. elseif Service:lower() == "contextactionservice" then
  125. return InternalData["ContextActionService"]
  126. elseif Service:lower() == "contextactionservice" then
  127. return InternalData["UserInputService"]
  128. elseif Service:lower() == "runservice" then
  129. return setmetatable({},{
  130. __index = function(self2,Index2)
  131. local RealService = RealGame:GetService(Service)
  132. local Type2 = type(Index2)
  133. if Type2 == "function" then
  134. return function (self,...)
  135. return RealService[Index2](RealService,...)
  136. end
  137. else
  138. if Index2:lower() == "bindtorenderstep" then
  139. return function (self,Name,Priority,Function)
  140. return RealGame:GetService("RunService").Stepped:Connect(Function)
  141. end
  142. end
  143. if Index2:lower() == "renderstepped" then
  144. return RealService["Stepped"]
  145. end
  146. return RealService[Index2]
  147. end
  148. end
  149. })
  150. else
  151. return RealGame:GetService(Service)
  152. end
  153. end
  154. end
  155. return function (self,...)
  156. return RealGame[Index](RealGame,...)
  157. end
  158. else
  159. if game:GetService(Index) then
  160. return game:GetService(Index)
  161. end
  162. return RealGame[Index]
  163. end
  164. else
  165. return nil
  166. end
  167. end
  168. });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
  169. print("Complete! Running...")
  170.  
  171.  
  172. --//Paste script below this line.
  173.  
  174. --ebolacancer666
  175.  
  176. wait(math.randomseed(tick()))
  177. local plr=owner;ch=plr.Character;
  178. local tor=ch.Torso;local head=ch.Head;local ra=ch['Right Arm'];local la=ch['Left Arm'];local rl=ch['Right Leg'];local ll=ch['Left Leg'];
  179. local rj=ch.HumanoidRootPart.RootJoint;local neck=tor.Neck;
  180. local rm=Instance.new("Weld",tor);rm.C1=CFrame.new(0,0.5,0);rm.C0=CFrame.new(1.5,0.5,0);rm.Part0=tor;rm.Part1=ra;
  181. local lm=Instance.new("Weld",tor);lm.C1=CFrame.new(0,0.5,0);lm.C0=CFrame.new(-1.5,0.5,0);lm.Part0=tor;lm.Part1=la;
  182. local rlm=Instance.new("Weld",tor);rlm.C1=CFrame.new(0,1,0);rlm.C0=CFrame.new(0.5,-1,0);rlm.Part0=tor;rlm.Part1=rl;
  183. local llm=Instance.new("Weld",tor);llm.C1=CFrame.new(0,1,0);llm.C0=CFrame.new(-0.5,-1,0);llm.Part0=tor;llm.Part1=ll;
  184. local hum=ch.Humanoid
  185. for i,v in pairs(head:GetChildren()) do if v.ClassName=="Sound" then v:Destroy() end end
  186. rj.C0=CFrame.new()
  187. rj.C1=CFrame.new()
  188. tor['Right Shoulder']:Destroy();tor['Left Shoulder']:Destroy();tor['Right Hip']:Destroy();tor['Left Hip']:Destroy();
  189. neck.C0=CFrame.new(0,1,0);neck.C1=CFrame.new(0,-0.5,0);
  190. rmC0=rm.C0;rmC1=rm.C1;lmC0=lm.C0;lmC1=lm.C1;nC0=neck.C0;nC1=neck.C1;rjC0=rj.C0;rjC1=rj.C1;rlmC0=rlm.C0;rlmC1=rlm.C1;llmC0=llm.C0;llmC1=llm.C1;
  191. local defWS=16
  192. local defJP=50
  193. hum.WalkSpeed=defWS
  194. hum.JumpPower=defJP
  195. ch:WaitForChild("Animate"):Destroy()
  196. hum:WaitForChild("Animator"):Destroy()
  197. local mo=plr:GetMouse();local cam=workspace.CurrentCamera;
  198.  
  199. local godName="Pharoah"
  200. local godTalkSFX="http://www.roblox.com/asset/?id=358280695"
  201.  
  202. local anim={
  203. idle={
  204. priority=1,
  205. },
  206. walk={
  207. priority=1,
  208. },
  209. jump={
  210. priority=3,
  211. },
  212. descend={
  213. priority=2,
  214. },
  215. enterflymode={
  216. priority=4,
  217. },
  218. fly={
  219. priority=1,
  220. },
  221. chestbeam={
  222. priority=4,
  223. },
  224. sword1={
  225. priority=4,
  226. },
  227. sword2={
  228. priority=4,
  229. },
  230. sword3={
  231. priority=4,
  232. },
  233. bladestorm={
  234. priority=4,
  235. }
  236. }
  237.  
  238. local talkGui=Instance.new("BillboardGui",head)
  239. local im=Instance.new("ImageLabel",talkGui)
  240. local text=Instance.new("TextLabel",im)
  241. talkGui.Name="BillBoardGui"
  242. talkGui.Size=UDim2.new(15,0,5,0)
  243. talkGui.Active=true
  244. talkGui.ExtentsOffset=Vector3.new(0,3.25,0)
  245.  
  246. im.Position=UDim2.new(0.10000000149012,0,0,0)
  247. im.Size=UDim2.new(0.80000001192093,0,0.80000001192093,0)
  248. im.Position=UDim2.new(0.10000000149012,0,0,0)
  249. im.Active=true
  250. im.BackgroundColor3=Color3.new(0,0,0)
  251. im.BackgroundTransparency=1
  252. im.Image="http://www.roblox.com/asset/?id=0"
  253.  
  254. text.BackgroundTransparency=1
  255. text.Size=UDim2.new(1,0,1,0)
  256. text.BackgroundColor3=Color3.new(1,1,1)
  257. text.Font=Enum.Font.SourceSans
  258. text.FontSize=Enum.FontSize.Size14
  259. text.TextScaled=true
  260. text.TextWrapped=true
  261. text.Text=""
  262.  
  263. local talkSound=Instance.new("Sound",head)
  264. talkSound.SoundId=godTalkSFX
  265. talkSound.Volume=0.85
  266.  
  267. function say(msg,col,strokeCol,font)
  268. coroutine.resume(coroutine.create(function()
  269. text.TextColor3=col
  270. text.TextStrokeColor3=strokeCol
  271. text.Font=font
  272. text.Text=""..godName..": "
  273. for i=1,msg:len() do
  274. local x=math.random(855,1155)
  275. talkSound.Pitch=x/1000
  276. talkSound:play()
  277. text.Text=""..text.Text..""..msg:sub(i,i)..""
  278. wait(.05)
  279. end
  280. wait(1.5)
  281. text.Text=""
  282. end))
  283. end
  284.  
  285. plr.Chatted:connect(function(msg)
  286. say(msg,Color3.new(1,0.2,0.2),Color3.new(0.85,0,0),"ArialBold")
  287. end)
  288.  
  289. local mainGui=Instance.new("ScreenGui",plr.PlayerGui)
  290. mainGui.Name="OptionsGui"
  291. local FlyOption1=Instance.new("TextLabel",mainGui)
  292. FlyOption1.Name="fly1"
  293. FlyOption1.BackgroundTransparency=0.45
  294. FlyOption1.BackgroundColor3=Color3.new(0.3,0.3,0.3)
  295. FlyOption1.BorderSizePixel=0
  296. FlyOption1.Size=UDim2.new(0,125,0,40)
  297. FlyOption1.Position=UDim2.new(0,-125+1,0.5,-40-1)
  298. FlyOption1.Text="F - Air walk"
  299. FlyOption1.Font=Enum.Font.SourceSansLight
  300. FlyOption1.FontSize=Enum.FontSize.Size24
  301. FlyOption1.TextColor3=Color3.new(1,1,1)
  302. FlyOption1.TextStrokeTransparency=0
  303.  
  304. FlyOption1:TweenPosition(UDim2.new(0,1,0.5,-40-1),"Out","Bounce",1,false,nil)
  305.  
  306. function displayFlyOptions()
  307. local FlyOption2=Instance.new("TextLabel",mainGui)
  308. FlyOption2.BackgroundTransparency=0.45
  309. FlyOption2.BackgroundColor3=Color3.new(0.3,0.3,0.3)
  310. FlyOption2.BorderSizePixel=0
  311. FlyOption2.Size=UDim2.new(0,125,0,40)
  312. FlyOption2.Position=UDim2.new(0,-125+1,0.5,0)
  313. FlyOption2.Text="E - Light beam"
  314. FlyOption2.Font=Enum.Font.SourceSansLight
  315. FlyOption2.FontSize=Enum.FontSize.Size24
  316. FlyOption2.TextColor3=Color3.new(1,1,1)
  317. FlyOption2.TextStrokeTransparency=0
  318.  
  319. FlyOption2:TweenPosition(UDim2.new(0,1,0.5,0),"Out","Bounce",1,false,nil)
  320. end
  321.  
  322. function displayGroundOptions()
  323. local FlyOption3=Instance.new("TextLabel",mainGui)
  324. FlyOption3.Name="ground"
  325. FlyOption3.BackgroundTransparency=0.45
  326. FlyOption3.BackgroundColor3=Color3.new(0.3,0.3,0.3)
  327. FlyOption3.BorderSizePixel=0
  328. FlyOption3.Size=UDim2.new(0,125,0,40)
  329. FlyOption3.Position=UDim2.new(0,-125+1,0.5,0)
  330. FlyOption3.Text="R - Blade storm"
  331. FlyOption3.Font=Enum.Font.SourceSansLight
  332. FlyOption3.FontSize=Enum.FontSize.Size24
  333. FlyOption3.TextColor3=Color3.new(1,1,1)
  334. FlyOption3.TextStrokeTransparency=0
  335.  
  336. FlyOption3:TweenPosition(UDim2.new(0,1,0.5,0),"Out","Bounce",1,false,nil)
  337. end
  338.  
  339. function hideFlyOptions()
  340. for i,v in pairs(mainGui:GetChildren()) do
  341. if v.Name~="fly1" then
  342. v:Destroy()
  343. end
  344. end
  345. end
  346.  
  347. function hideGroundOptions()
  348. for i,v in pairs(mainGui:GetChildren()) do
  349. if v.Name=="ground" then
  350. v:Destroy()
  351. end
  352. end
  353. end
  354.  
  355. local lastPriority=0
  356. local lastAnim=nil
  357. local speed=0
  358.  
  359. local flyMode=false
  360. local partBelowTorso
  361.  
  362. function swait(num)
  363. if num==0 or num==nil then
  364. game:service'RunService'.RenderStepped:wait()
  365. else
  366. for i=0,num do
  367. game:service'RunService'.RenderStepped:wait()
  368. end
  369. end
  370. end
  371.  
  372. local callDebounce=false
  373. local EP=Instance.new("Model",ch)
  374.  
  375. function sound(id,vol,pitch,parent)
  376. local s=Instance.new("Sound",parent)
  377. s.SoundId="http://www.roblox.com/asset/?id="..id..""
  378. s.Volume=vol
  379. s.Pitch=pitch
  380. game.Debris:AddItem(s,10)
  381. s:play()
  382. return s
  383. end
  384.  
  385. function doBrick(parent,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
  386. local p=Instance.new('Part',parent);p.BrickColor=colour;p.Material=material;p.Transparency=transparency;p.Anchored=a;p.CanCollide=cc;p.FormFactor="Custom";p.Size=size;p.BackSurface=bs;p.BottomSurface=bts;p.FrontSurface=fs;p.LeftSurface=ls;p.RightSurface=rs;p.TopSurface=ts;p.Position=pos;p.CFrame=p.CFrame*cf;
  387. return p
  388. end
  389.  
  390. function doMesh(parent,meshType,meshId,scale)
  391. local m=Instance.new('SpecialMesh',parent);m.MeshType=meshType;m.MeshId=meshId;m.Scale=scale
  392. return m
  393. end
  394.  
  395. function magicBrick(pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts,meshType,meshId,scale,scaleAdd,loop,loopTransparency,repeatloop,repeatLoopWait,loopCFrame)
  396. local cw1=coroutine.wrap(function()
  397. for i=1,repeatloop do
  398. local x=doBrick(EP,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
  399. local z=doMesh(x,meshType,meshId,scale)
  400.  
  401. local cw2=coroutine.wrap(function()
  402. for i=1,loop do
  403. if loopTransparency then
  404. x.Transparency=i/loop
  405. z.Scale=z.Scale+scaleAdd
  406. x.CFrame=x.CFrame*loopCFrame
  407. wait()
  408. else
  409. z.Scale=z.Scale+scaleAdd
  410. x.CFrame=x.CFrame*loopCFrame
  411. end
  412. end
  413. x:Destroy()
  414. end)
  415. cw2()
  416. swait(repeatLoopWait)
  417. end
  418. end)
  419. cw1()
  420. end
  421.  
  422. local swordModel=Instance.new("Model",ch);swordModel.Name="Sword";
  423. local swordHandle
  424.  
  425. function makeStackGui(parent)
  426. local soulGui=Instance.new("BillboardGui",parent)
  427. soulGui.Adornee=parent
  428. soulGui.AlwaysOnTop=true
  429. soulGui.Size=UDim2.new(10,0,10,0)
  430. soulGui.ExtentsOffset=Vector3.new(0,1.5,0)
  431. local soulimg=Instance.new("ImageLabel",soulGui)
  432. soulimg.BackgroundTransparency=1
  433. soulimg.Position=UDim2.new(0.1,0,0,0)
  434. soulimg.Size=UDim2.new(0.8,0,0.8,0)
  435. local soulText=Instance.new("TextLabel",soulimg)
  436. soulText.BackgroundTransparency=1
  437. soulText.Position=UDim2.new(0,0,0.5,0)
  438. soulText.Size=UDim2.new(1,0,0.1,0)
  439. soulText.Font="ArialBold"
  440. soulText.FontSize="Size14"
  441. soulText.Text="0"
  442. soulText.TextColor3=Color3.new(1,1,1)
  443. soulText.TextScaled=true
  444. soulText.TextStrokeColor3=Color3.new(0,0,0)
  445. soulText.TextStrokeTransparency=0
  446. soulText.TextWrapped=true
  447. coroutine.resume(coroutine.create(function()
  448. while true do
  449. if parent.Parent:findFirstChild("DamageStacks")==nil then soulGui:Destroy() break end
  450. soulText.Text="+"..parent.Parent:WaitForChild("DamageStacks").Value.."%"
  451. wait()
  452. end
  453. end))
  454. end
  455.  
  456. local o1 = swordModel
  457. local o2 = Instance.new("Part")
  458. local o3 = Instance.new("SpecialMesh")
  459. local o4 = Instance.new("Part")
  460. local o5 = Instance.new("SpecialMesh")
  461. local o6 = Instance.new("Part")
  462. local o7 = Instance.new("BlockMesh")
  463. local o8 = Instance.new("Part")
  464. local o9 = Instance.new("BlockMesh")
  465. local o10 = Instance.new("Part")
  466. local o11 = Instance.new("SpecialMesh")
  467. local o12 = Instance.new("Part")
  468. local o13 = Instance.new("SpecialMesh")
  469. local o14 = Instance.new("Part")
  470. local o15 = Instance.new("SpecialMesh")
  471. local o16 = Instance.new("Part")
  472. local o17 = Instance.new("SpecialMesh")
  473. local o18 = Instance.new("Part")
  474. local o19 = Instance.new("SpecialMesh")
  475. local o20 = Instance.new("Part")
  476. local o21 = Instance.new("SpecialMesh")
  477. local o22 = Instance.new("Part")
  478. local o23 = Instance.new("BlockMesh")
  479. swordHandle = Instance.new("Part")
  480. local o25 = Instance.new("Part")
  481. local o26 = Instance.new("SpecialMesh")
  482. local o27 = Instance.new("Part")
  483. local o28 = Instance.new("SpecialMesh")
  484. local o29 = Instance.new("Part")
  485. local o30 = Instance.new("BlockMesh")
  486. local o31 = Instance.new("Part")
  487. local o32 = Instance.new("SpecialMesh")
  488. local o33 = Instance.new("Part")
  489. local o34 = Instance.new("SpecialMesh")
  490. local o35 = Instance.new("Part")
  491. local o36 = Instance.new("BlockMesh")
  492. local o37 = Instance.new("Part")
  493. local o38 = Instance.new("SpecialMesh")
  494. local o39 = Instance.new("Part")
  495. local o40 = Instance.new("SpecialMesh")
  496. o2.Parent = o1
  497. o2.Material = Enum.Material.Marble
  498. o2.BrickColor = BrickColor.new("Institutional white")
  499. o2.Position = Vector3.new(0.950002551, 8.03999901, 0.499998927)
  500. o2.Rotation = Vector3.new(-4.78108996e-005, -90, 0)
  501. o2.Anchored = true
  502. o2.CanCollide = false
  503. o2.Size = Vector3.new(0.200000003, 1.12000024, 0.700000226)
  504. o2.CFrame = CFrame.new(0.950002551, 8.03999901, 0.499998927, -1.89244292e-006, 1.02659214e-010, -1, 8.34465027e-007, 1.00000894, 1.00094773e-010, 1.00000894, -8.34465027e-007, -1.89242382e-006)
  505. o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  506. o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  507. o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  508. o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  509. o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  510. o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  511. o2.Color = Color3.new(0.972549, 0.972549, 0.972549)
  512. o2.Position = Vector3.new(0.950002551, 8.03999901, 0.499998927)
  513. o3.Parent = o2
  514. o3.Scale = Vector3.new(0.420000106, 1, 1)
  515. o3.MeshType = Enum.MeshType.Wedge
  516. o4.Parent = o1
  517. o4.Material = Enum.Material.Marble
  518. o4.BrickColor = BrickColor.new("Institutional white")
  519. o4.Position = Vector3.new(0.250002593, 8.03999901, 0.499998957)
  520. o4.Rotation = Vector3.new(-4.78111833e-005, 90, 0)
  521. o4.Anchored = true
  522. o4.CanCollide = false
  523. o4.Size = Vector3.new(0.200000003, 1.12000024, 0.700000226)
  524. o4.CFrame = CFrame.new(0.250002593, 8.03999901, 0.499998957, 4.58942031e-006, 1.08307793e-010, 1, -8.34462583e-007, 1, -1.04478093e-010, -1, -8.34462583e-007, 4.58942031e-006)
  525. o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  526. o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  527. o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  528. o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  529. o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  530. o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  531. o4.Color = Color3.new(0.972549, 0.972549, 0.972549)
  532. o4.Position = Vector3.new(0.250002593, 8.03999901, 0.499998957)
  533. o5.Parent = o4
  534. o5.Scale = Vector3.new(0.420000106, 1, 1)
  535. o5.MeshType = Enum.MeshType.Wedge
  536. o6.Parent = o1
  537. o6.Material = Enum.Material.Marble
  538. o6.Position = Vector3.new(1.02000678, 3.76999998, 0.499997109)
  539. o6.Anchored = true
  540. o6.CanCollide = false
  541. o6.Size = Vector3.new(0.840000093, 0.200000003, 0.280000091)
  542. o6.CFrame = CFrame.new(1.02000678, 3.76999998, 0.499997109, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  543. o6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  544. o6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  545. o6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  546. o6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  547. o6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  548. o6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  549. o6.Position = Vector3.new(1.02000678, 3.76999998, 0.499997109)
  550. o7.Parent = o6
  551. o7.Scale = Vector3.new(1, 0.700000167, 1)
  552. o8.Parent = o1
  553. o8.Material = Enum.Material.Marble
  554. o8.BrickColor = BrickColor.new("Smoky grey")
  555. o8.Position = Vector3.new(0.6000067, 1.80999923, 0.499997109)
  556. o8.Anchored = true
  557. o8.CanCollide = false
  558. o8.Size = Vector3.new(0.280000031, 0.200000003, 0.200000003)
  559. o8.CFrame = CFrame.new(0.6000067, 1.80999923, 0.499997109, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  560. o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  561. o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  562. o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  563. o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  564. o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  565. o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  566. o8.Color = Color3.new(0.356863, 0.364706, 0.411765)
  567. o8.Position = Vector3.new(0.6000067, 1.80999923, 0.499997109)
  568. o9.Parent = o8
  569. o9.Scale = Vector3.new(1, 0.700000167, 0.700000286)
  570. o10.Parent = o1
  571. o10.Material = Enum.Material.Marble
  572. o10.BrickColor = BrickColor.new("Smoky grey")
  573. o10.Position = Vector3.new(0.495006561, 1.80999899, 0.499997079)
  574. o10.Rotation = Vector3.new(-0, 0, -89.9999008)
  575. o10.Anchored = true
  576. o10.CanCollide = false
  577. o10.Size = Vector3.new(0.200000003, 0.210000053, 0.280000091)
  578. o10.CFrame = CFrame.new(0.495006561, 1.80999899, 0.499997079, 1.77323818e-006, 1.0000025, 0, -1.0000025, 1.77323818e-006, 0, 0, 0, 1)
  579. o10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  580. o10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  581. o10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  582. o10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  583. o10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  584. o10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  585. o10.Color = Color3.new(0.356863, 0.364706, 0.411765)
  586. o10.Position = Vector3.new(0.495006561, 1.80999899, 0.499997079)
  587. o11.Parent = o10
  588. o11.Scale = Vector3.new(0.700000167, 1, 1)
  589. o11.MeshType = Enum.MeshType.Cylinder
  590. o12.Parent = o1
  591. o12.Material = Enum.Material.Marble
  592. o12.BrickColor = BrickColor.new("Smoky grey")
  593. o12.Position = Vector3.new(0.705006421, 1.80999899, 0.499997079)
  594. o12.Rotation = Vector3.new(-0, 0, -89.9999008)
  595. o12.Anchored = true
  596. o12.CanCollide = false
  597. o12.Size = Vector3.new(0.200000003, 0.210000038, 0.280000091)
  598. o12.CFrame = CFrame.new(0.705006421, 1.80999899, 0.499997079, 1.77323818e-006, 1.0000025, 0, -1.0000025, 1.77323818e-006, 0, 0, 0, 1)
  599. o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  600. o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  601. o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  602. o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  603. o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  604. o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  605. o12.Color = Color3.new(0.356863, 0.364706, 0.411765)
  606. o12.Position = Vector3.new(0.705006421, 1.80999899, 0.499997079)
  607. o13.Parent = o12
  608. o13.Scale = Vector3.new(0.700000167, 1, 1)
  609. o13.MeshType = Enum.MeshType.Cylinder
  610. o14.Parent = o1
  611. o14.Material = Enum.Material.Marble
  612. o14.BrickColor = BrickColor.new("Institutional white")
  613. o14.Position = Vector3.new(1.16000259, 4.25999975, 0.499999255)
  614. o14.Rotation = Vector3.new(-0, -90, 0)
  615. o14.Anchored = true
  616. o14.CanCollide = false
  617. o14.Size = Vector3.new(0.200000003, 0.840000093, 0.280000091)
  618. o14.CFrame = CFrame.new(1.16000259, 4.25999975, 0.499999255, -1.84774399e-006, 0, -1.00000405, 0, 1, 0, 1.00000405, 0, -1.84774399e-006)
  619. o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  620. o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  621. o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  622. o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  623. o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  624. o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  625. o14.Color = Color3.new(0.972549, 0.972549, 0.972549)
  626. o14.Position = Vector3.new(1.16000259, 4.25999975, 0.499999255)
  627. o15.Parent = o14
  628. o15.Scale = Vector3.new(0.420000106, 1, 1)
  629. o15.MeshType = Enum.MeshType.Wedge
  630. o16.Parent = o1
  631. o16.Material = Enum.Material.Marble
  632. o16.BrickColor = BrickColor.new("Institutional white")
  633. o16.Position = Vector3.new(0.040002346, 6.84999943, 0.499999255)
  634. o16.Rotation = Vector3.new(-180, 90, 0)
  635. o16.Anchored = true
  636. o16.CanCollide = false
  637. o16.Size = Vector3.new(0.200000003, 1.26000023, 0.280000091)
  638. o16.CFrame = CFrame.new(0.040002346, 6.84999943, 0.499999255, -9.23861307e-007, 2.94160269e-012, 1, -1.49009367e-007, -1, 2.8039385e-012, 1, -1.49009367e-007, 9.23861307e-007)
  639. o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  640. o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  641. o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  642. o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  643. o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  644. o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  645. o16.Color = Color3.new(0.972549, 0.972549, 0.972549)
  646. o16.Position = Vector3.new(0.040002346, 6.84999943, 0.499999255)
  647. o17.Parent = o16
  648. o17.Scale = Vector3.new(0.420000106, 1, 1)
  649. o17.MeshType = Enum.MeshType.Wedge
  650. o18.Parent = o1
  651. o18.Material = Enum.Material.Marble
  652. o18.BrickColor = BrickColor.new("Institutional white")
  653. o18.Position = Vector3.new(0.040002346, 4.26000023, 0.499999255)
  654. o18.Rotation = Vector3.new(0, 90, 0)
  655. o18.Anchored = true
  656. o18.CanCollide = false
  657. o18.Size = Vector3.new(0.200000003, 0.840000093, 0.280000091)
  658. o18.CFrame = CFrame.new(0.040002346, 4.26000023, 0.499999255, 9.23857442e-007, 0, 1, 0, 1, 0, -1, 0, 9.23857442e-007)
  659. o18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  660. o18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  661. o18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  662. o18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  663. o18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  664. o18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  665. o18.Color = Color3.new(0.972549, 0.972549, 0.972549)
  666. o18.Position = Vector3.new(0.040002346, 4.26000023, 0.499999255)
  667. o19.Parent = o18
  668. o19.Scale = Vector3.new(0.420000106, 1, 1)
  669. o19.MeshType = Enum.MeshType.Wedge
  670. o20.Parent = o1
  671. o20.Material = Enum.Material.Marble
  672. o20.Position = Vector3.new(0.74000603, 2.78999996, 0.499997079)
  673. o20.Rotation = Vector3.new(-0, 0, -89.9999008)
  674. o20.Anchored = true
  675. o20.Size = Vector3.new(1.82000017, 0.280000061, 0.280000091)
  676. o20.CFrame = CFrame.new(0.74000603, 2.78999996, 0.499997079, 1.77323818e-006, 1.0000025, 0, -1.0000025, 1.77323818e-006, 0, 0, 0, 1)
  677. o20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  678. o20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  679. o20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  680. o20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  681. o20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  682. o20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  683. o20.Position = Vector3.new(0.74000603, 2.78999996, 0.499997079)
  684. o21.Parent = o20
  685. o21.MeshType = Enum.MeshType.Cylinder
  686. o22.Parent = o1
  687. o22.Material = Enum.Material.Marble
  688. o22.BrickColor = BrickColor.new("Institutional white")
  689. o22.Position = Vector3.new(0.6000067, 5.66000032, 0.499997109)
  690. o22.Anchored = true
  691. o22.Size = Vector3.new(0.840000093, 3.64000082, 0.280000091)
  692. o22.CFrame = CFrame.new(0.6000067, 5.66000032, 0.499997109, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  693. o22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  694. o22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  695. o22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  696. o22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  697. o22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  698. o22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  699. o22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  700. o22.Position = Vector3.new(0.6000067, 5.66000032, 0.499997109)
  701. o23.Parent = o22
  702. o23.Scale = Vector3.new(1, 1, 0.300000012)
  703. swordHandle.Name = "Handle"
  704. swordHandle.Parent = o1
  705. swordHandle.Material = Enum.Material.Marble
  706. swordHandle.Position = Vector3.new(0.6000067, 2.78999996, 0.499997109)
  707. swordHandle.Anchored = true
  708. swordHandle.Size = Vector3.new(0.280000031, 1.82000041, 0.280000091)
  709. swordHandle.CFrame = CFrame.new(0.6000067, 2.78999996, 0.499997109, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  710. swordHandle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  711. swordHandle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  712. swordHandle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  713. swordHandle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  714. swordHandle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  715. swordHandle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  716. swordHandle.Position = Vector3.new(0.6000067, 2.78999996, 0.499997109)
  717. o25.Parent = o1
  718. o25.Material = Enum.Material.Marble
  719. o25.Position = Vector3.new(0.460005969, 2.78999996, 0.499997079)
  720. o25.Rotation = Vector3.new(-0, 0, -89.9999008)
  721. o25.Anchored = true
  722. o25.Size = Vector3.new(1.82000017, 0.280000061, 0.280000091)
  723. o25.CFrame = CFrame.new(0.460005969, 2.78999996, 0.499997079, 1.77323818e-006, 1.0000025, 0, -1.0000025, 1.77323818e-006, 0, 0, 0, 1)
  724. o25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  725. o25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  726. o25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  727. o25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  728. o25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  729. o25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  730. o25.Position = Vector3.new(0.460005969, 2.78999996, 0.499997079)
  731. o26.Parent = o25
  732. o26.MeshType = Enum.MeshType.Cylinder
  733. o27.Parent = o1
  734. o27.Material = Enum.Material.Marble
  735. o27.Position = Vector3.new(0.740006506, 1.66999888, 0.499997079)
  736. o27.Rotation = Vector3.new(-0, 0, -89.9999008)
  737. o27.Anchored = true
  738. o27.CanCollide = false
  739. o27.Size = Vector3.new(0.200000003, 0.280000061, 0.280000091)
  740. o27.CFrame = CFrame.new(0.740006506, 1.66999888, 0.499997079, 1.77323818e-006, 1.0000025, 0, -1.0000025, 1.77323818e-006, 0, 0, 0, 1)
  741. o27.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  742. o27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  743. o27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  744. o27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  745. o27.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  746. o27.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  747. o27.Position = Vector3.new(0.740006506, 1.66999888, 0.499997079)
  748. o28.Parent = o27
  749. o28.Scale = Vector3.new(0.700000167, 1, 1)
  750. o28.MeshType = Enum.MeshType.Cylinder
  751. o29.Parent = o1
  752. o29.Material = Enum.Material.Marble
  753. o29.Position = Vector3.new(0.6000067, 1.66999936, 0.499997109)
  754. o29.Anchored = true
  755. o29.CanCollide = false
  756. o29.Size = Vector3.new(0.280000031, 0.200000003, 0.280000091)
  757. o29.CFrame = CFrame.new(0.6000067, 1.66999936, 0.499997109, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  758. o29.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  759. o29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  760. o29.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  761. o29.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  762. o29.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  763. o29.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  764. o29.Position = Vector3.new(0.6000067, 1.66999936, 0.499997109)
  765. o30.Parent = o29
  766. o30.Scale = Vector3.new(1, 0.700000167, 1)
  767. o31.Parent = o1
  768. o31.Material = Enum.Material.Marble
  769. o31.Position = Vector3.new(0.460006475, 1.66999888, 0.499997079)
  770. o31.Rotation = Vector3.new(-0, 0, -89.9999008)
  771. o31.Anchored = true
  772. o31.CanCollide = false
  773. o31.Size = Vector3.new(0.200000003, 0.280000061, 0.280000091)
  774. o31.CFrame = CFrame.new(0.460006475, 1.66999888, 0.499997079, 1.77323818e-006, 1.0000025, 0, -1.0000025, 1.77323818e-006, 0, 0, 0, 1)
  775. o31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  776. o31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  777. o31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  778. o31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  779. o31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  780. o31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  781. o31.Position = Vector3.new(0.460006475, 1.66999888, 0.499997079)
  782. o32.Parent = o31
  783. o32.Scale = Vector3.new(0.700000167, 1, 1)
  784. o32.MeshType = Enum.MeshType.Cylinder
  785. o33.Parent = o1
  786. o33.Material = Enum.Material.Marble
  787. o33.Position = Vector3.new(1.44000769, 3.7699976, 0.499997079)
  788. o33.Rotation = Vector3.new(-0, 0, -89.9999008)
  789. o33.Anchored = true
  790. o33.CanCollide = false
  791. o33.Size = Vector3.new(0.200000003, 0.280000061, 0.280000091)
  792. o33.CFrame = CFrame.new(1.44000769, 3.7699976, 0.499997079, 1.77323818e-006, 1.0000025, 0, -1.0000025, 1.77323818e-006, 0, 0, 0, 1)
  793. o33.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  794. o33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  795. o33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  796. o33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  797. o33.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  798. o33.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  799. o33.Position = Vector3.new(1.44000769, 3.7699976, 0.499997079)
  800. o34.Parent = o33
  801. o34.Scale = Vector3.new(0.700000167, 1, 1)
  802. o34.MeshType = Enum.MeshType.Cylinder
  803. o35.Parent = o1
  804. o35.Material = Enum.Material.Marble
  805. o35.Position = Vector3.new(0.180005163, 3.76999998, 0.499997854)
  806. o35.Rotation = Vector3.new(-180, 0, -180)
  807. o35.Anchored = true
  808. o35.CanCollide = false
  809. o35.Size = Vector3.new(0.840000093, 0.200000003, 0.280000091)
  810. o35.CFrame = CFrame.new(0.180005163, 3.76999998, 0.499997854, -1, 0, 0, 0, 1, 0, 0, 0, -1)
  811. o35.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  812. o35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  813. o35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  814. o35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  815. o35.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  816. o35.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  817. o35.Position = Vector3.new(0.180005163, 3.76999998, 0.499997854)
  818. o36.Parent = o35
  819. o36.Scale = Vector3.new(1, 0.700000167, 1)
  820. o37.Parent = o1
  821. o37.Material = Enum.Material.Marble
  822. o37.Position = Vector3.new(-0.239992082, 3.7699976, 0.499997854)
  823. o37.Rotation = Vector3.new(-180, 0, 90)
  824. o37.Anchored = true
  825. o37.CanCollide = false
  826. o37.Size = Vector3.new(0.200000003, 0.280000061, 0.280000091)
  827. o37.CFrame = CFrame.new(-0.239992082, 3.7699976, 0.499997854, 0, -1, 0, -1, 0, 0, 0, 0, -1)
  828. o37.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  829. o37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  830. o37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  831. o37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  832. o37.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  833. o37.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  834. o37.Position = Vector3.new(-0.239992082, 3.7699976, 0.499997854)
  835. o38.Parent = o37
  836. o38.Scale = Vector3.new(0.700000167, 1, 1)
  837. o38.MeshType = Enum.MeshType.Cylinder
  838. o39.Parent = o1
  839. o39.Material = Enum.Material.Marble
  840. o39.BrickColor = BrickColor.new("Institutional white")
  841. o39.Position = Vector3.new(1.16000271, 6.84999943, 0.499999255)
  842. o39.Rotation = Vector3.new(-180, -90, 0)
  843. o39.Anchored = true
  844. o39.CanCollide = false
  845. o39.Size = Vector3.new(0.200000003, 1.26000023, 0.280000091)
  846. o39.CFrame = CFrame.new(1.16000271, 6.84999943, 0.499999255, 1.89244747e-006, 4.44097623e-012, -1, 1.49011015e-007, -1, -4.16733315e-012, -1, -1.49010972e-007, -1.89244747e-006)
  847. o39.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  848. o39.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  849. o39.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  850. o39.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  851. o39.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  852. o39.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  853. o39.Color = Color3.new(0.972549, 0.972549, 0.972549)
  854. o39.Position = Vector3.new(1.16000271, 6.84999943, 0.499999255)
  855. o40.Parent = o39
  856. o40.Scale = Vector3.new(0.420000106, 1, 1)
  857. o40.MeshType = Enum.MeshType.Wedge
  858.  
  859. local swordWeld=Instance.new("Weld",swordModel)
  860. swordWeld.Part0=tor
  861. swordWeld.Part1=swordHandle
  862. swordWeld.C0=swordWeld.C0*CFrame.Angles(0,0,math.rad(45))
  863. swordWeld.C1=CFrame.new(0,2,-.6)
  864.  
  865. local SWC0
  866. local SWC1
  867.  
  868. SWC0=swordWeld.C0
  869. SWC1=swordWeld.C1
  870.  
  871. for i,v in pairs(swordModel:GetChildren()) do
  872. if v:IsA("BasePart") then
  873. local w=Instance.new("Weld",swordModel)
  874. w.Part0=swordHandle
  875. w.Part1=v
  876. w.C0=swordHandle.CFrame:inverse()
  877. w.C1=v.CFrame:inverse()
  878. v.Anchored=false
  879. v.CanCollide=false
  880. end
  881. end
  882.  
  883. function weldSwordToRa()
  884. swordWeld.Part0=ra
  885. swordWeld.Part1=swordHandle
  886. swordWeld.C0=CFrame.new()
  887. swordWeld.C1=CFrame.new()
  888. swordWeld.C0=swordWeld.C0*CFrame.Angles(math.rad(-90),math.rad(90),0)
  889. swordWeld.C1=CFrame.new(-1,0.25,0)
  890. SWC0=swordWeld.C0
  891. SWC1=swordWeld.C1
  892. end
  893.  
  894. function weldSwordToTorso()
  895. swordWeld.Part0=tor
  896. swordWeld.Part1=swordHandle
  897. swordWeld.C0=CFrame.new()
  898. swordWeld.C1=CFrame.new()
  899. swordWeld.C0=swordWeld.C0*CFrame.Angles(0,0,math.rad(45))
  900. swordWeld.C1=CFrame.new(0,2,-.6)
  901. SWC0=swordWeld.C0
  902. SWC1=swordWeld.C1
  903. end
  904.  
  905. function castSwordFigure(col,dur,mat)
  906. for i,v in pairs(swordModel:GetChildren()) do
  907. if not v:IsA("BasePart") then return end
  908. local p=v:clone()
  909. p.Parent=EP
  910. p.Anchored=true
  911. p.Material=mat
  912. p.BrickColor=col
  913. coroutine.resume(coroutine.create(function()
  914. for i=1,dur do
  915. p.Transparency=i/dur
  916. swait()
  917. end
  918. p:Destroy()
  919. end))
  920. end
  921. end
  922.  
  923. function randomKatanaSound()
  924. local x=math.random(855,1000)
  925. local t=math.random(1,3)
  926. if t==1 then
  927. sound(588693579,1,x/1000,ra)
  928. end
  929. if t==2 then
  930. sound(588693922,1,x/1000,ra)
  931. end
  932. if t==3 then
  933. sound(293847592,1,x/1000,ra)
  934. end
  935. end
  936.  
  937. local swordAttacking=false
  938. local bsAttack=false
  939.  
  940. function animate(x)
  941. local calledAnim=anim[x]
  942. if calledAnim==lastAnim then return end
  943. if calledAnim.priority>=lastPriority and calledAnim~=lastAnim then
  944. lastAnim=calledAnim
  945. lastPriority=lastAnim.priority
  946. if calledAnim==anim.idle then
  947. local thisAnim=calledAnim
  948. speed=0.25
  949.  
  950. for i=0,0.15,0.1*speed do
  951. if lastAnim~=thisAnim then break end
  952.  
  953. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(4)),speed)
  954. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-4)),speed)
  955. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),speed)
  956. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),speed)
  957. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(1),math.rad(0),math.rad(0)),speed)
  958. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),speed)
  959.  
  960. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,0),speed)
  961. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0,0),speed)
  962. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),speed)
  963. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),speed)
  964. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0.1,0),speed)
  965. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  966.  
  967. swait()
  968. end
  969.  
  970. while true do
  971. if lastAnim~=thisAnim then break end
  972. for i=0,0.87,0.1*speed do
  973. if lastAnim~=thisAnim then break end
  974.  
  975. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)),i*speed)
  976. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)),i*speed)
  977. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(5)),i*speed)
  978. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(-5)),i*speed)
  979. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),i*speed)
  980. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),i*speed)
  981.  
  982. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,-0.15,0),i*speed)
  983. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,-0.15,0),i*speed)
  984. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,0,0.1),i*speed)
  985. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,0,0.1),i*speed)
  986. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),i*speed)
  987. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,-0.1,0),i*speed)
  988.  
  989. swait()
  990. end
  991. for i=0,0.87,0.1*speed do
  992. if lastAnim~=thisAnim then break end
  993.  
  994. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(4)),i*speed)
  995. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-4)),i*speed)
  996. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)),i*speed)
  997. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-5)),i*speed)
  998. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(1),math.rad(0),math.rad(0)),i*speed)
  999. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),i*speed)
  1000.  
  1001. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,0),i*speed)
  1002. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0,0),i*speed)
  1003. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),i*speed)
  1004. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),i*speed)
  1005. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0.1,0),i*speed)
  1006. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),i*speed)
  1007.  
  1008. swait()
  1009. end
  1010. end
  1011. end
  1012. if calledAnim==anim.walk then
  1013. local thisAnim=calledAnim
  1014. speed=0.45
  1015. while true do
  1016.  
  1017. if lastAnim~=thisAnim then break end
  1018. for i=0,0.45,0.1*speed do
  1019. if lastAnim~=thisAnim then break end
  1020.  
  1021. if Vector3.new(0,tor.RotVelocity.y,0).magnitude>=2.5 then
  1022. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(0)),0.07)
  1023. end
  1024. if Vector3.new(0,tor.RotVelocity.y,0).magnitude<2.5 then
  1025. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.07)
  1026. end
  1027.  
  1028. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(5)),i*speed)
  1029. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(12),math.rad(0),math.rad(-5)),i*speed)
  1030. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(15),math.rad(tor.RotVelocity.Y),math.rad(0)),i*speed)
  1031. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-15),math.rad(tor.RotVelocity.Y),math.rad(0)),i*speed)
  1032. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),i*speed)
  1033.  
  1034. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,-0.075,0),i*speed)
  1035. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,-0.075,0),i*speed)
  1036. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0.02,-0.35,0.35),i*speed)
  1037. llm.C1=llm.C1:lerp(llmC1*CFrame.new(-0.02,0,0),i*speed)
  1038. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0.1,0),i*speed)
  1039. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),i*speed)
  1040.  
  1041. swait()
  1042. end
  1043. for i=0,0.75,0.1*speed do
  1044. if lastAnim~=thisAnim then break end
  1045.  
  1046. if Vector3.new(0,tor.RotVelocity.y,0).magnitude>=2.5 then
  1047. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(0)),0.07)
  1048. end
  1049. if Vector3.new(0,tor.RotVelocity.y,0).magnitude<2.5 then
  1050. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(5),math.rad(0)),0.07)
  1051. end
  1052.  
  1053. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(5)),i*speed)
  1054. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(45),math.rad(0),math.rad(-5)),i*speed)
  1055. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(45),math.rad(tor.RotVelocity.Y),math.rad(0)),i*speed)
  1056. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-45),math.rad(tor.RotVelocity.Y),math.rad(0)),i*speed)
  1057. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),i*speed)
  1058.  
  1059. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0.16,0),i*speed)
  1060. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0.16,0),i*speed)
  1061. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0.02,0.08,0),i*speed)
  1062. llm.C1=llm.C1:lerp(llmC1*CFrame.new(-0.02,0,0),i*speed)
  1063. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),i*speed)
  1064. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),i*speed)
  1065.  
  1066. swait()
  1067. end
  1068. for i=0,0.45,0.1*speed do
  1069. if lastAnim~=thisAnim then break end
  1070.  
  1071. if Vector3.new(0,tor.RotVelocity.y,0).magnitude>=2.5 then
  1072. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(0)),0.07)
  1073. end
  1074. if Vector3.new(0,tor.RotVelocity.y,0).magnitude<2.5 then
  1075. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.07)
  1076. end
  1077.  
  1078. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(12),math.rad(0),math.rad(5)),i*speed)
  1079. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(-5)),i*speed)
  1080. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-15),math.rad(tor.RotVelocity.Y),math.rad(0)),i*speed)
  1081. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(15),math.rad(tor.RotVelocity.Y),math.rad(0)),i*speed)
  1082. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),i*speed)
  1083.  
  1084. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,-0.075,0),i*speed)
  1085. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,-0.075,0),i*speed)
  1086. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0.02,0,0),i*speed)
  1087. llm.C1=llm.C1:lerp(llmC1*CFrame.new(-0.02,-0.35,0.35),i*speed)
  1088. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0.1,0),i*speed)
  1089. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),i*speed)
  1090.  
  1091. swait()
  1092. end
  1093. for i=0,0.75,0.1*speed do
  1094. if lastAnim~=thisAnim then break end
  1095.  
  1096. if Vector3.new(0,tor.RotVelocity.y,0).magnitude>=2.5 then
  1097. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(0)),0.07)
  1098. end
  1099. if Vector3.new(0,tor.RotVelocity.y,0).magnitude<2.5 then
  1100. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(-5),math.rad(0)),0.07)
  1101. end
  1102.  
  1103. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(45),math.rad(0),math.rad(5)),i*speed)
  1104. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(-5)),i*speed)
  1105. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-45),math.rad(tor.RotVelocity.Y*3.6),math.rad(0)),i*speed)
  1106. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(45),math.rad(tor.RotVelocity.Y*3.6),math.rad(0)),i*speed)
  1107. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),i*speed)
  1108.  
  1109. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0.16,0),i*speed)
  1110. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0.16,0),i*speed)
  1111. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0.02,0,0),i*speed)
  1112. llm.C1=llm.C1:lerp(llmC1*CFrame.new(-0.02,0.08,0),i*speed)
  1113. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),i*speed)
  1114. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),i*speed)
  1115.  
  1116. swait()
  1117. end
  1118. swait()
  1119. end
  1120. end
  1121. if calledAnim==anim.jump then
  1122. local thisAnim=calledAnim
  1123. speed=0.15
  1124. for i=0,0.25,0.1*speed do
  1125. if lastAnim~=thisAnim then break end
  1126.  
  1127. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(45),math.rad(0),math.rad(0)),speed)
  1128. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(45),math.rad(0),math.rad(0)),speed)
  1129. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),speed)
  1130. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(-0)),speed)
  1131. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),speed)
  1132. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(15),math.rad(0),math.rad(0)),speed)
  1133.  
  1134. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,-0.1),speed)
  1135. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0,-0.1),speed)
  1136. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),speed)
  1137. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),speed)
  1138. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0.1,0),speed)
  1139. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1140.  
  1141. swait()
  1142. end
  1143. lastAnim=nil
  1144. lastPriority=0
  1145. end
  1146. if calledAnim==anim.descend then
  1147. local thisAnim=calledAnim
  1148. speed=0.15
  1149. for i=0,0.25,0.1*speed do
  1150. if lastAnim~=thisAnim then break end
  1151.  
  1152. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(12),math.rad(0),math.rad(0)),speed)
  1153. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(12),math.rad(0),math.rad(0)),speed)
  1154. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),speed)
  1155. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(-0)),speed)
  1156. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(15),math.rad(0),math.rad(0)),speed)
  1157. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),speed)
  1158.  
  1159. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,-0.1),speed)
  1160. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0,-0.1),speed)
  1161. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),speed)
  1162. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),speed)
  1163. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0.1,0),speed)
  1164. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1165.  
  1166. swait()
  1167. end
  1168. lastAnim=nil
  1169. lastPriority=0
  1170. end
  1171. if calledAnim==anim.enterflymode then
  1172. local thisAnim=calledAnim
  1173. speed=0.15
  1174. magicBrick(Vector3.new(tor.Position.X,partBelowTorso.Position.Y+partBelowTorso.Size.Y/2,tor.Position.Z),CFrame.new(0,3,0)*CFrame.Angles(0,math.random(),0),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(15,15,15),Vector3.new(-2,-2,-2),5,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0.08,0))
  1175. for i=0,0.25,0.1*speed do
  1176. if lastAnim~=thisAnim then break end
  1177.  
  1178. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-75)),speed)
  1179. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(90),math.rad(0),math.rad(75)),speed)
  1180. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-24),math.rad(0),math.rad(0)),speed)
  1181. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(-0)),speed)
  1182. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),speed)
  1183. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(15),math.rad(0),math.rad(0)),speed)
  1184.  
  1185. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0.2,0),speed)
  1186. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0.2,0),speed)
  1187. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.35,0.35),speed)
  1188. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.35,0.35),speed)
  1189. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1190. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1191.  
  1192. swait()
  1193. end
  1194.  
  1195. sound(588695249,1,1,tor)
  1196. coroutine.resume(coroutine.create(function()
  1197. for i=1,50 do
  1198. magicBrick(Vector3.new(0,0,0),tor.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
  1199. swait()
  1200. end
  1201. end))
  1202.  
  1203. for i=0,0.25,0.1*speed do
  1204. if lastAnim~=thisAnim then break end
  1205.  
  1206. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(90),math.rad(0),math.rad(75)),speed)
  1207. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-75)),speed)
  1208. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-24),math.rad(0),math.rad(0)),speed)
  1209. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(-0)),speed)
  1210. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(25),math.rad(0),math.rad(0)),speed)
  1211. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),speed)
  1212.  
  1213. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,0),speed)
  1214. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0,0),speed)
  1215. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.35,0.35),speed)
  1216. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.35,0.35),speed)
  1217. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1218. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1219.  
  1220. swait()
  1221. end
  1222.  
  1223. lastAnim=nil
  1224. lastPriority=0
  1225. end
  1226. if calledAnim==anim.chestbeam then
  1227. local thisAnim=calledAnim
  1228. speed=0.15
  1229. sound(438666277,2,1.5,tor)
  1230. coroutine.resume(coroutine.create(function()
  1231. for i=1,20 do
  1232. magicBrick(Vector3.new(0,0,0),tor.CFrame*CFrame.Angles(math.random(1,50),math.random(1,50),math.random(1,50)),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(math.random(10,15),math.random(20,30),0.2),Vector3.new(-2,-2,0),16,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0.2,0,0))
  1233. swait(3)
  1234. end
  1235. end))
  1236. for i=0,1,0.1*speed do
  1237. if lastAnim~=thisAnim then break end
  1238.  
  1239. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(115),math.rad(0),math.rad(-45)),speed)
  1240. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(90),math.rad(0),math.rad(45)),speed)
  1241. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-24),math.rad(0),math.rad(5)),speed)
  1242. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(-5)),speed)
  1243. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),speed)
  1244. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),speed)
  1245.  
  1246. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0.2,0),speed)
  1247. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0.2,0),speed)
  1248. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.35,0.35),speed)
  1249. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.35,0.35),speed)
  1250. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1251. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1252.  
  1253. swait()
  1254. end
  1255.  
  1256. doingMove=true
  1257.  
  1258. coroutine.resume(coroutine.create(function()
  1259. for i=1,200 do
  1260. magicBrick(Vector3.new(0,0,0),tor.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-5/2),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
  1261. swait()
  1262. end
  1263. end))
  1264.  
  1265. local beam=Instance.new("Part",ch)
  1266. beam.Anchored=true
  1267. beam.CanCollide=false
  1268. beam.BrickColor=BrickColor.new("Institutional white")
  1269. beam.Material="Neon"
  1270. beam.Transparency=0.5
  1271.  
  1272. sound(415700134,1.75,0.85,tor)
  1273.  
  1274. coroutine.resume(coroutine.create(function()
  1275. while true do
  1276. if not doingMove then break end
  1277. local dis=(tor.Position-mo.Hit.p).magnitude
  1278. beam.Size=Vector3.new(2,2,dis)
  1279. beam.CFrame=CFrame.new(tor.CFrame.p,mo.Hit.p)*CFrame.new(0,0,-dis/2)
  1280. swait()
  1281. end
  1282. end))
  1283.  
  1284. coroutine.resume(coroutine.create(function()
  1285. for i=1,20 do
  1286. if not doingMove then break end
  1287. magicBrick(Vector3.new(0,0,0),mo.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),BrickColor.new("Deep orange"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.new(2,6,2),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
  1288. magicBrick(Vector3.new(0,0,0),mo.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),BrickColor.new("Really red"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.new(3,3,3),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
  1289. coroutine.resume(coroutine.create(function()
  1290. for i=1,7 do
  1291. magicBrick(Vector3.new(0,0,0),mo.Hit*CFrame.new(0,0,0)*CFrame.new(math.random(1,15),math.random(1,15),math.random(1,15))*CFrame.new(-15/2,-15/2,-15/2),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(4,4,4),Vector3.new(1,1,1),12,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
  1292. end
  1293. end))
  1294. for i,v in pairs(workspace:GetChildren()) do
  1295. if v:findFirstChild("Humanoid")~=nil and v~=ch then
  1296. if (v:WaitForChild("Torso").Position-mo.Hit.p).magnitude<=10 then
  1297. v:WaitForChild("Humanoid"):TakeDamage(v:WaitForChild("Humanoid").MaxHealth/20)
  1298. end
  1299. end
  1300. end
  1301. swait(10)
  1302. end
  1303. end))
  1304.  
  1305. for i=0,2,0.1*speed do
  1306. if lastAnim~=thisAnim then break end
  1307.  
  1308. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(90),math.rad(0),math.rad(75)),speed)
  1309. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-75)),speed)
  1310. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-24),math.rad(0),math.rad(5)),speed)
  1311. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(-5)),speed)
  1312. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(0)),speed)
  1313. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),speed)
  1314.  
  1315. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,0),speed)
  1316. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0,0),speed)
  1317. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.35,0.35),speed)
  1318. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.35,0.35),speed)
  1319. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1320. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1321.  
  1322. swait()
  1323. end
  1324.  
  1325. beam:Destroy()
  1326. lastAnim=nil
  1327. lastPriority=0
  1328. doingMove=false
  1329. end
  1330. if calledAnim==anim.sword1 then
  1331. local thisAnim=calledAnim
  1332. speed=0.4
  1333. for i=0,0.11,0.1*speed do
  1334. if lastAnim~=thisAnim then break end
  1335.  
  1336. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(7)),speed)
  1337. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(45),math.rad(0),math.rad(-7)),speed)
  1338. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),speed)
  1339. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(0)),speed)
  1340. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),speed)
  1341. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),speed)
  1342.  
  1343. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,-0.1),speed)
  1344. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0,-0.1),speed)
  1345. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),speed)
  1346. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),speed)
  1347. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1348. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1349.  
  1350. swait()
  1351. end
  1352.  
  1353. weldSwordToRa()
  1354. randomKatanaSound()
  1355.  
  1356. local x=math.random(45,90)
  1357. local x2=math.random(85,110)
  1358. swordAttacking=true
  1359.  
  1360. for i=0,0.2,0.1*speed do
  1361. if lastAnim~=thisAnim then break end
  1362.  
  1363. castSwordFigure(BrickColor.new("Institutional white"),5,"Neon")
  1364.  
  1365. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(x),math.rad(0),math.rad(x2)),speed)
  1366. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(x),math.rad(0),math.rad(x2)),speed)
  1367. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(8)),speed)
  1368. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(-8)),speed)
  1369. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),speed)
  1370. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),speed)
  1371.  
  1372. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,-0.1),speed)
  1373. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,2,-0.1),speed)
  1374. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),speed)
  1375. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),speed)
  1376. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1377. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1378.  
  1379. swordWeld.C0=swordWeld.C0:lerp(SWC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(180)),speed)
  1380.  
  1381. swait()
  1382. end
  1383.  
  1384. swordAttacking=false
  1385.  
  1386. for i=0,0.11,0.1*speed do
  1387. if lastAnim~=thisAnim then break end
  1388.  
  1389. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(7)),speed)
  1390. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(45),math.rad(0),math.rad(-7)),speed)
  1391. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),speed)
  1392. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(0)),speed)
  1393. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),speed)
  1394. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),speed)
  1395.  
  1396. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,-0.1),speed)
  1397. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0,-0.1),speed)
  1398. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),speed)
  1399. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),speed)
  1400. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1401. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1402.  
  1403. swordWeld.C0=swordWeld.C0:lerp(SWC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(45)),speed)
  1404.  
  1405. swait()
  1406. end
  1407.  
  1408. weldSwordToTorso()
  1409. lastAnim=nil
  1410. lastPriority=0
  1411.  
  1412. end
  1413. if calledAnim==anim.sword2 then
  1414. local thisAnim=calledAnim
  1415. speed=0.4
  1416. for i=0,0.11,0.1*speed do
  1417. if lastAnim~=thisAnim then break end
  1418.  
  1419. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(7)),speed)
  1420. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(45),math.rad(0),math.rad(-7)),speed)
  1421. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),speed)
  1422. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(0)),speed)
  1423. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),speed)
  1424. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),speed)
  1425.  
  1426. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,-0.1),speed)
  1427. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0,-0.1),speed)
  1428. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),speed)
  1429. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),speed)
  1430. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1431. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1432.  
  1433. swait()
  1434. end
  1435.  
  1436. weldSwordToRa()
  1437. randomKatanaSound()
  1438.  
  1439. local x=math.random(45,90)
  1440. local x2=math.random(85,110)
  1441. swordAttacking=true
  1442.  
  1443. for i=0,0.2,0.1*speed do
  1444. if lastAnim~=thisAnim then break end
  1445.  
  1446. castSwordFigure(BrickColor.new("Institutional white"),5,"Neon")
  1447.  
  1448. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(x2),math.rad(0),math.rad(x)),speed)
  1449. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(x2),math.rad(0),math.rad(x)),speed)
  1450. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(8)),speed)
  1451. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(-8)),speed)
  1452. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),speed)
  1453. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),speed)
  1454.  
  1455. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,-0.1),speed)
  1456. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,2,-0.1),speed)
  1457. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),speed)
  1458. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),speed)
  1459. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1460. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1461.  
  1462. swordWeld.C0=swordWeld.C0:lerp(SWC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-x2)),speed)
  1463.  
  1464. swait()
  1465. end
  1466.  
  1467. swordAttacking=false
  1468.  
  1469. for i=0,0.11,0.1*speed do
  1470. if lastAnim~=thisAnim then break end
  1471.  
  1472. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(7)),speed)
  1473. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(45),math.rad(0),math.rad(-7)),speed)
  1474. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),speed)
  1475. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(0)),speed)
  1476. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),speed)
  1477. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),speed)
  1478.  
  1479. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,-0.1),speed)
  1480. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0,-0.1),speed)
  1481. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),speed)
  1482. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),speed)
  1483. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1484. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1485.  
  1486. swordWeld.C0=swordWeld.C0:lerp(SWC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-45)),speed)
  1487.  
  1488. swait()
  1489. end
  1490.  
  1491. weldSwordToTorso()
  1492. lastAnim=nil
  1493. lastPriority=0
  1494.  
  1495. end
  1496. if calledAnim==anim.sword3 then
  1497. local thisAnim=calledAnim
  1498. speed=0.4
  1499. for i=0,0.11,0.1*speed do
  1500. if lastAnim~=thisAnim then break end
  1501.  
  1502. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(7)),speed)
  1503. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(45),math.rad(0),math.rad(-7)),speed)
  1504. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),speed)
  1505. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(0)),speed)
  1506. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),speed)
  1507. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),speed)
  1508.  
  1509. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,-0.1),speed)
  1510. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0,-0.1),speed)
  1511. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),speed)
  1512. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),speed)
  1513. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1514. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1515.  
  1516. swait()
  1517. end
  1518.  
  1519. weldSwordToRa()
  1520. randomKatanaSound()
  1521.  
  1522. local x=math.random(45,90)
  1523. local x2=math.random(85,110)
  1524. swordAttacking=true
  1525.  
  1526. for i=0,0.2,0.1*speed do
  1527. if lastAnim~=thisAnim then break end
  1528.  
  1529. castSwordFigure(BrickColor.new("Institutional white"),5,"Neon")
  1530.  
  1531. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(x2),math.rad(0),math.rad(x)),speed)
  1532. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(x2),math.rad(0),math.rad(x)),speed)
  1533. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(8)),speed)
  1534. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(-8)),speed)
  1535. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)),speed)
  1536. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(0),math.rad(-90),math.rad(0)),speed)
  1537.  
  1538. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,-0.1),speed)
  1539. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,2,-0.1),speed)
  1540. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),speed)
  1541. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),speed)
  1542. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1543. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1544.  
  1545. swordWeld.C0=swordWeld.C0:lerp(SWC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(x2)),speed)
  1546.  
  1547. swait()
  1548. end
  1549.  
  1550. swordAttacking=false
  1551.  
  1552. for i=0,0.11,0.1*speed do
  1553. if lastAnim~=thisAnim then break end
  1554.  
  1555. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(7)),speed)
  1556. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(45),math.rad(0),math.rad(-7)),speed)
  1557. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(0)),speed)
  1558. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(0)),speed)
  1559. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),speed)
  1560. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),speed)
  1561.  
  1562. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,-0.1),speed)
  1563. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0,-0.1),speed)
  1564. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),speed)
  1565. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),speed)
  1566. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1567. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1568.  
  1569. swordWeld.C0=swordWeld.C0:lerp(SWC0*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-45)),speed)
  1570.  
  1571. swait()
  1572. end
  1573.  
  1574. weldSwordToTorso()
  1575. lastAnim=nil
  1576. lastPriority=0
  1577.  
  1578. end
  1579. if calledAnim==anim.bladestorm then
  1580. local thisAnim=calledAnim
  1581. speed=0.15
  1582.  
  1583. sound(588698460,1,0.85,ra)
  1584.  
  1585. coroutine.resume(coroutine.create(function()
  1586. for i=1,30 do
  1587. magicBrick(Vector3.new(0,0,0),ra.CFrame*CFrame.new(0,-0.35,0),Vector3.new(1,1,1),BrickColor.new("Really black"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3.new(-0.15,-0.15,-0.15),15,true,1,0,CFrame.new(0,-1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
  1588. swait()
  1589. end
  1590. end))
  1591.  
  1592. for i=0,0.25,0.1*speed do
  1593. if lastAnim~=thisAnim then break end
  1594.  
  1595. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(7)),speed)
  1596. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(45),math.rad(0),math.rad(-7)),speed)
  1597. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(5)),speed)
  1598. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(-5)),speed)
  1599. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)),speed)
  1600. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(0),math.rad(45),math.rad(0)),speed)
  1601.  
  1602. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0.2,-0.1),speed)
  1603. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0,-0.1),speed)
  1604. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),speed)
  1605. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),speed)
  1606. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1607. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1608.  
  1609. swait()
  1610. end
  1611.  
  1612. weldSwordToRa()
  1613.  
  1614. for i=0,0.11,0.1*speed do
  1615. if lastAnim~=thisAnim then break end
  1616.  
  1617. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(35),math.rad(0),math.rad(0)),speed)
  1618. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(-45)),speed)
  1619. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(5)),speed)
  1620. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(-5)),speed)
  1621. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(75),math.rad(0)),speed)
  1622. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(-13),math.rad(-50),math.rad(0)),speed)
  1623.  
  1624. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,-0.1),speed)
  1625. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0,-0.1),speed)
  1626. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),speed)
  1627. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),speed)
  1628. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1629. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1630.  
  1631. swordWeld.C0=swordWeld.C0:lerp(SWC0*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),speed)
  1632. swordWeld.C1=swordWeld.C1:lerp(SWC1*CFrame.Angles(0,0,0),speed)
  1633.  
  1634. swait()
  1635. end
  1636.  
  1637. sound(183763498,1,0.85,ra)
  1638. bsAttack=true
  1639.  
  1640. for i=0,0.3,0.1*speed do
  1641. if lastAnim~=thisAnim then break end
  1642.  
  1643. rm.C0=rm.C0:lerp(rmC0*CFrame.Angles(math.rad(90),math.rad(45),math.rad(110)),speed)
  1644. lm.C0=lm.C0:lerp(lmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(-45)),speed)
  1645. rlm.C0=rlm.C0:lerp(rlmC0*CFrame.Angles(math.rad(-45),math.rad(0),math.rad(5)),speed)
  1646. llm.C0=llm.C0:lerp(llmC0*CFrame.Angles(math.rad(-25),math.rad(0),math.rad(-5)),speed)
  1647. rj.C0=rj.C0:lerp(rjC0*CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)),speed)
  1648. neck.C0=neck.C0:lerp(nC0*CFrame.Angles(math.rad(13),math.rad(75),math.rad(0)),speed)
  1649.  
  1650. rm.C1=rm.C1:lerp(rmC1*CFrame.new(0,0,-0.1),speed)
  1651. lm.C1=lm.C1:lerp(lmC1*CFrame.new(0,0,-0.1),speed)
  1652. rlm.C1=rlm.C1:lerp(rlmC1*CFrame.new(0,-0.1,0.15),speed)
  1653. llm.C1=llm.C1:lerp(llmC1*CFrame.new(0,-0.1,0.15),speed)
  1654. rj.C1=rj.C1:lerp(rjC1*CFrame.new(0,0,0),speed)
  1655. neck.C1=neck.C1:lerp(nC1*CFrame.new(0,0,0),speed)
  1656.  
  1657. swordWeld.C0=swordWeld.C0:lerp(SWC0*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(0)),speed)
  1658. swordWeld.C1=swordWeld.C1:lerp(SWC1*CFrame.Angles(0,0,0),speed)
  1659.  
  1660. swait()
  1661. end
  1662.  
  1663. bsAttack=false
  1664. weldSwordToTorso()
  1665. lastAnim=nil
  1666. lastPriority=0
  1667. end
  1668. end
  1669. end
  1670.  
  1671. local doingMove=false
  1672.  
  1673. displayGroundOptions()
  1674.  
  1675. function toggleFlyMode()
  1676. if not flyMode then
  1677. if doingMove then return end
  1678. flyMode=true
  1679. displayFlyOptions()
  1680. hideGroundOptions()
  1681. animate("enterflymode")
  1682. elseif flyMode then
  1683. hideFlyOptions()
  1684. displayGroundOptions()
  1685. flyMode=false
  1686. end
  1687. end
  1688.  
  1689. function chestBeam()
  1690. if flyMode then
  1691. if doingMove then return end
  1692. doingMove=true
  1693. animate("chestbeam")
  1694. doingMove=false
  1695. end
  1696. end
  1697.  
  1698. function sword1()
  1699. if doingMove then return end
  1700. doingMove=true
  1701. animate("sword1")
  1702. doingMove=false
  1703. end
  1704.  
  1705. function sword2()
  1706. if doingMove then return end
  1707. doingMove=true
  1708. animate("sword2")
  1709. doingMove=false
  1710. end
  1711.  
  1712. function sword3()
  1713. if doingMove then return end
  1714. doingMove=true
  1715. animate("sword3")
  1716. doingMove=false
  1717. end
  1718.  
  1719. function bladestorm()
  1720. if doingMove then return end
  1721. doingMove=true
  1722. animate("bladestorm")
  1723. doingMove=false
  1724. end
  1725.  
  1726. local swordAttack=1
  1727.  
  1728. mo.Button1Down:connect(function()
  1729. if swordAttack==1 then
  1730. sword1()
  1731. swordAttack=2
  1732. elseif swordAttack==2 then
  1733. sword2()
  1734. swordAttack=3
  1735. elseif swordAttack==3 then
  1736. sword3()
  1737. swordAttack=1
  1738. end
  1739. end)
  1740.  
  1741. mo.KeyDown:connect(function(k)
  1742. if k=="f" then
  1743. toggleFlyMode()
  1744. end
  1745. if k=="e" then
  1746. if not flyMode then return end
  1747. chestBeam()
  1748. end
  1749. if k=="r" then
  1750. if flyMode then return end
  1751. bladestorm()
  1752. end
  1753. end)
  1754.  
  1755. local flyPosition=Instance.new("BodyPosition",tor)
  1756. flyPosition.maxForce=Vector3.new(0,0,0)
  1757.  
  1758. coroutine.resume(coroutine.create(function()
  1759. while true do
  1760. if flyMode then
  1761. magicBrick(Vector3.new(0,0,0),tor.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(90),0,0),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"SmoothPlastic",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/asset/?id=3270017",Vector3.new(2,2,0.45),Vector3.new(1,1,0),15,true,1,0,CFrame.new(0,0,0))
  1762. end
  1763. swait(20)
  1764. end
  1765. end))
  1766.  
  1767. local dmgDebounce=false
  1768.  
  1769. coroutine.resume(coroutine.create(function()
  1770. game:GetService("RunService").RenderStepped:connect(function()
  1771. for i,v in pairs(workspace:GetChildren()) do
  1772. if v:findFirstChild("Humanoid")~=nil and v~=ch and swordAttacking then
  1773. if v:findFirstChild("Torso")==nil then return end
  1774. if dmgDebounce then return end
  1775. if (v.Torso.Position-ra.Position).magnitude<=7.5 then
  1776. dmgDebounce=true
  1777. local x=math.random(855,1165)
  1778. sound(444667824,1,x/1000,v.Torso)
  1779. v.Humanoid:TakeDamage(3)
  1780. magicBrick(Vector3.new(0,0,0),v.Torso.CFrame*CFrame.Angles(math.random(),math.random(),math.random()),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(2,2,0.3),Vector3.new(-2/15,5,-0.3/15),5,true,1,0,CFrame.new(0,0,0))
  1781. if v:findFirstChild("DamageStacks")==nil then
  1782. local dmg=Instance.new("NumberValue",v)
  1783. dmg.Name="DamageStacks"
  1784. dmg.Value=1
  1785. makeStackGui(v.Head)
  1786. elseif v:findFirstChild("DamageStacks")~=nil then
  1787. v.DamageStacks.Value=v.DamageStacks.Value+1
  1788. end
  1789. wait(.1)
  1790. dmgDebounce=false
  1791. end
  1792. end
  1793. if v:findFirstChild("Humanoid")~=nil and v~=ch and bsAttack then
  1794. if v:findFirstChild("Torso")==nil then return end
  1795. if dmgDebounce then return end
  1796. if (v.Torso.Position-ra.Position).magnitude<=7.5 then
  1797. dmgDebounce=true
  1798. v.Humanoid:TakeDamage(10+10*v:findFirstChild("DamageStacks").Value/100)
  1799. magicBrick(Vector3.new(0,0,0),v.Torso.CFrame*CFrame.Angles(math.random(),math.random(),math.random()),Vector3.new(1,1,1),BrickColor.new("Institutional white"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(2,2,2),Vector3.new(2.5,2.5,2.5),5,true,1,0,CFrame.new(0,0,0))
  1800. if v:findFirstChild("DamageStacks")==nil then
  1801. local dmg=Instance.new("NumberValue",v)
  1802. dmg.Name="DamageStacks"
  1803. dmg.Value=1
  1804. makeStackGui(v.Head)
  1805. elseif v:findFirstChild("DamageStacks")~=nil then
  1806. v.DamageStacks.Value=v.DamageStacks.Value+1
  1807. end
  1808. wait(.1)
  1809. dmgDebounce=false
  1810. end
  1811. end
  1812. end
  1813. partBelowTorso=workspace:FindPartOnRayWithIgnoreList(Ray.new(tor.Position,tor.Position-Vector3.new(0,10000,0)),ch:GetChildren())
  1814. if flyMode then
  1815. flyPosition.maxForce=Vector3.new(0,math.huge,0)
  1816. flyPosition.Position=Vector3.new(0,(partBelowTorso.Position.Y+partBelowTorso.Size.Y/2)+14.5,0)
  1817. hum.WalkSpeed=16
  1818. hum.JumpPower=0
  1819. end
  1820. if not flyMode then
  1821. flyPosition.maxForce=Vector3.new(0,0,0)
  1822. hum.WalkSpeed=defWS
  1823. hum.JumpPower=defJP
  1824. end
  1825.  
  1826. if hum.Jump and not flyMode then
  1827. animate("jump")
  1828. end
  1829. if Vector3.new(0,tor.Velocity.Y,0).magnitude>=5 and hum:GetState()==Enum.HumanoidStateType.Freefall and not flyMode then
  1830. animate("descend")
  1831. end
  1832. if Vector3.new(tor.Velocity.X,0,tor.Velocity.Z).magnitude>=2.5 then
  1833. animate("walk")
  1834. end
  1835. if Vector3.new(tor.Velocity.X,0,tor.Velocity.Z).magnitude<2.5 then
  1836. animate("idle")
  1837. end
  1838. end)
  1839. end))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement