Advertisement
Guest User

..

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