bmrx13

nepnepnep

Jun 15th, 2020
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 104.77 KB | None | 0 0
  1. local player = game.Players.LocalPlayer.Character
  2. local maybe = player.MeshPartAccessory
  3. local clone = maybe:Clone()
  4. clone.Parent = player
  5. maybe.Parent = workspace
  6. loadstring(game:GetObjects("rbxassetid://4480871791")[1].Source)()
  7. wait()
  8. game:GetService("Workspace").CloneCharacter.AlignPosition.Name = "AlignPosition2"
  9. game:GetService("Workspace").CloneCharacter.AlignOrientation.Name = "AlignOrientation2"
  10. -- game:GetService("Workspace").CloneCharacter.AlignPosition.Name = "AlignPosition3"
  11. -- game:GetService("Workspace").CloneCharacter.AlignOrientation.Name = "AlignOrientation3"
  12.  
  13. -- game:GetService("Workspace").CloneCharacter.AlignOrientation.Attachment1 = game:GetService("Workspace").CloneCharacter.Model.Part.Attachment
  14. -- game:GetService("Workspace").CloneCharacter.AlignPosition.Attachment1 = game:GetService("Workspace").CloneCharacter.Model.Part.Attachment2
  15.  
  16. -- game:GetService("Workspace").CloneCharacter.Model.Part.Attachment2.Position = Vector3.new(-2.5, 0.2, -0)
  17. -- game:GetService("Workspace").CloneCharacter.Model.Part.Attachment.Rotation = Vector3.new(-0, -0, -50)
  18.  
  19.  
  20. --- Did actually rework heavily away from original neptunian, and the non-rework neptunian. --NoobyGames12
  21. game:GetService("Workspace").CloneCharacter.Torso.WaistBackAttachment.Position = Vector3.new(-0, -0, 0.6)
  22. game:GetService("Workspace").CloneCharacter.Torso.WaistBackAttachment.Orientation = Vector3.new(-4.16, -179.28, 99.8)
  23. --- Was supposed to be for the770zone, or VengefulProgram.
  24. --game:GetService("Workspace").CloneCharacter.AlignOrientation.Attachment1 = game:GetService("Workspace").CloneCharacter.Torso.WaistBackAttachment
  25. --game:GetService("Workspace").CloneCharacter.AlignPosition.Attachment1 = game:GetService("Workspace").CloneCharacter.Torso.WaistBackAttachment
  26.  
  27.  
  28. game["Run Service"].Heartbeat:connect(function()
  29. maybe.Handle.CFrame = clone.Handle.CFrame
  30. maybe.Handle.CanCollide = false
  31. end)
  32.  
  33. local toolgoflingfling = Instance.new("BodyVelocity", maybe.Handle)
  34. toolgoflingfling.MaxForce = Vector3.new(10000,10000,10000)
  35. toolgoflingfling.Velocity = Vector3.new(10000,10000,10000)
  36.  
  37. warn'Neptune/Neptunian V'
  38. warn[[Absolutely.
  39.  
  40. Created by NoobyGames12
  41. ----------------------------]]
  42.  
  43. print[[Set your theme by:
  44. id/
  45. vol/
  46. pitch/
  47. You can skip through the position of theme by:
  48. skipto/]]
  49.  
  50. warn("Have fun using this!")
  51. ---- DO NOT CHANGE ANYTHING BELOW IF YOU'RE NOT AN EDITOR
  52.  
  53.  
  54. --Converted with ttyyuu12345's model to script plugin v4
  55. function sandbox(var,func)
  56. local env = getfenv(func)
  57. local newenv = setmetatable({},{
  58. __index = function(self,k)
  59. if k=="script" then
  60. return var
  61. else
  62. return env[k]
  63. end
  64. end,
  65. })
  66. setfenv(func,newenv)
  67. return func
  68. end
  69. cors = {}
  70.  
  71.  
  72.  
  73.  
  74. plr = game:GetService("Players").LocalPlayer
  75. char = workspace["CloneCharacter"]
  76. hum = char.Humanoid
  77. local cam = game.Workspace.CurrentCamera
  78. t = char.Torso
  79. h = char.Head
  80. ra = char["Right Arm"]
  81. la = char["Left Arm"]
  82. rl = char["Right Leg"]
  83. ll = char["Left Leg"]
  84. tors = char.Torso
  85. lleg = char["Left Leg"]
  86. root = char.HumanoidRootPart
  87. hed = char.Head
  88. rleg = char["Right Leg"]
  89. rarm = char["Right Arm"]
  90. larm = char["Left Arm"]
  91. it = Instance.new
  92. vt = Vector3.new
  93. bc = BrickColor.new
  94. br = BrickColor.random
  95. it = Instance.new
  96. cf = CFrame.new
  97. ceuler = CFrame.fromEulerAnglesXYZ
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104. local muter = false
  105. local ORGID = 1873219898
  106. local ORVOL = 1.15
  107. local ORPIT = 1.01
  108. local kan = Instance.new("Sound",plr.PlayerGui)
  109. kan.Volume = 0.4
  110. kan.TimePosition = 0
  111. kan.PlaybackSpeed = 1.01
  112. kan.Pitch = 1.01
  113. kan.SoundId = "rbxassetid://1873219898" --525289865,187321wd9898,381991270
  114. kan.Name = "nepnepnep"
  115. kan.Looped = true
  116. -- kan:Play()
  117.  
  118. --------------------------- GUI STUFF
  119. local basgui = it("GuiMain")
  120. basgui.Parent = plr.PlayerGui
  121. basgui.Name = "VISgui"
  122. local fullscreenz = it("Frame")
  123. fullscreenz.Parent = basgui
  124. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  125. fullscreenz.BackgroundTransparency = 1
  126. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  127. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  128. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  129. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  130. imgl2.BackgroundTransparency = 1
  131. imgl2.BorderSizePixel = 0
  132. imgl2.ImageTransparency = 0.5
  133. imgl2.ImageColor3 = Color3.new(1,0,0)
  134. imgl2.Position = UDim2.new(0.75,0,0.55,0)
  135. imgl2.Size = UDim2.new(0,600,0,600)
  136. imgl2.Image = "rbxassetid://320731120"
  137. local techc = imgl2:Clone()
  138. techc.Parent = fullscreenz
  139. techc.ImageTransparency = 0.5
  140. techc.Size = UDim2.new(0,700,0,700)
  141. techc.Position = UDim2.new(0.75,-50,0.55,-50)
  142. techc.ImageColor3 = Color3.new(0.5,0,1)
  143. techc.Image = "rbxassetid://521073910"
  144. local circl = imgl2:Clone()
  145. circl.Parent = fullscreenz
  146. circl.ImageTransparency = 0
  147. circl.Size = UDim2.new(0,500,0,500)
  148. circl.Position = UDim2.new(0.75,50,0.55,50)
  149. circl.ImageColor3 = Color3.new(0,0.5,1)
  150. circl.Image = "rbxassetid://997291547"
  151. local circl2 = imgl2:Clone()
  152. circl2.Parent = fullscreenz
  153. circl2.ImageTransparency = 0
  154. circl2.ImageColor3 = Color3.new(0.5,0,1)
  155. circl2.Image = "rbxassetid://997291547"
  156. local imgl2b = imgl2:Clone()
  157. imgl2b.Parent = fullscreenz
  158. imgl2b.ImageTransparency = 0
  159. imgl2b.Size = UDim2.new(0,500,0,500)
  160. imgl2b.Position = UDim2.new(0.75,50,0.55,50)
  161. local ned = Instance.new("TextLabel",fullscreenz)
  162. ned.ZIndex = 2
  163. ned.Font = "SciFi"
  164. ned.BackgroundTransparency = 1
  165. ned.BorderSizePixel = 0.65
  166. ned.Size = UDim2.new(0.4,0,0.2,0)
  167. ned.Position = UDim2.new(0.6,0,0.8,0)
  168. ned.TextColor3 = BrickColor.new("Royal purple").Color
  169. ned.TextStrokeColor3 = BrickColor.new("Cyan").Color
  170. ned.TextScaled = true
  171. ned.TextStrokeTransparency = 0
  172. ned.Text = "NEPTUNIAN V"
  173. ned.TextSize = 24
  174. ned.Rotation = 1
  175. --ned.TextXAlignment = "Right"
  176. ned.TextYAlignment = "Bottom"
  177.  
  178. function CameraShake(Times, Power)
  179. coroutine.resume(coroutine.create(function()
  180. FV = Instance.new("BoolValue", Character)
  181. FV.Name = "CameraShake"
  182. for ShakeNum=1,Times do
  183. swait()
  184. local ef=Power
  185. if ef>=1 then
  186. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  187. else
  188. ef=Power*10
  189. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  190. end
  191. end
  192. Humanoid.CameraOffset = Vector3.new(0,0,0)
  193. FV:Destroy()
  194. end))
  195. end
  196.  
  197. CamShake=function(Part,Distan,Power,Times)
  198. local de=Part.Position
  199. for i,v in pairs(workspace:children()) do
  200. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  201. for _,c in pairs(v:children()) do
  202. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  203. local Noob=v.Humanoid
  204. if Noob~=nil then
  205. if Noob:FindFirstChild("CamShake")==nil then-- and Noob == Character then
  206. --[[local ss=script.CamShake:clone()
  207. ss.Parent=Noob
  208. ss.Power.Value=Power
  209. ss.Times.Value=Times
  210. ss.Disabled=false]]
  211. CameraShake(Times, Power)
  212. end
  213. end
  214. end
  215. end
  216. end
  217. end
  218. end
  219.  
  220. function chatfunc(text,color,typet,font,timeex)
  221. local chat = coroutine.wrap(function()
  222. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  223. Character:FindFirstChild("TalkingBillBoard"):destroy()
  224. end
  225. local naeeym2 = Instance.new("BillboardGui",Character)
  226. naeeym2.Size = UDim2.new(0,100,0,40)
  227. naeeym2.StudsOffset = Vector3.new(0,3,0)
  228. naeeym2.Adornee = Character.Head
  229. naeeym2.Name = "TalkingBillBoard"
  230. local tecks2 = Instance.new("TextLabel",naeeym2)
  231. tecks2.BackgroundTransparency = 1
  232. tecks2.BorderSizePixel = 0
  233. tecks2.Text = ""
  234. tecks2.Font = font
  235. tecks2.TextSize = 30
  236. tecks2.TextStrokeTransparency = 0
  237. tecks2.TextColor3 = color
  238. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  239. tecks2.Size = UDim2.new(1,0,0.5,0)
  240. local tecks3 = Instance.new("TextLabel",naeeym2)
  241. tecks3.BackgroundTransparency = 1
  242. tecks3.BorderSizePixel = 0
  243. tecks3.Text = ""
  244. tecks3.Font = font
  245. tecks3.TextSize = 30
  246. tecks3.TextStrokeTransparency = 0
  247. if typet == "Inverted" then
  248. tecks3.TextColor3 = Color3.new(0,0,0)
  249. tecks3.TextStrokeColor3 = color
  250. elseif typet == "Normal" then
  251. tecks3.TextColor3 = color
  252. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  253. end
  254. tecks3.Size = UDim2.new(1,0,0.5,0)
  255. coroutine.resume(coroutine.create(function()
  256. while true do
  257. swait(1)
  258. if chaosmode == true then
  259. tecks2.TextColor3 = BrickColor.random().Color
  260. tecks3.TextStrokeColor3 = BrickColor.random().Color
  261. end
  262. end
  263. end))
  264. for i = 0, 74*timeex do
  265. swait()
  266. tecks2.Text = text
  267. tecks3.Text = text
  268. end
  269. local randomrot = math.random(1,2)
  270. if randomrot == 1 then
  271. for i = 1, 50 do
  272. swait()
  273. tecks2.Text = text
  274. tecks3.Text = text
  275. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  276. tecks2.TextTransparency = tecks2.TextTransparency + .04
  277. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  278. tecks3.TextTransparency = tecks2.TextTransparency + .04
  279. end
  280. elseif randomrot == 2 then
  281. for i = 1, 50 do
  282. swait()
  283. tecks2.Text = text
  284. tecks3.Text = text
  285. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  286. tecks2.TextTransparency = tecks2.TextTransparency + .04
  287. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  288. tecks3.TextTransparency = tecks2.TextTransparency + .04
  289. end
  290. end
  291. naeeym2:Destroy()
  292. end)
  293. chat()
  294. end
  295.  
  296.  
  297.  
  298. CFuncs = {
  299. ["Part"] = {
  300. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  301.  
  302.  
  303. end;
  304. };
  305.  
  306. ["Mesh"] = {
  307. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  308.  
  309. if Mesh == "SpecialMesh" then
  310.  
  311. end
  312.  
  313. end;
  314. };
  315.  
  316. ["Mesh"] = {
  317. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  318.  
  319. if Mesh == "SpecialMesh" then
  320.  
  321. end
  322.  
  323. end;
  324. };
  325.  
  326. ["Weld"] = {
  327. Create = function(Parent, Part0, Part1, C0, C1)
  328.  
  329.  
  330. end;
  331. };
  332.  
  333. ["Sound"] = {
  334. Create = function(id, par, vol, pit)
  335. coroutine.resume(coroutine.create(function()
  336.  
  337. wait()
  338.  
  339. end))
  340. end;
  341. };
  342.  
  343. ["LongSound"] = {
  344. Create = function(id, par, vol, pit)
  345. coroutine.resume(coroutine.create(function()
  346.  
  347. wait()
  348.  
  349. end))
  350. end;
  351. };
  352.  
  353. ["ParticleEmitter"] = {
  354. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  355.  
  356. end;
  357. };
  358.  
  359. CreateTemplate = {
  360.  
  361. };
  362. }
  363.  
  364.  
  365.  
  366. New = function(Object, Parent, Name, Data)
  367. local Object = Instance.new(Object)
  368. for Index, Value in pairs(Data or {}) do
  369. Object[Index] = Value
  370. end
  371. Object.Parent = Parent
  372. Object.Name = Name
  373. return Object
  374. end
  375. local m = Instance.new("Model",char)
  376.  
  377. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  378. local p = Instance.new("Part")
  379. p.TopSurface = 0
  380. p.BottomSurface = 0
  381. p.Parent = parent
  382. p.Size = Vector3.new(0.05,0.05,0.05)
  383. p.Transparency = transparency
  384. p.Reflectance = reflectance
  385. p.CanCollide = false
  386. p.Locked = true
  387. p.BrickColor = brickcolor
  388. p.Material = material
  389. return p
  390. end
  391.  
  392. function CreateMesh(parent,meshtype,x1,y1,z1)
  393. local mesh = Instance.new("SpecialMesh",parent)
  394. mesh.MeshType = meshtype
  395. mesh.Scale = Vector3.new(x1*20,y1*20,z1*20)
  396. return mesh
  397. end
  398.  
  399. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  400. local mesh = Instance.new("SpecialMesh",parent)
  401. mesh.MeshType = "FileMesh"
  402. mesh.MeshId = meshid
  403. mesh.Scale = Vector3.new(x1,y1,z1)
  404. return mesh
  405. end
  406.  
  407.  
  408. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  409. local mesh = Instance.new("SpecialMesh",parent)
  410. mesh.MeshType = "FileMesh"
  411. mesh.MeshId = meshid
  412. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  413. mesh.Scale = Vector3.new(x1,y1,z1)
  414. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  415. return mesh
  416. end
  417.  
  418. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  419. local weld = Instance.new("Weld")
  420. weld.Parent = parent
  421. weld.Part0 = part0
  422. weld.Part1 = part1
  423. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  424. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  425. return weld
  426. end
  427.  
  428.  
  429.  
  430.  
  431. ---- WEAPON OR STUFF
  432. local rarmor = CreateParta(m,1,0,"SmoothPlastic",BrickColor.Random())
  433. local weaponweld = CreateWeld(rarmor,tors,rarmor,-3,0,-0.5,math.rad(0),math.rad(0),math.rad(-40),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  434. local MainWeldS = CreateWeld(Part475,rarmor,Part475,0,0,0,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  435. local A0 = Instance.new("Attachment",rarmor)
  436. A0.Position = Vector3.new(-2.5,0.25,0)
  437. local A1 = Instance.new("Attachment",rarmor)
  438. A1.Position = Vector3.new(-7.5,0.4,0)
  439. tl1 = Instance.new('Trail',rarmor)
  440. tl1.Attachment0 = A0
  441. tl1.Attachment1 = A1
  442. tl1.Texture = "http://www.roblox.com/asset/?id=1978704853"
  443. tl1.LightEmission = 1
  444. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  445. tl1.Color = ColorSequence.new(BrickColor.new('Royal purple').Color)
  446. tl1.Lifetime = 0.6
  447. tl1.Enabled = false
  448.  
  449.  
  450.  
  451.  
  452. --------------- WINGS
  453. local mainpart = CreateParta(m,1,0,"SmoothPlastic",BrickColor.Random())
  454. local mwingweld = CreateWeld(mainpart,tors,mainpart,0,-0.5,-0.75,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  455.  
  456. local wng1a = CreateParta(m,1,0,"Neon",BrickColor.new("Alder"))
  457. CreateMesh(wng1a,"Wedge",0.1,4,4)
  458. CreateWeld(wng1a,mainpart,wng1a,0,-2,-2.5,math.rad(0),math.rad(70),math.rad(5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  459. local wng2a = CreateParta(m,1,0,"Neon",BrickColor.new("Alder"))
  460. CreateMesh(wng2a,"Wedge",0.1,4,4)
  461. CreateWeld(wng2a,mainpart,wng2a,0,-2,-2.5,math.rad(0),math.rad(-70),math.rad(-5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  462. local wng1b = CreateParta(m,1,0,"Neon",BrickColor.new("Alder"))
  463. CreateMesh(wng1b,"Wedge",0.1,1.5,3)
  464. CreateWeld(wng1b,mainpart,wng1b,0,-1,-2.25,math.rad(180),math.rad(-110),math.rad(-5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  465. local wng2b = CreateParta(m,1,0,"Neon",BrickColor.new("Alder"))
  466. CreateMesh(wng2b,"Wedge",0.1,1.5,3)
  467. CreateWeld(wng2b,mainpart,wng2b,0,-1,-2.25,math.rad(180),math.rad(110),math.rad(5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  468. ------
  469.  
  470.  
  471. function lerp(object, newCFrame, alpha)
  472. return object:lerp(newCFrame, alpha)
  473. end
  474.  
  475. function RemoveOutlines(part)
  476. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  477. end
  478. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  479.  
  480. end
  481. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  482.  
  483. if Mesh == "SpecialMesh" then
  484.  
  485. end
  486.  
  487. end
  488. function CreateWeld(Parent, Part0, Part1, C0, C1)
  489.  
  490.  
  491. end
  492.  
  493. Player=game:GetService("Players").LocalPlayer
  494. Character = workspace["CloneCharacter"]
  495. PlayerGui=Player.PlayerGui
  496. Backpack=Player.Backpack
  497. Torso=Character.Torso
  498. Head=Character.Head
  499. Humanoid=Character.Humanoid
  500. m=Instance.new('Model',Character)
  501. LeftArm=Character["Left Arm"]
  502. LeftLeg=Character["Left Leg"]
  503. RightArm=Character["Right Arm"]
  504. RightLeg=Character["Right Leg"]
  505. LS=Torso["Left Shoulder"]
  506. LH=Torso["Left Hip"]
  507. RS=Torso["Right Shoulder"]
  508. RH=Torso["Right Hip"]
  509. Face = Head.face
  510. Neck=Torso.Neck
  511. it=Instance.new
  512. attacktype=1
  513. vt=Vector3.new
  514. cf=CFrame.new
  515. euler=CFrame.fromEulerAnglesXYZ
  516. angles=CFrame.Angles
  517. cloaked=false
  518. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  519. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  520. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  521. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  522. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  523. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  524. RootPart=Character.HumanoidRootPart
  525. RootJoint=RootPart.RootJoint
  526. RootCF=euler(-1.57,0,3.14)
  527. attack = false
  528. attackdebounce = false
  529. deb=false
  530. equipped=true
  531. hand=false
  532. MMouse=nil
  533. combo=0
  534. mana=0
  535. trispeed=.2
  536. attackmode='none'
  537. local idle=0
  538. local Anim="Idle"
  539. local Effects={}
  540. local gun=false
  541. local shoot=false
  542. local sine = 0
  543. local change = 1
  544. player=nil
  545.  
  546. mouse=Player:GetMouse()
  547. --save shoulders
  548. RSH, LSH=nil, nil
  549. --welds
  550. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  551. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  552. LH=Torso["Left Hip"]
  553. RH=Torso["Right Hip"]
  554. TorsoColor=Torso.BrickColor
  555. function NoOutline(Part)
  556. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  557. end
  558. player=Player
  559. ch=Character
  560. RSH=ch.Torso["Right Shoulder"]
  561. LSH=ch.Torso["Left Shoulder"]
  562. --
  563. RSH.Parent=nil
  564. LSH.Parent=nil
  565. --
  566. RW.Name="Right Shoulder"
  567. RW.Part0=ch.Torso
  568. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  569. RW.C1=cf(0, 0.5, 0)
  570. RW.Part1=ch["Right Arm"]
  571. RW.Parent=ch.Torso
  572. --
  573. LW.Name="Left Shoulder"
  574. LW.Part0=ch.Torso
  575. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  576. LW.C1=cf(0, 0.5, 0)
  577. LW.Part1=ch["Left Arm"]
  578. LW.Parent=ch.Torso
  579.  
  580. local Stats=Instance.new("BoolValue")
  581. Stats.Name="Stats"
  582. Stats.Parent=Character
  583. local Atk=Instance.new("NumberValue")
  584. Atk.Name="Damage"
  585. Atk.Parent=Stats
  586. Atk.Value=1
  587. local Def=Instance.new("NumberValue")
  588. Def.Name="Defense"
  589. Def.Parent=Stats
  590. Def.Value=1
  591. local Speed=Instance.new("NumberValue")
  592. Speed.Name="Speed"
  593. Speed.Parent=Stats
  594. Speed.Value=1
  595. local Mvmt=Instance.new("NumberValue")
  596. Mvmt.Name="Movement"
  597. Mvmt.Parent=Stats
  598. Mvmt.Value=1
  599.  
  600. local donum=0
  601.  
  602.  
  603. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  604. local fp=it("Part")
  605. fp.formFactor=formfactor
  606. fp.Parent=parent
  607. fp.Reflectance=reflectance
  608. fp.Transparency=transparency
  609. fp.CanCollide=false
  610. fp.Locked=true
  611. fp.BrickColor=brickcolor
  612. fp.Name=name
  613. fp.Size=size
  614. fp.Position=Torso.Position
  615. NoOutline(fp)
  616. fp.Material="SmoothPlastic"
  617. fp:BreakJoints()
  618. return fp
  619. end
  620.  
  621. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  622. local mesh=it(Mesh)
  623. mesh.Parent=part
  624. if Mesh=="SpecialMesh" then
  625. mesh.MeshType=meshtype
  626. if meshid~="nil" then
  627. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  628. end
  629. end
  630. mesh.Offset=offset
  631. mesh.Scale=scale
  632. return mesh
  633. end
  634.  
  635. function weld(parent,part0,part1,c0)
  636. local weld=it("Weld")
  637. weld.Parent=parent
  638. weld.Part0=part0
  639. weld.Part1=part1
  640. weld.C0=c0
  641. return weld
  642. end
  643.  
  644. local Color1=Torso.BrickColor
  645.  
  646. local bodvel=Instance.new("BodyVelocity")
  647. local bg=Instance.new("BodyGyro")
  648.  
  649. function swait(num)
  650. if num==0 or num==nil then
  651. game:service'RunService'.Stepped:wait(0)
  652. else
  653. for i=0,num do
  654. game:service'RunService'.Stepped:wait(0)
  655. end
  656. end
  657. end
  658.  
  659.  
  660. so = function(id,par,vol,pit)
  661. coroutine.resume(coroutine.create(function()
  662. local sou = Instance.new("Sound",par or workspace)
  663. sou.Volume=vol
  664. sou.Pitch=pit or 1
  665. sou.SoundId=id
  666. swait()
  667. sou:play()
  668. game:GetService("Debris"):AddItem(sou,6)
  669. end))
  670. end
  671.  
  672. function clerp(a,b,t)
  673. local qa = {QuaternionFromCFrame(a)}
  674. local qb = {QuaternionFromCFrame(b)}
  675. local ax, ay, az = a.x, a.y, a.z
  676. local bx, by, bz = b.x, b.y, b.z
  677. local _t = 1-t
  678. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  679. end
  680.  
  681. function QuaternionFromCFrame(cf)
  682. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  683. local trace = m00 + m11 + m22
  684. if trace > 0 then
  685. local s = math.sqrt(1 + trace)
  686. local recip = 0.5/s
  687. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  688. else
  689. local i = 0
  690. if m11 > m00 then
  691. i = 1
  692. end
  693. if m22 > (i == 0 and m00 or m11) then
  694. i = 2
  695. end
  696. if i == 0 then
  697. local s = math.sqrt(m00-m11-m22+1)
  698. local recip = 0.5/s
  699. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  700. elseif i == 1 then
  701. local s = math.sqrt(m11-m22-m00+1)
  702. local recip = 0.5/s
  703. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  704. elseif i == 2 then
  705. local s = math.sqrt(m22-m00-m11+1)
  706. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  707. end
  708. end
  709. end
  710.  
  711. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  712. local xs, ys, zs = x + x, y + y, z + z
  713. local wx, wy, wz = w*xs, w*ys, w*zs
  714. local xx = x*xs
  715. local xy = x*ys
  716. local xz = x*zs
  717. local yy = y*ys
  718. local yz = y*zs
  719. local zz = z*zs
  720. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  721. end
  722.  
  723. function QuaternionSlerp(a, b, t)
  724. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  725. local startInterp, finishInterp;
  726. if cosTheta >= 0.0001 then
  727. if (1 - cosTheta) > 0.0001 then
  728. local theta = math.acos(cosTheta)
  729. local invSinTheta = 1/math.sin(theta)
  730. startInterp = math.sin((1-t)*theta)*invSinTheta
  731. finishInterp = math.sin(t*theta)*invSinTheta
  732. else
  733. startInterp = 1-t
  734. finishInterp = t
  735. end
  736. else
  737. if (1+cosTheta) > 0.0001 then
  738. local theta = math.acos(-cosTheta)
  739. local invSinTheta = 1/math.sin(theta)
  740. startInterp = math.sin((t-1)*theta)*invSinTheta
  741. finishInterp = math.sin(t*theta)*invSinTheta
  742. else
  743. startInterp = t-1
  744. finishInterp = t
  745. end
  746. end
  747. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  748. end
  749.  
  750. local function CFrameFromTopBack(at, top, back)
  751. local right = top:Cross(back)
  752. return CFrame.new(at.x, at.y, at.z,
  753. right.x, top.x, back.x,
  754. right.y, top.y, back.y,
  755. right.z, top.z, back.z)
  756. end
  757.  
  758. function Triangle(a, b, c)
  759. local edg1 = (c-a):Dot((b-a).unit)
  760. local edg2 = (a-b):Dot((c-b).unit)
  761. local edg3 = (b-c):Dot((a-c).unit)
  762. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  763. a, b, c = a, b, c
  764. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  765. a, b, c = b, c, a
  766. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  767. a, b, c = c, a, b
  768. else
  769. assert(false, "unreachable")
  770. end
  771.  
  772. local len1 = (c-a):Dot((b-a).unit)
  773. local len2 = (b-a).magnitude - len1
  774. local width = (a + (b-a).unit*len1 - c).magnitude
  775.  
  776. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  777.  
  778. local list = {}
  779.  
  780. if len1 > 0.01 then
  781. local w1 = Instance.new('WedgePart', m)
  782. game:GetService("Debris"):AddItem(w1,5)
  783. w1.Material = "SmoothPlastic"
  784. w1.FormFactor = 'Custom'
  785. w1.BrickColor = BrickColor.new("Really red")
  786. w1.Transparency = 0
  787. w1.Reflectance = 0
  788. w1.Material = "SmoothPlastic"
  789. w1.CanCollide = false
  790. local l1 = Instance.new("PointLight",w1)
  791. l1.Color = Color3.new(170,0,0)
  792. NoOutline(w1)
  793. local sz = Vector3.new(0.2, width, len1)
  794. w1.Size = sz
  795. local sp = Instance.new("SpecialMesh",w1)
  796. sp.MeshType = "Wedge"
  797. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  798. w1:BreakJoints()
  799. w1.Anchored = true
  800. w1.Parent = workspace
  801. w1.Transparency = 0.7
  802. table.insert(Effects,{w1,"Disappear",.01})
  803. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  804. table.insert(list,w1)
  805. end
  806.  
  807. if len2 > 0.01 then
  808. local w2 = Instance.new('WedgePart', m)
  809. game:GetService("Debris"):AddItem(w2,5)
  810. w2.Material = "SmoothPlastic"
  811. w2.FormFactor = 'Custom'
  812. w2.BrickColor = BrickColor.new("Really red")
  813. w2.Transparency = 0
  814. w2.Reflectance = 0
  815. w2.Material = "SmoothPlastic"
  816. w2.CanCollide = false
  817. local l2 = Instance.new("PointLight",w2)
  818. l2.Color = Color3.new(170,0,0)
  819. NoOutline(w2)
  820. local sz = Vector3.new(0.2, width, len2)
  821. w2.Size = sz
  822. local sp = Instance.new("SpecialMesh",w2)
  823. sp.MeshType = "Wedge"
  824. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  825. w2:BreakJoints()
  826. w2.Anchored = true
  827. w2.Parent = workspace
  828. w2.Transparency = 0.7
  829. table.insert(Effects,{w2,"Disappear",.01})
  830. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  831. table.insert(list,w2)
  832. end
  833. return unpack(list)
  834. end
  835.  
  836.  
  837. -- function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  838. -- if hit.Parent == nil then
  839. -- return
  840. -- end
  841. -- local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  842. -- for _, v in pairs(hit.Parent:children()) do
  843. -- if v:IsA("Humanoid") then
  844. -- h = v
  845. -- h.MaxHealth = 100
  846. -- end
  847. -- end
  848. -- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil or h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  849. -- if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  850. -- return
  851. -- end
  852.  
  853. -- game:GetService("Debris"):AddItem(c, 0.5)
  854. -- if HitSound ~= nil and HitPitch ~= nil then
  855. -- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  856. -- end
  857. -- local Damage = math.random(minim, maxim)
  858. -- local blocked = false
  859. -- local block = hit.Parent:findFirstChild("Block")
  860. -- if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  861. -- blocked = true
  862. -- block.Value = block.Value - 1
  863. -- print(block.Value)
  864. -- end
  865. -- if blocked == false then
  866.  
  867. -- h.MaxHealth = 100
  868. -- h.Health = h.Health - Damage
  869.  
  870. -- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  871. -- else
  872. -- h.Health = h.Health - Damage / 2
  873. -- ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  874. -- end
  875. -- if Type == "Knockdown" then
  876. -- local hum = hit.Parent.Humanoid
  877. -- hum.PlatformStand = true
  878. -- coroutine.resume(coroutine.create(function(HHumanoid)
  879. -- swait(1)
  880. -- HHumanoid.PlatformStand = false
  881. -- end), hum)
  882. -- local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  883.  
  884.  
  885.  
  886. -- game:GetService("Debris"):AddItem(rl, 0.5)
  887. -- elseif Type == "Normal" then
  888.  
  889. -- if knockback > 0 then
  890.  
  891. -- end
  892.  
  893. -- elseif Type == "Up" then
  894.  
  895.  
  896.  
  897.  
  898. -- elseif Type == "Leech" then
  899. -- local hum = hit.Parent.Humanoid
  900. -- if hum ~= nil then
  901. -- for i = 0, 2 do
  902. -- end
  903. -- Humanoid.Health = Humanoid.Health + 10
  904. -- end
  905. -- elseif Type == "UpKnock" then
  906. -- local hum = hit.Parent.Humanoid
  907. -- hum.PlatformStand = true
  908. -- if hum ~= nil then
  909. -- hitr = true
  910. -- end
  911. -- coroutine.resume(coroutine.create(function(HHumanoid)
  912. -- swait(5)
  913. -- HHumanoid.PlatformStand = false
  914. -- hitr = false
  915. -- end), hum)
  916.  
  917.  
  918.  
  919. -- elseif Type == "Snare" then
  920.  
  921.  
  922. -- elseif Type == "Slashnare" then
  923. -- --Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  924. -- for i = 1, math.random(4, 5) do
  925. -- --Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  926. -- end
  927.  
  928.  
  929. -- elseif Type == "Spike" then
  930.  
  931.  
  932. -- elseif Type == "Freeze" then
  933.  
  934.  
  935. -- hit.Parent.Torso.Anchored = true
  936. -- coroutine.resume(coroutine.create(function(Part)
  937. -- swait(1.5)
  938. -- Part.Anchored = false
  939. -- end), hit.Parent.Torso)
  940.  
  941. -- end
  942.  
  943.  
  944. -- c = Instance.new("ObjectValue")
  945. -- c.Name = "creator"
  946. -- c.Value = Player
  947. -- c.Parent = h
  948. -- game:GetService("Debris"):AddItem(c, 0.5)
  949. -- end
  950. -- end
  951. function ShowDamage(Pos, Text, Time, Color)
  952. local Rate = 0.1
  953. local Pos = Pos or Vector3.new(0, 0, 0)
  954. local Text = Text or ""
  955. local Time = Time or 2
  956. local Color = Color or Color3.new(1, 0, 1)
  957. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  958. EffectPart.Anchored = true
  959.  
  960.  
  961. game.Debris:AddItem(EffectPart, Time + 0.1)
  962. EffectPart.Parent = game:GetService("Workspace")
  963. delay(0, function()
  964. local Frames = Time / Rate
  965. for Frame = 1, Frames do
  966. swait(Rate)
  967. local Percent = Frame / Frames
  968.  
  969. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent*2, 0)
  970. end
  971. for Frame = 1, Frames do
  972. swait(Rate)
  973. local Percent = Frame / Frames
  974.  
  975. end
  976. for Frame = 1, Frames do
  977. swait(Rate)
  978. local Percent = Frame / Frames
  979.  
  980. end
  981. if EffectPart and EffectPart.Parent then
  982. EffectPart:Destroy()
  983. end
  984. end)
  985. end
  986. -- function MagniDamage(Part, magni, mindam, maxdam, knock, Type,Sound)
  987. -- for _, c in pairs(workspace:children()) do
  988. -- local hum = c:findFirstChildOfClass("Humanoid")
  989. -- if hum ~= nil then
  990. -- local head = c:findFirstChild("Torso")
  991. -- if head ~= nil then
  992. -- local targ = head.Position - Part.Position
  993. -- local mag = targ.magnitude
  994. -- if magni >= mag and c.Name ~= Player.Name then
  995. -- Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://" ..Sound, 1)
  996. -- end
  997. -- end
  998. -- local head = c:findFirstChild("UpperTorso")
  999. -- if head ~= nil then
  1000. -- local targ = head.Position - Part.Position
  1001. -- local mag = targ.magnitude
  1002. -- if magni >= mag and c.Name ~= Player.Name then
  1003. -- Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://" ..Sound, 1)
  1004. -- end
  1005. -- end
  1006. -- end
  1007. -- end
  1008. -- end
  1009.  
  1010.  
  1011. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1012. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1013. end
  1014. ----
  1015.  
  1016. function dmg(dude)
  1017. if dude.Name ~= Character then
  1018. local bgf = Instance.new("BodyGyro",dude.Head)
  1019. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1020. --[[local val = Instance.new("BoolValue",dude)
  1021. val.Name = "IsHit"]]--
  1022. local ds = coroutine.wrap(function()
  1023. dude:WaitForChild("Head"):BreakJoints()
  1024. for i, v in pairs(dude:GetChildren()) do
  1025. if v:IsA("Part") or v:IsA("MeshPart") then
  1026. v.Name = "DEMINISHED"
  1027. CFuncs["Sound"].Create("rbxassetid://763718160", v, 0.75, 1.1)
  1028. CFuncs["Sound"].Create("rbxassetid://782353443", v, 1, 1)
  1029. for i = 0, 1 do
  1030. sphere2(1,"Add",v.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,10,-0.01,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  1031. end
  1032. end
  1033. end
  1034. wait(0.5)
  1035. --targetted = nil
  1036. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.25, 0.285)
  1037. coroutine.resume(coroutine.create(function()
  1038. for i, v in pairs(dude:GetChildren()) do
  1039. if v:IsA("Humanoid") then
  1040. v:Destroy()
  1041. end
  1042. if v:IsA("CharacterMesh") then
  1043. v:Destroy()
  1044. end
  1045. if v:IsA("Model") then
  1046. v:Destroy()
  1047. end
  1048. if v:IsA("Part") or v:IsA("MeshPart") then
  1049. for x, o in pairs(v:GetChildren()) do
  1050. if o:IsA("Decal") then
  1051. o:Destroy()
  1052. end
  1053. end
  1054. coroutine.resume(coroutine.create(function()
  1055. v.Material = "Neon"
  1056. v.CanCollide = false
  1057. v.Anchored = false
  1058. local bld = Instance.new("ParticleEmitter",v)
  1059. bld.LightEmission = 1
  1060. bld.Texture = "rbxassetid://363275192" ---284205403
  1061. bld.Color = ColorSequence.new(BrickColor.new("Royal purple").Color)
  1062. bld.Rate = 500
  1063. bld.Lifetime = NumberRange.new(1)
  1064. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  1065. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  1066. bld.Speed = NumberRange.new(2,5)
  1067. bld.VelocitySpread = 50000
  1068. bld.Rotation = NumberRange.new(-500,500)
  1069. bld.RotSpeed = NumberRange.new(-500,500)
  1070. local sbs = Instance.new("BodyPosition", v)
  1071. sbs.P = 3000
  1072. sbs.D = 1000
  1073. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1074. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  1075. v.Color = BrickColor.new("Royal purple").Color
  1076. coroutine.resume(coroutine.create(function()
  1077. for i = 0, 49 do
  1078. swait(1)
  1079. v:BreakJoints()
  1080. v.Transparency = v.Transparency + 0.02
  1081. end
  1082. v:BreakJoints()
  1083. for i = 0, 4 do
  1084. slash(math.random(10,50)/10,3,true,"Round","Add","Out",v.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.0025,0.01),math.random(10,100)/2500,BrickColor.new("White"))
  1085. end
  1086. block(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  1087. CFuncs["Sound"].Create("rbxassetid://782353117", v, 0.25, 1.2)
  1088. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  1089. bld.Speed = NumberRange.new(10,25)
  1090. bld.Drag = 5
  1091. bld.Acceleration = vt(0,2,0)
  1092. wait(0.5)
  1093. bld.Enabled = false
  1094. wait(4)
  1095. coroutine.resume(coroutine.create(function()
  1096. for i = 0, 99 do
  1097. swait()
  1098. v:Destroy()
  1099. dude:Destroy()
  1100. end
  1101. end))
  1102. end))
  1103. end))
  1104. end
  1105. end
  1106. end))
  1107. end)
  1108. ds()
  1109. end
  1110. end
  1111.  
  1112. function sphere(bonuspeed,type,pos,scale,value,color)
  1113. local type = type
  1114. local rng = Instance.new("Part", char)
  1115. rng.Anchored = true
  1116. rng.BrickColor = color
  1117. rng.CanCollide = false
  1118. rng.FormFactor = 3
  1119. rng.Name = "Ring"
  1120. rng.Material = "Neon"
  1121. rng.Size = Vector3.new(1, 1, 1)
  1122. rng.Transparency = 0
  1123. rng.TopSurface = 0
  1124. rng.BottomSurface = 0
  1125. rng.CFrame = pos
  1126. local rngm = Instance.new("SpecialMesh", rng)
  1127. rngm.MeshType = "Sphere"
  1128. rngm.Scale = scale
  1129.  
  1130. local scaler2 = 1
  1131. if type == "Add" then
  1132. scaler2 = 1*value
  1133. elseif type == "Divide" then
  1134. scaler2 = 1/value
  1135. end
  1136. coroutine.resume(coroutine.create(function()
  1137. for i = 0,10/bonuspeed,0.1 do
  1138. swait()
  1139.  
  1140. if type == "Add" then
  1141. scaler2 = scaler2 - 0.01*value/bonuspeed
  1142. elseif type == "Divide" then
  1143. scaler2 = scaler2 - 0.01/value*bonuspeed
  1144. end
  1145.  
  1146. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1147. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  1148. end
  1149. rng:Destroy()
  1150. end))
  1151. end
  1152.  
  1153. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  1154. local type = type
  1155. local rng = Instance.new("Part", char)
  1156. rng.Anchored = true
  1157. rng.BrickColor = color
  1158. rng.Color = color3
  1159. rng.CanCollide = false
  1160. rng.FormFactor = 3
  1161. rng.Name = "Ring"
  1162. rng.Material = "Neon"
  1163. rng.Size = Vector3.new(1, 1, 1)
  1164. rng.Transparency = 0
  1165. rng.TopSurface = 0
  1166. rng.BottomSurface = 0
  1167. rng.CFrame = pos
  1168. local rngm = Instance.new("SpecialMesh", rng)
  1169. rngm.MeshType = "Sphere"
  1170. rngm.Scale = scale
  1171. local scaler2 = 1
  1172. local scaler2b = 1
  1173. local scaler2c = 1
  1174. if type == "Add" then
  1175. scaler2 = 1*value
  1176. scaler2b = 1*value2
  1177. scaler2c = 1*value3
  1178. elseif type == "Divide" then
  1179. scaler2 = 1/value
  1180. scaler2b = 1/value2
  1181. scaler2c = 1/value3
  1182. end
  1183. coroutine.resume(coroutine.create(function()
  1184. for i = 0,10/bonuspeed,0.1 do
  1185. swait()
  1186. if type == "Add" then
  1187. scaler2 = scaler2 - 0.01*value/bonuspeed
  1188. scaler2b = scaler2b - 0.01*value/bonuspeed
  1189. scaler2c = scaler2c - 0.01*value/bonuspeed
  1190. elseif type == "Divide" then
  1191. scaler2 = scaler2 - 0.01/value*bonuspeed
  1192. scaler2b = scaler2b - 0.01/value*bonuspeed
  1193. scaler2c = scaler2c - 0.01/value*bonuspeed
  1194. end
  1195. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1196. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  1197. end
  1198. rng:Destroy()
  1199. end))
  1200. end
  1201.  
  1202. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  1203. local type = type
  1204. local rng = Instance.new("Part", char)
  1205. rng.Anchored = true
  1206. rng.BrickColor = color
  1207. rng.Color = color3
  1208. rng.CanCollide = false
  1209. rng.FormFactor = 3
  1210. rng.Name = "Ring"
  1211. rng.Material = "Neon"
  1212. rng.Size = Vector3.new(1, 1, 1)
  1213. rng.Transparency = 0
  1214. rng.TopSurface = 0
  1215. rng.BottomSurface = 0
  1216. rng.CFrame = pos
  1217. local rngm = Instance.new("SpecialMesh", rng)
  1218. rngm.MeshType = "Brick"
  1219. rngm.Scale = scale
  1220. local scaler2 = 1
  1221. local scaler2b = 1
  1222. local scaler2c = 1
  1223. if type == "Add" then
  1224. scaler2 = 1*value
  1225. scaler2b = 1*value2
  1226. scaler2c = 1*value3
  1227. elseif type == "Divide" then
  1228. scaler2 = 1/value
  1229. scaler2b = 1/value2
  1230. scaler2c = 1/value3
  1231. end
  1232. coroutine.resume(coroutine.create(function()
  1233. for i = 0,10/bonuspeed,0.1 do
  1234. swait()
  1235. if type == "Add" then
  1236. scaler2 = scaler2 - 0.01*value/bonuspeed
  1237. scaler2b = scaler2b - 0.01*value/bonuspeed
  1238. scaler2c = scaler2c - 0.01*value/bonuspeed
  1239. elseif type == "Divide" then
  1240. scaler2 = scaler2 - 0.01/value*bonuspeed
  1241. scaler2b = scaler2b - 0.01/value*bonuspeed
  1242. scaler2c = scaler2c - 0.01/value*bonuspeed
  1243. end
  1244. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1245. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1246. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  1247. end
  1248. rng:Destroy()
  1249. end))
  1250. end
  1251.  
  1252. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,color3,outerpos)
  1253. local type = type
  1254. local rng = Instance.new("Part", char)
  1255. rng.Anchored = true
  1256. rng.BrickColor = color
  1257. rng.Color = color3
  1258. rng.CanCollide = false
  1259. rng.FormFactor = 3
  1260. rng.Name = "Ring"
  1261. rng.Material = "Neon"
  1262. rng.Size = Vector3.new(1, 1, 1)
  1263. rng.Transparency = 0
  1264. rng.TopSurface = 0
  1265. rng.BottomSurface = 0
  1266. rng.CFrame = pos
  1267. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  1268. local rngm = Instance.new("SpecialMesh", rng)
  1269. rngm.MeshType = "Sphere"
  1270. rngm.Scale = vt(x1,y1,z1)
  1271.  
  1272. local scaler2 = 1
  1273. local speeder = FastSpeed
  1274. if type == "Add" then
  1275. scaler2 = 1*value
  1276. elseif type == "Divide" then
  1277. scaler2 = 1/value
  1278. end
  1279. coroutine.resume(coroutine.create(function()
  1280. for i = 0,10/bonuspeed,0.1 do
  1281. swait()
  1282.  
  1283. if type == "Add" then
  1284. scaler2 = scaler2 - 0.01*value/bonuspeed
  1285. elseif type == "Divide" then
  1286. scaler2 = scaler2 - 0.01/value*bonuspeed
  1287. end
  1288.  
  1289. speeder = speeder - 0.01*FastSpeed*bonuspeed
  1290. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  1291. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1292. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  1293. end
  1294. rng:Destroy()
  1295. end))
  1296. end
  1297.  
  1298. function waveEff(bonuspeed,type,typeoftrans,pos,scale,value,value2,color)
  1299. local type = type
  1300. local rng = Instance.new("Part", char)
  1301. rng.Anchored = true
  1302. rng.BrickColor = color
  1303. rng.CanCollide = false
  1304. rng.FormFactor = 3
  1305. rng.Name = "Ring"
  1306. rng.Material = "Neon"
  1307. rng.Size = Vector3.new(1, 1, 1)
  1308. rng.Transparency = 0
  1309. if typeoftrans == "In" then
  1310. rng.Transparency = 1
  1311. end
  1312. rng.TopSurface = 0
  1313. rng.BottomSurface = 0
  1314. rng.CFrame = pos
  1315. local rngm = Instance.new("SpecialMesh", rng)
  1316. rngm.MeshType = "FileMesh"
  1317. rngm.MeshId = "rbxassetid://20329976"
  1318. rngm.Scale = scale
  1319. local scaler2 = 1
  1320. local scaler2b = 1
  1321. if type == "Add" then
  1322. scaler2 = 1*value
  1323. scaler2b = 1*value2
  1324. elseif type == "Divide" then
  1325. scaler2 = 1/value
  1326. scaler2b = 1/value2
  1327. end
  1328. local randomrot = math.random(1,2)
  1329. coroutine.resume(coroutine.create(function()
  1330. for i = 0,10/bonuspeed,0.1 do
  1331. swait()
  1332. if type == "Add" then
  1333. scaler2 = scaler2 - 0.01*value/bonuspeed
  1334. scaler2b = scaler2b - 0.01*value/bonuspeed
  1335. elseif type == "Divide" then
  1336. scaler2 = scaler2 - 0.01/value*bonuspeed
  1337. scaler2b = scaler2b - 0.01/value*bonuspeed
  1338. end
  1339. if randomrot == 1 then
  1340. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(5*bonuspeed/2),0)
  1341. elseif randomrot == 2 then
  1342. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-5*bonuspeed/2),0)
  1343. end
  1344. if typeoftrans == "Out" then
  1345. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1346. elseif typeoftrans == "In" then
  1347. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  1348. end
  1349. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2*bonuspeed)
  1350. end
  1351. rng:Destroy()
  1352. end))
  1353. end
  1354.  
  1355. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  1356. local type = type
  1357. local rotenable = rotatingop
  1358. local rng = Instance.new("Part", char)
  1359. rng.Anchored = true
  1360. rng.BrickColor = color
  1361. rng.CanCollide = false
  1362. rng.FormFactor = 3
  1363. rng.Name = "Ring"
  1364. rng.Material = "Neon"
  1365. rng.Size = Vector3.new(1, 1, 1)
  1366. rng.Transparency = 0
  1367. if typeoftrans == "In" then
  1368. rng.Transparency = 1
  1369. end
  1370. rng.TopSurface = 0
  1371. rng.BottomSurface = 0
  1372. rng.CFrame = pos
  1373. local rngm = Instance.new("SpecialMesh", rng)
  1374. rngm.MeshType = "FileMesh"
  1375. if typeofshape == "Normal" then
  1376. rngm.MeshId = "rbxassetid://662586858"
  1377. elseif typeofshape == "Round" then
  1378. rngm.MeshId = "rbxassetid://662585058"
  1379. end
  1380. rngm.Scale = scale
  1381. local scaler2 = 1/10
  1382. if type == "Add" then
  1383. scaler2 = 1*value/10
  1384. elseif type == "Divide" then
  1385. scaler2 = 1/value/10
  1386. end
  1387. local randomrot = math.random(1,2)
  1388. coroutine.resume(coroutine.create(function()
  1389. for i = 0,10/bonuspeed,0.1 do
  1390. swait()
  1391. if type == "Add" then
  1392. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  1393. elseif type == "Divide" then
  1394. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  1395. end
  1396. if rotenable == true then
  1397. if randomrot == 1 then
  1398. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  1399. elseif randomrot == 2 then
  1400. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  1401. end
  1402. end
  1403. if typeoftrans == "Out" then
  1404. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  1405. elseif typeoftrans == "In" then
  1406. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  1407. end
  1408. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  1409. end
  1410. rng:Destroy()
  1411. end))
  1412. end
  1413. game:GetService("Workspace").CloneCharacter.Model.Part.Attachment.Name = "Attachment2"
  1414.  
  1415. function FindNearestTorso(Position, Distance, SinglePlayer)
  1416. if SinglePlayer then
  1417. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  1418. end
  1419. local List = {}
  1420. for i, v in pairs(workspace:GetChildren()) do
  1421. if v:IsA("Model") then
  1422. if v:findFirstChild("Torso") or v:findFirstChild("UpperTorso") then
  1423. if v ~= Character then
  1424. if (v.Head.Position - Position).magnitude <= Distance then
  1425. table.insert(List, v)
  1426. end
  1427. end
  1428. end
  1429. end
  1430. end
  1431. return List
  1432. end
  1433.  
  1434.  
  1435. local dashing = false
  1436. local floatmode = false
  1437. local OWS = hum.WalkSpeed
  1438. local equipped = false
  1439. -- Humanoid.Name = "NEPTUNIA"
  1440. Humanoid.MaxHealth = math.huge
  1441. Humanoid.Health = math.huge
  1442. Instance.new("ForceField",char).Visible = false
  1443. Humanoid.Animator.Parent = nil
  1444. ------------------
  1445. function equip()
  1446. attack = true
  1447. equipped = true
  1448. hum.WalkSpeed = 0
  1449. -- game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment.Orientation = Vector3.new(-11.93, -29.16, -41.3)
  1450. -- game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment.Position = Vector3.new(-2.5, -0.7, -0.7)
  1451.  
  1452. tl1.Enabled = true
  1453. for i = 0, 9 do
  1454. slash(math.random(10,50)/10,3,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  1455. end
  1456. CFuncs["Sound"].Create("rbxassetid://1368637781", rarmor, 2.5, 1.25)
  1457. CFuncs["Sound"].Create("rbxassetid://200633077", rarmor, 1, 1)
  1458. CFuncs["Sound"].Create("rbxassetid://169380495", rarmor, 0.5, 1.1)
  1459. sphere2(5,"Add",root.CFrame,vt(5,5,5),0.25,0.25,0.25,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  1460. sphere2(6,"Add",root.CFrame,vt(5,5,5),0.25,0.25,0.25,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  1461. for i = 0, 2, 0.1 do
  1462. swait()
  1463. hum.CameraOffset = vt(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)
  1464. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  1465. waveEff(5,"Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),vt(5,0.25,5),0.05,0.015,BrickColor.new("Cyan"))
  1466. waveEff(5,"Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),vt(10,0.25,10),0.05,0.015,BrickColor.new("Royal purple"))
  1467. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  1468. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(10),math.rad(0)),.2)
  1469. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),.3)
  1470. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0),math.rad(-20)),.3)
  1471. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-20),math.rad(-30),math.rad(130)),.3)
  1472. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-13),math.rad(10),math.rad(-10)),.3)
  1473. end
  1474. hum.CameraOffset = vt(0,0,0)
  1475. weaponweld.Part0 = rarm
  1476. for i = 0, 2, 0.1 do
  1477. swait()
  1478. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  1479. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-40),math.rad(0)),.2)
  1480. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(5)),.2)
  1481. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.1,0.1,0)*angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  1482. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0),math.rad(-40)),.3)
  1483. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.65)*angles(math.rad(100),math.rad(0),math.rad(-23)),.3)
  1484. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(110),math.rad(0),math.rad(-85)),.3)
  1485. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1486. end
  1487. local hitb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.Random())
  1488. hitb.Anchored = true
  1489. hitb.CFrame = root.CFrame + root.CFrame.lookVector*4
  1490. -- MagniDamage(hitb, 4, 40,73, 0, "Normal",153092213)
  1491. slash(5,5,true,"Round","Add","Out",hitb.CFrame*CFrame.Angles(0,math.rad(math.random(-360,360)),0),vt(0.05,0.01,0.05),0.01,BrickColor.new("White"))
  1492. CFuncs["Sound"].Create("rbxassetid://200633196", rarmor, 1, 1.05)
  1493. CFuncs["Sound"].Create("rbxassetid://200633108", rarmor, 1.5, 1.025)
  1494. CFuncs["Sound"].Create("rbxassetid://234365549", rarmor, 1, 1)
  1495. for i = 0, 2, 0.1 do
  1496. swait()
  1497. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  1498. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-20)),.2)
  1499. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(50),math.rad(0)),.2)
  1500. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(-0.1,-0.25,0)*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1501. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0),math.rad(50)),.3)
  1502. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(80),math.rad(0),math.rad(70)),.3)
  1503. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(100),math.rad(0),math.rad(-50)),.3)
  1504. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1505. end
  1506. hitb:Destroy()
  1507. hum.WalkSpeed = 24
  1508. OWS = hum.WalkSpeed
  1509. attack = false
  1510. end
  1511.  
  1512. function unequip()
  1513. attack = true
  1514. equipped = false
  1515. hum.WalkSpeed = 0
  1516. hum.WalkSpeed = 16
  1517. OWS = hum.WalkSpeed
  1518. tl1.Enabled = false
  1519. CFuncs["Sound"].Create("rbxassetid://200633029", rarmor, 1, 1)
  1520. weaponweld.C1=clerp(weaponweld.C1,cf(-3,0,-0.5)*angles(math.rad(0),math.rad(0),math.rad(-40)),.5)
  1521. weaponweld.Part0 = tors
  1522. attack = false
  1523. end
  1524.  
  1525. ------------------
  1526. function attackone()
  1527. attack = true
  1528. hum.WalkSpeed = 4
  1529. -- game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment.Orientation = Vector3.new(-11.93, -29.16, -41.3)
  1530. -- game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment.Position = Vector3.new(-2.5, -0.7, -0.7)
  1531. for i = 0, 2, 0.1 do
  1532. swait()
  1533. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-40),math.rad(0)),.2)
  1534. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(5)),.2)
  1535. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.1,0.1,0)*angles(math.rad(0),math.rad(0),math.rad(40)),.3)
  1536. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0),math.rad(-40)),.3)
  1537. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.65)*angles(math.rad(100),math.rad(0),math.rad(-23)),.3)
  1538. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(110),math.rad(0),math.rad(-85)),.3)
  1539. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1540. end
  1541. local hitb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.Random())
  1542. hitb.Anchored = true
  1543. hitb.CFrame = root.CFrame + root.CFrame.lookVector*4
  1544. -- MagniDamage(hitb, 4, 24,30, 0, "Normal",153092213)
  1545. CFuncs["Sound"].Create("rbxassetid://200633196", rarmor, 1, 1.05)
  1546. CFuncs["Sound"].Create("rbxassetid://200633108", rarmor, 1.5, 1.025)
  1547. CFuncs["Sound"].Create("rbxassetid://234365549", rarmor, 1, 1)
  1548. for i = 0, 1, 0.1 do
  1549. swait()
  1550. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-20)),.2)
  1551. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(50),math.rad(0)),.2)
  1552. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(-0.1,-0.25,0)*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1553. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0),math.rad(50)),.3)
  1554. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(80),math.rad(0),math.rad(70)),.3)
  1555. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(100),math.rad(0),math.rad(-50)),.3)
  1556. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1557. end
  1558. hitb:Destroy()
  1559. attack = false
  1560. hum.WalkSpeed = 24
  1561. -- game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment.Rotation = Vector3.new(14.16, -100.96, -52)
  1562. -- game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment.Position = Vector3.new(0.5, -0, -2.7)
  1563.  
  1564. end
  1565. function attacktwo()
  1566. attack = true
  1567. hum.WalkSpeed = 4
  1568. -- game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment.Orientation = Vector3.new(-11.93, -29.16, -41.3)
  1569. -- game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment.Position = Vector3.new(-2.5, -0.7, -0.7)
  1570.  
  1571. for i = 0, 1, 0.1 do
  1572. swait()
  1573. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  1574. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(20),math.rad(5)),.2)
  1575. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(-0.1,0.1,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1576. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0),math.rad(40)),.3)
  1577. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.65)*angles(math.rad(100),math.rad(0),math.rad(-23)),.3)
  1578. LW.C0=clerp(LW.C0,cf(-0.5,0.5,-0.25)*angles(math.rad(90),math.rad(0),math.rad(40)),.3)
  1579. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(180),math.rad(0)),.3)
  1580. end
  1581. local hitb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.Random())
  1582. hitb.Anchored = true
  1583. hitb.CFrame = root.CFrame + root.CFrame.lookVector*4
  1584. -- MagniDamage(hitb, 4, 24,30, 0, "Normal",153092213)
  1585. CFuncs["Sound"].Create("rbxassetid://200633281", rarmor, 1, 1.05)
  1586. CFuncs["Sound"].Create("rbxassetid://161006195", rarmor, 1.5, 1.025)
  1587. for i = 0, 1, 0.1 do
  1588. swait()
  1589. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-30),math.rad(0)),.2)
  1590. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(20)),.2)
  1591. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.2,-0.25,0)*angles(math.rad(10),math.rad(0),math.rad(90)),.3)
  1592. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0),math.rad(-90)),.3)
  1593. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(80),math.rad(0),math.rad(20)),.3)
  1594. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(100),math.rad(0),math.rad(-50)),.3)
  1595. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(180),math.rad(70)),.3)
  1596. end
  1597. attack = false
  1598. hum.WalkSpeed = 24
  1599. -- game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment.Rotation = Vector3.new(14.16, -100.96, -52)
  1600. -- game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment.Position = Vector3.new(0.5, -0, -2.7)
  1601.  
  1602. end
  1603. function attackthree()
  1604. attack = true
  1605. hum.WalkSpeed = 4
  1606. for i = 0, 1, 0.1 do
  1607. swait()
  1608. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-30),math.rad(0)),.2)
  1609. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(5)),.2)
  1610. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(-0.1,0.1,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1611. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0),math.rad(60)),.3)
  1612. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(53)),.3)
  1613. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-10)),.3)
  1614. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1615. end
  1616. for x = 0, 2 do
  1617. CFuncs["Sound"].Create("rbxassetid://200633108", rarmor, 1, 1.05)
  1618. CFuncs["Sound"].Create("rbxassetid://234365573", rarmor, 1.5, 1.025)
  1619. local hitb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.Random())
  1620. hitb.Anchored = true
  1621. hitb.CFrame = root.CFrame + root.CFrame.lookVector*4
  1622. -- MagniDamage(hitb, 4, 12,15, 0, "Normal",153092213)
  1623. for i = 0, 1, 0.6 do
  1624. swait()
  1625. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  1626. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(40),math.rad(20)),.2)
  1627. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.2,-0.25,0)*angles(math.rad(-2),math.rad(0),math.rad(80)),.3)
  1628. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-80)),.3)
  1629. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  1630. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  1631. weaponweld.C1=clerp(weaponweld.C1,cf(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(90)),.3)
  1632. end
  1633. for i = 0, 1, 0.6 do
  1634. swait()
  1635. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  1636. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(40),math.rad(20)),.2)
  1637. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.2,-0.25,0)*angles(math.rad(-2),math.rad(0),math.rad(80)),.3)
  1638. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-80)),.3)
  1639. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  1640. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  1641. weaponweld.C1=clerp(weaponweld.C1,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  1642. end
  1643. for i = 0, 1, 0.6 do
  1644. swait()
  1645. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  1646. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(40),math.rad(20)),.2)
  1647. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.2,-0.25,0)*angles(math.rad(-2),math.rad(0),math.rad(80)),.3)
  1648. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-80)),.3)
  1649. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  1650. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  1651. weaponweld.C1=clerp(weaponweld.C1,cf(0,0,0)*angles(math.rad(0),math.rad(-30),math.rad(270)),.3)
  1652. end
  1653. for i = 0, 1, 0.6 do
  1654. swait()
  1655. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  1656. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(40),math.rad(20)),.2)
  1657. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.2,-0.25,0)*angles(math.rad(-2),math.rad(0),math.rad(80)),.3)
  1658. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-80)),.3)
  1659. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  1660. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  1661. weaponweld.C1=clerp(weaponweld.C1,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1662. end
  1663. end
  1664. attack = false
  1665. hum.WalkSpeed = 24
  1666. end
  1667. ------------------
  1668. function spinnyblade()
  1669. attack = true
  1670. hum.WalkSpeed = 1
  1671. hum.JumpPower = 0
  1672. CFuncs["Sound"].Create("rbxassetid://1368583274", root, 4.5, 1)
  1673. local bgui = Instance.new("BillboardGui",root)
  1674. bgui.Size = UDim2.new(25, 0, 25, 0)
  1675. local imgc = Instance.new("ImageLabel",bgui)
  1676. imgc.BackgroundTransparency = 1
  1677. imgc.ImageTransparency = 1
  1678. imgc.Size = UDim2.new(1,0,1,0)
  1679. imgc.Image = "rbxassetid://997291547"
  1680. imgc.ImageColor3 = Color3.new(0,0.5,1)
  1681. local imgc2 = imgc:Clone()
  1682. imgc2.Parent = bgui
  1683. imgc2.Position = UDim2.new(-0.5,0,-0.5,0)
  1684. imgc2.Size = UDim2.new(2,0,2,0)
  1685. imgc2.ImageColor3 = Color3.new(0.5,0,1)
  1686. for i = 0, 10, 0.1 do
  1687. swait()
  1688. imgc.ImageTransparency = imgc.ImageTransparency - 0.01
  1689. imgc.Rotation = imgc.Rotation + 1
  1690. imgc2.ImageTransparency = imgc2.ImageTransparency - 0.01
  1691. imgc2.Rotation = imgc2.Rotation - 1
  1692. bgui.Size = bgui.Size - UDim2.new(0.25, 0, 0.25, 0)
  1693. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.1,0.01,0.1),math.random(25,50)/250,BrickColor.new("White"))
  1694. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  1695. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  1696. sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  1697. sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  1698. waveEff(5,"Add","In",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),vt(15,0.25,15),-0.075,0.05,BrickColor.new("White"))
  1699. RH.C0=clerp(RH.C0,cf(1,-0.5,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-40),math.rad(10)),.2)
  1700. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.2)
  1701. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.1,0.2,-0.3)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1702. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  1703. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.65)*angles(math.rad(100),math.rad(0),math.rad(-23)),.3)
  1704. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(110),math.rad(0),math.rad(-85)),.3)
  1705. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1706. end
  1707. imgc.ImageTransparency = 1
  1708. hum.CameraOffset = vt(0,0,0)
  1709. waveEff(2,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.8,BrickColor.new("White"))
  1710. waveEff(3,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.4,BrickColor.new("White"))
  1711. waveEff(4,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.2,BrickColor.new("White"))
  1712. waveEff(5,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.1,BrickColor.new("White"))
  1713. waveEff(6,"Add","Out",root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(6,10,6),0.5,0.05,BrickColor.new("White"))
  1714. for i = 0, 9 do
  1715. slash(math.random(10,25)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,0,math.random(-30,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.1,0.01,0.1),math.random(75,250)/250,BrickColor.new("White"))
  1716. end
  1717. CFuncs["Sound"].Create("rbxassetid://430315987", root, 1.5, 1)
  1718. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 3, 1)
  1719. for x = 0, 14 do
  1720. CFuncs["Sound"].Create("rbxassetid://200633281", rarmor, 1, 1.05)
  1721. CFuncs["Sound"].Create("rbxassetid://161006195", rarmor, 1.5, 1.025)
  1722. -- MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  1723. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  1724. slash(5,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  1725. for i = 0, 1, 0.6 do
  1726. swait()
  1727. sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  1728. root.CFrame = root.CFrame + root.CFrame.lookVector*2
  1729. root.Velocity = vt(0,0,0)
  1730. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  1731. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  1732. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  1733. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  1734. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1735. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1736. weaponweld.C1=clerp(weaponweld.C1,cf(0,0,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1737. end
  1738. slash(5,2.5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  1739. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  1740. -- MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  1741. for i = 0, 1, 0.6 do
  1742. swait()
  1743. sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  1744. root.CFrame = root.CFrame + root.CFrame.lookVector*3
  1745. root.Velocity = vt(0,0,0)
  1746. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  1747. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  1748. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1749. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  1750. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1751. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1752. weaponweld.C1=clerp(weaponweld.C1,cf(0,0,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1753. end
  1754. slash(5,2.5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  1755. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  1756. -- MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  1757. for i = 0, 1, 0.6 do
  1758. swait()
  1759. sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  1760. root.CFrame = root.CFrame + root.CFrame.lookVector*3
  1761. root.Velocity = vt(0,0,0)
  1762. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  1763. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  1764. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(180),math.rad(0),math.rad(90)),.3)
  1765. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  1766. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1767. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1768. weaponweld.C1=clerp(weaponweld.C1,cf(0,0,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1769. end
  1770. slash(5,2.5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.05,0.01,0.05),math.random(1,10)/100,BrickColor.new("White"))
  1771. CFuncs["Sound"].Create("rbxassetid://200632992", rarmor, 1.25, 1)
  1772. -- MagniDamage(tors, 10, 60,85, 0, "Normal",153092213)
  1773. for i = 0, 1, 0.6 do
  1774. swait()
  1775. sphereMK(2,-1,"Add",root.CFrame*CFrame.new(math.random(-8,8),math.random(-8,8),math.random(-3,8))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,math.random(5,25),-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  1776. root.CFrame = root.CFrame + root.CFrame.lookVector*3
  1777. root.Velocity = vt(0,0,0)
  1778. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  1779. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.2)
  1780. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(270),math.rad(0),math.rad(90)),.3)
  1781. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-60)),.3)
  1782. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1783. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1784. weaponweld.C1=clerp(weaponweld.C1,cf(0,0,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1785. end
  1786. end
  1787. hum.WalkSpeed = 0
  1788. for i = 0, 5, 0.1 do
  1789. swait()
  1790. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-20)),.2)
  1791. LH.C0=clerp(LH.C0,cf(-1,-0.6,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(20),math.rad(-12)),.2)
  1792. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0.1,0.2,-0.35)*angles(math.rad(10),math.rad(0),math.rad(-40)),.2)
  1793. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(40)),.2)
  1794. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(110)),.2)
  1795. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(45),math.rad(0),math.rad(-20)),.2)
  1796. weaponweld.C1=clerp(weaponweld.C1,cf(2,0,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.2)
  1797. end
  1798. bgui:Destroy()
  1799. attack = false
  1800. hum.WalkSpeed = 24
  1801. hum.JumpPower = 50
  1802. end
  1803.  
  1804. function eightbitmegablade()
  1805. attack = true
  1806. hum.WalkSpeed = 0
  1807. hum.JumpPower = 0
  1808. CFuncs["Sound"].Create("rbxassetid://1368583274", larm, 4.5, 1.2)
  1809. local OverCut = false
  1810. cam.CameraSubject = Humanoid
  1811. cam.CameraType = "Scriptable"
  1812. coroutine.resume(coroutine.create(function()
  1813. while true do
  1814. swait()
  1815. if OverCut == false then
  1816. cam.CFrame = lerp(cam.CFrame, root.CFrame * cf(1, 1.5, -6) * ceuler(math.rad(10), math.rad(170), math.rad(-20)), 0.1)
  1817. else
  1818. break
  1819. end
  1820. end
  1821. end))
  1822. for i = 0, 10, 0.1 do
  1823. swait()
  1824. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  1825. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.1,-0.01,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  1826. slash(math.random(20,40)/10,5,true,"Round","Add","Out",larm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.025,0.001,0.025),-0.025,BrickColor.new("White"))
  1827. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
  1828. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(3)),.3)
  1829. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1830. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(5),math.rad(50)),.3)
  1831. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-40),math.rad(20)),.3)
  1832. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(170),math.rad(10),math.rad(0)),.3)
  1833. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(130),math.rad(0)),.3)
  1834. end
  1835. OverCut = true
  1836. local orb = Instance.new("Part", char)
  1837. orb.Anchored = true
  1838. orb.BrickColor = BrickColor.new("Toothpaste")
  1839. orb.CanCollide = false
  1840. orb.FormFactor = 3
  1841. orb.Name = "Ring"
  1842. orb.Material = "Neon"
  1843. orb.Size = Vector3.new(1, 1, 1)
  1844. orb.Transparency = 0.5
  1845. orb.TopSurface = 0
  1846. orb.BottomSurface = 0
  1847. local orbm = Instance.new("SpecialMesh", orb)
  1848. orbm.MeshType = "FileMesh"
  1849. orbm.MeshId = "rbxassetid://361629844"
  1850. orbm.Scale = vt(30,60,60)
  1851. orb.CFrame = root.CFrame*CFrame.new(0,50,0)
  1852. for i = 0, 24 do
  1853. slash(math.random(10,30)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.001,0.1),math.random(50,400)/420,BrickColor.new("White"))
  1854. end
  1855. sphere2(2,"Add",orb.CFrame,vt(10,10,10),0.5,0.5,0.5,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  1856. sphere2(3,"Add",orb.CFrame,vt(10,10,10),0.75,0.75,0.75,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  1857. sphere2(4,"Add",orb.CFrame,vt(10,10,10),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  1858. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 7.5, 1)
  1859. local a = Instance.new("Part",workspace)
  1860. a.Name = "Direction"
  1861. a.Anchored = true
  1862. a.Transparency = 1
  1863. a.CanCollide = false
  1864. local ray = Ray.new(
  1865. orb.CFrame.p, -- origin
  1866. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  1867. )
  1868. local ignore = orb
  1869. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1870. a.BottomSurface = 10
  1871. a.TopSurface = 10
  1872. local distance = (orb.CFrame.p - position).magnitude
  1873. a.Size = Vector3.new(0.1, 0.1, 0.1)
  1874. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  1875. orb.CFrame = a.CFrame
  1876. for i = 0, 8, 0.1 do
  1877. swait()
  1878. sphere2(5,"Add",orb.CFrame*CFrame.new(math.random(-20,20),math.random(-20,20),math.random(-20,20)),vt(1,1,1),0.01,0.01,0.01,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  1879. ray = Ray.new(
  1880. orb.CFrame.p, -- origin
  1881. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  1882. )
  1883. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  1884. distance = (orb.CFrame.p - position).magnitude
  1885. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  1886. orb.CFrame = a.CFrame
  1887. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  1888. cam.CFrame = lerp(cam.CFrame, root.CFrame * cf(20, 65, 55) * ceuler(math.rad(-20), math.rad(0), math.rad(10)), 0.2)
  1889. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
  1890. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(40),math.rad(3)),.3)
  1891. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1892. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(90)),.3)
  1893. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-20),math.rad(20)),.3)
  1894. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(100),math.rad(0),math.rad(60)),.3)
  1895. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(130),math.rad(0)),.3)
  1896. end
  1897. cam.CameraType = "Custom"
  1898. orb.Anchored = false
  1899. a:Destroy()
  1900. local bv = Instance.new("BodyVelocity")
  1901. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1902. bv.velocity = orb.CFrame.lookVector*250
  1903. bv.Parent = orb
  1904. local hitted = false
  1905. CFuncs["Sound"].Create("rbxassetid://466493476", orb, 7.5, 0.7)
  1906. waveEff(2,"Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(5,1,5),0.5,0.1,BrickColor.new("Cyan"))
  1907. waveEff(4,"Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(5,1,5),0.5,0.05,BrickColor.new("Royal purple"))
  1908. coroutine.resume(coroutine.create(function()
  1909. while true do
  1910. swait(2)
  1911. if hitted == false and orb.Parent ~= nil then
  1912. slash(3,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.075,0.005,0.075),-0.05,BrickColor.new("White"))
  1913. elseif hitted == true and orb.Parent == nil then
  1914. break
  1915. end
  1916. end
  1917. end))
  1918. orb.Touched:connect(function(hit)
  1919. if hitted == false and hit.Parent ~= char then
  1920. hitted = true
  1921. -- MagniDamage(orb, 30, 72,95, 0, "Normal",153092213)
  1922. CFuncs["Sound"].Create("rbxassetid://763717897", orb, 10, 1)
  1923. CFuncs["Sound"].Create("rbxassetid://1295446488", orb, 9, 0.75)
  1924. for i = 0, 24 do
  1925. slash(math.random(15,30)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.001,0.01),math.random(125,250)/400,BrickColor.new("White"))
  1926. end
  1927. slash(1,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.01,0.015,0.01),1.5,BrickColor.new("White"))
  1928. slash(1,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),0),vt(0.01,0.01,0.01),2,BrickColor.new("White"))
  1929. sphere2(1,"Add",orb.CFrame,vt(10,10,10),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  1930. sphere2(1.5,"Add",orb.CFrame,vt(10,10,10),1.1,1.1,1.1,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  1931. sphere2(2,"Add",orb.CFrame,vt(10,10,10),1.2,1.2,1.2,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  1932. orb.Anchored = true
  1933. orb.Transparency = 1
  1934. coroutine.resume(coroutine.create(function()
  1935. for i = 0, 4, 0.1 do
  1936. swait()
  1937. slash(math.random(10,50)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.015,0.01),1.5,BrickColor.new("Royal purple"))
  1938. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  1939. end
  1940. hum.CameraOffset = vt(0,0,0)
  1941. end))
  1942. wait(10)
  1943. orb:Destroy()
  1944. end
  1945. end)
  1946. game:GetService("Debris"):AddItem(orb, 10)
  1947. for i = 0, 2, 0.1 do
  1948. swait()
  1949. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  1950. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0),math.rad(-6)),.3)
  1951. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(3)),.3)
  1952. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.4,0)*angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  1953. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(70)),.3)
  1954. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-13),math.rad(-40),math.rad(20)),.3)
  1955. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-80)),.3)
  1956. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(130),math.rad(0)),.3)
  1957. end
  1958. attack = false
  1959. hum.WalkSpeed = 24
  1960. hum.JumpPower = 50
  1961. end
  1962.  
  1963. function bladespinagain()
  1964. attack = true
  1965. hum.WalkSpeed = 4
  1966. hum.JumpPower = 0
  1967. CFuncs["Sound"].Create("rbxassetid://1368598393", rarmor, 2, 1)
  1968. CFuncs["Sound"].Create("rbxassetid://1368583274", rarmor, 2.5, 1)
  1969. for x = 0, 9 do
  1970. slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
  1971. CFuncs["Sound"].Create("rbxassetid://200633108", rarmor, 2, 1.05)
  1972. CFuncs["Sound"].Create("rbxassetid://234365573", rarmor, 2.5, 1.025)
  1973. for i = 0, 1, 0.6 do
  1974. swait()
  1975. sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  1976. sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  1977. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  1978. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  1979. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  1980. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  1981. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(0)),.2)
  1982. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1983. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  1984. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  1985. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  1986. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1987. end
  1988. slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
  1989. for i = 0, 1, 0.6 do
  1990. swait()
  1991. sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  1992. sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  1993. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  1994. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  1995. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  1996. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  1997. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(0)),.2)
  1998. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1999. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  2000. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  2001. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  2002. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2003. end
  2004. slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
  2005. for i = 0, 1, 0.6 do
  2006. swait()
  2007. sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  2008. sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  2009. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  2010. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  2011. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  2012. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  2013. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(0)),.2)
  2014. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2015. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  2016. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  2017. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  2018. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(180),math.rad(0)),.3)
  2019. end
  2020. slash(5,5,true,"Round","Add","Out",rarmor.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0),vt(0.05,0.01,0.05),0.05,BrickColor.new("White"))
  2021. for i = 0, 1, 0.6 do
  2022. swait()
  2023. sphereMK(5,math.random(4,25)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color,0)
  2024. sphereMK(5,math.random(1,15)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-20,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),math.rad(math.random(-25,25))),0.75,0.75,20,-0.0075,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color,0)
  2025. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,50)/250,BrickColor.new("White"))
  2026. sphere2(5,"Add",rarmor.CFrame*CFrame.new(math.random(-8,-2),0,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.1,0.1),0,0.1,0,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  2027. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  2028. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-10)),.2)
  2029. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(30),math.rad(0)),.2)
  2030. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  2031. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(60)),.3)
  2032. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(80)),.3)
  2033. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  2034. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(270),math.rad(0)),.3)
  2035. end
  2036. end
  2037. local hitb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.Random())
  2038. hitb.Anchored = true
  2039. hitb.CFrame = root.CFrame + root.CFrame.lookVector*8
  2040. hitb.CFrame = hitb.CFrame*CFrame.new(0,1,0)
  2041. -- MagniDamage(hitb, 8, 92,158, 0, "Normal",153092213)
  2042. sphere2(5,"Add",hitb.CFrame,vt(2.1,2.1,2),-0.02,-0.02,5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  2043. sphere2(5,"Add",hitb.CFrame,vt(2,2,2),-0.02,-0.02,4,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  2044. for i = 0, 24 do
  2045. slash(math.random(20,100)/10,5,true,"Round","Add","Out",hitb.CFrame*CFrame.new(0,0,math.random(-60,60))*CFrame.Angles(math.rad(90),0,0),vt(0.01,0.01,0.01),math.random(10,100)/1000,BrickColor.new("White"))
  2046. end
  2047. CFuncs["Sound"].Create("rbxassetid://313205954", root, 4,1)
  2048. CFuncs["Sound"].Create("rbxassetid://1368637781", rarmor, 4,1)
  2049. CFuncs["Sound"].Create("rbxassetid://763718160", rarmor, 5, 1.1)
  2050. CFuncs["Sound"].Create("rbxassetid://782353443", rarmor, 6, 1)
  2051. --CFuncs["Sound"].Create("rbxassetid://1548538202", rarmor, 4,1)
  2052. for i = 0, 2, 0.1 do
  2053. swait()
  2054. -- MagniDamage(hitb, 8, 92,158, 0, "Normal",153092213)
  2055. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  2056. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-20),math.rad(-10)),.9)
  2057. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.9)
  2058. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.9)
  2059. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(-80)),.9)
  2060. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(90),math.rad(0),math.rad(70)),.9)
  2061. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-60)),.9)
  2062. weaponweld.C1=clerp(weaponweld.C1,cf(2,0,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.9)
  2063. end
  2064. hum.CameraOffset = vt(0,0,0)
  2065. hitb:Destroy()
  2066. attack = false
  2067. hum.WalkSpeed = 24
  2068. hum.JumpPower = 50
  2069. end
  2070.  
  2071. function superjump()
  2072. attack = true
  2073. hum.WalkSpeed = 0
  2074. hum.JumpPower = 0
  2075. wng1a.Transparency = wng1a.Transparency - 1
  2076. wng1b.Transparency = wng1b.Transparency - 1
  2077. wng2a.Transparency = wng2a.Transparency - 1
  2078. wng2b.Transparency = wng2b.Transparency - 1
  2079. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  2080. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  2081. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7.5, 1)
  2082. for i = 0, 2, 0.1 do
  2083. swait()
  2084. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  2085. root.Velocity = vt(0,0,0)
  2086. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,250)/250,BrickColor.new("White"))
  2087. RH.C0=clerp(RH.C0,cf(1,-0.45,-0.45)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(20)),.4)
  2088. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(40)),.4)
  2089. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,-1)*angles(math.rad(20),math.rad(0),math.rad(0)),.4)
  2090. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(0)),.4)
  2091. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(40)),.4)
  2092. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-40)),.4)
  2093. end
  2094. CFuncs["Sound"].Create("rbxassetid://477843807", root, 7, 1.05)
  2095. local lat1 = Instance.new("Attachment",larm)
  2096. lat1.Position = Vector3.new(1,-1,0.5)
  2097. local lat2 = Instance.new("Attachment",larm)
  2098. lat2.Position = Vector3.new(-1,-1,-0.5)
  2099. local rat1 = Instance.new("Attachment",rarm)
  2100. rat1.Position = Vector3.new(1,-1,-0.5)
  2101. local rat2 = Instance.new("Attachment",rarm)
  2102. rat2.Position = Vector3.new(-1,-1,0.5)
  2103. local tl1 = Instance.new('Trail',larm)
  2104. tl1.Attachment0 = lat1
  2105. tl1.Attachment1 = lat2
  2106. tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  2107. tl1.LightEmission = 1
  2108. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.05, 0),NumberSequenceKeypoint.new(1, 1)})
  2109. tl1.Color = ColorSequence.new(BrickColor.new('Royal purple').Color,BrickColor.new('Cyan').Color)
  2110. tl1.Lifetime = 5
  2111. local tl2 = tl1:Clone()
  2112. tl2.Attachment0 = rat1
  2113. tl2.Attachment1 = rat2
  2114. tl2.Parent = rarm
  2115. hum.JumpPower = 50
  2116. hum.Jump = true
  2117. swait()
  2118. hum.JumpPower = 0
  2119. root.Velocity = vt(0,250,0) + root.CFrame.lookVector*250
  2120. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(-45),0,0),vt(25,1,25),0.3,5,0.3,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  2121. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(-45),0,0),vt(25,1,25),0.2,4,0.2,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  2122. for i = 0, 49 do
  2123. waveEff(math.random(10,100)/10,"Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(0,math.rad(math.random(-360,360)),0),vt(15,0.25,15),math.random(25,250)/250,0.25,BrickColor.new("White"))
  2124. slash(math.random(10,100)/10,3,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,500)/250,BrickColor.new("White"))
  2125. end
  2126. coroutine.resume(coroutine.create(function()
  2127. for i = 0, 2, 0.1 do
  2128. swait()
  2129. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  2130. end
  2131. hum.CameraOffset = vt(0,0,0)
  2132. wait(3)
  2133. tl1.Enabled = false
  2134. tl2.Enabled = false
  2135. game:GetService("Debris"):AddItem(tl1, 5)
  2136. game:GetService("Debris"):AddItem(tl2, 5)
  2137. game:GetService("Debris"):AddItem(rat1, 5)
  2138. game:GetService("Debris"):AddItem(rat2, 5)
  2139. game:GetService("Debris"):AddItem(lat1, 5)
  2140. game:GetService("Debris"):AddItem(lat2, 5)
  2141. end))
  2142. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 10, 1)
  2143. for i = 0, 3, 0.1 do
  2144. swait()
  2145. RH.C0=clerp(RH.C0,cf(1,-0.45,-0.45)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-20)),.4)
  2146. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(30)),.4)
  2147. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.75,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.4)
  2148. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.4)
  2149. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(20)),.4)
  2150. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.4)
  2151. end
  2152. coroutine.resume(coroutine.create(function()
  2153. for i = 0, 99 do
  2154. swait()
  2155. wng1a.Transparency = wng1a.Transparency + 0.01
  2156. wng1b.Transparency = wng1b.Transparency + 0.01
  2157. wng2a.Transparency = wng2a.Transparency + 0.01
  2158. wng2b.Transparency = wng2b.Transparency + 0.01
  2159. end
  2160. end))
  2161. attack = false
  2162. if equipped == false then
  2163. hum.WalkSpeed = 16
  2164. else
  2165. hum.WalkSpeed = 24
  2166. end
  2167. hum.JumpPower = 50
  2168. end
  2169. ------------------
  2170.  
  2171.  
  2172. local attacktype = 1
  2173. mouse.Button1Down:connect(function()
  2174. if equipped == true then
  2175. if attack == false and attacktype == 1 then
  2176. attacktype = 2
  2177. attackone()
  2178. elseif attack == false and attacktype == 2 then
  2179. attacktype = 3
  2180. attacktwo()
  2181. elseif attack == false and attacktype == 3 then
  2182. attacktype = 1
  2183. attackthree()
  2184. -- elseif attack == false and attacktype == 4 then
  2185. -- attacktype = 1
  2186. -- attackfour()
  2187. end
  2188. end
  2189. end)
  2190. mouse.KeyDown:connect(function(k)
  2191. if k == "f" and attack == false and equipped == false then
  2192. -- game:GetService("Workspace").CloneCharacter.AlignPosition.Attachment1 = game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment
  2193. -- game:GetService("Workspace").CloneCharacter.AlignOrientation.Attachment1 = game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment
  2194.  
  2195. -- game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment.Rotation = Vector3.new(14.16, -100.96, -52)
  2196. -- game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment.Position = Vector3.new(0.5, -0, -2.7)
  2197. game:GetService("Workspace").CloneCharacter.AlignOrientation.Attachment1 = game:GetService("Workspace").CloneCharacter.Model.Part.Attachment
  2198. game:GetService("Workspace").CloneCharacter.AlignPosition.Attachment1 = game:GetService("Workspace").CloneCharacter.Model.Part.Attachment2
  2199.  
  2200. game:GetService("Workspace").CloneCharacter.Model.Part.Attachment2.Position = Vector3.new(-2.5, 0.2, -0)
  2201. game:GetService("Workspace").CloneCharacter.Model.Part.Attachment.Rotation = Vector3.new(-0, -0, -50)
  2202.  
  2203.  
  2204. equip()
  2205. -- game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment.Rotation = Vector3.new(14.16, -100.96, -52)
  2206. -- game:GetService("Workspace").CloneCharacter["Right Arm"].RightGripAttachment.Position = Vector3.new(0.5, -0, -2.7)
  2207.  
  2208. elseif k == "f" and attack == false and equipped == true then
  2209. game:GetService("Workspace").CloneCharacter.AlignOrientation.Attachment1 = game:GetService("Workspace").CloneCharacter.Torso.WaistBackAttachment
  2210. game:GetService("Workspace").CloneCharacter.AlignPosition.Attachment1 = game:GetService("Workspace").CloneCharacter.Torso.WaistBackAttachment
  2211.  
  2212. game:GetService("Workspace").CloneCharacter.Torso.WaistBackAttachment.Position = Vector3.new(-0, -0, 0.6)
  2213. game:GetService("Workspace").CloneCharacter.Torso.WaistBackAttachment.Orientation = Vector3.new(-4.16, -179.28, 99.8)
  2214.  
  2215.  
  2216. unequip()
  2217. end
  2218.  
  2219.  
  2220. if k == "r" and attack == false then
  2221. superjump()
  2222. end
  2223. if equipped == true then
  2224. if k == "z" and attack == false then
  2225. spinnyblade()
  2226. end
  2227. if k == "x" and attack == false then
  2228. eightbitmegablade()
  2229. end
  2230. if k == "c" and attack == false then
  2231. bladespinagain()
  2232. end
  2233. end
  2234. if k == "l" and muter == false then
  2235. muter = true
  2236. kan.Volume = 0
  2237. elseif k == "l" and muter == true then
  2238. muter = false
  2239. kan.Volume = 1.25
  2240. end
  2241. end)
  2242. plr.Chatted:connect(function(message)
  2243. if message:sub(1,3) == "id/" then
  2244. ORGID = message:sub(4)
  2245. kan.TimePosition = 0
  2246. kan:Play()
  2247. elseif message:sub(1,6) == "pitch/" then
  2248. ORPIT = message:sub(7)
  2249. elseif message:sub(1,4) == "vol/" then
  2250. ORVOL = message:sub(5)
  2251. elseif message:sub(1,7) == "skipto/" then
  2252. kan.TimePosition = message:sub(8)
  2253. end
  2254. end)
  2255.  
  2256. idleanim=.4
  2257. while true do
  2258. swait()
  2259. if muter == false then
  2260. kan.Volume = ORVOL
  2261. else
  2262. kan.Volume = 0
  2263. end
  2264. kan.PlaybackSpeed = ORPIT
  2265. kan.Pitch = ORPIT
  2266. kan.SoundId = "rbxassetid://" ..ORGID
  2267. kan.Looped = true
  2268. kan.Parent = plr.PlayerGui
  2269. kan:Resume()
  2270. techc.Rotation = techc.Rotation + 0.1
  2271. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50
  2272. imgl2.ImageColor3 = Color3.new(0.15 + kan.PlaybackLoudness/2500,0,0.6 + kan.PlaybackLoudness/1000)
  2273. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25
  2274. imgl2b.ImageColor3 = Color3.new(0,0.3 + kan.PlaybackLoudness/1500,0.6 + kan.PlaybackLoudness/1000)
  2275. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  2276. ned.Position = UDim2.new(0.6,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  2277. sine = sine + change
  2278. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2279. local velderp=RootPart.Velocity.y
  2280. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2281. if equipped==true or equipped==false then
  2282. if attack==false then
  2283. idle=idle+1
  2284. else
  2285. idle=0
  2286. end
  2287. if idle>=500 then
  2288. if attack==false then
  2289. --Sheath()
  2290. end
  2291. end
  2292. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2293. Anim="Jump"
  2294. if attack==false then
  2295. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  2296. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  2297. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  2298. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  2299. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
  2300. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
  2301. if equipped == false then
  2302. weaponweld.C1=clerp(weaponweld.C1,cf(-3,0,-0.5)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  2303. else
  2304. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(130),math.rad(0)),.3)
  2305. end
  2306. end
  2307. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2308. Anim="Fall"
  2309. if attack==false then
  2310. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  2311. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  2312. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  2313. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  2314. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
  2315. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
  2316. if equipped == false then
  2317. weaponweld.C1=clerp(weaponweld.C1,cf(-3,0,-0.5)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  2318. else
  2319. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(130),math.rad(0)),.3)
  2320. end
  2321. end
  2322. elseif torvel<1 and hitfloor~=nil then
  2323. Anim="Idle"
  2324. if attack==false then
  2325. if equipped == false then
  2326. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(-15),math.rad(0 + 2 * math.cos(sine / 20))),.1)
  2327. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(1),math.rad(0 - 2 * math.cos(sine / 20))),.1)
  2328. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.02 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(30 + 3 * math.cos(sine / 40))),.1)
  2329. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0 - 7 * math.cos(sine / 40)),math.rad(-30 - 3 * math.cos(sine / 40))),.1)
  2330. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-6 + 5 * math.cos(sine / 26)),math.rad(-10 - 6 * math.cos(sine / 24)),math.rad(13 - 5 * math.cos(sine / 34))),.1)
  2331. LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 1 * math.cos(sine / 25)),math.rad(10 + 2 * math.cos(sine / 24)),math.rad(10 + 2 * math.cos(sine / 34))),.1)
  2332. weaponweld.C1=clerp(weaponweld.C1,cf(-3,0,-0.5)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  2333. else
  2334. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(0 - 6 * math.cos(sine / 40)),math.rad(-6 + 2 * math.cos(sine / 20) - 6 * math.cos(sine / 40))),.1)
  2335. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(10 - 6 * math.cos(sine / 40)),math.rad(3 - 2 * math.cos(sine / 20) - 3 * math.cos(sine / 40))),.1)
  2336. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.06 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(-20 + 6 * math.cos(sine / 40))),.1)
  2337. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(6),math.rad(0 - 2 * math.cos(sine / 42)),math.rad(20 - 6 * math.cos(sine / 40))),.1)
  2338. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 + 3 * math.cos(sine / 26)),math.rad(-20 - 3 * math.cos(sine / 24)),math.rad(20 - 5 * math.cos(sine / 34))),.1)
  2339. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 3 * math.cos(sine / 25)),math.rad(10 + 3 * math.cos(sine / 24)),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  2340. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(130),math.rad(0)),.3)
  2341. end
  2342. end
  2343. elseif torvel>2 and torvel<42 and hitfloor~=nil then
  2344. Anim="Walk"
  2345. if attack==false then
  2346. if equipped == false then
  2347. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 45 * math.cos(sine / 8))),.1)
  2348. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 45 * math.cos(sine / 8))),.1)
  2349. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1)
  2350. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 5 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 10 * math.cos(sine / 8))),.1)
  2351. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  2352. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  2353. weaponweld.C1=clerp(weaponweld.C1,cf(-3,0,-0.5)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  2354. else
  2355. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 60 * math.cos(sine / 8))),.1)
  2356. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 60 * math.cos(sine / 8))),.1)
  2357. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,0 + 0.15 * math.cos(sine / 4))*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(-10 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  2358. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5 + 3 * math.cos(sine / 57)),math.rad(10 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
  2359. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(-10),math.rad(0),math.rad(15 - 2 * math.cos(sine / 34))),.1)
  2360. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  2361. weaponweld.C1=clerp(weaponweld.C1,cf(0,1,0)*angles(math.rad(0),math.rad(120 + 5 * math.cos(sine / 35)),math.rad(0)),.3)
  2362. end
  2363. end
  2364. elseif torvel>=42 and hitfloor~=nil then
  2365. Anim="Run"
  2366. if attack==false then
  2367. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 85 * math.cos(sine / 6))),.1)
  2368. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 85 * math.cos(sine / 6))),.1)
  2369. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(15 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 6))),.1)
  2370. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5 + 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 10 * math.cos(sine / 6))),.1)
  2371. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1)
  2372. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1)
  2373. end
  2374. end
  2375. end
  2376. end
Add Comment
Please, Sign In to add comment