Advertisement
Oreox

inflix

Apr 12th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 62.43 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. --//Paste script below this line.
  143.  
  144. -----------//INFLUX\\-----------
  145. --[[Movelist
  146. Mouseclick = 3 attacks
  147. Attack 1 = Basic swipe
  148. Attack 2 = Lunge
  149. Attack 3 = Whirlwind
  150. E = Waterball
  151. R = Orbital Cannon(WILL CAUSE LAG AND ANNIHILATES ALMOST EVERYTHING!, DO THIS IN PLACE 2 TO PREVENT BANS!!!)
  152. ---------]]
  153.  
  154. --Whoever thought it was funny to decompile my best work and leak it deserves to get shot in his leg.--
  155. --I've seen alot of scripters quit lately, i won't be one of them though, i still find enjoyment out of scripting.--
  156. --Influx! Yes the brother of Reflux! Even though it's alot smaller than Reflux... Stupid FE!--
  157.  
  158. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  159. do
  160. script.Parent = owner.Character
  161. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  162. local function NewFakeEvent()
  163. local Bind = Instance.new("BindableEvent")
  164. local Fake;Fake = {Connections = {},
  165. fakeEvent=true;
  166. Connect=function(self,Func)
  167. Bind.Event:connect(Func)
  168. self.Connections[Bind] = true
  169. return setmetatable({Connected = true},{
  170. __index = function (self,Index)
  171. if Index:lower() == "disconnect" then
  172. return function() Fake.Connections[Bind] = false;self.Connected = false end
  173. end
  174. return Fake[Index]
  175. end;
  176. __tostring = function() return "Connection" end;
  177. })
  178. end}
  179. Fake.connect = Fake.Connect;return Fake;
  180. end
  181. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  182. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  183. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  184. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  185. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  186. local function TriggerEvent(self,Event,...)
  187. local Trigger = Mouse[Event]
  188. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  189. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  190. end
  191. end
  192. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  193. Event.OnServerEvent:Connect(function(FiredBy,Input)
  194. if FiredBy.Name ~= owner.Name then return end
  195. if Input.MouseEvent then
  196. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  197. else
  198. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  199. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  200. for _,Action in pairs(ContextActionService.Actions) do
  201. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  202. end
  203. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  204. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  205. end
  206. end)
  207. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  208. Event.Parent = NLS([[
  209. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  210. local Input = function(Input,gameProcessedEvent)
  211. if gameProcessedEvent then return end
  212. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  213. end
  214. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  215. local Hit,Target
  216. while wait(1/30) do
  217. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  218. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  219. end
  220. end
  221. ]],owner.Character)
  222. end
  223. RealGame = game;game = setmetatable({},{
  224. __index = function (self,Index)
  225. local Sandbox = function (Thing)
  226. if Thing:IsA("Player") then
  227. local RealPlayer = Thing
  228. return setmetatable({},{
  229. __index = function (self,Index)
  230. local Type = type(RealPlayer[Index])
  231. if Type == "function" then
  232. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  233. return function (self)return InternalData["Mouse"] end
  234. end
  235. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  236. end
  237. return RealPlayer[Index]
  238. end;
  239. __tostring = function(self) return RealPlayer.Name end
  240. })
  241. end
  242. end
  243. if RealGame[Index] then
  244. local Type = type(RealGame[Index])
  245. if Type == "function" then
  246. if Index:lower() == "getservice" or Index:lower() == "service" then
  247. return function (self,Service)
  248. local FakeServices = {
  249. ["players"] = function()
  250. return setmetatable({},{
  251. __index = function (self2,Index2)
  252. local RealService = RealGame:GetService(Service)
  253. local Type2 = type(Index2)
  254. if Type2 == "function" then
  255. return function (self,...) return RealService[Index2](RealService,...)end
  256. else
  257. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  258. return RealService[Index2]
  259. end
  260. end;
  261. __tostring = function(self) return RealGame:GetService(Service).Name end
  262. })
  263. end;
  264. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  265. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  266. ["runservice"] = function()
  267. return setmetatable({},{
  268. __index = function(self2,Index2)
  269. local RealService = RealGame:GetService(Service)
  270. local Type2 = type(Index2)
  271. if Type2 == "function" then
  272. return function (self,...) return RealService[Index2](RealService,...) end
  273. else
  274. local RunServices = {
  275. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  276. ["renderstepped"] = function() return RealService["Stepped"] end
  277. }
  278. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  279. return RealService[Index2]
  280. end
  281. end
  282. })
  283. end
  284. }
  285. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  286. return RealGame:GetService(Service)
  287. end
  288. end
  289. return function (self,...) return RealGame[Index](RealGame,...) end
  290. else
  291. if game:GetService(Index) then return game:GetService(Index) end
  292. return RealGame[Index]
  293. end
  294. end
  295. return nil
  296. end
  297. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  298.  
  299. Player=game.Players.LocalPlayer
  300. Character=Player.Character
  301. Character.Humanoid.Name = "noneofurbusiness"
  302. hum = Character.noneofurbusiness
  303. LeftArm=Character["Left Arm"]
  304. LeftLeg=Character["Left Leg"]
  305. RightArm=Character["Right Arm"]
  306. RightLeg=Character["Right Leg"]
  307. Root=Character["HumanoidRootPart"]
  308. Head=Character["Head"]
  309. Torso=Character["Torso"]
  310. Neck=Torso["Neck"]
  311. mouse = Player:GetMouse()
  312. walking = false
  313. hitdebounce = false
  314. debounce = false
  315. jumping = false
  316. attacking = false
  317. firsttime = false
  318. tauntdebounce = false
  319. position = nil
  320. MseGuide = true
  321. running = false
  322. settime = 0
  323. sine = 0
  324. t = 0
  325. throwballv = false
  326. ws = 18
  327. change = 1
  328. wtr1 = false
  329. combo1 = true
  330. equip = false
  331. dgs = 75
  332. combo2 = false
  333. switch1 = true
  334. switch2 = false
  335. firsttime2 = false
  336. combo3 = false
  337. gunallowance = false
  338. orbitalcannon = false
  339. shooting = false
  340. RunSrv = game:GetService("RunService")
  341. RenderStepped = game:GetService("RunService").RenderStepped
  342. removeuseless = game:GetService("Debris")
  343.  
  344. screenGui = Instance.new("ScreenGui")
  345. screenGui.Parent = script.Parent
  346.  
  347. local HEADLERP = Instance.new("ManualWeld")
  348. HEADLERP.Parent = Head
  349. HEADLERP.Part0 = Head
  350. HEADLERP.Part1 = Head
  351. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  352.  
  353. local TORSOLERP = Instance.new("ManualWeld")
  354. TORSOLERP.Parent = Root
  355. TORSOLERP.Part0 = Torso
  356. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  357.  
  358. local ROOTLERP = Instance.new("ManualWeld")
  359. ROOTLERP.Parent = Root
  360. ROOTLERP.Part0 = Root
  361. ROOTLERP.Part1 = Torso
  362. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  363.  
  364. local RIGHTARMLERP = Instance.new("ManualWeld")
  365. RIGHTARMLERP.Parent = RightArm
  366. RIGHTARMLERP.Part0 = RightArm
  367. RIGHTARMLERP.Part1 = Torso
  368. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  369.  
  370. local LEFTARMLERP = Instance.new("ManualWeld")
  371. LEFTARMLERP.Parent = LeftArm
  372. LEFTARMLERP.Part0 = LeftArm
  373. LEFTARMLERP.Part1 = Torso
  374. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  375.  
  376. local RIGHTLEGLERP = Instance.new("ManualWeld")
  377. RIGHTLEGLERP.Parent = RightLeg
  378. RIGHTLEGLERP.Part0 = RightLeg
  379. RIGHTLEGLERP.Part1 = Torso
  380. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  381.  
  382. local LEFTLEGLERP = Instance.new("ManualWeld")
  383. LEFTLEGLERP.Parent = LeftLeg
  384. LEFTLEGLERP.Part0 = LeftLeg
  385. LEFTLEGLERP.Part1 = Torso
  386. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  387.  
  388. local function weldBetween(a, b)
  389. local weld = Instance.new("ManualWeld", a)
  390. weld.Part0 = a
  391. weld.Part1 = b
  392. weld.C0 = a.CFrame:inverse() * b.CFrame
  393. return weld
  394. end
  395.  
  396. leftlocation = Instance.new("Part",LeftArm)
  397. leftlocation.Size = Vector3.new(1,1,1)
  398. leftlocation.Transparency = 1
  399. leftlocationweld = weldBetween(leftlocation,LeftArm)
  400. leftlocation.Name = "leftloc"
  401. leftlocationweld.C0 = CFrame.new(0,1.2,0)
  402.  
  403. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  404. A = Instance.new("Attachment", PARENT)
  405. A.Position = POSITION1
  406. A.Name = "A"
  407. B = Instance.new("Attachment", PARENT)
  408. B.Position = POSITION2
  409. B.Name = "B"
  410. tr1 = Instance.new("Trail", PARENT)
  411. tr1.Attachment0 = A
  412. tr1.Attachment1 = B
  413. tr1.Enabled = true
  414. tr1.Lifetime = LIFETIME
  415. tr1.TextureMode = "Static"
  416. tr1.LightInfluence = 0
  417. tr1.Color = COLOR
  418. tr1.Transparency = NumberSequence.new(0, 1)
  419. end
  420.  
  421. shirt = Instance.new("Shirt", Character)
  422. shirt.Name = "Shirt"
  423. pants = Instance.new("Pants", Character)
  424. pants.Name = "Pants"
  425. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=1591925990"
  426. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=1819336634"
  427.  
  428. skull = Instance.new("Part",Character)
  429. skull.Size = Vector3.new(2,2,2)
  430. skull.CFrame = Head.CFrame
  431. skull.CanCollide = false
  432. skullweld = Instance.new("Weld",skull)
  433. skullweld.Part0 = skull
  434. skullweld.Part1 = Head
  435. skullweld.C0 = skull.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.39,0)
  436. mskull = Instance.new("SpecialMesh", skull)
  437. mskull.MeshType = "FileMesh"
  438. mskull.Scale = Vector3.new(1.25, 1.25, 1.25)
  439. mskull.VertexColor = Vector3.new(0,0,25)
  440. mskull.MeshId,mskull.TextureId = 'http://www.roblox.com/asset/?id=116524125','http://www.roblox.com/asset/?id=116524213'
  441.  
  442. johndoe = Instance.new("Part",Head)
  443. johndoe.Shape = "Ball"
  444. johndoe.Material = "Neon"
  445. johndoe.BrickColor = BrickColor.new("Cyan")
  446. johndoe.Size = Vector3.new(1.68,1.68,1.68)
  447. johndoeweld = weldBetween(johndoe,Head)
  448. johndoeweld.C0 = CFrame.new(0,-.15,.1)
  449.  
  450. seacutlass = Instance.new("Part",Character)
  451. seacutlass.Size = Vector3.new(2,2,2)
  452. seacutlass.CFrame = RightArm.CFrame
  453. seacutlass.CanCollide = false
  454. seacutlassweld = Instance.new("Weld",seacutlass)
  455. seacutlassweld.Part0 = seacutlass
  456. seacutlassweld.Part1 = RightArm
  457. seacutlassweld.C0 = seacutlass.CFrame:inverse() * RightArm.CFrame * CFrame.new(-.7,-2.1,0) * CFrame.Angles(math.rad(230),math.rad(0),math.rad(45))
  458. mseacutlass = Instance.new("SpecialMesh", seacutlass)
  459. mseacutlass.MeshType = "FileMesh"
  460. mseacutlass.Scale = Vector3.new(1, 1, 1)
  461. mseacutlass.MeshId,mseacutlass.TextureId = 'http://www.roblox.com/asset/?id=155403991','http://www.roblox.com/asset/?id=155403949'
  462.  
  463. hitbox = Instance.new("Part",seacutlass)
  464. hitbox.Size = Vector3.new(1,4,1)
  465. hitbox.CanCollide = false
  466. hitbox.Transparency = 1
  467. hitboxweld = weldBetween(hitbox,seacutlass)
  468. hitboxweld.C0 = CFrame.new(0,-1,.25) * CFrame.Angles(math.rad(40),0,0)
  469.  
  470. swordslash1 = Instance.new("Sound",seacutlass)
  471. swordslash1.SoundId = "rbxassetid://553461718"
  472. swordslash1.Volume = 4
  473. swordslash1.Name = "swordslash1"
  474. swordslash1.Pitch = 1
  475.  
  476. swordslash2 = Instance.new("Sound",seacutlass)
  477. swordslash2.SoundId = "rbxassetid://553461718"
  478. swordslash2.Volume = 4
  479. swordslash2.Name = "swordslash2"
  480. swordslash2.Pitch = .85
  481.  
  482. swordslash3 = Instance.new("Sound",seacutlass)
  483. swordslash3.SoundId = "rbxassetid://553461718"
  484. swordslash3.Volume = 4
  485. swordslash3.Name = "swordslash3"
  486. swordslash3.Pitch = 1.15
  487.  
  488. seacutlass.ChildRemoved:connect(function(removed)
  489. if removed.Name == "swordslash1" then
  490. swordslash1 = Instance.new("Sound",seacutlass)
  491. swordslash1.SoundId = "rbxassetid://553461718"
  492. swordslash1.Name = "swordslash1"
  493. swordslash1.Volume = 4
  494. swordslash1.Pitch = 1
  495. elseif removed.Name == "swordslash2" then
  496. swordslash2 = Instance.new("Sound",seacutlass)
  497. swordslash2.SoundId = "rbxassetid://553461718"
  498. swordslash2.Volume = 4
  499. swordslash2.Name = "swordslash2"
  500. swordslash2.Pitch = .85
  501. elseif removed.Name == "swordslash3" then
  502. swordslash3 = Instance.new("Sound",seacutlass)
  503. swordslash3.SoundId = "rbxassetid://553461718"
  504. swordslash3.Volume = 4
  505. swordslash3.Name = "swordslash3"
  506. swordslash3.Pitch = 1.15
  507. end
  508. end)
  509.  
  510. A = Instance.new("Attachment", seacutlass)
  511. A.Position = Vector3.new(0,2.25,0)
  512. A.Name = "A"
  513. B = Instance.new("Attachment", seacutlass)
  514. B.Position = Vector3.new(0,-.50,0)
  515. B.Name = "B"
  516. tr1 = Instance.new("Trail", seacutlass)
  517. tr1.Attachment0 = A
  518. tr1.Attachment1 = B
  519. tr1.Enabled = false
  520. tr1.Lifetime = 1
  521. tr1.TextureMode = "Static"
  522. tr1.LightInfluence = 0
  523. tr1.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
  524. tr1.Transparency = NumberSequence.new(0, 1)
  525.  
  526. coroutine.wrap(function()
  527. while wait() do
  528. hum.WalkSpeed = ws
  529. LeftArm.BrickColor = BrickColor.new("Really black")
  530. RightArm.BrickColor = BrickColor.new("Really black")
  531. Head.BrickColor = BrickColor.new("Really black")
  532. end
  533. end)()
  534. godmode = coroutine.wrap(function()
  535. for i,v in pairs(Character:GetChildren()) do
  536. if v:IsA("BasePart") and v ~= Root then
  537. v.Anchored = false
  538. end
  539. end
  540. while true do
  541. hum.MaxHealth = math.huge
  542. wait(0.0000001)
  543. hum.Health = math.huge
  544. wait()
  545. end
  546. end)
  547. godmode()
  548. ff = Instance.new("ForceField", Character)
  549. ff.Visible = false
  550.  
  551. coroutine.wrap(function()
  552. for i,v in pairs(Character:GetChildren()) do
  553. if v.Name == "Animate" then v:Remove()
  554. end
  555. end
  556. end)()
  557.  
  558. function damagealll(Radius,Position)
  559. local Returning = {}
  560. for _,v in pairs(workspace:GetChildren()) do
  561. if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  562. if v:FindFirstChild("Torso") then
  563. local Mag = (v.Torso.Position - Position).magnitude
  564. if Mag < Radius then
  565. table.insert(Returning,v)
  566. end
  567. elseif v:FindFirstChild("UpperTorso") then
  568. local Mag = (v.UpperTorso.Position - Position).magnitude
  569. if Mag < Radius then
  570. table.insert(Returning,v)
  571. end
  572. end
  573. end
  574. end
  575. return Returning
  576. end
  577.  
  578. ArtificialHB = Instance.new("BindableEvent", script)
  579. ArtificialHB.Name = "Heartbeat"
  580. script:WaitForChild("Heartbeat")
  581.  
  582. frame = 1 / 60
  583. tf = 0
  584. allowframeloss = false
  585. tossremainder = false
  586.  
  587.  
  588. lastframe = tick()
  589. script.Heartbeat:Fire()
  590.  
  591.  
  592. game:GetService("RunService").Heartbeat:connect(function(s, p)
  593. tf = tf + s
  594. if tf >= frame then
  595. if allowframeloss then
  596. script.Heartbeat:Fire()
  597. lastframe = tick()
  598. else
  599. for i = 1, math.floor(tf / frame) do
  600. script.Heartbeat:Fire()
  601. end
  602. lastframe = tick()
  603. end
  604. if tossremainder then
  605. tf = 0
  606. else
  607. tf = tf - frame * math.floor(tf / frame)
  608. end
  609. end
  610. end)
  611.  
  612. function swait(num)
  613. if num == 0 or num == nil then
  614. game:service("RunService").Stepped:wait(0)
  615. else
  616. for i = 0, num do
  617. game:service("RunService").Stepped:wait(0)
  618. end
  619. end
  620. end
  621.  
  622. doomtheme = Instance.new("Sound", Torso)
  623. doomtheme.Volume = 3
  624. doomtheme.Name = "doomtheme"
  625. doomtheme.Looped = true
  626. doomtheme.SoundId = "rbxassetid://2136330117"
  627. doomtheme:Play()
  628.  
  629. Torso.ChildRemoved:connect(function(removed)
  630. if removed.Name == "doomtheme" then
  631. doomtheme = Instance.new("Sound", Torso)
  632. doomtheme.Volume = 1
  633. doomtheme.Name = "doomtheme"
  634. doomtheme.Looped = true
  635. doomtheme.SoundId = "rbxassetid://2136330117"
  636. doomtheme:Play()
  637. end
  638. end)
  639.  
  640. for _,n in pairs(Character:GetChildren()) do
  641. if n:IsA("Accessory") then n:Remove() end
  642. end
  643. for _,x in pairs(Character:GetChildren()) do
  644. if x:IsA("Decal") then x:Remove() end
  645. end
  646.  
  647. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  648. so = Instance.new("Sound")
  649. so.Parent = PARENT
  650. so.SoundId = "rbxassetid://"..ID
  651. so.Volume = VOL
  652. so.Looped = LOOP
  653. so:Play()
  654. removeuseless:AddItem(so,REMOVE)
  655. end
  656.  
  657. locpart = Instance.new("Part",Torso)
  658. locpart.Size = Vector3.new(1.1,1.1,1.1)
  659. locpart.Transparency = 1
  660. locpart.CanCollide = false
  661. locweld = weldBetween(locpart,Torso)
  662.  
  663. circlepart = Instance.new("Part",Torso)
  664. circlepart.Size = Vector3.new(1,1,1)
  665. circlepart.Transparency = 1
  666. circlepart.CanCollide = false
  667. circlepart.Anchored = false
  668. circlepart.Name = "c1"
  669. circlepartweld = weldBetween(circlepart,locpart)
  670.  
  671. circlepart2 = Instance.new("Part",Torso)
  672. circlepart2.Size = Vector3.new(1,1,1)
  673. circlepart2.Transparency = 1
  674. circlepart2.CanCollide = false
  675. circlepart2.Anchored = false
  676. circlepart2.Name = "c2"
  677. circlepart2weld = weldBetween(circlepart2,locpart)
  678.  
  679. circlepart3 = Instance.new("Part",Torso)
  680. circlepart3.Size = Vector3.new(1,1,1)
  681. circlepart3.Transparency = 1
  682. circlepart3.CanCollide = false
  683. circlepart3.Anchored = false
  684. circlepart3.Name = "c3"
  685. circlepart3weld = weldBetween(circlepart3,locpart)
  686.  
  687. circlepart4 = Instance.new("Part",Torso)
  688. circlepart4.Size = Vector3.new(1,1,1)
  689. circlepart4.Transparency = 1
  690. circlepart4.CanCollide = false
  691. circlepart4.Anchored = false
  692. circlepart4.Name = "c4"
  693. circlepart4weld = weldBetween(circlepart4,locpart)
  694.  
  695. A = Instance.new("Attachment", circlepart3)
  696. A.Position = Vector3.new(0,.05,0)
  697. A.Name = "A"
  698. B = Instance.new("Attachment", circlepart3)
  699. B.Position = Vector3.new(0,-.05,0)
  700. B.Name = "B"
  701. trail = Instance.new("Trail", circlepart3)
  702. trail.Attachment0 = A
  703. trail.Attachment1 = B
  704. trail.Enabled = true
  705. trail.Lifetime = 2.5
  706. trail.TextureMode = "Static"
  707. trail.LightInfluence = 0
  708. trail.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
  709. trail.Transparency = NumberSequence.new(0, 1)
  710.  
  711. A2 = Instance.new("Attachment", circlepart4)
  712. A2.Position = Vector3.new(0,.05,0)
  713. A.Name = "A"
  714. B2 = Instance.new("Attachment", circlepart4)
  715. B2.Position = Vector3.new(0,-.05,0)
  716. B.Name = "B"
  717. trail2 = Instance.new("Trail", circlepart4)
  718. trail2.Attachment0 = A2
  719. trail2.Attachment1 = B2
  720. trail2.Enabled = true
  721. trail2.Lifetime = 2.5
  722. trail2.TextureMode = "Static"
  723. trail2.LightInfluence = 0
  724. trail2.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
  725. trail2.Transparency = NumberSequence.new(0, 1)
  726.  
  727.  
  728. A = Instance.new("Attachment", circlepart)
  729. A.Position = Vector3.new(0,.05,0)
  730. A.Name = "A"
  731. B = Instance.new("Attachment", circlepart)
  732. B.Position = Vector3.new(0,-.05,0)
  733. B.Name = "B"
  734. trail3 = Instance.new("Trail", circlepart)
  735. trail3.Attachment0 = A
  736. trail3.Attachment1 = B
  737. trail3.Enabled = true
  738. trail3.Lifetime = 1
  739. trail3.TextureMode = "Static"
  740. trail3.LightInfluence = 0
  741. trail3.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
  742. trail3.Transparency = NumberSequence.new(0, 1)
  743.  
  744. A2 = Instance.new("Attachment", circlepart2)
  745. A2.Position = Vector3.new(0,.05,0)
  746. A.Name = "A"
  747. B2 = Instance.new("Attachment", circlepart2)
  748. B2.Position = Vector3.new(0,-.05,0)
  749. B.Name = "B"
  750. trail4 = Instance.new("Trail", circlepart2)
  751. trail4.Attachment0 = A2
  752. trail4.Attachment1 = B2
  753. trail4.Enabled = true
  754. trail4.Lifetime = 1
  755. trail4.TextureMode = "Static"
  756. trail4.LightInfluence = 0
  757. trail4.Color = ColorSequence.new(BrickColor.new("Cyan").Color,BrickColor.new("White"))
  758. trail4.Transparency = NumberSequence.new(0, 1)
  759.  
  760. x = 0
  761. g = 0
  762. range = 2.5
  763. range2 = 5
  764.  
  765. coroutine.wrap(function()
  766. while true do
  767. x = x + 2
  768. g = g + 1
  769. swait()
  770. circlepartweld.C0 = CFrame.new(range,0,0) * CFrame.Angles(math.rad(0),math.rad(x),math.rad(0))
  771. circlepart2weld.C0 = CFrame.new(-range,0,0) * CFrame.Angles(math.rad(0),math.rad(x),math.rad(0))
  772. circlepart3weld.C0 = CFrame.new(-range2,0,0) * CFrame.Angles(math.rad(0),math.rad(g),math.rad(0))
  773. circlepart4weld.C0 = CFrame.new(range2,0,0) * CFrame.Angles(math.rad(0),math.rad(g),math.rad(0))
  774. end
  775. end)()
  776.  
  777. wind = Instance.new("Part", Torso)
  778. wind.BrickColor = BrickColor.new("Cyan")
  779. wind.Size = Vector3.new(5,5,5)
  780. wind.CanCollide = false
  781. wind.Anchored = true
  782. wind.Name = "wind"
  783. wind.Transparency = .75
  784. wind.Material = "Neon"
  785. windmesh = Instance.new("SpecialMesh", wind)
  786. windmesh.Scale = Vector3.new(.5,.8,.5)
  787. windmesh.MeshId = "rbxassetid://168892432"
  788. n = 0
  789.  
  790.  
  791. coroutine.wrap(function()
  792. while true do
  793. swait()
  794. n = n + 3
  795. wind.CFrame = Root.CFrame * CFrame.new(0,-1,-1.5) * CFrame.Angles(math.rad(0),math.rad(n),0)
  796. end
  797. end)()
  798. coroutine.wrap(function()
  799. while true do
  800. swait()
  801. if spin then
  802. trail.Enabled = true
  803. trail2.Enabled = true
  804. trail3.Enabled = true
  805. trail4.Enabled = true
  806. while wind.Transparency > .75 do
  807. if not spin then break end
  808. swait()
  809. wind.Transparency = wind.Transparency - .025
  810. end
  811. elseif not spin then
  812. trail.Enabled = false
  813. trail2.Enabled = false
  814. trail3.Enabled = false
  815. trail4.Enabled = false
  816. while wind.Transparency < 1 do
  817. if spin then break end
  818. swait()
  819. wind.Transparency = wind.Transparency + .025
  820. end
  821. end
  822. end
  823. end)()
  824.  
  825. checks1 = coroutine.wrap(function() -------Checks
  826. while true do
  827. if Root.Velocity.y > 1 then
  828. position = "Jump"
  829. elseif Root.Velocity.y < -1 then
  830. position = "Falling"
  831. elseif Root.Velocity.Magnitude < 2 then
  832. position = "Idle"
  833. elseif Root.Velocity.Magnitude < 20 then
  834. position = "Walking"
  835. elseif Root.Velocity.Magnitude > 20 then
  836. position = "Running"
  837. else
  838. end
  839. wait()
  840. end
  841. end)
  842. checks1()
  843.  
  844. mouse.Button1Down:connect(function()
  845. if debounce then return end
  846. debounce = true
  847. attacking = true
  848. spin = false
  849. if combo1 then
  850. combo1 = false
  851. combo3 = false
  852. combo2 = true
  853. ws = 12
  854. g1 = Instance.new("BodyGyro", Root)
  855. g1.D = 175
  856. g1.P = 20000
  857. g1.MaxTorque = Vector3.new(0,9000,0)
  858. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  859. for i = 1, 12 do
  860. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
  861. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3)
  862. seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1.5,1.5) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(240)),.3)
  863. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.3)
  864. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.55,0) * CFrame.Angles(math.rad(20),math.rad(5),math.rad(20)),.3)
  865. swait()
  866. end
  867. hitdebounce = false
  868. swordslash1:Play()
  869. tr1.Enabled = true
  870. hitbox.Touched:connect(function(hit)
  871. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  872. slachtoffer = hit.Parent:FindFirstChildOfClass("Humanoid")
  873. if slachtoffer.Parent.Name ~= Player.Name then
  874. if hitdebounce then return end
  875. hitdebounce = true
  876. slachtoffer:TakeDamage(math.random(17,26))
  877. end
  878. end
  879. end)
  880. for i = 1, 12 do
  881. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3)
  882. seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-2.2,1.4) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(200)),.15)
  883. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,1.35,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.3)
  884. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.55,0) * CFrame.Angles(math.rad(-20),math.rad(5),math.rad(20)),.3)
  885. swait()
  886. end
  887. removeuseless:AddItem(g1,.01)
  888. tr1.Enabled = false
  889. attacking = false
  890. hitdebounce = true
  891. debounce = false
  892. spin = true
  893. ws = 18
  894. elseif combo2 then
  895. combo3 = true
  896. combo2 = false
  897. combo1 = false
  898. ws = 12
  899. g1 = Instance.new("BodyGyro", Root)
  900. g1.D = 175
  901. g1.P = 20000
  902. g1.MaxTorque = Vector3.new(0,9000,0)
  903. g1.CFrame = CFrame.new(Root.Position,mouse.Hit.p)
  904. for i = 1, 12 do
  905. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.1)
  906. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(-70), math.rad(0)), 0.3)
  907. seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1.8,2) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(-130)),.3)
  908. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.3)
  909. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.55,0) * CFrame.Angles(math.rad(20),math.rad(5),math.rad(20)),.3)
  910. swait()
  911. end
  912. hitdebounce = false
  913. tr1.Enabled = true
  914. swordslash2:Play()
  915. hitbox.Touched:connect(function(hit)
  916. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  917. slachtoffer = hit.Parent:FindFirstChildOfClass("Humanoid")
  918. if slachtoffer.Parent.Name ~= Player.Name then
  919. if hitdebounce then return end
  920. hitdebounce = true
  921. slachtoffer:TakeDamage(math.random(31,42))
  922. end
  923. end
  924. end)
  925. ws = 7
  926. for i = 1, 12 do
  927. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
  928. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  929. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3)
  930. seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1.8,2) * CFrame.Angles(math.rad(0),math.rad(-90),math.rad(-130)),.3)
  931. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.25,1.75,.5) * CFrame.Angles(math.rad(-90),math.rad(70),math.rad(0)), 0.3)
  932. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.4,-.2) * CFrame.Angles(math.rad(20),math.rad(7),math.rad(12)),.3)
  933. swait()
  934. end
  935. removeuseless:AddItem(g1,.01)
  936. ws = 18
  937. tr1.Enabled = false
  938. attacking = false
  939. hitdebounce = true
  940. debounce = false
  941. spin = true
  942. elseif combo3 then
  943. combo1 = true
  944. combo2 = false
  945. combo3 = false
  946. z = 0
  947. ws = 4
  948. tr1.Enabled = true
  949. for i = 1, 10 do
  950. swait()
  951. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.45, 1.55, .15) * CFrame.Angles(math.rad(0), math.rad(2), math.rad(-2)), .3)
  952. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.45, 1.8, .2) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(2)), .3)
  953. seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1,1.5) * CFrame.Angles(math.rad(-310),math.rad(0),math.rad(0)),.8)
  954. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.25,1.75,.5) * CFrame.Angles(math.rad(-90),math.rad(70),math.rad(0)), 0.3)
  955. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.4,-.2) * CFrame.Angles(math.rad(20),math.rad(7),math.rad(12)),.3)
  956. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3)
  957. end
  958. hitdebounce = false
  959. hitbox.Touched:connect(function(hit2)
  960. if hit2.Parent:FindFirstChildOfClass("Humanoid") then
  961. slachtoffer = hit2.Parent:FindFirstChildOfClass("Humanoid")
  962. if slachtoffer.Parent.Name ~= Player.Name then
  963. if hitdebounce then return end
  964. slachtoffer:TakeDamage(math.random(1,5))
  965. end
  966. end
  967. end)
  968. coroutine.wrap(function()
  969. for i = 1, 9 do
  970. swordslash3:Play()
  971. swait(5)
  972. end
  973. end)()
  974. for i = 1, 50 do
  975. z = z + 50
  976. swait()
  977. seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-0,1) * CFrame.Angles(math.rad(z),math.rad(0),math.rad(0)),.8)
  978. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.25,1.75,.5) * CFrame.Angles(math.rad(-90),math.rad(70),math.rad(0)), 0.3)
  979. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.4,-.2) * CFrame.Angles(math.rad(20),math.rad(7),math.rad(12)),.3)
  980. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(0), math.rad(70), math.rad(0)), 0.3)
  981. end
  982. hitdebounce = true
  983. ws = 18
  984. attacking = false
  985. debounce = false
  986. tr1.Enabled = false
  987. spin = true
  988. end
  989. end)
  990.  
  991. mouse.KeyDown:connect(function(Press)
  992. Press=Press:lower()
  993. if Press=='r' then
  994. if orbitalcannon then return end
  995. if debounce then return end
  996. orbitalcannon = true
  997. debounce = true
  998. uhoh = true
  999. attacking = true
  1000. ws = 0
  1001. coroutine.wrap(function()
  1002. for i = 1, 15 do
  1003. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(-.5,2,0) * CFrame.Angles(math.rad(0),math.rad(-20),math.rad(140)),.3)
  1004. swait()
  1005. end
  1006. end)()
  1007. powerball = Instance.new("Part",Torso)
  1008. powerball.Anchored = true
  1009. powerball.CanCollide = false
  1010. powerball.Size = Vector3.new(1,1,1)
  1011. powerball.Transparency = 1
  1012. powerball.Material = "Neon"
  1013. powerball.BrickColor = BrickColor.new("Cyan")
  1014. powerball.CFrame = leftlocation.CFrame * CFrame.new(-40,0,0)
  1015. powerball.Shape = "Ball"
  1016. gz = Instance.new("Sound", powerball)
  1017. gz.SoundId = "rbxassetid://907530407"
  1018. gz.Looped = true
  1019. gz.Volume = 0
  1020. gz:Play()
  1021. for i = 1, 300 do
  1022. gz.Volume = gz.Volume + .25
  1023. powerball.CFrame = leftlocation.CFrame * CFrame.new(0,-40,0)
  1024. seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(-.7,-2.1,0) * CFrame.Angles(math.rad(230),math.rad(0),math.rad(45)),.8)
  1025. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1026. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90 - 3 * math.sin(sine/12)),math.rad(-40),math.rad(0)), 0.1)
  1027. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1028. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
  1029. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1030. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  1031. powerball.Size = powerball.Size + Vector3.new(.25,.25,.25)
  1032. powerball.Transparency = powerball.Transparency - .025
  1033. swait()
  1034. end
  1035. gz:Remove()
  1036. g1 = Instance.new("BodyGyro", Root)
  1037. g1.D = 175
  1038. g1.P = 20000
  1039. g1.MaxTorque = Vector3.new(0,9000,0)
  1040. LightOfDeath = Instance.new("Part", Torso)
  1041. LightOfDeath.Size = Vector3.new(0.5, 0.5, 0.5)
  1042. LightOfDeath.Material = "Neon"
  1043. LightOfDeath.BrickColor = BrickColor.new("Cyan")
  1044. LightOfDeath.Transparency = 1
  1045. LightOfDeath.Anchored = true
  1046. LightOfDeath.CanCollide = false
  1047. LightOfDeathMESH = Instance.new("SpecialMesh", LightOfDeath)
  1048. LightOfDeathMESH.MeshType = "Cylinder"
  1049. LightOfDeathMESH.Scale = Vector3.new(1000,3,3)
  1050. LightOfDeath.CFrame = CFrame.new(mouse.Hit.p) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(90))
  1051. coroutine.wrap(function()
  1052. wait(9)
  1053. uhoh = false
  1054. end)()
  1055. soundofdoom = Instance.new("Sound", powerball)
  1056. soundofdoom.SoundId = "rbxassetid://1545630949"
  1057. soundofdoom.Volume = 10
  1058. soundofdoom:Play()
  1059. ws = 0
  1060. while uhoh do
  1061. if mouse.Target ~= nil then
  1062. LightOfDeath.CFrame = LightOfDeath.CFrame:lerp(CFrame.new(mouse.Hit.p) * CFrame.Angles(0,0,math.rad(90)),.1)
  1063. powerball.CFrame = powerball.CFrame:lerp(CFrame.new(mouse.Hit.p) * CFrame.new(0,250,0),.1)
  1064. end
  1065. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1066. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1067. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3)
  1068. LightOfDeath.Transparency = LightOfDeath.Transparency - .05
  1069. swait()
  1070. end
  1071. coroutine.wrap(function()
  1072. coroutine.wrap(function()
  1073. for i = 1, 400 do
  1074. Hit = damagealll(200,LightOfDeath.Position)
  1075. for _,v in pairs(Hit) do
  1076. v:FindFirstChildOfClass("Humanoid").Parent:BreakJoints()
  1077. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1078. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1079. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1080. vel.velocity = CFrame.new(LightOfDeath.Position,torso.Position).lookVector*875
  1081. removeuseless:AddItem(vel,.1)
  1082. end
  1083. explosionc = Instance.new("Part",Torso)
  1084. explosionc.Anchored = true
  1085. explosionc.CanCollide = false
  1086. explosionc.Size = Vector3.new(1,1,1)
  1087. explosionc.BrickColor = BrickColor.new("Cyan")
  1088. explosionc.Material = "Neon"
  1089. explosionc.CFrame = CFrame.new(LightOfDeath.Position)
  1090. explosionc.Shape = "Ball"
  1091. explosionc.Name = "explob"
  1092. removeuseless:AddItem(explosionc,2)
  1093. swait(.1)
  1094. end
  1095. end)()
  1096. powerball.Transparency = 0
  1097. LightOfDeath.Transparency = 0
  1098. for i = 1, 400 do
  1099. powerball.Transparency = powerball.Transparency + .05
  1100. LightOfDeath.Transparency = LightOfDeath.Transparency + .05
  1101. sk = Instance.new("Part",Torso)
  1102. sk.CanCollide = false
  1103. sk.Anchored = true
  1104. sk.BrickColor = BrickColor.new("Cyan")
  1105. sk.Name = "sk"
  1106. sk.CFrame = LightOfDeath.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  1107. skmesh = Instance.new("SpecialMesh",sk)
  1108. skmesh.MeshId = "rbxassetid://662586858"
  1109. skmesh.Name = "waterwave"
  1110. skmesh.Scale = Vector3.new(.04,.01,.04)
  1111. removeuseless:AddItem(sk,2)
  1112. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then
  1113. v.Scale = v.Scale + Vector3.new(.2,0,.2)
  1114. v.Parent.Transparency = v.Parent.Transparency + .05
  1115. end
  1116. end
  1117. for i,v in pairs(Torso:GetChildren()) do
  1118. if v.Name == "explob" then
  1119. v.Size = v.Size + Vector3.new(20,20,20)
  1120. v.Transparency = v.Transparency + .05
  1121. end
  1122. end
  1123. swait()
  1124. end
  1125. for i = 1, 50 do
  1126. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then
  1127. v.Scale = v.Scale + Vector3.new(.2,0,.2)
  1128. v.Parent.Transparency = v.Parent.Transparency + .05
  1129. end
  1130. end
  1131. for i,v in pairs(Torso:GetChildren()) do
  1132. if v.Name == "explob" then
  1133. v.Size = v.Size + Vector3.new(20,20,20)
  1134. v.Transparency = v.Transparency + .05
  1135. end
  1136. end
  1137. swait()
  1138. end
  1139. powerball:Remove()
  1140. LightOfDeath:Remove()
  1141. orbitalcannon = false
  1142. end)()
  1143. for i = 1, 35 do
  1144. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1, .8, 0.4) * CFrame.Angles(math.rad(-60 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.3)
  1145. swait()
  1146. end
  1147. removeuseless:AddItem(g1,.001)
  1148. ws = 18
  1149. attacking = false
  1150. debounce = false
  1151. end
  1152. end)
  1153.  
  1154. mouse.KeyDown:connect(function(Press)
  1155. Press=Press:lower()
  1156. if Press=='e' then
  1157. if debounce then return end
  1158. debounce = true
  1159. attacking = true
  1160. ws = 2
  1161. g1 = Instance.new("BodyGyro", Root)
  1162. g1.D = 175
  1163. g1.P = 20000
  1164. g1.MaxTorque = Vector3.new(0,9000,0)
  1165. SOUND(leftlocation,214876666,8,false,6)
  1166. coroutine.wrap(function()
  1167. for i = 1, 49 do
  1168. waterballs = Instance.new("Part",Torso)
  1169. waterballs.Anchored = true
  1170. waterballs.CanCollide = false
  1171. waterballs.Shape = "Ball"
  1172. waterballs.BrickColor = BrickColor.new("Cyan")
  1173. waterballs.Material = "Neon"
  1174. waterballs.Transparency = .6
  1175. waterballs.CFrame = leftlocation.CFrame
  1176. waterballs.Size = Vector3.new(10,10,10)
  1177. waterballs.Name = "wter"
  1178. removeuseless:AddItem(waterballs,2)
  1179. sk = Instance.new("Part",Torso)
  1180. sk.CanCollide = false
  1181. sk.Anchored = true
  1182. sk.BrickColor = BrickColor.new("Cyan")
  1183. sk.Name = "sk"
  1184. sk.CFrame = leftlocation.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  1185. skmesh = Instance.new("SpecialMesh",sk)
  1186. skmesh.MeshId = "rbxassetid://662586858"
  1187. skmesh.Name = "waterwave"
  1188. skmesh.Scale = Vector3.new(.04,.01,.04)
  1189. removeuseless:AddItem(sk,2)
  1190. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then
  1191. v.Scale = v.Scale + Vector3.new(.02,0,.02)
  1192. v.Parent.Transparency = v.Parent.Transparency + .05
  1193. end
  1194. end
  1195. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "wter" then
  1196. v.Size = v.Size - Vector3.new(1,1,1)
  1197. v.Transparency = v.Transparency + .05
  1198. end
  1199. end
  1200. swait()
  1201. end
  1202. for i = 1, 40 do
  1203. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "wter" then
  1204. v.Size = v.Size - Vector3.new(1,1,1)
  1205. v.Transparency = v.Transparency + .05
  1206. end
  1207. end
  1208. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave" then
  1209. v.Scale = v.Scale + Vector3.new(.02,0,.01)
  1210. v.Parent.Transparency = v.Parent.Transparency + .05
  1211. end
  1212. end
  1213. swait()
  1214. end
  1215. end)()
  1216. for i = 1, 50 do
  1217. seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1,1.5) * CFrame.Angles(math.rad(-315),math.rad(0),math.rad(0)),.8)
  1218. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.55,0) * CFrame.Angles(math.rad(-20),math.rad(-5),math.rad(-20)),.3)
  1219. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1220. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2,0) * CFrame.Angles(math.rad(10),math.rad(15),math.rad(0)),.5)
  1221. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  1222. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(-14), math.rad(-20), math.rad(90)), 0.3)
  1223. swait()
  1224. end
  1225. ws = 0
  1226. coroutine.wrap(function()
  1227. local throwball = Instance.new("Part",Torso)
  1228. throwball.Anchored = false
  1229. throwball.CanCollide = false
  1230. throwball.Size = Vector3.new(1,1,1)
  1231. throwball.Material = "Neon"
  1232. throwball.Shape = "Ball"
  1233. throwball.CFrame = leftlocation.CFrame
  1234. throwball.BrickColor = BrickColor.new("Cyan")
  1235. throwball.Name = "throwball"
  1236. removeuseless:AddItem(throwball,4)
  1237. throwball.Touched:connect(function(hit)
  1238. if hit.Name ~= "watblock" and hit.Name ~= "sk" and hit.Name ~= "wter" and hit.Name ~= "leftloc" and hit.Name ~= "c1" and hit.Name ~= "c2" and hit.Name ~= "c3" and hit.Name ~= "c4" and hit.Parent ~= "Torso" and hit.Parent ~= "LeftArm" and hit.Parent ~= "RightArm" and hit.Parent ~= "Head" and hit.Name ~= "wind" then
  1239. if throwballv then return end
  1240. throwballv = true
  1241. explo = Instance.new("Sound",throwball)
  1242. explo.SoundId = "rbxassetid://821439273"
  1243. explo.Volume = 8
  1244. explo.Pitch = 1.3
  1245. explo:Play()
  1246. hit.Transparency = 0
  1247. throwball.Anchored = true
  1248. for i = 1, 15 do
  1249. sk = Instance.new("Part",Torso)
  1250. sk.CanCollide = false
  1251. sk.Anchored = true
  1252. sk.BrickColor = BrickColor.new("Cyan")
  1253. sk.Name = "sk"
  1254. sk.CFrame = throwball.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  1255. skmesh = Instance.new("SpecialMesh",sk)
  1256. skmesh.MeshId = "rbxassetid://662586858"
  1257. skmesh.Name = "waterwave2"
  1258. skmesh.Scale = Vector3.new(.04,.01,.04)
  1259. removeuseless:AddItem(sk,2)
  1260. end
  1261. Hit = damagealll(25,throwball.Position)
  1262. for _,v in pairs(Hit) do
  1263. v:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(39,52))
  1264. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1265. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1266. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1267. vel.velocity = CFrame.new(throwball.Position,torso.Position).lookVector*125
  1268. removeuseless:AddItem(vel,.1)
  1269. end
  1270. explosion = Instance.new("Part",Torso)
  1271. explosion.Anchored = true
  1272. explosion.CanCollide = false
  1273. explosion.Shape = "Ball"
  1274. explosion.BrickColor = BrickColor.new("Cyan")
  1275. explosion.Material = "Neon"
  1276. explosion.CFrame = throwball.CFrame
  1277. explosion2 = Instance.new("Part",Torso)
  1278. explosion2.Anchored = true
  1279. explosion2.CanCollide = false
  1280. explosion2.Shape = "Ball"
  1281. explosion2.BrickColor = BrickColor.new("Cyan")
  1282. explosion2.Material = "Neon"
  1283. explosion2.CFrame = throwball.CFrame
  1284. for i = 1, 30 do
  1285. explo.Volume = explo.Volume - .5
  1286. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "waterwave2" then
  1287. v.Scale = v.Scale + Vector3.new(.02,0,.02)
  1288. v.Parent.Transparency = v.Parent.Transparency + .05
  1289. end
  1290. end
  1291. explosion.Size = explosion.Size + Vector3.new(2,2,2)
  1292. explosion.Transparency = explosion.Transparency + .05
  1293. explosion2.Size = explosion2.Size + Vector3.new(1,1,1)
  1294. explosion2.Transparency = explosion2.Transparency + .045
  1295. swait()
  1296. end
  1297. explosion:Remove()
  1298. explosion2:Remove()
  1299. throwball:Remove()
  1300. throwballv = false
  1301. end
  1302. end)
  1303. local bov = Instance.new("BodyVelocity",throwball)
  1304. bov.maxForce = Vector3.new(99999,99999,99999)
  1305. throwball.CFrame = CFrame.new(throwball.Position,mouse.Hit.p)
  1306. bov.velocity = throwball.CFrame.lookVector*215
  1307. if wtr1 then return end
  1308. wtr1 = true
  1309. while true do
  1310. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "throwball" then
  1311. watblock = Instance.new("Part",Torso)
  1312. watblock.Size = Vector3.new(3,3,3)
  1313. watblock.CanCollide = false
  1314. watblock.BrickColor = BrickColor.new("Cyan")
  1315. watblock.Anchored = false
  1316. watblock.CFrame = v.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))
  1317. watblock.Material = "Neon"
  1318. watblock.Name = "watblock"
  1319. removeuseless:AddItem(watblock,2)
  1320. end
  1321. end
  1322. for i,v in pairs(Torso:GetDescendants()) do if v.Name == "watblock" then
  1323. v.Size = v.Size - Vector3.new(.25,.25,.25)
  1324. v.Transparency = v.Transparency - .05
  1325. end
  1326. end
  1327. swait()
  1328. end
  1329. end)()
  1330. for i = 1, 12 do
  1331. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,-.2,0) * CFrame.Angles(math.rad(-10),math.rad(-15),math.rad(0)),.5)
  1332. LEFTARMLERP.C1 = CFrame.new(0,0,0)
  1333. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,1,.5) * CFrame.Angles(math.rad(-90),math.rad(25),math.rad(0)), 0.5)
  1334. swait()
  1335. end
  1336. removeuseless:AddItem(g1,.001)
  1337. ws = 18
  1338. attacking = false
  1339. debounce = false
  1340. end
  1341. end)
  1342.  
  1343. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1344. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1345. end
  1346.  
  1347. function ray2(StartPos, EndPos, Distance, Ignore)
  1348. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  1349. return ray(StartPos, DIRECTION, Distance, Ignore)
  1350. end
  1351.  
  1352. OrgnC0 = Neck.C0
  1353. local movelimbs = coroutine.wrap(function()
  1354. while RunSrv.RenderStepped:wait() do
  1355. TrsoLV = Torso.CFrame.lookVector
  1356. Dist = nil
  1357. Diff = nil
  1358. if not MseGuide then
  1359. print("Failed to recognize")
  1360. else
  1361. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1362. Dist = (Head.CFrame.p-Point).magnitude
  1363. Diff = Head.CFrame.Y-Point.Y
  1364. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  1365. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  1366. Diff2 = LeftArm.CFrame.Y-Point.Y
  1367. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1368. Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
  1369. end
  1370. end
  1371. end)
  1372. movelimbs()
  1373. immortal = {}
  1374. for i,v in pairs(Character:GetDescendants()) do
  1375. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  1376. if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
  1377. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1378. end
  1379. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  1380. elseif v:IsA("JointInstance") then
  1381. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  1382. end
  1383. end
  1384. for e = 1, #immortal do
  1385. if immortal[e] ~= nil then
  1386. local STUFF = immortal[e]
  1387. local PART = STUFF[1]
  1388. local PARENT = STUFF[2]
  1389. local MATERIAL = STUFF[3]
  1390. local COLOR = STUFF[4]
  1391. local TRANSPARENCY = STUFF[5]
  1392. if levitate then
  1393. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1394. PART.Material = MATERIAL
  1395. PART.Color = COLOR
  1396. PART.Transparency = TRANSPARENCY
  1397. end
  1398. PART.AncestryChanged:connect(function()
  1399. PART.Parent = PARENT
  1400. end)
  1401. else
  1402. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  1403. PART.Material = MATERIAL
  1404. PART.Color = COLOR
  1405. PART.Transparency = TRANSPARENCY
  1406. end
  1407. PART.AncestryChanged:connect(function()
  1408. PART.Parent = PARENT
  1409. end)
  1410. end
  1411. end
  1412. end
  1413. function immortality()
  1414. for e = 1, #immortal do
  1415. if immortal[e] ~= nil then
  1416. local STUFF = immortal[e]
  1417. local PART = STUFF[1]
  1418. local PARENT = STUFF[2]
  1419. local MATERIAL = STUFF[3]
  1420. local COLOR = STUFF[4]
  1421. local TRANSPARENCY = STUFF[5]
  1422. if PART.ClassName == "Part" and PART == Root then
  1423. PART.Material = MATERIAL
  1424. PART.Color = COLOR
  1425. PART.Transparency = TRANSPARENCY
  1426. end
  1427. if PART.Parent ~= PARENT then
  1428. hum:Remove()
  1429. PART.Parent = PARENT
  1430. hum = Instance.new("Humanoid",Character)
  1431. hum.Name = "noneofurbusiness"
  1432. end
  1433. end
  1434. end
  1435. end
  1436. coroutine.wrap(function()
  1437. while true do
  1438. if hum.Health < .1 then
  1439. deadsound = Instance.new("Sound", Torso)
  1440. deadsound.Volume = 6
  1441. deadsound.SoundId = "rbxassetid://1411352723"
  1442. deadsound:Play()
  1443. immortality()
  1444. end
  1445. wait()
  1446. end
  1447. end)()
  1448.  
  1449. local anims = coroutine.wrap(function()
  1450. while true do
  1451. settime = 0.05
  1452. sine = sine + change
  1453. if position == "Jump" and attacking == false then
  1454. change = 1
  1455. spin = false
  1456. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1457. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1458. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1459. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1460. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.4)
  1461. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  1462. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.4)
  1463. elseif position == "Jump2" and attacking == false then
  1464. change = 1
  1465. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
  1466. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  1467. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  1468. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
  1469. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
  1470. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  1471. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
  1472. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
  1473. elseif position == "Falling" and attacking == false then
  1474. change = 1
  1475. spin = false
  1476. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1477. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1478. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  1479. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
  1480. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(14), math.rad(-4), math.rad(0)), 0.2)
  1481. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.6, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  1482. elseif position == "Falling2" and attacking == false then
  1483. change = 1
  1484. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
  1485. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  1486. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  1487. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
  1488. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
  1489. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  1490. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
  1491. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
  1492. elseif position == "Walking" and attacking == false and running == false then
  1493. change = 1.2
  1494. walking = true
  1495. spin = false
  1496. seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(0,-1,1.5) * CFrame.Angles(math.rad(-315),math.rad(0),math.rad(0)),.8)
  1497. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5 + Root.RotVelocity.Y / 85,.35,-.5*math.sin(sine/8)) * CFrame.Angles(math.rad(35*math.sin(sine/8)),math.rad(0*math.sin(sine/8)),math.rad(-10 + Root.RotVelocity.Y / 10, math.sin(-20 * math.sin(sine/4)))),.3)
  1498. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1499. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1500. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5 + Root.RotVelocity.Y / 85,.35,.5*math.sin(sine/8)) * CFrame.Angles(math.rad(-35*math.sin(sine/8)),math.rad(0*math.sin(sine/8)),math.rad(10 + Root.RotVelocity.Y / 10, math.sin(20 * math.sin(sine/4)))),.3)
  1501. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0.05*math.sin(sine/4), 0) * CFrame.Angles(math.rad(-10), math.rad(5 * math.cos(sine/7)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(25 * math.cos(sine/10))), 0.1)
  1502. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.92 - 0.35 * math.cos(sine/8)/2.8, 0.2 - math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) + -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0), math.cos(25 * math.cos(sine/8))), 0.3)
  1503. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.92 + 0.35 * math.cos(sine/8)/2.8, 0.2 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(10) - -math.sin(sine/8)/2.3, math.rad(0)*math.cos(sine/1), math.rad(0) , math.cos(25 * math.cos(sine/8))), 0.3)
  1504. elseif position == "Idle" and attacking == false and running == false then
  1505. change = .5
  1506. spin = true
  1507. seacutlassweld.C0 = seacutlassweld.C0:lerp(CFrame.new(-.7,-2.1,0) * CFrame.Angles(math.rad(230),math.rad(0),math.rad(45)),.8)
  1508. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2 + -.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1509. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,0,.5) * CFrame.Angles(math.rad(-90 - 3 * math.sin(sine/12)),math.rad(40),math.rad(0)), 0.1)
  1510. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90 - 3 * math.sin(sine/12)),math.rad(-40),math.rad(0)), 0.1)
  1511. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1512. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.1)
  1513. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
  1514. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.1)
  1515. elseif position == "Idle2" and attacking == false and running == false then
  1516. change = .75
  1517. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0 - 3 * math.sin(sine/9)),0,0),.1)
  1518. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
  1519. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(-.2,.2,0) * CFrame.Angles(0,0,0),.1)
  1520. LEFTARMLERP.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0)
  1521. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(40),math.rad(0)), 0.4)
  1522. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2,0,.5) * CFrame.Angles(math.rad(-90),math.rad(-40),math.rad(0)), 0.4)
  1523. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.4)
  1524. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2.0,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10 + 2 * math.sin(sine/9))), 0.4)
  1525. elseif position == "Walking2" and attacking == false and running == false then
  1526. ws = 50
  1527. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(10 * math.cos(sine/10))), 0.3)
  1528. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.3)
  1529. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.3)
  1530. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.6,-.5) * CFrame.Angles(math.rad(32),math.rad(5 - .1 * math.sin(sine/12)),math.rad(40 - .5 * math.sin(sine/12))), 0.3)
  1531. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.6,-.5) * CFrame.Angles(math.rad(30),math.rad(-5 + .1 * math.sin(sine/12)),math.rad(-40 + .5 * math.sin(sine/12))), 0.3)
  1532. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(.2,1.2,-.3),.3)
  1533. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 1.4 + .1 * math.sin(sine/9), .4) * CFrame.Angles(math.rad(9 + 2 * math.cos(sine/9)), math.rad(0), math.rad(0)), 0.3)
  1534. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2.0 + .02 * math.sin(sine/9), 0.2 + .1 * math.sin(sine/9)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/9)), math.rad(20), math.rad(0)), 0.3)
  1535. elseif position == "Running" and attacking == false then
  1536. change = 1
  1537. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
  1538. LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-1.24+.6*math.sin(sine/4)/1.4, 0.54, 0-0.8*math.sin(sine/4))*CFrame.Angles(math.rad(6+140*math.sin(sine/4)/1.2), math.rad(0), math.rad(20+70*math.sin(sine/4))), 0.3)
  1539. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1540. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-20 - 0 * math.sin(sine/4)), math.rad(0 + 6 * math.sin(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.sin(10 * math.sin(sine/4))), 0.3)
  1541. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
  1542. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.6+0.1*math.sin(sine/4),.7*-math.sin(sine/4)) * CFrame.Angles(math.rad(15+ -50 * math.sin(sine/4)),0,0),.3)
  1543. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
  1544. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.6-0.1*math.sin(sine/4),.7*math.sin(sine/4)) * CFrame.Angles(math.rad(15 + 50 * math.sin(sine/4)),0,0),.3)
  1545. end
  1546. swait()
  1547. end
  1548. end)
  1549. anims()
  1550. warn("The power of water. Made by Supr14")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement