Advertisement
Guest User

Void Boss Script Fe

a guest
Aug 6th, 2022
6,651
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 133.37 KB | None | 0 0
  1.  
  2. --hats needed
  3. --9350274205
  4. --5803107414
  5. --4753437569
  6. --credits to shownape
  7. --why u ask? using his align
  8. --shownape is cool :D
  9.  
  10. local function callback(Text)
  11. if Text == "Discord Server" then
  12. setclipboard('https://discord.gg/HNrj8UPCaG')
  13. end
  14. end
  15.  
  16. local NotificationBindable = Instance.new("BindableFunction")
  17. NotificationBindable.OnInvoke = callback
  18. --
  19. game.StarterGui:SetCore("SendNotification", {
  20. Title = "{the ka's release's}";
  21. Text = "Void Boss Convert";
  22. Icon = "http://www.roblox.com/asset/?id=7506338236";
  23. Duration = 7.5;
  24. Button1 = "Discord Server";
  25. Callback = NotificationBindable;
  26. })
  27.  
  28. for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
  29. if v:IsA("BasePart") and v.Name ~="HumanoidRootPart" then
  30. game:GetService("RunService").Heartbeat:connect(function()
  31. v.Velocity = Vector3.new(0,-30,0) --dont remove this, trust me
  32. end)
  33. end
  34. end
  35.  
  36. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  37. if v:IsA("Accessory") then
  38. if game.Players.LocalPlayer.Character.Humanoid.RigType == Enum.HumanoidRigType.R6 then
  39. if v.Handle:FindFirstChildWhichIsA("SpecialMesh").MeshId == "rbxassetid://4753434608" then
  40. v.Name = "hat1"
  41. end
  42. end
  43. end
  44. end
  45.  
  46.  
  47.  
  48. local TweenService = game:GetService("TweenService")
  49.  
  50.  
  51. MaskTextureId = 124337542 --124337542 2340547251
  52.  
  53.  
  54. owner=game.Players.LocalPlayer
  55. Player = game.Players.LocalPlayer
  56. script.Parent = Player.PlayerGui
  57. ZTfade=false
  58. ZT=false
  59.  
  60. while Player.Character == nil do wait()
  61.  
  62. end
  63.  
  64.  
  65. Character= owner.Character
  66. Torso = Character.Torso
  67. Head = Character.Head
  68. Mouse = owner:GetMouse()
  69. Humanoid = Character.Humanoid
  70. LeftArm = Character["Left Arm"]
  71. LeftLeg = Character["Left Leg"]
  72. RightArm = Character["Right Arm"]
  73. RightLeg = Character["Right Leg"]
  74. RootPart = Character["HumanoidRootPart"]
  75. local Anim="Idle"
  76. local inairvel=0
  77. local WalkAnimStep = 0
  78. local sine = 0
  79. local change = 1
  80. Animstep = 0
  81. WalkAnimMove=0.1
  82. Combo = 0
  83. local attack=false
  84. local RJ = Character.HumanoidRootPart:FindFirstChild("RootJoint")
  85. local Neck = Character.Torso:FindFirstChild("Neck")
  86. local Tim = ""
  87. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  88. local NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  89. local ONeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  90. Effects=Instance.new("Folder",Character)
  91. Effects.Name="Effects"
  92. it=Instance.new
  93. vt=Vector3.new
  94. cf=CFrame.new
  95. euler=CFrame.fromEulerAnglesXYZ
  96. angles=CFrame.Angles
  97. local cn = CFrame.new
  98. mr=math.rad
  99. mememode=false
  100. IT = Instance.new
  101. CF = CFrame.new
  102. VT = Vector3.new
  103. RAD = math.rad
  104. C3 = Color3.new
  105. UD2 = UDim2.new
  106. BRICKC = BrickColor.new
  107. ANGLES = CFrame.Angles
  108. EULER = CFrame.fromEulerAnglesXYZ
  109. COS = math.cos
  110. ACOS = math.acos
  111. SIN = math.sin
  112. ASIN = math.asin
  113. ABS = math.abs
  114. MRANDOM = math.random
  115. FLOOR = math.floor
  116. local lastid= "http://www.roblox.com/asset/?id=468582223"
  117. local s2=it("Sound",Torso)
  118. local CurId = 1
  119. s2.EmitterSize = 30
  120. local s2c=s2:Clone()
  121.  
  122.  
  123.  
  124.  
  125.  
  126. local crying = "http://www.roblox.com/asset/?id=1452402780"
  127. local s3=it("Sound",Head)
  128.  
  129. s3.EmitterSize = 40
  130. local s3c=s3:Clone()
  131.  
  132.  
  133.  
  134. Humanoid.MaxHealth = 99999999999
  135. wait()
  136.  
  137. Humanoid.Health = 99999999999
  138. Humanoid.Name = "VoidBoss"
  139. ff = Instance.new("ForceField",Character)
  140. ff.Visible = false
  141. playsong = true
  142.  
  143. s2.SoundId = lastid
  144. if playsong == true then
  145. s2:play()
  146. elseif playsong == false then
  147. s2:stop()
  148. end
  149. lastsongpos= 0
  150.  
  151. crosshair = Instance.new("BillboardGui",Character)
  152. crosshair.Size = UDim2.new(10,0,10,0)
  153. crosshair.Enabled = false
  154. imgl = Instance.new("ImageLabel",crosshair)
  155. imgl.Position = UDim2.new(0,0,0,0)
  156. imgl.Size = UDim2.new(1,0,1,0)
  157. imgl.Image = "rbxassetid://578065407"
  158. imgl.BackgroundTransparency = 1
  159. imgl.ImageTransparency = .7
  160. imgl.ImageColor3 = Color3.new(1,1,1)
  161. crosshair.StudsOffset = Vector3.new(0,0,-1)
  162.  
  163.  
  164. if Character:FindFirstChild("Animate")then
  165. Character.Animate:Destroy()
  166. end
  167.  
  168. function RemoveOutlines(part)
  169. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  170. end
  171.  
  172.  
  173.  
  174.  
  175. CFuncs = {
  176. Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  177.  
  178. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  179. RemoveOutlines(Part)
  180. return Part
  181. end
  182. }
  183. ,
  184. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  185.  
  186. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  187. if Mesh == "SpecialMesh" then
  188. Msh.MeshType = MeshType
  189. Msh.MeshId = MeshId
  190. end
  191. return Msh
  192. end
  193. }
  194. ,
  195. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  196.  
  197. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  198. if Mesh == "SpecialMesh" then
  199. Msh.MeshType = MeshType
  200. Msh.MeshId = MeshId
  201. end
  202. return Msh
  203. end
  204. }
  205. ,
  206. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  207.  
  208. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  209. return Weld
  210. end
  211. }
  212. ,
  213. Sound = {Create = function(id, par, vol, pit)
  214.  
  215. coroutine.resume(coroutine.create(function()
  216.  
  217. local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = "http://www.roblox.com/asset/?id="..id, Parent = par or workspace})
  218. wait()
  219. S:play()
  220. game:GetService("Debris"):AddItem(S, 12)
  221. end
  222. ))
  223. end
  224. }
  225. ,
  226. ParticleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  227.  
  228. local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
  229. return fp
  230. end
  231. }
  232. }
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248. ---------------
  249. --[Functions]--
  250. ---------------
  251. so = function(id, par, vol, pit)
  252.  
  253. CFuncs.Sound.Create(id, par, vol, pit)
  254.  
  255.  
  256. end
  257.  
  258. function weld(parent,part0,part1,c0)
  259. local weld=it("Weld")
  260. weld.Parent=parent
  261. weld.Part0=part0
  262. weld.Part1=part1
  263. weld.C0=c0
  264. return weld
  265. end
  266.  
  267.  
  268. function MakeJoint(parent,part0,part1,c0)
  269. local weld=it("Motor6D")
  270. weld.Parent=parent
  271. weld.Part0=part0
  272. weld.Part1=part1
  273. weld.C0=c0
  274. return weld
  275. end
  276.  
  277. rayCast = function(Pos, Dir, Max, Ignore)
  278.  
  279. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  280. end
  281. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  282. local DIRECTION = CF(StartPos,EndPos).lookVector
  283. return rayCast(StartPos, DIRECTION, Distance, Ignore)
  284. end
  285.  
  286. function SetTween(SPart,CFr,MoveStyle2,outorin2,AnimTime)
  287. local MoveStyle = Enum.EasingStyle[MoveStyle2]
  288. local outorin = Enum.EasingDirection[outorin2]
  289.  
  290.  
  291. local dahspeed=1
  292.  
  293. local tweeningInformation = TweenInfo.new(
  294. AnimTime/dahspeed,
  295. MoveStyle,
  296. outorin,
  297. 0,
  298. false,
  299. 0
  300. )
  301. local MoveCF = CFr
  302. local tweenanim = TweenService:Create(SPart,tweeningInformation,MoveCF)
  303. tweenanim:Play()
  304. end
  305.  
  306. function GatherAllInstances(Parent,ig)
  307. local Instances = {}
  308. local Ignore=nil
  309. if ig ~= nil then
  310. Ignore = ig
  311. end
  312.  
  313. local function GatherInstances(Parent,Ignore)
  314. for i, v in pairs(Parent:GetChildren()) do
  315.  
  316. if v ~= Ignore then
  317. GatherInstances(v,Ignore)
  318. table.insert(Instances, v) end
  319. end
  320. end
  321. GatherInstances(Parent,Ignore)
  322. return Instances
  323. end
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333. function WeldAllTo(Part1,Part2,Extra)
  334.  
  335. local EXCF = Part2.CFrame * Extra
  336.  
  337. for i, v3 in pairs(GatherAllInstances(Part2)) do
  338. if v3:isA("BasePart") then
  339.  
  340.  
  341. local STW=weld(v3,v3,Part1,EXCF:toObjectSpace(v3.CFrame):inverse() )
  342.  
  343.  
  344. v3.Anchored=false
  345. --v3.Transparency=0
  346. v3.CanCollide=false
  347.  
  348. v3.Parent = Part1
  349.  
  350. end
  351. end
  352.  
  353.  
  354. Part2:Destroy()
  355.  
  356. end
  357.  
  358.  
  359. function AddStoneTexture(part)
  360. coroutine.resume(coroutine.create(function()
  361. for i = 0,6,1 do
  362. local Tx = SToneTexture:Clone()
  363. Tx.Face = i
  364. Tx.Parent=part
  365. end
  366. end))
  367. end
  368.  
  369. New = function(Object, Parent, Name, Data)
  370. local Object = Instance.new(Object)
  371. for Index, Value in pairs(Data or {}) do
  372. Object[Index] = Value
  373. end
  374. Object.Parent = Parent
  375. Object.Name = Name
  376. return Object
  377. end
  378. function recurse(root,callback,i)
  379. coroutine.resume(coroutine.create(function()
  380. i= i or 0
  381. for _,v in pairs(root:GetChildren()) do
  382. i = i + 1
  383. callback(i,v)
  384.  
  385. if #v:GetChildren() > 0 then
  386. i = recurse(v,callback,i)
  387. end
  388. end
  389. end))
  390. return i
  391. end
  392.  
  393. function ragdollJoint(part0, part1, attachmentName, className, properties)
  394.  
  395. attachmentName = attachmentName--.."RigAttachment"
  396.  
  397.  
  398. local constraint = Instance.new(className.."Constraint")
  399. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  400. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  401. constraint.Name = "RagdollConstraint"..part1.Name
  402.  
  403. for _,propertyData in next,properties or {} do
  404. constraint[propertyData[1]] = propertyData[2]
  405. end
  406.  
  407. local Rcharacter = part0.Parent
  408. constraint.Parent = Rcharacter
  409. end
  410.  
  411. function MakeAth(AthParent,AthName,AthPosX,AthPosY,AthPosZ,AthRot,AthAX,SecondaryAxis)
  412.  
  413. coroutine.resume(coroutine.create(function()
  414. local ATH = Instance.new("Attachment",AthParent)
  415. ATH.Position = Vector3.new(AthPosX,AthPosY,AthPosZ)
  416. ATH.Name = AthName
  417. if AthRot ~= nil then
  418. ATH.Rotation = AthRot end
  419. if AthAX ~= nil then
  420. ATH.Axis = AthAX end
  421. if SecondaryAxis ~= nil then
  422. ATH.SecondaryAxis = SecondaryAxis end
  423. end))
  424. end
  425. function getAttachment0(attachmentName,Rcharacter)
  426. for i, child in pairs(GatherAllInstances(Rcharacter)) do
  427. local attachment = child:FindFirstChild(attachmentName)
  428. if attachment then
  429. return attachment
  430.  
  431. end
  432.  
  433. end
  434.  
  435.  
  436.  
  437.  
  438.  
  439. end
  440.  
  441. function makrag(Rcharacter)
  442.  
  443.  
  444. --HitModel
  445.  
  446.  
  447. local camera = workspace.CurrentCamera
  448.  
  449. --Make it so ragdoll can't collide with invisible HRP, but don't let HRP fall through map and be destroyed in process
  450. coroutine.resume(coroutine.create(function()
  451. if Rcharacter:FindFirstChild("HumanoidRootPart")then
  452. Rcharacter.HumanoidRootPart.Anchored = true
  453. Rcharacter.HumanoidRootPart.CanCollide = false
  454. --- Rcharacter.HumanoidRootPart.Position = Vector3.new(0,-10,0)
  455. Rcharacter.HumanoidRootPart.Parent = nil
  456. end
  457. end))
  458. --Helps to fix constraint spasms
  459. recurse(Rcharacter, function(_,v)
  460. if v:IsA("Attachment") then
  461. v.Axis = Vector3.new(0, 1, 0)
  462. v.SecondaryAxis = Vector3.new(0, 0, 1)
  463. v.Rotation = Vector3.new(0, 0, 0)
  464. end
  465. end)
  466.  
  467. --Re-attach hats
  468.  
  469.  
  470. coroutine.resume(coroutine.create(function()
  471. if Rcharacter:FindFirstChild("Torso")then
  472.  
  473. local RMT = Rcharacter:FindFirstChild("Torso")
  474.  
  475. local RMH = Rcharacter:FindFirstChild("Head")
  476.  
  477. local RLA = Rcharacter:FindFirstChild("Left Arm")
  478.  
  479. local RRA = Rcharacter:FindFirstChild("Right Arm")
  480.  
  481. local RLL = Rcharacter:FindFirstChild("Left Leg")
  482.  
  483. local RRL = Rcharacter:FindFirstChild("Right Leg")
  484.  
  485. --MakeAth(RMH,"",0,0,0)
  486. MakeAth(RMH,"NeckRigAttachment",0,-.5,0)
  487. MakeAth(RRA,"RightShoulderRigAttachment",-0.4, 0.8, 0,Vector3.new(-180, 0, 90),Vector3.new(0, -1, -0),Vector3.new(0, 1, 0))
  488. MakeAth(RLA,"LeftShoulderRigAttachment",0.4, 0.8, 0,Vector3.new(-180, 0, 90),Vector3.new(0, -1, -0),Vector3.new(-1, 0, 0))
  489. MakeAth(RRL,"RightHipRigAttachment",0, 1, 0,Vector3.new(90, -90, 0),Vector3.new(0, -1, -0),Vector3.new(0, -0, 1))
  490. MakeAth(RLL,"LeftHipRigAttachment",0, 1, 0,Vector3.new(90, -90, 0),Vector3.new(0, -1, -0),Vector3.new(0, -0, 1))
  491. ------------------------------------------------------
  492. MakeAth(RMT,"NeckRigAttachment",0, 1, 0)
  493. MakeAth(RMT,"RightShoulderRigAttachment",1, 0.8, 0,Vector3.new(-180, 0, 0),Vector3.new(1, -0, 0),Vector3.new(0, -1, 0))
  494. MakeAth(RMT,"LeftShoulderRigAttachment",-1, 0.8, 0,Vector3.new(0, 0, -180),Vector3.new(-1, -0, 0),Vector3.new(0, -1, 0))
  495. MakeAth(RMT,"RightHipRigAttachment",0.5, -1.1, 0,Vector3.new(90, -90, 0),Vector3.new(0, -1, -0),Vector3.new(0, -0, 1))
  496. MakeAth(RMT,"LeftHipRigAttachment",-0.5, -1.1, 0,Vector3.new(90, -90, 0),Vector3.new(0, -1, -0),Vector3.new(0, -0, 1))
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505. coroutine.resume(coroutine.create(function()
  506. local LAT = Instance.new("BallSocketConstraint")
  507. LAT.Parent = RMT
  508. LAT.Attachment0 = RLA.LeftShoulderRigAttachment
  509. LAT.Attachment1 = RMT.LeftShoulderRigAttachment
  510. LAT.Enabled = true
  511. LAT.LimitsEnabled=true
  512. LAT.UpperAngle=70
  513. end))
  514. coroutine.resume(coroutine.create(function()
  515. local RAT = Instance.new("BallSocketConstraint")
  516. RAT.Parent = RMT
  517. RAT.Attachment0 = RRA.RightShoulderRigAttachment
  518. RAT.Attachment1 = RMT.RightShoulderRigAttachment
  519. RAT.Enabled = true
  520. RAT.LimitsEnabled=true
  521. RAT.UpperAngle=70
  522. end))
  523. coroutine.resume(coroutine.create(function()
  524. local TLL = Instance.new("BallSocketConstraint")
  525. TLL.Parent = RMT
  526. TLL.Attachment0 = RLL.LeftHipRigAttachment
  527. TLL.Attachment1 = RMT.LeftHipRigAttachment
  528. TLL.Enabled = true
  529. TLL.LimitsEnabled=true
  530. TLL.UpperAngle=70
  531. end))
  532. coroutine.resume(coroutine.create(function()
  533. local TRL = Instance.new("BallSocketConstraint")
  534. TRL.Parent = RMT
  535. TRL.Attachment0 = RRL.RightHipRigAttachment
  536. TRL.Attachment1 = RMT.RightHipRigAttachment
  537. TRL.Enabled = true
  538. TRL.LimitsEnabled=true
  539. TRL.UpperAngle=70
  540. end))
  541.  
  542. end
  543. end))
  544. coroutine.resume(coroutine.create(function()
  545. ragdollJoint(Rcharacter.LowerTorso, Rcharacter.UpperTorso, "WaistRigAttachment", "BallSocket", {
  546. {"LimitsEnabled",true};
  547. {"UpperAngle",5};
  548. }) end)) coroutine.resume(coroutine.create(function()
  549. local NeckProperties = {
  550. {"LimitsEnabled", true};
  551. {"UpperAngle",5};
  552.  
  553. }
  554. local Rtorso = Rcharacter:FindFirstChild("Torso") or Rcharacter:FindFirstChild("UpperTorso")
  555. ragdollJoint(Rtorso, Rcharacter.Head, "NeckRigAttachment", "Hinge", NeckProperties)
  556. end)) coroutine.resume(coroutine.create(function()
  557.  
  558. local handProperties = {
  559. {"LimitsEnabled", true};
  560. {"UpperAngle",0};
  561. {"LowerAngle",0};
  562. }
  563. ragdollJoint(Rcharacter.LeftLowerArm, Rcharacter.LeftHand, "LeftWristRigAttachment", "Hinge", handProperties)
  564. ragdollJoint(Rcharacter.RightLowerArm, Rcharacter.RightHand, "RightWristRigAttachment", "Hinge", handProperties)
  565. end)) coroutine.resume(coroutine.create(function()
  566. local shinProperties = {
  567. {"LimitsEnabled", true};
  568. {"UpperAngle", 0};
  569. {"LowerAngle", -75};
  570. }
  571. ragdollJoint(Rcharacter.LeftUpperLeg, Rcharacter.LeftLowerLeg, "LeftKneeRigAttachment", "Hinge", shinProperties)
  572. ragdollJoint(Rcharacter.RightUpperLeg, Rcharacter.RightLowerLeg, "RightKneeRigAttachment", "Hinge", shinProperties)
  573. end)) coroutine.resume(coroutine.create(function()
  574. local footProperties = {
  575. {"LimitsEnabled", true};
  576. {"UpperAngle", 15};
  577. {"LowerAngle", -45};
  578. }
  579. ragdollJoint(Rcharacter.LeftLowerLeg, Rcharacter.LeftFoot, "LeftAnkleRigAttachment", "Hinge", footProperties)
  580. ragdollJoint(Rcharacter.RightLowerLeg, Rcharacter.RightFoot, "RightAnkleRigAttachment", "Hinge", footProperties)
  581. end))
  582. --TODO fix ability for socket to turn backwards whenn ConeConstraints are shipped
  583. coroutine.resume(coroutine.create(function()
  584. ragdollJoint(Rcharacter.UpperTorso, Rcharacter.LeftUpperArm, "LeftShoulderRigAttachment", "BallSocket") end)) coroutine.resume(coroutine.create(function()
  585. ragdollJoint(Rcharacter.LeftUpperArm, Rcharacter.LeftLowerArm, "LeftElbowRigAttachment", "BallSocket") end)) coroutine.resume(coroutine.create(function()
  586. ragdollJoint(Rcharacter.UpperTorso, Rcharacter.RightUpperArm, "RightShoulderRigAttachment", "BallSocket") end)) coroutine.resume(coroutine.create(function()
  587. ragdollJoint(Rcharacter.RightUpperArm, Rcharacter.RightLowerArm, "RightElbowRigAttachment", "BallSocket") end)) coroutine.resume(coroutine.create(function()
  588. ragdollJoint(Rcharacter.LowerTorso, Rcharacter.LeftUpperLeg, "LeftHipRigAttachment", "BallSocket") end)) coroutine.resume(coroutine.create(function()
  589. ragdollJoint(Rcharacter.LowerTorso, Rcharacter.RightUpperLeg, "RightHipRigAttachment", "BallSocket") end))
  590.  
  591.  
  592. for i = 0,2 do
  593. coroutine.resume(coroutine.create(function()
  594. for _,child in next,Rcharacter:GetChildren() do
  595. if child:IsA("Accoutrement") then
  596. --Loop through all parts instead of only checking for one to be forwards-compatible in the event
  597. --ROBLOX implements multi-part accessories
  598. for _,part in next,child:GetChildren() do
  599. if part:IsA("BasePart") then part.CanCollide = false
  600.  
  601.  
  602. local attachment1 = part:FindFirstChildOfClass("Attachment")
  603. local attachment0 = getAttachment0(attachment1.Name,Rcharacter)
  604. if attachment0 and attachment1 then
  605. --Shouldn't use constraints for this, but have to because of a ROBLOX idiosyncrasy where
  606. --joints connecting a character are perpetually deleted while the character is dead
  607.  
  608.  
  609. local HatProperties = {
  610. {"LimitsEnabled", true};
  611. {"UpperAngle", 0};
  612. {"LowerAngle", -0};
  613. }
  614.  
  615. coroutine.resume(coroutine.create(function()
  616. wait()
  617. local rg = ragdollJoint(attachment0.Parent, part, ""..attachment1.Name, "Hinge", HatProperties)
  618. end))
  619.  
  620. end
  621. end
  622. end
  623. end
  624. end
  625.  
  626. end))
  627. wait(0.5)
  628. end
  629. for _,v in pairs(Rcharacter:GetChildren()) do
  630. if v:isA("Script") or v:isA("LocalScript") then
  631. v:Destroy()
  632. end
  633. end
  634.  
  635.  
  636. coroutine.resume(coroutine.create(function()
  637. wait(1)
  638. for _,v3 in pairs(game:GetService("Players"):GetChildren()) do
  639. coroutine.resume(coroutine.create(function()
  640. if v3:isA("Player") and v3.Character == Rcharacter then
  641. Rcharacter.Archivable=true
  642. local ORcharacter = Rcharacter:Clone()
  643. --Rcharacter2.Archivable=false
  644. --Rcharacter3.Archivable=false
  645. ORcharacter.Parent = Rcharacter.Parent
  646. local Rhum = ORcharacter:FindFirstChildOfClass("Humanoid")
  647. Rhum.PlatformStand = true
  648. Rhum.Health = Rhum.MaxHealth
  649.  
  650. wait()
  651. Rhum.Health = 0
  652. game:GetService("Debris"):AddItem(ORcharacter, 380)
  653.  
  654. end
  655. end))
  656. end
  657.  
  658.  
  659. end))
  660.  
  661.  
  662. end
  663.  
  664.  
  665. function Tran(Num)
  666. local GivenLeter = ""
  667. if Num == "1" then
  668. GivenLeter = "a"
  669. elseif Num == "2" then
  670. GivenLeter = "b"
  671. elseif Num == "3" then
  672. GivenLeter = "c"
  673. elseif Num == "4" then
  674. GivenLeter = "d"
  675. elseif Num == "5" then
  676. GivenLeter = "e"
  677. elseif Num == "6" then
  678. GivenLeter = "f"
  679. elseif Num == "7" then
  680. GivenLeter = "g"
  681. elseif Num == "8" then
  682. GivenLeter = "h"
  683. elseif Num == "9" then
  684. GivenLeter = "i"
  685. elseif Num == "10" then
  686. GivenLeter = "j"
  687. elseif Num == "11" then
  688. GivenLeter = "k"
  689. elseif Num == "12" then
  690. GivenLeter = "l"
  691. elseif Num == "13" then
  692. GivenLeter = "m"
  693. elseif Num == "14" then
  694. GivenLeter = "n"
  695. elseif Num == "15" then
  696. GivenLeter = "o"
  697. elseif Num == "16" then
  698. GivenLeter = "p"
  699. elseif Num == "17" then
  700. GivenLeter = "q"
  701. elseif Num == "18" then
  702. GivenLeter = "r"
  703. elseif Num == "19" then
  704. GivenLeter = "s"
  705. elseif Num == "20" then
  706. GivenLeter = "t"
  707. elseif Num == "21" then
  708. GivenLeter = "u"
  709. elseif Num == "22" then
  710. GivenLeter = "v"
  711. elseif Num == "23" then
  712. GivenLeter = "w"
  713. elseif Num == "24" then
  714. GivenLeter = "x"
  715. elseif Num == "25" then
  716. GivenLeter = "y"
  717. elseif Num == "26" then
  718. GivenLeter = "z"
  719. elseif Num == "27" then
  720. GivenLeter = "_"
  721. elseif Num == "28" then
  722. GivenLeter = "0"
  723. elseif Num == "29" then
  724. GivenLeter = "1"
  725. elseif Num == "30" then
  726. GivenLeter = "2"
  727. elseif Num == "31" then
  728. GivenLeter = "3"
  729. elseif Num == "32" then
  730. GivenLeter = "4"
  731. elseif Num == "33" then
  732. GivenLeter = "5"
  733. elseif Num == "34" then
  734. GivenLeter = "6"
  735. elseif Num == "35" then
  736. GivenLeter = "7"
  737. elseif Num == "36" then
  738. GivenLeter = "8"
  739. elseif Num == "37" then
  740. GivenLeter = "9"
  741. end
  742. return GivenLeter
  743.  
  744. end
  745.  
  746. function MaybeOk(Mode,Extra)
  747. local ReturningValue = ""
  748. if Mode == 1 then
  749.  
  750.  
  751.  
  752. -- v.C0 = CFrame.new(1,1,1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  753.  
  754. --print(v.C0)
  755. local GivenText = ""
  756. local msg = Extra
  757. local Txt = ""
  758. local FoundTime=0
  759. local LastFound = 0
  760. delay(wait(0),function()
  761. for v3 = 1, #msg do
  762.  
  763. if string.sub(msg,0+v3,v3) == "," then
  764.  
  765. local TheN = string.sub(msg,LastFound,v3-1)
  766.  
  767.  
  768. local NumTranslate = Tran(string.sub(msg,LastFound,v3-1))
  769.  
  770.  
  771.  
  772. FoundTime = FoundTime + 1
  773.  
  774.  
  775. GivenText = GivenText..NumTranslate
  776.  
  777. LastFound=v3+1
  778. Txt=""
  779. end
  780. Txt=string.sub(msg,1,v3)
  781.  
  782.  
  783. -- Gui.ExtentsOffset = Vector3.new(0,3,0)
  784.  
  785.  
  786. -- Gui.ExtentsOffset = Vector3.new(0,3,0)
  787. wait()
  788. -- Gui.ExtentsOffset = Vector3.new(0,3,0)
  789. end;
  790.  
  791. ReturningValue=GivenText
  792. for v3 = 1, #Txt do
  793. Txt=string.sub(msg,-1,v3)
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801. end;
  802. -- Gui:remove()
  803. end)
  804.  
  805.  
  806. elseif Mode == 2 then
  807.  
  808. print("fat")
  809. end
  810.  
  811.  
  812.  
  813. while ReturningValue == "" do wait() end
  814. return ReturningValue
  815.  
  816. end
  817.  
  818.  
  819.  
  820. ----------------------
  821. --[End Of Functions]--
  822. ----------------------
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829. ------------------
  830. --[Sword]--
  831. ------------------
  832.  
  833.  
  834.  
  835.  
  836. function sandbox(var,func)
  837. local env = getfenv(func)
  838. local newenv = setmetatable({},{
  839. __index = function(self,k)
  840. if k=="script" then
  841. return var
  842. else
  843. return env[k]
  844. end
  845. end,
  846. })
  847. setfenv(func,newenv)
  848. return func
  849. end
  850. cors = {}
  851. mas = Instance.new("Model",game:GetService("Lighting"))
  852. Model0 = Instance.new("Model")
  853. Part1 = Instance.new("Part")
  854. ParticleEmitter2 = Instance.new("ParticleEmitter")
  855. Model3 = Instance.new("Model")
  856. Beam4 = Instance.new("Beam") ------------------------------------------------------------------------------
  857. Beam5 = Instance.new("Beam")
  858. Beam6 = Instance.new("Beam")
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865. Model7 = Instance.new("Model")
  866. Part8 = Instance.new("Part")
  867. ParticleEmitter9 = Instance.new("ParticleEmitter")
  868. Part10 = Instance.new("Part")
  869. SpecialMesh11 = Instance.new("SpecialMesh")
  870. Part12 = Instance.new("Part")
  871. SpecialMesh13 = Instance.new("SpecialMesh")
  872. Model14 = Instance.new("Model")
  873. Part15 = Instance.new("Part")
  874. SpecialMesh16 = Instance.new("SpecialMesh")
  875. Part17 = Instance.new("Part")
  876. SpecialMesh18 = Instance.new("SpecialMesh")
  877. Part19 = Instance.new("Part")
  878. ParticleEmitter20 = Instance.new("ParticleEmitter")
  879. Model21 = Instance.new("Model")
  880. Part22 = Instance.new("Part")
  881. SpecialMesh23 = Instance.new("SpecialMesh")
  882. Part24 = Instance.new("Part")
  883. SpecialMesh25 = Instance.new("SpecialMesh")
  884. Part26 = Instance.new("Part")
  885. SpecialMesh27 = Instance.new("SpecialMesh")
  886. Part28 = Instance.new("Part")
  887. SpecialMesh29 = Instance.new("SpecialMesh")
  888. Part30 = Instance.new("Part")
  889. SpecialMesh31 = Instance.new("SpecialMesh")
  890. Part32 = Instance.new("Part")
  891. SpecialMesh33 = Instance.new("SpecialMesh")
  892. Decal34 = Instance.new("Decal")
  893. Part35 = Instance.new("Part")
  894. ParticleEmitter36 = Instance.new("ParticleEmitter")
  895. Part37 = Instance.new("Part")
  896.  
  897. TAttachment = Instance.new("Attachment",Part1)
  898. HAttachment2 = Instance.new("Attachment",Part35)
  899. RAttachment3 = Instance.new("Attachment",Part8)
  900. LAttachment4 = Instance.new("Attachment",Part19)
  901.  
  902. --TAttachment
  903. --HAttachment2
  904. --RAttachment3
  905. --LAttachment4
  906.  
  907.  
  908. --Part35,Part19,Part8
  909. --Head,LeftArm,RightArm
  910.  
  911.  
  912. SpecialMesh38 = Instance.new("SpecialMesh")
  913. Model0.Name = "VoidBoss"
  914. Model0.Parent = mas
  915. Part1.Name = "Torso"
  916. Part1.Parent = Model0
  917. Part1.CFrame = CFrame.new(3.5, 0.0108870268, -65.510788, 2.08616257e-07, 0, -1, 0.999999881, 0, 2.08616257e-07, 0, -0.999999881, 0)
  918. Part1.Orientation = Vector3.new(0, -90, 90)
  919. Part1.Position = Vector3.new(3.5, 0.0108870268, -65.510788)
  920. Part1.Rotation = Vector3.new(-90, -90, 0)
  921. Part1.Color = Color3.new(0.972549, 0.972549, 0.972549)
  922. Part1.Transparency = 1
  923. Part1.Size = Vector3.new(1, 1, 1)
  924. Part1.Anchored = true
  925. Part1.BottomSurface = Enum.SurfaceType.Smooth
  926. Part1.BrickColor = BrickColor.new("Institutional white")
  927. Part1.CanCollide = false
  928. Part1.TopSurface = Enum.SurfaceType.Smooth
  929. Part1.brickColor = BrickColor.new("Institutional white")
  930. Part1.FormFactor = Enum.FormFactor.Symmetric
  931. Part1.formFactor = Enum.FormFactor.Symmetric
  932. ParticleEmitter2.Parent = Part1
  933. ParticleEmitter2.Speed = NumberRange.new(6, 6)
  934. ParticleEmitter2.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(0.299,Color3.new(0.00998336, 0.00998336, 0.00998336)),ColorSequenceKeypoint.new(0.499,Color3.new(0,0,0)),ColorSequenceKeypoint.new(1,Color3.new(0.45098, 0, 1))})
  935. ParticleEmitter2.LightInfluence = 1
  936. ParticleEmitter2.Texture = "rbxassetid://258128463"
  937. ParticleEmitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.2,0.86913582086563),NumberSequenceKeypoint.new(1,1)})
  938. ParticleEmitter2.ZOffset = 1
  939. ParticleEmitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.3749998807907),NumberSequenceKeypoint.new(1,0.68749964237213)})
  940. ParticleEmitter2.Acceleration = Vector3.new(1, 0, 0)
  941. ParticleEmitter2.Drag = 3
  942. ParticleEmitter2.Lifetime = NumberRange.new(2, 4)
  943. ParticleEmitter2.LockedToPart = true
  944. ParticleEmitter2.Rate = 50
  945. ParticleEmitter2.RotSpeed = NumberRange.new(-100, 100)
  946. ParticleEmitter2.SpreadAngle = Vector2.new(360, 0)
  947. ParticleEmitter2.VelocitySpread = 360
  948. Model3.Parent = Part1
  949.  
  950. --TAttachment
  951. --HAttachment2
  952. --RAttachment3
  953. --LAttachment4
  954.  
  955.  
  956. Beam4.Name = "RightArm"
  957. Beam4.Parent = Model3
  958. Beam4.Attachment0 = TAttachment
  959. Beam4.Attachment1 = RAttachment3
  960. Beam4.CurveSize0 = 10
  961. Beam4.FaceCamera = true
  962. Beam4.LightInfluence = 1
  963. Beam4.Texture = "rbxassetid://130207880"
  964. Beam4.TextureLength = 0.875
  965. Beam4.TextureSpeed = 1
  966. Beam4.Transparency = NumberSequence.new(.5,0)
  967. Beam4.Width0 = 3
  968. Beam4.Width1 = 3
  969. Beam5.Name = "LeftArm"
  970. Beam5.Parent = Model3
  971. Beam5.Attachment0 = TAttachment
  972. Beam5.Attachment1 = LAttachment4
  973. Beam5.CurveSize0 = 10
  974. Beam5.FaceCamera = true
  975. Beam5.LightInfluence = 1
  976. Beam5.Texture = "rbxassetid://130207880"
  977. Beam5.TextureLength = 0.875
  978. Beam5.TextureSpeed = 1
  979. Beam5.Transparency = NumberSequence.new(.5,0)
  980. Beam5.Width0 = 3
  981. Beam5.Width1 = 3
  982. Beam6.Name = "Head"
  983. Beam6.Parent = Model3
  984. Beam6.Attachment0 = TAttachment
  985. Beam6.Attachment1 = HAttachment2
  986. Beam6.FaceCamera = true
  987. Beam6.LightInfluence = 1
  988. Beam6.Segments = 1
  989. Beam6.Texture = "rbxassetid://130207880"
  990. Beam6.TextureSpeed = 1
  991. Beam6.Transparency = NumberSequence.new(.5,0)
  992. Beam6.Width0 = 3
  993. Beam6.Width1 = 1.5
  994. Model7.Name = "RightArm"
  995. Model7.Parent = Model0
  996. Part8.Name = "Particles"
  997. Part8.Parent = Model7
  998. Part8.CFrame = CFrame.new(-3, 3.62246037, -66.4395981, -1, 0, 0, 0, 0.999390841, 0.0348994173, 0, 0.0348994173, -0.999390841)
  999. Part8.Orientation = Vector3.new(-2, 180, 0)
  1000. Part8.Position = Vector3.new(-3, 3.62246037, -66.4395981)
  1001. Part8.Rotation = Vector3.new(-178, 0, -180)
  1002. Part8.Color = Color3.new(0, 0, 0)
  1003. Part8.Transparency = 1
  1004. Part8.Size = Vector3.new(0.5, 0.5, 0.5)
  1005. Part8.Anchored = true
  1006. Part8.BottomSurface = Enum.SurfaceType.Smooth
  1007.  
  1008. Part8.CanCollide = false
  1009. Part8.Material = Enum.Material.Neon
  1010. Part8.TopSurface = Enum.SurfaceType.Smooth
  1011.  
  1012. Part8.FormFactor = Enum.FormFactor.Symmetric
  1013. Part8.formFactor = Enum.FormFactor.Symmetric
  1014. ParticleEmitter9.Parent = Part8
  1015. ParticleEmitter9.Speed = NumberRange.new(1.2000000476837, 1.2000000476837)
  1016. ParticleEmitter9.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(0.699,Color3.new(0.00998336, 0.00998336, 0.00998336)),ColorSequenceKeypoint.new(1,Color3.new(0.45098, 0, 1))})
  1017. ParticleEmitter9.LightInfluence = 1
  1018. ParticleEmitter9.Texture = "rbxassetid://258128463"
  1019. ParticleEmitter9.Transparency= NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.5,0.7),NumberSequenceKeypoint.new(1,1)})
  1020. ParticleEmitter9.ZOffset = 2
  1021. ParticleEmitter9.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.9999998807907),NumberSequenceKeypoint.new(0.43749988079071,0.37499964237213),NumberSequenceKeypoint.new(1,0.68749964237213)})
  1022. ParticleEmitter9.Acceleration = Vector3.new(0, 0, -0.400000006)
  1023. ParticleEmitter9.Drag = 1
  1024. ParticleEmitter9.Lifetime = NumberRange.new(3, 3)
  1025. ParticleEmitter9.LockedToPart = true
  1026. ParticleEmitter9.Rate = 100
  1027. ParticleEmitter9.RotSpeed = NumberRange.new(-100, 100)
  1028. ParticleEmitter9.SpreadAngle = Vector2.new(360, 360)
  1029. ParticleEmitter9.VelocitySpread = 360
  1030. Part10.Parent = Model7
  1031. Part10.CFrame = CFrame.new(-2, 4.33036613, -62.6395836, -0.965925813, 0.0669872463, -0.25, 0, 0.965925872, 0.258818835, 0.258819044, 0.249999791, -0.933012724)
  1032. Part10.Orientation = Vector3.new(-15, -165, 0)
  1033. Part10.Position = Vector3.new(-2, 4.33036613, -62.6395836)
  1034. Part10.Rotation = Vector3.new(-164.5, -14.4799995, -176.029999)
  1035. Part10.Color = Color3.new(0, 0, 0)
  1036. Part10.Size = Vector3.new(1, 1, 0.5)
  1037. Part10.Anchored = true
  1038. Part10.BottomSurface = Enum.SurfaceType.Smooth
  1039.  
  1040. Part10.CanCollide = false
  1041. Part10.Material = Enum.Material.Neon
  1042. Part10.TopSurface = Enum.SurfaceType.Smooth
  1043.  
  1044. Part10.FormFactor = Enum.FormFactor.Symmetric
  1045. Part10.formFactor = Enum.FormFactor.Symmetric
  1046. SpecialMesh11.Parent = Part10
  1047. SpecialMesh11.MeshType = Enum.MeshType.Sphere
  1048. Part12.Parent = Model7
  1049. Part12.CFrame = CFrame.new(-1.5, 4.83036566, -63.1395836, 1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, 1)
  1050. Part12.Position = Vector3.new(-1.5, 4.83036566, -63.1395836)
  1051. Part12.Color = Color3.new(0.792157, 0.796079, 0.819608)
  1052. Part12.Size = Vector3.new(1, 1, 1)
  1053. Part12.Anchored = true
  1054. Part12.BottomSurface = Enum.SurfaceType.Smooth
  1055. Part12.BrickColor = BrickColor.new("Ghost grey")
  1056. Part12.CanCollide = false
  1057. Part12.Material = Enum.Material.Fabric
  1058. Part12.TopSurface = Enum.SurfaceType.Smooth
  1059. Part12.brickColor = BrickColor.new("Ghost grey")
  1060. Part12.FormFactor = Enum.FormFactor.Symmetric
  1061. Part12.formFactor = Enum.FormFactor.Symmetric
  1062. SpecialMesh13.Parent = Part12
  1063. SpecialMesh13.MeshId = "rbxassetid://1282322452"
  1064. SpecialMesh13.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
  1065. SpecialMesh13.MeshType = Enum.MeshType.FileMesh
  1066. Model14.Name = "LeftArm"
  1067. Model14.Parent = Model0
  1068. Part15.Parent = Model14
  1069. Part15.CFrame = CFrame.new(8.5, 4.83036566, -63.1395836, 1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, 1)
  1070. Part15.Position = Vector3.new(8.5, 4.83036566, -63.1395836)
  1071. Part15.Color = Color3.new(0.792157, 0.796079, 0.819608)
  1072. Part15.Size = Vector3.new(1, 1, 1)
  1073. Part15.Anchored = true
  1074. Part15.BottomSurface = Enum.SurfaceType.Smooth
  1075. Part15.BrickColor = BrickColor.new("Ghost grey")
  1076. Part15.CanCollide = false
  1077. Part15.Material = Enum.Material.Fabric
  1078. Part15.TopSurface = Enum.SurfaceType.Smooth
  1079. Part15.brickColor = BrickColor.new("Ghost grey")
  1080. Part15.FormFactor = Enum.FormFactor.Symmetric
  1081. Part15.formFactor = Enum.FormFactor.Symmetric
  1082. SpecialMesh16.Parent = Part15
  1083. SpecialMesh16.MeshId = "rbxassetid://1279765257"
  1084. SpecialMesh16.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
  1085. SpecialMesh16.MeshType = Enum.MeshType.FileMesh
  1086. Part17.Parent = Model14
  1087. Part17.CFrame = CFrame.new(9, 4.33036613, -62.6395836, -0.965925872, -0.0669871867, 0.249999806, 0, 0.965925872, 0.258818835, -0.258818835, 0.249999806, -0.933012784)
  1088. Part17.Orientation = Vector3.new(-15, 165, 0)
  1089. Part17.Position = Vector3.new(9, 4.33036613, -62.6395836)
  1090. Part17.Rotation = Vector3.new(-164.5, 14.4799995, 176.029999)
  1091. Part17.Color = Color3.new(0, 0, 0)
  1092. Part17.Size = Vector3.new(1, 1, 0.5)
  1093. Part17.Anchored = true
  1094. Part17.BottomSurface = Enum.SurfaceType.Smooth
  1095.  
  1096. Part17.CanCollide = false
  1097. Part17.Material = Enum.Material.Neon
  1098. Part17.TopSurface = Enum.SurfaceType.Smooth
  1099.  
  1100. Part17.FormFactor = Enum.FormFactor.Symmetric
  1101. Part17.formFactor = Enum.FormFactor.Symmetric
  1102. SpecialMesh18.Parent = Part17
  1103. SpecialMesh18.MeshType = Enum.MeshType.Sphere
  1104. Part19.Name = "Particles"
  1105. Part19.Parent = Model14
  1106. Part19.CFrame = CFrame.new(10, 3.62246037, -66.4395981, -1, 0, 0, 0, 0.999390841, 0.0348994173, 0, 0.0348994173, -0.999390841)
  1107. Part19.Orientation = Vector3.new(-2, 180, 0)
  1108. Part19.Position = Vector3.new(10, 3.62246037, -66.4395981)
  1109. Part19.Rotation = Vector3.new(-178, 0, -180)
  1110. Part19.Color = Color3.new(0, 0, 0)
  1111. Part19.Transparency = 1
  1112. Part19.Size = Vector3.new(0.5, 0.5, 0.5)
  1113. Part19.Anchored = true
  1114. Part19.BottomSurface = Enum.SurfaceType.Smooth
  1115.  
  1116. Part19.CanCollide = false
  1117. Part19.Material = Enum.Material.Neon
  1118. Part19.TopSurface = Enum.SurfaceType.Smooth
  1119.  
  1120. Part19.FormFactor = Enum.FormFactor.Symmetric
  1121. Part19.formFactor = Enum.FormFactor.Symmetric
  1122. ParticleEmitter20.Parent = Part19
  1123. ParticleEmitter20.Speed = NumberRange.new(1.2000000476837, 1.2000000476837)
  1124. ParticleEmitter20.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(0.699,Color3.new(0.00998336, 0.00998336, 0.00998336)),ColorSequenceKeypoint.new(1,Color3.new(0.45098, 0, 1))})
  1125. ParticleEmitter20.LightInfluence = 1
  1126. ParticleEmitter20.Texture = "rbxassetid://258128463"
  1127. ParticleEmitter20.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.5,0.7),NumberSequenceKeypoint.new(1,1)})
  1128. ParticleEmitter20.ZOffset = 2
  1129. ParticleEmitter20.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.9999998807907),NumberSequenceKeypoint.new(0.43749988079071,0.37499964237213),NumberSequenceKeypoint.new(1,0.68749964237213)})
  1130. ParticleEmitter20.Acceleration = Vector3.new(0, 0, -0.400000006)
  1131. ParticleEmitter20.Drag = 1
  1132. ParticleEmitter20.Lifetime = NumberRange.new(3, 3)
  1133. ParticleEmitter20.LockedToPart = true
  1134. ParticleEmitter20.Rate = 100
  1135. ParticleEmitter20.RotSpeed = NumberRange.new(-100, 100)
  1136. ParticleEmitter20.SpreadAngle = Vector2.new(360, 360)
  1137. ParticleEmitter20.VelocitySpread = 360
  1138. Model21.Name = "Head"
  1139. Model21.Parent = Model0
  1140. Part22.Parent = Model21
  1141. Part22.CFrame = CFrame.new(4, 8.9408741, -63.4595413, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872)
  1142. Part22.Orientation = Vector3.new(-15, 180, 0)
  1143. Part22.Position = Vector3.new(4, 8.9408741, -63.4595413)
  1144. Part22.Rotation = Vector3.new(-165, 0, -180)
  1145. Part22.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1146. Part22.Size = Vector3.new(0.400000036, 0.400000036, 1.20000005)
  1147. Part22.Anchored = true
  1148. Part22.BottomSurface = Enum.SurfaceType.Smooth
  1149. Part22.BrickColor = BrickColor.new("Institutional white")
  1150. Part22.CanCollide = false
  1151. Part22.Locked = true
  1152. Part22.Material = Enum.Material.Neon
  1153. Part22.TopSurface = Enum.SurfaceType.Smooth
  1154. Part22.brickColor = BrickColor.new("Institutional white")
  1155. Part22.FormFactor = Enum.FormFactor.Symmetric
  1156. Part22.formFactor = Enum.FormFactor.Symmetric
  1157. Part22.Name = "Eye1"
  1158. SpecialMesh23.Parent = Part22
  1159. SpecialMesh23.MeshType = Enum.MeshType.Sphere
  1160. Part24.Parent = Model21
  1161. Part24.CFrame = CFrame.new(3.5, 8.93740559, -63.2534142, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872)
  1162. Part24.Orientation = Vector3.new(-15, 180, 0)
  1163. Part24.Position = Vector3.new(3.5, 8.93740559, -63.2534142)
  1164. Part24.Rotation = Vector3.new(-165, 0, -180)
  1165. Part24.Color = Color3.new(0, 0, 0)
  1166. Part24.Size = Vector3.new(2, 1, 0.800000012)
  1167. Part24.Anchored = true
  1168. Part24.BottomSurface = Enum.SurfaceType.Smooth
  1169.  
  1170. Part24.CanCollide = false
  1171. Part24.Locked = true
  1172. Part24.Material = Enum.Material.Neon
  1173. Part24.TopSurface = Enum.SurfaceType.Smooth
  1174.  
  1175. Part24.FormFactor = Enum.FormFactor.Symmetric
  1176. Part24.formFactor = Enum.FormFactor.Symmetric
  1177. SpecialMesh25.Parent = Part24
  1178. SpecialMesh25.MeshType = Enum.MeshType.Sphere
  1179. Part26.Parent = Model21
  1180. Part26.CFrame = CFrame.new(3.5, 7.62994099, -63.3966942, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872)
  1181. Part26.Orientation = Vector3.new(-15, 180, 0)
  1182. Part26.Position = Vector3.new(3.5, 7.62994099, -63.3966942)
  1183. Part26.Rotation = Vector3.new(-165, 0, -180)
  1184. Part26.Color = Color3.new(0, 0, 0)
  1185. Part26.Size = Vector3.new(1.80000007, 1.5999999, 0.600000024)
  1186. Part26.Anchored = true
  1187. Part26.BottomSurface = Enum.SurfaceType.Smooth
  1188.  
  1189. Part26.CanCollide = false
  1190. Part26.Locked = true
  1191. Part26.Material = Enum.Material.Neon
  1192. Part26.TopSurface = Enum.SurfaceType.Smooth
  1193.  
  1194. Part26.FormFactor = Enum.FormFactor.Symmetric
  1195. Part26.formFactor = Enum.FormFactor.Symmetric
  1196. SpecialMesh27.Parent = Part26
  1197. SpecialMesh27.MeshType = Enum.MeshType.Sphere
  1198. Part28.Parent = Model21
  1199. Part28.CFrame = CFrame.new(3, 8.9408741, -63.4595413, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872)
  1200. Part28.Orientation = Vector3.new(-15, 180, 0)
  1201. Part28.Position = Vector3.new(3, 8.9408741, -63.4595413)
  1202. Part28.Rotation = Vector3.new(-165, 0, -180)
  1203. Part28.Color = Color3.new(0.972549, 0.972549, 0.972549)
  1204. Part28.Size = Vector3.new(0.400000036, 0.400000036, 1.20000005)
  1205. Part28.Anchored = true
  1206. Part28.BottomSurface = Enum.SurfaceType.Smooth
  1207. Part28.BrickColor = BrickColor.new("Institutional white")
  1208. Part28.CanCollide = false
  1209. Part28.Locked = true
  1210. Part28.Material = Enum.Material.Neon
  1211. Part28.TopSurface = Enum.SurfaceType.Smooth
  1212. Part28.brickColor = BrickColor.new("Institutional white")
  1213. Part28.FormFactor = Enum.FormFactor.Symmetric
  1214. Part28.formFactor = Enum.FormFactor.Symmetric
  1215. Part28.Name = "Eye2"
  1216. SpecialMesh29.Parent = Part28
  1217. SpecialMesh29.MeshType = Enum.MeshType.Sphere
  1218. Part30.Parent = Model21
  1219. Part30.CFrame = CFrame.new(3.5, 8.98917007, -63.4466019, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872)
  1220. Part30.Orientation = Vector3.new(-15, 180, 0)
  1221. Part30.Position = Vector3.new(3.5, 8.98917007, -63.4466019)
  1222. Part30.Rotation = Vector3.new(-165, 0, -180)
  1223. Part30.Color = Color3.new(0, 0, 0)
  1224. Part30.Size = Vector3.new(1, 1, 1)
  1225. Part30.Anchored = true
  1226. Part30.BottomSurface = Enum.SurfaceType.Smooth
  1227.  
  1228. Part30.CanCollide = false
  1229. Part30.Locked = true
  1230. Part30.Material = Enum.Material.Neon
  1231. Part30.TopSurface = Enum.SurfaceType.Smooth
  1232.  
  1233. Part30.FormFactor = Enum.FormFactor.Symmetric
  1234. Part30.formFactor = Enum.FormFactor.Symmetric
  1235. SpecialMesh31.Parent = Part30
  1236. SpecialMesh31.MeshType = Enum.MeshType.Sphere
  1237. Part32.Name = "Handle"
  1238. Part32.Parent = Model21
  1239. Part32.CFrame = CFrame.new(3.5, 8.19017696, -63.2465782, -1, 0, 0, 0, 0.965925872, 0.258818984, 0, 0.258818984, -0.965925872)
  1240. Part32.Orientation = Vector3.new(-15, 180, 0)
  1241. Part32.Position = Vector3.new(3.5, 8.19017696, -63.2465782)
  1242. Part32.Rotation = Vector3.new(-165, 0, -180)
  1243. Part32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  1244. Part32.Size = Vector3.new(0.100000001, 0.100000001, 0.100000001)
  1245. Part32.Anchored = true
  1246. Part32.BottomSurface = Enum.SurfaceType.Smooth
  1247. Part32.BrickColor = BrickColor.new("Really black")
  1248. Part32.CanCollide = false
  1249. Part32.Locked = true
  1250. Part32.Material = Enum.Material.Fabric
  1251. Part32.TopSurface = Enum.SurfaceType.Smooth
  1252. Part32.brickColor = BrickColor.new("Really black")
  1253. Part32.FormFactor = Enum.FormFactor.Symmetric
  1254. Part32.formFactor = Enum.FormFactor.Symmetric
  1255. SpecialMesh33.Parent = Part32
  1256. SpecialMesh33.MeshId = "http://www.roblox.com/asset/?id=13520257"
  1257. SpecialMesh33.Scale = Vector3.new(3, 3.0999999, 3)
  1258. SpecialMesh33.MeshType = Enum.MeshType.FileMesh
  1259. SpecialMesh33.TextureId = "http://www.roblox.com/asset/?id=2349706532"
  1260. Decal34.Parent = Part32
  1261. --Decal34.Texture = "http://www.roblox.com/asset/?id="..MaskTextureId--124337542 2340547251
  1262. Part35.Name = "Particles"
  1263. Part35.Parent = Model21
  1264. Part35.CFrame = CFrame.new(3.5, 8.64255619, -64.4712448, -1, 0, 0, 0, 0.956304669, 0.292371869, 0, 0.292371869, -0.956304669)
  1265. Part35.Orientation = Vector3.new(-17, 180, 0)
  1266. Part35.Position = Vector3.new(3.5, 8.64255619, -64.4712448)
  1267. Part35.Rotation = Vector3.new(-163, 0, -180)
  1268. Part35.Color = Color3.new(0, 0, 0)
  1269. Part35.Transparency = 1
  1270. Part35.Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007)
  1271. Part35.Anchored = true
  1272. Part35.BottomSurface = Enum.SurfaceType.Smooth
  1273.  
  1274. Part35.CanCollide = false
  1275. Part35.Locked = true
  1276. Part35.Material = Enum.Material.Neon
  1277. Part35.TopSurface = Enum.SurfaceType.Smooth
  1278.  
  1279. Part35.FormFactor = Enum.FormFactor.Symmetric
  1280. Part35.formFactor = Enum.FormFactor.Symmetric
  1281. ParticleEmitter36.Parent = Part35
  1282. ParticleEmitter36.Speed = NumberRange.new(2, 2)
  1283. ParticleEmitter36.Color = ColorSequence.new({ ColorSequenceKeypoint.new(0, Color3.new(0, 0, 0)),ColorSequenceKeypoint.new(0.699,Color3.new(0.00998336, 0.00998336, 0.00998336)),ColorSequenceKeypoint.new(1,Color3.new(0.45098, 0, 1))})
  1284. ParticleEmitter36.LightInfluence = 1
  1285. ParticleEmitter36.Texture = "rbxassetid://258128463"
  1286. ParticleEmitter36.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.5,0.5),NumberSequenceKeypoint.new(1,1)})
  1287. ParticleEmitter36.ZOffset = -2
  1288. ParticleEmitter36.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.7500001192093),NumberSequenceKeypoint.new(0.7500001192093,0.74999988079071),NumberSequenceKeypoint.new(1,0.68749964237213)})
  1289. ParticleEmitter36.Acceleration = Vector3.new(0, 0.25, 0)
  1290. ParticleEmitter36.Drag = 2
  1291. ParticleEmitter36.Lifetime = NumberRange.new(1, 3)
  1292. ParticleEmitter36.LockedToPart = true
  1293. ParticleEmitter36.Rate = 100.01999664307
  1294. ParticleEmitter36.RotSpeed = NumberRange.new(-100, 100)
  1295. ParticleEmitter36.SpreadAngle = Vector2.new(360, 360)
  1296. ParticleEmitter36.VelocitySpread = 360
  1297. Part37.Name = "Head"
  1298. Part37.Parent = Model21
  1299. Part37.CFrame = CFrame.new(3.5, 8.64255619, -64.4712448, -1, 0, 0, 0, 0.956304669, 0.292371869, 0, 0.292371869, -0.956304669)
  1300. Part37.Orientation = Vector3.new(-17, 180, 0)
  1301. Part37.Position = Vector3.new(3.5, 8.64255619, -64.4712448)
  1302. Part37.Rotation = Vector3.new(-163, 0, -180)
  1303. Part37.Color = Color3.new(0.00784314, 0.00784314, 0.00784314)
  1304. Part37.Size = Vector3.new(3, 3, 3)
  1305. Part37.Anchored = true
  1306. Part37.BottomSurface = Enum.SurfaceType.Smooth
  1307.  
  1308. Part37.CanCollide = false
  1309. Part37.Locked = true
  1310. Part37.Material = Enum.Material.Fabric
  1311. Part37.TopSurface = Enum.SurfaceType.Smooth
  1312.  
  1313. Part37.FormFactor = Enum.FormFactor.Symmetric
  1314. Part37.formFactor = Enum.FormFactor.Symmetric
  1315. SpecialMesh38.Parent = Part37
  1316. for i,v in pairs(mas:GetChildren()) do
  1317. v.Parent = script
  1318. pcall(function() v:MakeJoints() end)
  1319. end
  1320. mas:Destroy()
  1321. for i,v in pairs(cors) do
  1322. spawn(function()
  1323. pcall(v)
  1324. end)
  1325. end
  1326.  
  1327. script:WaitForChild("VoidBoss")
  1328. script.VoidBoss:WaitForChild("LeftArm")
  1329. script.VoidBoss:WaitForChild("RightArm")
  1330. script.VoidBoss:WaitForChild("Head")
  1331. local LAP=Instance.new("Part")
  1332. LAP.Reflectance = 0
  1333. LAP.Transparency = 1
  1334. LAP.CanCollide = false
  1335. LAP.Locked = true
  1336. LAP.Anchored=true
  1337. LAP.BrickColor = BrickColor.new("Really blue")
  1338. LAP.Name = "Left Leg"
  1339. LAP.Size = Vector3.new()
  1340. LAP.Material = "SmoothPlastic"
  1341. LAP:BreakJoints()
  1342. -- LAP.Parent = Character
  1343. LAP.CFrame = CFrame.new(8.5, 4.83036566, -63.1395836, 1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, 1)*angles(math.rad(90),0,math.rad(180))
  1344. for i,v in pairs(script.VoidBoss.LeftArm:GetChildren()) do
  1345. v.Parent = LAP
  1346. end
  1347. script.VoidBoss.LeftArm:Destroy()
  1348. LAP.Parent = script.VoidBoss
  1349.  
  1350. local RAP=Instance.new("Part")
  1351. RAP.Reflectance = 0
  1352. RAP.Transparency = 1
  1353. RAP.CanCollide = false
  1354. RAP.Locked = true
  1355. RAP.Anchored=true
  1356. RAP.BrickColor = BrickColor.new("Really blue")
  1357. RAP.Name = "Right Leg"
  1358. RAP.Size = Vector3.new()
  1359. RAP.Material = "SmoothPlastic"
  1360. RAP:BreakJoints()
  1361. -- RAP.Parent = Character
  1362. RAP.CFrame = CFrame.new(-1.5, 4.83036566, -63.1395836, 1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, 1)*angles(math.rad(90),0,math.rad(180))
  1363. for i,v in pairs(script.VoidBoss.RightArm:GetChildren()) do
  1364. v.Parent = RAP
  1365. end
  1366. script.VoidBoss.RightArm:Destroy()
  1367. RAP.Parent = script.VoidBoss
  1368.  
  1369. local HHP=Instance.new("Part")
  1370. HHP.Reflectance = 0
  1371. HHP.Transparency = 1
  1372. HHP.CanCollide = false
  1373. HHP.Locked = true
  1374. HHP.Anchored=true
  1375. HHP.BrickColor = BrickColor.new("Really blue")
  1376. HHP.Name = "Head"
  1377. HHP.Size = Vector3.new()
  1378. HHP.Material = "SmoothPlastic"
  1379. HHP:BreakJoints()
  1380.  
  1381. HHP.CFrame = CFrame.new(3.5, 8.64255619, -64.4712448, -1, 0, 0, 0, 0.956304669, 0.292371869, 0, 0.292371869, -0.956304669)
  1382. for i,v in pairs(script.VoidBoss.Head:GetChildren()) do
  1383. v.Parent = HHP
  1384. end
  1385. script.VoidBoss.Head:Destroy()
  1386. HHP.Parent = script.VoidBoss
  1387.  
  1388.  
  1389. --[ ACTIVATE MODEL BY GETING RID OF THIS LINE
  1390. for i, v in pairs(GatherAllInstances(script.VoidBoss)) do
  1391. if v:isA("BasePart") then
  1392. RemoveOutlines(v)
  1393. if v:FindFirstChildOfClass("SpecialMesh") and v:FindFirstChildOfClass("SpecialMesh").MeshId~=nil then
  1394. --local mesh = v:FindChildOfClass("SpecialMesh")
  1395. --v.Size = v.Size/2
  1396.  
  1397.  
  1398. end
  1399. end
  1400. end
  1401.  
  1402. for _,v in pairs(script.VoidBoss:children()) do
  1403. if v:IsA("BasePart") then
  1404.  
  1405. if Character:FindFirstChild(""..v.Name) then
  1406. local Part1=Character:FindFirstChild(""..v.Name)
  1407. local Part2=v
  1408.  
  1409. WeldAllTo(Part1,Part2,CFrame.new(0,0,0))
  1410.  
  1411. end
  1412.  
  1413.  
  1414. end
  1415. end
  1416.  
  1417. --]]
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426. DGT= function()
  1427. local Tlifetime = 0.17
  1428. local DaggerTrail=Instance.new("Trail",Sword)
  1429. local Attach1 = Instance.new("Attachment",Sword.HitBox)
  1430. local Attach2 = Instance.new("Attachment",Sword.HitBox)
  1431. Attach2.Position = Vector3.new(0,0,3)
  1432. Attach1.Position = Vector3.new(0,0,-3)
  1433. DaggerTrail.Attachment0 = Attach1
  1434. DaggerTrail.Attachment1 = Attach2
  1435. DaggerTrail.Texture = "rbxassetid://1251856844"
  1436. DaggerTrail.Lifetime = .1
  1437. DaggerTrail.MaxLength = 10
  1438. DaggerTrail.MinLength = 0
  1439. DaggerTrail.TextureMode= "Static"
  1440. DaggerTrail.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  1441. DaggerTrail.WidthScale=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  1442. DaggerTrail.LightEmission=0
  1443. DaggerTrail.Color = ColorSequence.new(Color3.new(0,1,0),Color3.new(0,1,0))
  1444. DaggerTrail.LightEmission = 1
  1445. game:GetService("Debris"):AddItem(DaggerTrail, Tlifetime)
  1446. game:GetService("Debris"):AddItem(Attach1, Tlifetime)
  1447. game:GetService("Debris"):AddItem(Attach2, Tlifetime)
  1448. end
  1449.  
  1450. function CreatePart( Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1451. local Part = Create("Part"){
  1452.  
  1453. Parent = Parent,
  1454. Reflectance = Reflectance,
  1455. Transparency = Transparency,
  1456. CanCollide = false,
  1457. Locked = true,
  1458. BrickColor = BrickColor.new(tostring(BColor)),
  1459. Name = Name,
  1460. Size = Size,
  1461. Material = Material,
  1462. }
  1463. RemoveOutlines(Part)
  1464. return Part
  1465. end
  1466.  
  1467. function CreateMesh2(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1468. local NEWMESH = IT(MESH)
  1469. if MESH == "SpecialMesh" then
  1470. NEWMESH.MeshType = MESHTYPE
  1471. if MESHID ~= "nil" and MESHID ~= "" then
  1472. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1473. end
  1474. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1475. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1476. end
  1477. end
  1478. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1479. NEWMESH.Scale = SCALE
  1480. NEWMESH.Parent = PARENT
  1481. return NEWMESH
  1482. end
  1483.  
  1484. function CreatePart2(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1485. local NEWPART = IT("Part")
  1486. NEWPART.formFactor = FORMFACTOR
  1487. NEWPART.Reflectance = REFLECTANCE
  1488. NEWPART.Transparency = TRANSPARENCY
  1489. NEWPART.CanCollide = false
  1490. NEWPART.Locked = true
  1491. NEWPART.Anchored = true
  1492. if ANCHOR == false then
  1493. NEWPART.Anchored = false
  1494. end
  1495. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1496. NEWPART.Name = NAME
  1497. NEWPART.Size = SIZE
  1498. NEWPART.Position = Torso.Position
  1499. NEWPART.Material = MATERIAL
  1500. NEWPART:BreakJoints()
  1501. NEWPART.Parent = PARENT
  1502. return NEWPART
  1503. end
  1504.  
  1505. local S = IT("Sound")
  1506. function CreateSound2(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1507. local NEWSOUND = nil
  1508. coroutine.resume(coroutine.create(function()
  1509. NEWSOUND = S:Clone()
  1510. NEWSOUND.Parent = PARENT
  1511. NEWSOUND.Volume = VOLUME
  1512. NEWSOUND.Pitch = PITCH
  1513. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1514. NEWSOUND:play()
  1515. if DOESLOOP == true then
  1516. NEWSOUND.Looped = true
  1517. else
  1518. repeat wait(1) until NEWSOUND.Playing == false
  1519. NEWSOUND:remove()
  1520. end
  1521. end))
  1522. return NEWSOUND
  1523. end
  1524.  
  1525.  
  1526. function WACKYEFFECT(Table)
  1527. local TYPE = (Table.EffectType or "Sphere")
  1528. local SIZE = (Table.Size or VT(1,1,1))
  1529. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1530. local TRANSPARENCY = (Table.Transparency or 0)
  1531. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1532. local CFRAME = (Table.CFrame or Torso.CFrame)
  1533. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1534. local ROTATION1 = (Table.RotationX or 0)
  1535. local ROTATION2 = (Table.RotationY or 0)
  1536. local ROTATION3 = (Table.RotationZ or 0)
  1537. local MATERIAL = (Table.Material or "Neon")
  1538. local COLOR = (Table.Color or C3(1,1,1))
  1539. local TIME = (Table.Time or 45)
  1540. local SOUNDID = (Table.SoundID or nil)
  1541. local SOUNDPITCH = (Table.SoundPitch or nil)
  1542. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1543. local TweenNameType = (Table.TweenNType or "Linear" )
  1544. local TweenInOutType = (Table.TweenOType or "InOut" )
  1545. coroutine.resume(coroutine.create(function()
  1546. local PLAYSSOUND = false
  1547. local SOUND = nil
  1548. local EFFECT = CreatePart2(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1549. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1550. PLAYSSOUND = true
  1551. SOUND = CreateSound2(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1552. end
  1553. EFFECT.Color = COLOR
  1554. local MSH = nil
  1555. if TYPE == "Sphere" then
  1556. MSH = CreateMesh2("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1557. elseif TYPE == "Block" then
  1558. MSH = IT("BlockMesh",EFFECT)
  1559. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1560. elseif TYPE == "Wave" then
  1561. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1562. elseif TYPE == "Ring" then
  1563. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1564. elseif TYPE == "Slash" then
  1565. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1566. elseif TYPE == "Round Slash" then
  1567. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1568. elseif TYPE == "Swirl" then
  1569. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1570. elseif TYPE == "Skull" then
  1571. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1572. elseif TYPE == "Crystal" then
  1573. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1574. elseif TYPE == "Crown" then
  1575. MSH = CreateMesh2("SpecialMesh", EFFECT, "FileMesh", "173770780", "", SIZE, VT(0,0,0))
  1576. end
  1577. if MSH ~= nil then
  1578. local MOVESPEED = nil
  1579. if MOVEDIRECTION ~= nil then
  1580. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1581. end
  1582. local GROWTH = SIZE - ENDSIZE
  1583. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1584. if TYPE == "Block" then
  1585.  
  1586. SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",TIME/60)
  1587. else
  1588.  
  1589. SetTween(EFFECT,{CFrame = CFRAME},"Linear","InOut",0)
  1590.  
  1591. end
  1592.  
  1593.  
  1594.  
  1595. wait()
  1596.  
  1597. SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS},"Linear","InOut",TIME/60)
  1598.  
  1599. if TYPE == "Block" then
  1600.  
  1601. SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0)
  1602. else
  1603.  
  1604. SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0)
  1605.  
  1606. end
  1607. if MOVEDIRECTION ~= nil then
  1608. local ORI = EFFECT.Orientation
  1609.  
  1610. SetTween(EFFECT,{CFrame=CF(MOVEDIRECTION)},"Linear","InOut",TIME/60)
  1611. SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",TIME/60)
  1612.  
  1613.  
  1614. end
  1615. MSH.Scale = MSH.Scale - GROWTH/TIME
  1616. SetTween(MSH,{Scale=ENDSIZE},TweenNameType,TweenInOutType,TIME/60)
  1617. if TYPE == "Wave" then
  1618.  
  1619. SetTween(MSH,{Offset=VT(0,0,-MSH.Scale.X/8)},TweenNameType,TweenInOutType,TIME/60)
  1620. end
  1621. for LOOP = 1, TIME+1 do
  1622. wait(.05)
  1623.  
  1624. --SetTween(EFFECT,{Transparency = EFFECT.Transparency - TRANS/TIME},"Linear","InOut",0)
  1625.  
  1626.  
  1627. if TYPE == "Block" then
  1628.  
  1629. -- SetTween(EFFECT,{CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))},"Linear","InOut",0)
  1630. else
  1631.  
  1632. -- SetTween(EFFECT,{CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))},"Linear","InOut",0)
  1633.  
  1634. end
  1635. if MOVEDIRECTION ~= nil then
  1636. local ORI = EFFECT.Orientation
  1637.  
  1638. -- SetTween(EFFECT,{CFrame=CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)},"Linear","InOut",0)
  1639. -- SetTween(EFFECT,{Orientation=ORI},"Linear","InOut",0)
  1640.  
  1641.  
  1642. end
  1643. end
  1644. game:GetService("Debris"):AddItem(EFFECT, 15)
  1645. coroutine.resume(coroutine.create(function()
  1646. if PLAYSSOUND == false then
  1647. EFFECT:remove()
  1648. else
  1649. SOUND.Stopped:Connect(function()
  1650. EFFECT:remove()
  1651. end)
  1652. end
  1653. end))
  1654. else
  1655. coroutine.resume(coroutine.create(function()
  1656. if PLAYSSOUND == false then
  1657. EFFECT:remove()
  1658. else
  1659. repeat wait() until SOUND.Playing == false
  1660. EFFECT:remove()
  1661. end
  1662. end))
  1663. end
  1664. end))
  1665. end
  1666.  
  1667.  
  1668.  
  1669.  
  1670.  
  1671.  
  1672. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1673.  
  1674. if hit.Parent == nil then
  1675. return
  1676. end
  1677. local h = hit.Parent:FindFirstChild("Humanoid")
  1678. for _,v in pairs(hit.Parent:children()) do
  1679. if v:IsA("Humanoid") then
  1680.  
  1681. h = v
  1682.  
  1683. end
  1684.  
  1685. end
  1686.  
  1687. --gg
  1688.  
  1689. --local FoundTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1690. coroutine.resume(coroutine.create(function()
  1691. if h.Health >9999999 and minim <9999 and Type~= "IgnoreType" and(h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")) and not h.Parent:FindFirstChild("Fly away")then
  1692.  
  1693.  
  1694. local FATag = Instance.new("Model",h.Parent)
  1695.  
  1696. FATag.Name = "Fly away"
  1697. game:GetService("Debris"):AddItem(FATag, 2.5)
  1698.  
  1699.  
  1700. for _,v in pairs(h.Parent:children()) do
  1701. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1702. v.Anchored=true
  1703. end
  1704. end
  1705.  
  1706. wait(.25)
  1707.  
  1708. if h.Parent:FindFirstChildOfClass("Body Colors")then
  1709. h.Parent:FindFirstChildOfClass("Body Colors"):Destroy()
  1710. end
  1711.  
  1712.  
  1713. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  1714.  
  1715. coroutine.resume(coroutine.create(function()
  1716.  
  1717.  
  1718. local YourGone = Instance.new("Part")
  1719. YourGone.Reflectance = 0
  1720. YourGone.Transparency = 1
  1721. YourGone.CanCollide = false
  1722. YourGone.Locked = true
  1723. YourGone.Anchored=true
  1724. YourGone.BrickColor = BrickColor.new("Really blue")
  1725. YourGone.Name = "YourGone"
  1726. YourGone.Size = Vector3.new()
  1727. YourGone.Material = "SmoothPlastic"
  1728. YourGone:BreakJoints()
  1729. YourGone.Parent = FoundTorso
  1730. YourGone.CFrame = FoundTorso.CFrame
  1731.  
  1732. local NewParticle = Instance.new("ParticleEmitter")
  1733. NewParticle.Parent = YourGone
  1734. NewParticle.Acceleration = Vector3.new(0,0,0)
  1735. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)})
  1736. NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0))
  1737. NewParticle.Lifetime = NumberRange.new(0.55,0.95)
  1738. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)})
  1739. NewParticle.Speed = NumberRange.new(0,0.0)
  1740. NewParticle.ZOffset = 2
  1741. NewParticle.Texture = "rbxassetid://243660364"
  1742. NewParticle.RotSpeed = NumberRange.new(-0,0)
  1743. NewParticle.Rotation = NumberRange.new(-180,180)
  1744. NewParticle.Enabled = false
  1745. game:GetService("Debris"):AddItem(YourGone, 3)
  1746. for i = 0,2,1 do
  1747. NewParticle:Emit(1)
  1748. so("1448044156", FoundTorso,2, 1)
  1749. h.Parent:BreakJoints()
  1750. YourGone.CFrame = FoundTorso.CFrame
  1751. for _,v in pairs(h.Parent:children()) do
  1752. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1753. v.Anchored=false
  1754. -- v.Material = "Neon"
  1755. --v.BrickColor = BrickColor.new("Really red")
  1756. if v:FindFirstChildOfClass("SpecialMesh")then
  1757. --v:Destroy()
  1758. end
  1759. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1760. -- v:Destroy()
  1761. end
  1762. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1763.  
  1764. vp.Parent = v
  1765. game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000)
  1766.  
  1767.  
  1768. end
  1769.  
  1770.  
  1771.  
  1772. end
  1773.  
  1774.  
  1775.  
  1776. wait(.2)
  1777. end
  1778. wait(.1)
  1779. NewParticle:Emit(3)
  1780. so("1448044156", FoundTorso,2, .8)
  1781. h.Parent:BreakJoints()
  1782. YourGone.CFrame = FoundTorso.CFrame
  1783. for _,v in pairs(h.Parent:children()) do
  1784. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1785. v.Anchored=false
  1786. -- v.Material = "Neon"
  1787. --v.BrickColor = BrickColor.new("Really red")
  1788. if v:FindFirstChildOfClass("SpecialMesh")then
  1789. --v:Destroy()
  1790. end
  1791. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1792. -- v:Destroy()
  1793. end
  1794. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1795.  
  1796. vp.Parent = v
  1797. game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000)
  1798.  
  1799.  
  1800. end
  1801.  
  1802.  
  1803.  
  1804. end
  1805.  
  1806.  
  1807.  
  1808.  
  1809. end))
  1810.  
  1811.  
  1812.  
  1813.  
  1814. wait(.1)
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.  
  1822. end
  1823.  
  1824.  
  1825. end))
  1826. if h ~= nil and hit.Parent ~= Character and hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1827. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1828. return
  1829. end
  1830. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").basstracker1970, Parent = h})
  1831. game:GetService("Debris"):AddItem(c, 0.5)
  1832. if HitSound ~= nil and HitPitch ~= nil then
  1833. so(HitSound, hit, 1, HitPitch)
  1834. end
  1835. local Damage = math.random(minim, maxim)
  1836. local blocked = false
  1837. local block = hit.Parent:findFirstChild("Block")
  1838. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1839. blocked = true
  1840. block.Value = block.Value - 1
  1841. print(block.Value)
  1842. end
  1843. lockon(h.Parent)
  1844. if blocked == false then
  1845. h.Health = h.Health - Damage
  1846. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 2.5, Color3.new(0,0,0))
  1847. else
  1848. h.Health = h.Health - Damage / 2
  1849. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 2.5, Color3.new(0,0,0))
  1850.  
  1851. end
  1852.  
  1853. if Type == "Knockdown" then
  1854. local hum = h
  1855.  
  1856. hum.PlatformStand = true
  1857. coroutine.resume(coroutine.create(function(HHumanoid)
  1858.  
  1859. wait(.2)
  1860. HHumanoid.PlatformStand = false
  1861. end
  1862. ), hum)
  1863.  
  1864.  
  1865.  
  1866. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  1867. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1868. local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,FoundTorso.Position).lookVector * knockback, Parent = hit})
  1869. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  1870. game:GetService("Debris"):AddItem(bodvol, .2)
  1871. game:GetService("Debris"):AddItem(rl, 0.2)
  1872.  
  1873.  
  1874.  
  1875. elseif Type == "Knockdown2" then
  1876. local hum = h
  1877.  
  1878. hum.PlatformStand = true
  1879. coroutine.resume(coroutine.create(function(HHumanoid)
  1880.  
  1881.  
  1882. Combo = 1 wait(.2)
  1883. HHumanoid.PlatformStand = false
  1884. end
  1885. ), hum)
  1886. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1887. local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
  1888. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  1889. game:GetService("Debris"):AddItem(bodvol, 0.2)
  1890. game:GetService("Debris"):AddItem(rl, 0.2)
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897. local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  1898. game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
  1899.  
  1900. elseif Type == "Normal" then
  1901. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
  1902. if knockback > 0 then
  1903.  
  1904. local HTorso = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1905. vp.Parent = HTorso
  1906. end
  1907. game:GetService("Debris"):AddItem(vp, 0.25)
  1908.  
  1909.  
  1910.  
  1911.  
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921. elseif Type== "Instakill" then
  1922. coroutine.resume(coroutine.create(function()
  1923. if (h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")) and not h.Parent:FindFirstChild("Fly away")then
  1924.  
  1925.  
  1926. local FATag = Instance.new("Model",h.Parent)
  1927.  
  1928. FATag.Name = "Fly away"
  1929. game:GetService("Debris"):AddItem(FATag, 2.5)
  1930.  
  1931.  
  1932. for _,v in pairs(h.Parent:children()) do
  1933. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1934. v.Anchored=true
  1935. end
  1936. end
  1937.  
  1938. wait(.25)
  1939.  
  1940. if h.Parent:FindFirstChildOfClass("Body Colors")then
  1941. h.Parent:FindFirstChildOfClass("Body Colors"):Destroy()
  1942. end
  1943.  
  1944.  
  1945. local FoundTorso = h.Parent:FindFirstChild("Torso") or h.Parent:FindFirstChild("UpperTorso")
  1946.  
  1947. coroutine.resume(coroutine.create(function()
  1948.  
  1949.  
  1950. local YourGone = Instance.new("Part")
  1951. YourGone.Reflectance = 0
  1952. YourGone.Transparency = 1
  1953. YourGone.CanCollide = false
  1954. YourGone.Locked = true
  1955. YourGone.Anchored=true
  1956. YourGone.BrickColor = BrickColor.new("Really blue")
  1957. YourGone.Name = "YourGone"
  1958. YourGone.Size = Vector3.new()
  1959. YourGone.Material = "SmoothPlastic"
  1960. YourGone:BreakJoints()
  1961. YourGone.Parent = FoundTorso
  1962. YourGone.CFrame = FoundTorso.CFrame
  1963.  
  1964. local NewParticle = Instance.new("ParticleEmitter")
  1965. NewParticle.Parent = YourGone
  1966. NewParticle.Acceleration = Vector3.new(0,0,0)
  1967. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10),NumberSequenceKeypoint.new(1,.0)})
  1968. NewParticle.Color = ColorSequence.new(Color3.new (1,0,0), Color3.new (1, 0, 0))
  1969. NewParticle.Lifetime = NumberRange.new(0.55,0.95)
  1970. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(.25,.0),NumberSequenceKeypoint.new(1,1)})
  1971. NewParticle.Speed = NumberRange.new(0,0.0)
  1972. NewParticle.ZOffset = 2
  1973. NewParticle.Texture = "rbxassetid://243660364"
  1974. NewParticle.RotSpeed = NumberRange.new(-0,0)
  1975. NewParticle.Rotation = NumberRange.new(-180,180)
  1976. NewParticle.Enabled = false
  1977. game:GetService("Debris"):AddItem(YourGone, 3)
  1978. for i = 0,2,1 do
  1979. NewParticle:Emit(1)
  1980. so("1448044156", FoundTorso,2, 1)
  1981. h.Parent:BreakJoints()
  1982. YourGone.CFrame = FoundTorso.CFrame
  1983. for _,v in pairs(h.Parent:children()) do
  1984. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  1985. v.Anchored=false
  1986. -- v.Material = "Neon"
  1987. --v.BrickColor = BrickColor.new("Really red")
  1988. if v:FindFirstChildOfClass("SpecialMesh")then
  1989. --v:Destroy()
  1990. end
  1991. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  1992. -- v:Destroy()
  1993. end
  1994. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  1995.  
  1996. vp.Parent = v
  1997. game:GetService("Debris"):AddItem(vp, math.random(50,100)/1000)
  1998.  
  1999.  
  2000. end
  2001.  
  2002.  
  2003.  
  2004. end
  2005.  
  2006.  
  2007.  
  2008. wait(.2)
  2009. end
  2010. wait(.1)
  2011. NewParticle:Emit(3)
  2012. so("1448044156", FoundTorso,2, .8)
  2013. h.Parent:BreakJoints()
  2014. YourGone.CFrame = FoundTorso.CFrame
  2015. for _,v in pairs(h.Parent:children()) do
  2016. if v:IsA("BasePart")and v.Parent:FindFirstChildOfClass("Humanoid") then
  2017. v.Anchored=false
  2018. -- v.Material = "Neon"
  2019. --v.BrickColor = BrickColor.new("Really red")
  2020. if v:FindFirstChildOfClass("SpecialMesh")then
  2021. --v:Destroy()
  2022. end
  2023. if v:FindFirstChildOfClass("Decal") and v.Name == "face" then
  2024. -- v:Destroy()
  2025. end
  2026. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(1000, 1000, 1000), velocity = Vector3.new(math.random(-10,10),4,math.random(-10,10)) })
  2027.  
  2028. vp.Parent = v
  2029. game:GetService("Debris"):AddItem(vp, math.random(100,200)/1000)
  2030.  
  2031.  
  2032. end
  2033.  
  2034.  
  2035.  
  2036. end
  2037.  
  2038.  
  2039.  
  2040.  
  2041. end))
  2042.  
  2043.  
  2044.  
  2045.  
  2046. wait(.1)
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054. end
  2055.  
  2056.  
  2057. end))
  2058.  
  2059.  
  2060.  
  2061.  
  2062. elseif Type == "HPSteal" then
  2063. Humanoid.Health = Humanoid.Health + Damage
  2064. local hum = h
  2065.  
  2066. hum.PlatformStand = true
  2067. coroutine.resume(coroutine.create(function(HHumanoid)
  2068.  
  2069.  
  2070. Combo = 1 wait(.2)
  2071. HHumanoid.PlatformStand = false
  2072. end
  2073. ), hum)
  2074. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2075. local bodvol = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = CFrame.new(Part.Position,Property.Position).lookVector * knockback})
  2076. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(5000, 5000, 5000) * 50, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  2077. game:GetService("Debris"):AddItem(bodvol, 0.2)
  2078. game:GetService("Debris"):AddItem(rl, 0.2)
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085. local bodyVelocity2 = Create("BodyVelocity")({velocity = Vector3.new(0, 60, 0), P = 5000, maxForce = Vector3.new(8000, 12000, 8000), Parent = RootPart})
  2086. game:GetService("Debris"):AddItem(bodyVelocity2, 0.1)
  2087.  
  2088.  
  2089. elseif Type == "Impale" then
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=268249319", Spike, .8, 2)
  2099. hit.Parent.Humanoid.PlatformStand = true
  2100.  
  2101.  
  2102. wait(1)
  2103. hit.Parent.Humanoid.PlatformStand = false
  2104. elseif Type == "IgnoreType" then
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110. elseif Type == "Up" then
  2111. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  2112. game:GetService("Debris"):AddItem(bodyVelocity, 0.1)
  2113. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  2114. game:GetService("Debris"):AddItem(bodyVelocity, .1)
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122. elseif Type == "Snare" then
  2123. local bp = Create("BodyPosition")({P = 900, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  2124. game:GetService("Debris"):AddItem(bp, 1)
  2125.  
  2126.  
  2127.  
  2128. elseif Type == "Freeze2" then
  2129. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  2130. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  2131. hit.Parent.Torso.Anchored = true
  2132. coroutine.resume(coroutine.create(function(Part)
  2133.  
  2134. wait(1.5)
  2135. Part.Anchored = false
  2136. end
  2137. ), hit.Parent.Torso)
  2138. game:GetService("Debris"):AddItem(BodPos, 3)
  2139. game:GetService("Debris"):AddItem(BodGy, 3)
  2140. end
  2141. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  2142. game:GetService("Debris"):AddItem(debounce, Delay)
  2143. c = Instance.new("ObjectValue")
  2144. c.Name = "creator"
  2145. c.Value = Player
  2146. c.Parent = h
  2147. game:GetService("Debris"):AddItem(c, 0.5)
  2148. end
  2149. end
  2150.  
  2151.  
  2152.  
  2153. ShowDamage = function(Pos, Text, Time, Color)
  2154.  
  2155. local Rate = 0.033333333333333
  2156. if not Pos then
  2157. local Pos = Vector3.new(0, 0, 0)
  2158. end
  2159. local Text = Text or ""
  2160. local Time = Time or 2
  2161. if not Color then
  2162. local Color = Color3.new(1, 0, 1)
  2163. end
  2164. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2165. EffectPart.Anchored = true
  2166. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(2, 0, 2, 0), Adornee = EffectPart, Parent = EffectPart})
  2167. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = "DMG: "..Text.."", TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  2168. game.Debris:AddItem(EffectPart, Time + 0.1)
  2169. EffectPart.Parent = game:GetService("Workspace")
  2170. delay(0, function()
  2171.  
  2172. local Frames = Time / Rate
  2173.  
  2174.  
  2175.  
  2176. print(Frames)
  2177. TextLabel.TextTransparency=0
  2178. EffectPart.CFrame=CFrame.new(Pos)
  2179. wait()
  2180. SetTween(TextLabel,{TextTransparency=1},"Quad","In",Frames/60)
  2181. SetTween(TextLabel,{Rotation=math.random(-25,25)},"Elastic","InOut",Frames/60)
  2182. SetTween(TextLabel,{TextColor3=Color3.new(.15,0,.5)},"Elastic","InOut",Frames/60)
  2183.  
  2184. SetTween(EffectPart,{CFrame = CFrame.new(Pos) + Vector3.new(math.random(-5,5), math.random(1,5), math.random(-5,5))},"Linear","InOut",Frames/60)
  2185.  
  2186.  
  2187. wait(Frames/60)
  2188.  
  2189. if EffectPart and EffectPart.Parent then
  2190. EffectPart:Destroy()
  2191. end
  2192. end
  2193. )
  2194. end
  2195.  
  2196. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type2)
  2197.  
  2198.  
  2199.  
  2200.  
  2201. local Type=""
  2202.  
  2203.  
  2204.  
  2205.  
  2206. if mememode == true then
  2207.  
  2208. Type= "Instakill"
  2209.  
  2210. else
  2211. Type=Type2
  2212. end
  2213. if Type2 == "NormalKnockdown" then
  2214. Type= "Knockdown"
  2215. end
  2216.  
  2217. for _,c in pairs(workspace:children()) do
  2218.  
  2219.  
  2220.  
  2221.  
  2222.  
  2223. local hum = c:FindFirstChild("Humanoid")
  2224. for _,v in pairs(c:children()) do
  2225. if v:IsA("Humanoid") then
  2226. hum = v
  2227. end
  2228. end
  2229.  
  2230.  
  2231.  
  2232.  
  2233. if hum ~= nil then
  2234. local head = c:findFirstChild("Head")
  2235. if head ~= nil then
  2236. local targ = head.Position - Part.Position
  2237. local mag = targ.magnitude
  2238. if mag <= magni and c.Name ~= Player.Name then
  2239. Damagefunc(Part, head, mindam, maxdam, knock, Type, RootPart, 0.1, "851453784", 1.2)
  2240. end
  2241. end
  2242. end
  2243. end
  2244. end
  2245.  
  2246.  
  2247. function CFMagniDamage(HTCF,magni, mindam, maxdam, knock, Type)
  2248. local DGP = Instance.new("Part")
  2249.  
  2250. DGP.Parent = Character
  2251. DGP.Size = Vector3.new(0.05, 0.05, 0.05)
  2252. DGP.Transparency = 1
  2253. DGP.CanCollide = false
  2254. DGP.Anchored = true
  2255. RemoveOutlines(DGP)
  2256. DGP.Position=DGP.Position + Vector3.new(0,-.1,0)
  2257. DGP.CFrame = HTCF
  2258.  
  2259. coroutine.resume(coroutine.create(function()
  2260. MagniDamage(DGP, magni, mindam, maxdam, knock, Type)
  2261. end))
  2262. game:GetService("Debris"):AddItem(DGP, .05)
  2263.  
  2264.  
  2265. DGP.Archivable = false
  2266. end
  2267.  
  2268.  
  2269.  
  2270.  
  2271. ------------------
  2272. --[End of Sword]--
  2273. ------------------
  2274.  
  2275. ---------------
  2276. --[Particles]--
  2277. ---------------
  2278.  
  2279.  
  2280.  
  2281.  
  2282.  
  2283.  
  2284.  
  2285.  
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291.  
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298.  
  2299.  
  2300.  
  2301. ----------------------
  2302. --[End Of Particles]--
  2303. ----------------------
  2304.  
  2305.  
  2306.  
  2307.  
  2308. -----------------
  2309.  
  2310. function lockon_OnOff ()
  2311. coroutine.resume(coroutine.create(function()
  2312.  
  2313. local NewParticleH = Instance.new("Attachment",eye)
  2314. NewParticleH.Position = Vector3.new(0,0,.25)
  2315. coroutine.resume(coroutine.create(function()
  2316. local CrystalMainColor = Color3.new(0,1,0)
  2317.  
  2318.  
  2319. local NewParticle = Particle2_1:Clone()
  2320. NewParticle.Parent = NewParticleH
  2321. NewParticle.Enabled = true
  2322. NewParticle.Texture = "rbxassetid://68942583"
  2323. NewParticle.Acceleration = Vector3.new(0,0,0)
  2324. NewParticle.Speed = NumberRange.new(0)
  2325. NewParticle.LockedToPart = true
  2326. NewParticle.ZOffset = .25
  2327. NewParticle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.5),NumberSequenceKeypoint.new(1,0)})
  2328. NewParticle.Rate = 50
  2329. NewParticle.Color = ColorSequence.new(CrystalMainColor, CrystalMainColor)
  2330. NewParticle.Transparency=NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,.9)})
  2331. NewParticle.Name = "XEF"
  2332.  
  2333.  
  2334. end))
  2335.  
  2336.  
  2337. while ZT == true do
  2338.  
  2339.  
  2340.  
  2341. SetTween(imgl,{Rotation=imgl.Rotation+25.5},"Elastic","Out",3)
  2342. if ZTfade==true then
  2343. SetTween(imgl,{ImageTransparency=.7},"Elastic","Out",3)
  2344. SetTween(crosshair,{Size = UDim2.new(10,0,10,0)},"Elastic","Out",1.5)
  2345. end
  2346.  
  2347.  
  2348. wait(1.5)
  2349. if ZTfade==true then
  2350. SetTween(imgl,{ImageTransparency=0},"Linear","InOut",0)
  2351. SetTween(crosshair,{Size = UDim2.new(11,0,11,0)},"Elastic","InOut",0)
  2352. end
  2353. wait()
  2354. end
  2355.  
  2356. crosshair.Adornee = nil
  2357. crosshair.Enabled = false
  2358. NewParticleH:Destroy()
  2359.  
  2360. end))
  2361. end
  2362.  
  2363. function lockon (targetted)
  2364. if ZT == true then
  2365.  
  2366. coroutine.resume(coroutine.create(function()
  2367. crosshair.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  2368. crosshair.Enabled = true
  2369.  
  2370. ZTfade = false
  2371. SetTween(imgl,{ImageTransparency=1},"Linear","InOut",0)
  2372.  
  2373. SetTween(crosshair,{Size = UDim2.new(40,0,40,0)},"Linear","InOut",0)
  2374.  
  2375. wait()
  2376.  
  2377. SetTween(imgl,{ImageTransparency=.7},"Bounce","Out",2)
  2378.  
  2379. SetTween(crosshair,{Size = UDim2.new(10,0,10,0)},"Elastic","InOut",1)
  2380. wait(1)
  2381. ZTfade = true
  2382. end))
  2383. end
  2384. end
  2385.  
  2386.  
  2387.  
  2388.  
  2389.  
  2390.  
  2391. -----------------
  2392.  
  2393.  
  2394.  
  2395.  
  2396.  
  2397. --[[
  2398. for i, v in pairs(C:GetChildren()) do
  2399. if v:IsA("Accessory")then
  2400. v:Destroy()
  2401. end
  2402. if v:IsA("BasePart")then
  2403. v.Transparency =1
  2404. if v.Name == "Head" then
  2405. v:FindFirstChildOfClass("Decal"):Destroy()
  2406. end
  2407. end
  2408. end--]]
  2409. --[[
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419.  
  2420.  
  2421.  
  2422.  
  2423. local tweeningInformation = TweenInfo.new(
  2424. 0.5,
  2425. Enum.EasingStyle.Back,
  2426. Enum.EasingDirection.Out,
  2427. 0,
  2428. false,
  2429. 0
  2430. )
  2431. --]]
  2432.  
  2433.  
  2434. local RJW=weld(RJ.Parent,RJ.Part0,RJ.Part1,RJ.C0)
  2435. RJW.C1 = RJ.C1
  2436. RJW.Name = RJ.Name
  2437.  
  2438. local NeckW=weld(Neck.Parent,Neck.Part0,Neck.Part1,Neck.C0)
  2439. NeckW.C1 = Neck.C1
  2440. NeckW.Name = Neck.Name
  2441.  
  2442.  
  2443. --print(WRJ.Parent.Name)
  2444.  
  2445. local RW=weld(Torso,Torso,RightArm,cf(0,0,0))
  2446.  
  2447. local LW=weld(Torso,Torso,LeftArm,cf(0,0,0))
  2448.  
  2449. local RH=weld(Torso,RightArm,RightLeg,cf(0,0,0))
  2450.  
  2451. local LH=weld(Torso,LeftArm,LeftLeg,cf(0,0,0))
  2452.  
  2453.  
  2454.  
  2455. RW.C1 = cn(0, 0.5, 0)
  2456. LW.C1 = cn(0, 0.5, 0)
  2457. RH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  2458. LH.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465. --------
  2466. --(#Torso)
  2467. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
  2468. --------
  2469. --(#Head)
  2470. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
  2471. --------
  2472. --(#Right Arm)
  2473. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)},"Quad","InOut",0.1)
  2474. --------
  2475. --(#Left Arm)
  2476. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)},"Quad","InOut",0.1)
  2477. --------
  2478. --(#Right Leg)
  2479. SetTween(RH,{C0=CFrame.new(0, -0.90, 0)},"Quad","InOut",0.1)
  2480. --------
  2481. --(#Left Leg)
  2482. SetTween(LH,{C0=CFrame.new(0, -0.90, 0)},"Quad","InOut",0.1)
  2483.  
  2484.  
  2485.  
  2486. --[[
  2487. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2488. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2489. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(30))},"Quad","Out",0.1)
  2490. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-30))},"Quad","Out",0.1)
  2491. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2492. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2493. --]]
  2494.  
  2495. function Attack1()
  2496. attack = true
  2497. SetTween(RJW,{C0=RootCF*CFrame.new(0,-2,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",1)
  2498. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,-2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",1)
  2499. SetTween(RW,{C0=CFrame.new(2.5 , 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(30))},"Quad","InOut",1)
  2500. SetTween(LW,{C0=CFrame.new(-2.5, 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(-30))},"Quad","InOut",1)
  2501. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(-90))},"Quad","InOut",1)
  2502. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(90))},"Quad","InOut",1)
  2503.  
  2504.  
  2505. wait(1)
  2506.  
  2507. WACKYEFFECT({Time = 10, EffectType = "Slash", Size = (VT(60,0,60)), Size2 = (VT(0,0,0)), Transparency = 1, Transparency2 = .5, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 454850461, SoundPitch = 1, SoundVolume = 8})
  2508.  
  2509. for i = 10, 60,10 do
  2510. WACKYEFFECT({Time = 10+i, EffectType = "Slash", Size = (VT(60,0,60)), Size2 = (VT(0,0,0)), Transparency = 1, Transparency2 = .5, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2511. end
  2512. for i = 0,10 do wait() wait() wait()
  2513. local AREA = RootPart.CFrame * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(2,20))
  2514. local TIMER = MRANDOM(30,50)/4
  2515. WACKYEFFECT({Time = TIMER, EffectType = "Sphere", Size = VT(5,0,5)/1.1, Size2 = VT(0,15,0)/1.1, Transparency = .9, Transparency2 = 0, CFrame = AREA, MoveToPos = AREA.p+VT(0,MRANDOM(35,60),0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(.5,0,1), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  2516. WACKYEFFECT({Time = TIMER, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,15,0), Transparency = 0.9, Transparency2 = 0.5, CFrame = AREA, MoveToPos = AREA.p+VT(0,MRANDOM(35,60),0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.8, SoundVolume = 5})
  2517.  
  2518. end
  2519. if mememode == false then
  2520. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,3)*angles(math.rad(-40),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2521. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2522. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -3.5)*angles(math.rad(-70),math.rad(0),math.rad(30))},"Quad","InOut",.4)
  2523. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -3.5)*angles(math.rad(-70),math.rad(0),math.rad(-30))},"Quad","InOut",.4)
  2524. SetTween(RH,{C0=CFrame.new(0, -3, -3)*angles(math.rad(50),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2525. SetTween(LH,{C0=CFrame.new(-0, -3, -3)*angles(math.rad(50),math.rad(0),math.rad(-0))},"Quad","InOut",.4)
  2526.  
  2527. for i = 10, 30,10 do
  2528. WACKYEFFECT({Time = 20+i, EffectType = "Wave", Size = VT(5,0,5), Size2 = (VT(31,0,31)*7)/4.1, Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame*cn(0,5,0) * ANGLES(RAD(MRANDOM(0,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2529. end
  2530. WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(600,600,600), Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(.5,0,1), SoundID = 376976397, SoundPitch = .5, SoundVolume = 7})
  2531. WACKYEFFECT({Time = 100, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(600,600,600), Transparency = 0, Transparency2 = 1, CFrame=RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 528589382, SoundPitch = 1.5, SoundVolume = 10})
  2532. WACKYEFFECT({Time = 120, EffectType = "Crown", Size = VT(0,0,0), Size2 = (VT(600,600,600)), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5,TweenNType="Quad",TweenOType="Out"})
  2533.  
  2534. CFMagniDamage(Head.CFrame,600,80,90,100,"Knockdown")
  2535.  
  2536.  
  2537.  
  2538. else
  2539.  
  2540.  
  2541.  
  2542.  
  2543.  
  2544.  
  2545. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,3)*angles(math.rad(-40),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2546. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2547. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -3.5)*angles(math.rad(-70),math.rad(0),math.rad(30))},"Quad","InOut",.4)
  2548. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -3.5)*angles(math.rad(-70),math.rad(0),math.rad(-30))},"Quad","InOut",.4)
  2549. SetTween(RH,{C0=CFrame.new(0, -3, -3)*angles(math.rad(50),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2550. SetTween(LH,{C0=CFrame.new(-0, -3, -3)*angles(math.rad(50),math.rad(0),math.rad(-0))},"Quad","InOut",.4)
  2551.  
  2552.  
  2553. WACKYEFFECT({Time = 120*2, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1600,1600,1600), Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(.5,0,1), SoundID = 376976397, SoundPitch = .5, SoundVolume = 5})
  2554. WACKYEFFECT({Time = 100*2, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1600,1600,1600), Transparency = 0, Transparency2 = 1, CFrame=RootPart.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 132164034, SoundPitch = 1.2, SoundVolume = 10})
  2555. for i = 10, 60,10 do
  2556. WACKYEFFECT({Time = 20+i*2, EffectType = "Wave", Size = VT(5,0,5), Size2 = (VT(31,0,31)*7)/4.1, Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame*cn(0,5,0) * ANGLES(RAD(MRANDOM(0,15)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,15))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2557. WACKYEFFECT({Time = 12*i, EffectType = "Crown", Size = VT(0,0,0), Size2 = (VT(1600,1600,1600)), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame , MoveToPos = nil, RotationX = 0, RotationY = math.random(-180,180), RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5,TweenNType="Quad",TweenOType="Out"})
  2558.  
  2559. CFMagniDamage(Head.CFrame,1600,80,90,100,"Knockdown")
  2560. wait(.05)
  2561. end
  2562.  
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572. end
  2573.  
  2574. wait(1)
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580. attack=false
  2581. end
  2582.  
  2583.  
  2584. function Attack2()
  2585. attack = true
  2586.  
  2587. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(-0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2588. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(-0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2589. SetTween(RW,{C0=CFrame.new(3.5 , 2.5, -0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Back","Out",.4)
  2590. SetTween(LW,{C0=CFrame.new(-3.5, 2.5, -0)*angles(math.rad(-0),math.rad(0),math.rad(-30))},"Quad","InOut",.4)
  2591. SetTween(RH,{C0=CFrame.new(0, -3, -3)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2592. SetTween(LH,{C0=CFrame.new(-0, -3, -3)*angles(math.rad(0),math.rad(0),math.rad(-0))},"Quad","InOut",.4)
  2593.  
  2594.  
  2595.  
  2596.  
  2597.  
  2598. wait(.3)
  2599.  
  2600.  
  2601. SetTween(RJW,{C0=RootCF*CFrame.new(0,-5,2)*angles(math.rad(-0),math.rad(0),math.rad(0))},"Quad","InOut",.2)
  2602. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(20),math.rad(40),math.rad(0))},"Quad","InOut",.2)
  2603. SetTween(RW,{C0=CFrame.new(3.5 , -4.5, -10)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",.2)
  2604. SetTween(LW,{C0=CFrame.new(-3.5, 2.5, 2)*angles(math.rad(-30),math.rad(0),math.rad(-30))},"Quad","InOut",.2)
  2605. SetTween(RH,{C0=CFrame.new(0, -3, -3)*angles(math.rad(-90),math.rad(-40),math.rad(20))},"Quad","InOut",.2)
  2606. SetTween(LH,{C0=CFrame.new(-0, -3, -3)*angles(math.rad(0),math.rad(0),math.rad(-0))},"Quad","InOut",.2)
  2607.  
  2608.  
  2609.  
  2610.  
  2611. -- LAP.Parent = Character
  2612. wait(.1)
  2613. local portal =Instance.new("Part")
  2614. portal.Reflectance = 0
  2615. portal.Transparency = 1
  2616. portal.CanCollide = false
  2617. portal.Locked = true
  2618. portal.Anchored=true
  2619. portal.BrickColor = BrickColor.new("Really blue")
  2620. portal.Name = "portal"
  2621. portal.Size = Vector3.new()
  2622. portal.Material = "SmoothPlastic"
  2623. portal:BreakJoints()
  2624. portal.CFrame = RootPart.CFrame*cn(4,0,-17)
  2625. local Portalfloor,PortalPos = rayCast(portal.Position, CFrame.new(portal.Position, portal.Position - Vector3.new(0, 1, 0)).lookVector, 80, Character)
  2626. portal.CFrame = cn(PortalPos)
  2627.  
  2628. local max = 50
  2629. local min = 6.5
  2630. local light = min
  2631. if mememode == true then
  2632. min = 0
  2633. max = 100
  2634. light = 3
  2635. end
  2636.  
  2637. coroutine.resume(coroutine.create(function()
  2638. WACKYEFFECT({Time = 120, EffectType = "Crown", Size = VT(0,0,0), Size2 = (VT(max+15,1,max+15)), Transparency = 0.9, Transparency2 = 1, CFrame = portal.CFrame , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5,TweenNType="Quad",TweenOType="Out"})
  2639. WACKYEFFECT({Time = 240, EffectType = "Sphere", Size = VT(0,.1,0), Size2 = VT(light-.5,0.1,light-.5)*1.5, Transparency = 0, Transparency2 = 1, CFrame=portal.CFrame*cn(0,-0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 376976397, SoundPitch = 1, SoundVolume = 3,TweenNType="Back",TweenOType="Out"})
  2640. wait(120/60)
  2641.  
  2642. coroutine.resume(coroutine.create(function()
  2643. wait(.1)
  2644. for _,c in pairs(workspace:children()) do
  2645.  
  2646.  
  2647.  
  2648.  
  2649.  
  2650.  
  2651.  
  2652.  
  2653.  
  2654.  
  2655.  
  2656. if h ~= nil and head ~= nil then
  2657. local targ = head.Position - portal.Position
  2658. local mag = targ.magnitude
  2659.  
  2660.  
  2661. if mag < max and mag > min and c ~= Character then
  2662.  
  2663. print("Kill")
  2664. coroutine.resume(coroutine.create(function()
  2665. local Shade =Instance.new("Model",Effects)
  2666. local hed =Instance.new("Part")
  2667. hed.Reflectance = 0
  2668. hed.Transparency = 1
  2669. hed.CanCollide = false
  2670. hed.Locked = true
  2671. hed.Anchored=false
  2672. hed.Color = Color3.new(0,0,0)
  2673. head.Material = "SmoothPlastic"
  2674. local sTor=hed:Clone()
  2675. sTor.Name = "Torso2"
  2676. sTor.Size = Vector3.new(2,2,1)
  2677. sTor.Material = "SmoothPlastic"
  2678. sTor:BreakJoints()
  2679. sTor.CFrame = portal.CFrame*cn(0,-10,0)
  2680. local sraor=hed:Clone()
  2681. sraor.Name = "RightArm"
  2682. sraor.Size = Vector3.new(1,2,1)
  2683. sraor.Material = "SmoothPlastic"
  2684. sraor:BreakJoints()
  2685. sraor.CFrame = portal.CFrame*cn(0,-10,0)
  2686. local slaor=sraor:Clone()
  2687. slaor.Name = "LeftArm"
  2688. local srlor=sraor:Clone()
  2689. srlor.Name = "RightLeg"
  2690. local sllor=sraor:Clone()
  2691. sllor.Name = "LeftLeg"
  2692. hed.Name = "Head2"
  2693. hed.Size = Vector3.new(1,1,1)
  2694. hed.Material = "SmoothPlastic"
  2695. hed:BreakJoints()
  2696. hed.CFrame = portal.CFrame*cn(0,-10,0)
  2697.  
  2698. local Mesh =Instance.new("SpecialMesh",hed)
  2699.  
  2700. Mesh.Scale=Vector3.new(1.25,1.25,1.25)
  2701. coroutine.resume(coroutine.create(function()
  2702. local Eye = Instance.new("Part")
  2703. Eye.Reflectance = 0
  2704. Eye.Transparency = 0
  2705. Eye.CanCollide = false
  2706. Eye.Locked = true
  2707. Eye.Anchored=false
  2708. Eye.BrickColor = BrickColor.new("White")
  2709. Eye.Name = "BEGONE"
  2710. Eye.Size = Vector3.new(0.05,0.3,0.05)
  2711. Eye.Material = "Neon"
  2712. Eye:BreakJoints()
  2713. Eye.Parent = Shade
  2714. local EMesh =Instance.new("SpecialMesh",Eye)
  2715.  
  2716. EMesh.MeshType = "Sphere"
  2717.  
  2718.  
  2719.  
  2720.  
  2721. local Eye=weld(Eye,hed,Eye,cf(.18,.18,-.55))
  2722.  
  2723. end))
  2724. coroutine.resume(coroutine.create(function()
  2725. local Eye = Instance.new("Part")
  2726. Eye.Reflectance = 0
  2727. Eye.Transparency = 0
  2728. Eye.CanCollide = false
  2729. Eye.Locked = true
  2730. Eye.Anchored=false
  2731. Eye.BrickColor = BrickColor.new("White")
  2732. Eye.Name = "BEGONE"
  2733. Eye.Size = Vector3.new(.05,.3,.05)
  2734. Eye.Material = "Neon"
  2735. Eye:BreakJoints()
  2736. Eye.Parent = Shade
  2737.  
  2738.  
  2739. local EMesh =Instance.new("SpecialMesh",Eye)
  2740.  
  2741. EMesh.MeshType = "Sphere"
  2742.  
  2743.  
  2744. local Eye=weld(Eye,hed,Eye,cf(-.18,.18,-.55))
  2745.  
  2746. end))
  2747.  
  2748. sTor.Anchored = true
  2749. hed.Parent = Shade
  2750. sTor.Parent = Shade
  2751. sraor.Parent = Shade
  2752. slaor.Parent = Shade
  2753. srlor.Parent = Shade
  2754. sllor.Parent = Shade
  2755.  
  2756.  
  2757. SetTween(sTor,{Transparency=0},"Quad","InOut",1)
  2758. SetTween(hed,{Transparency=0},"Quad","InOut",1)
  2759. SetTween(sraor,{Transparency=0},"Quad","InOut",1)
  2760. SetTween(slaor,{Transparency=0},"Quad","InOut",1)
  2761. SetTween(srlor,{Transparency=0},"Quad","InOut",1)
  2762. SetTween(sllor,{Transparency=0},"Quad","InOut",1)
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768. local NeckW2=MakeJoint(sTor,sTor,hed,CFrame.new(0,0,0))
  2769. NeckW2.C1 = NeckW.C1
  2770.  
  2771. --print(WRJ.Parent.Name)
  2772.  
  2773. local RW2=MakeJoint(sTor,sTor,sraor,cf(0,0,0))
  2774.  
  2775. local LW2=MakeJoint(sTor,sTor,slaor,cf(0,0,0))
  2776.  
  2777. local RH2=MakeJoint(sTor,sTor,srlor,cf(0,0,0))
  2778.  
  2779. local LH2=MakeJoint(sTor,sTor,sllor,cf(0,0,0))
  2780.  
  2781.  
  2782.  
  2783. RW2.C1 = cn(0, 0.5, 0)
  2784. LW2.C1 = cn(0, 0.5, 0)
  2785. RH2.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  2786. LH2.C1 = cn(0, 1, 0) *CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
  2787.  
  2788.  
  2789.  
  2790.  
  2791. head.Anchored = true
  2792.  
  2793. --------
  2794. --(#Torso)
  2795. SetTween(sTor,{CFrame=cn(head.Position.x,portal.Position.y-5,head.Position.z)},"Quad","InOut", .1)
  2796. --------
  2797. --(#Head)
  2798. SetTween(NeckW2,{C0=NeckCF*CFrame.new(0,0,0)},"Quad","InOut",0.1)
  2799. --------
  2800. --(#Right Arm)
  2801. SetTween(RW2,{C0=CFrame.new(1.5 , 0.5, -.0)},"Quad","InOut",0.1)
  2802. --------
  2803. --(#Left Arm)
  2804. SetTween(LW2,{C0=CFrame.new(-1.5, 0.5, -.0)},"Quad","InOut",0.1)
  2805. --------
  2806. --(#Right Leg)
  2807. SetTween(RH2,{C0=CFrame.new(.5, -0.90, 0)},"Quad","InOut",0.1)
  2808. --------
  2809. --(#Left Leg)
  2810. SetTween(LH2,{C0=CFrame.new(-.5, -0.90, 0)},"Quad","InOut",0.1)
  2811.  
  2812.  
  2813. wait(.1)
  2814.  
  2815.  
  2816. --------
  2817. --(#Torso)
  2818. SetTween(sTor,{CFrame=head.CFrame*CFrame.new(0,0,2)},"Quad","InOut",1/2)
  2819. --------
  2820. --(#Head)
  2821. SetTween(NeckW2,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0))},"Quad","InOut",1/2)
  2822. --------
  2823. --(#Right Arm)
  2824. SetTween(RW2,{C0=CFrame.new(1.5 , 0.5, -.0)},"Quad","InOut",1/2)
  2825. --------
  2826. --(#Left Arm)
  2827. SetTween(LW2,{C0=CFrame.new(-1.5, 0.5, -.0)},"Quad","InOut",1/2)
  2828.  
  2829. wait(1/2)
  2830. --------
  2831. --(#Torso)
  2832. SetTween(sTor,{CFrame=head.CFrame*CFrame.new(0,0,1)},"Quad","InOut",1/3)
  2833. --------
  2834. --(#Head)
  2835. SetTween(NeckW2,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0))},"Quad","InOut",1/3)
  2836. --------
  2837. --(#Right Arm)
  2838. SetTween(RW2,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",1/3)
  2839. --------
  2840. --(#Left Arm)
  2841. SetTween(LW2,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",1/3)
  2842.  
  2843. wait(1/3)
  2844. --------
  2845. local Grab=MakeJoint(sTor,sTor,head,cf(0,0,-1))
  2846. head.Anchored = false
  2847. --(#Torso)
  2848.  
  2849. --------
  2850. --(#Head)
  2851. SetTween(NeckW2,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(30),math.rad(0))},"Quad","InOut",1/3)
  2852. --------
  2853. --(#Right Arm)
  2854. SetTween(RW2,{C0=CFrame.new(1.3 , 0.5, -.3)*angles(math.rad(90),math.rad(0),math.rad(-50))},"Quad","InOut",1/3)
  2855. --------
  2856. --(#Left Arm)
  2857. SetTween(LW2,{C0=CFrame.new(-1.3, 0.5, -.3)*angles(math.rad(90),math.rad(0),math.rad(50))},"Quad","InOut",1/3)
  2858.  
  2859. wait(1/3)
  2860. WACKYEFFECT({Time = 40, EffectType = "Crown", Size = VT(1,16,1), Size2 = (VT(10,0,10)), Transparency = 0.2, Transparency2 = 1, CFrame = cn(head.Position.x,portal.Position.y,head.Position.z) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  2861.  
  2862. SetTween(sTor,{CFrame=cn(head.Position.x,portal.Position.y-5,head.Position.z)},"Quad","InOut", .2)
  2863.  
  2864. wait(.2)
  2865.  
  2866. Shade:Destroy()
  2867. coroutine.resume(coroutine.create(function()
  2868. c:BreakJoints()
  2869. end))
  2870. c.Parent = nil
  2871. h:Destroy()
  2872. c:Destroy()
  2873.  
  2874.  
  2875. end))
  2876.  
  2877. end
  2878. end
  2879. end
  2880. end))
  2881. --CFMagniDamage(portal.CFrame,60,10,20,0,"Normal")
  2882.  
  2883. WACKYEFFECT({Time = 160, EffectType = "Sphere", Size = VT(max+15,1,max+15)*1.5, Size2 = VT(0,.05,0), Transparency = 1, Transparency2 = 0, CFrame=portal.CFrame*cn(0,-0.025,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 424195979, SoundPitch = .5, SoundVolume = 4,TweenNType="Quad",TweenOType="InOut"})
  2884. portal:Destroy()
  2885. end))
  2886.  
  2887.  
  2888.  
  2889.  
  2890. wait(.3)
  2891.  
  2892.  
  2893.  
  2894. attack=false
  2895. end
  2896.  
  2897.  
  2898.  
  2899.  
  2900. --[[
  2901. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2902. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2903. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(30))},"Quad","Out",0.1)
  2904. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-30))},"Quad","Out",0.1)
  2905. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2906. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  2907. --]]
  2908.  
  2909.  
  2910.  
  2911. function AT1()
  2912. attack = true
  2913.  
  2914.  
  2915. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(-50),math.rad(40),math.rad(80))},"Quad","InOut",.3)
  2916. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(50),math.rad(-40),math.rad(-40))},"Quad","InOut",.3)
  2917. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(40),math.rad(-30),math.rad(-25))},"Quad","Out",.3)
  2918. SetTween(LW,{C0=CFrame.new(-3.5, 5.5, -.0)*angles(math.rad(-78),math.rad(0),math.rad(-120))},"Quad","Out",.3)
  2919. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(50),math.rad(45),math.rad(0))},"Quad","InOut",.3)
  2920. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",.3)
  2921. wait(.3)
  2922. so("160773067", RootPart, 1.5, math.random(120,150)/100)
  2923. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(-40))},"Quad","InOut",.15)
  2924. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(40))},"Quad","InOut",.15)
  2925. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(-0),math.rad(-50),math.rad(90))},"Quad","Out",.15)
  2926. SetTween(LW,{C0=CFrame.new(-3.5, 2.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-30))},"Quad","Out",.15)
  2927. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.15)
  2928. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.15)
  2929. wait(.15/2)
  2930.  
  2931. CFMagniDamage(RootPart.CFrame*cn(4,0,-4),12.5,10,20,20,"HPSteal")
  2932.  
  2933. wait(.15/2)
  2934.  
  2935.  
  2936.  
  2937.  
  2938. attack = false
  2939. end
  2940.  
  2941.  
  2942. function AT2()
  2943. attack = true
  2944.  
  2945. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(-50),math.rad(-40),math.rad(-80))},"Quad","InOut",.3)
  2946. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(50),math.rad(40),math.rad(40))},"Quad","InOut",.3)
  2947. SetTween(RW,{C0=CFrame.new(3.5 , 5.5, -.0)*angles(math.rad(-78),math.rad(0),math.rad(120))},"Quad","Out",.3)
  2948. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(40),math.rad(30),math.rad(25))},"Quad","Out",.3)
  2949. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",.3)
  2950. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(50),math.rad(-45),math.rad(0))},"Quad","InOut",.3)
  2951. wait(.3)
  2952. so("160773067", RootPart, 1.5, math.random(120,150)/100)
  2953. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(40))},"Quad","InOut",.15)
  2954. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(-40))},"Quad","InOut",.15)
  2955. SetTween(RW,{C0=CFrame.new(3.5 , 2.5, -.0)*angles(math.rad(-0),math.rad(0),math.rad(30))},"Quad","Out",.15)
  2956. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(0),math.rad(50),math.rad(-90))},"Quad","Out",.15)
  2957. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.15)
  2958. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.15)
  2959. wait(.15/2)
  2960.  
  2961. CFMagniDamage(RootPart.CFrame*cn(-4,0,-4),12.5,10,20,50,"HPSteal")
  2962.  
  2963. wait(.15/2)
  2964.  
  2965.  
  2966.  
  2967.  
  2968. attack = false
  2969. end
  2970.  
  2971. function findNearestTorso(pos)
  2972. local list = game.Workspace:children()
  2973. local torso = nil
  2974. local dist = 1000
  2975. local temp = nil
  2976. local human = nil
  2977. local temp2 = nil
  2978. for x = 1, #list do
  2979. temp2 = list[x]
  2980. if (temp2.className == "Model") and (temp2 ~= Character) then
  2981. temp = (temp2:FindFirstChild("Torso") or temp2:FindFirstChild("UpperTorso"))
  2982. human = temp2:FindFirstChildOfClass("Humanoid")
  2983. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2984. if (temp.Position - pos).magnitude < dist then
  2985. torso = temp
  2986. dist = (temp.Position - pos).magnitude
  2987. end
  2988. end
  2989. end
  2990. end
  2991. return torso
  2992. end
  2993.  
  2994. function Attack3()
  2995. attack = true
  2996.  
  2997. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2998. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  2999. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","Out",.4)
  3000. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(-0))},"Quad","Out",.4)
  3001. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3002. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3003. wait(.05)
  3004.  
  3005. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.3)
  3006. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.3)
  3007. SetTween(RW,{C0=CFrame.new(3.5 , 3.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(80))},"Quad","Out",.3)
  3008. SetTween(LW,{C0=CFrame.new(-3.5, 3.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(-80))},"Quad","Out",.3)
  3009. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(-90),math.rad(0))},"Quad","InOut",.3)
  3010. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(90),math.rad(-0))},"Quad","InOut",.3)
  3011. wait(.3)
  3012. so("260435136", RootPart, 2, .8)
  3013. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.3)
  3014. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,-5,2)*angles(math.rad(30),math.rad(-40),math.rad(0))},"Quad","InOut",.3)
  3015. SetTween(RW,{C0=CFrame.new(6.0 , -2, -8)*angles(math.rad(85),math.rad(0),math.rad(-80))},"Quad","Out",.3)
  3016. SetTween(LW,{C0=CFrame.new(-6.0, -2, -8)*angles(math.rad(90),math.rad(0),math.rad(80))},"Quad","Out",.3)
  3017. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(-90),math.rad(0))},"Quad","InOut",.3)
  3018. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(90),math.rad(-0))},"Quad","InOut",.3)
  3019. wait(.3)
  3020.  
  3021.  
  3022. local TheGunHandle = Instance.new("Part")
  3023. TheGunHandle.Reflectance = 0
  3024. TheGunHandle.Transparency = 1
  3025. TheGunHandle.CanCollide = false
  3026. TheGunHandle.Locked = true
  3027. TheGunHandle.Anchored=false
  3028. TheGunHandle.BrickColor = BrickColor.new("Really blue")
  3029. TheGunHandle.Name = "BHandle"
  3030. TheGunHandle.Size = Vector3.new(2.5,1,2.5)
  3031. TheGunHandle.Material = "SmoothPlastic"
  3032. TheGunHandle:BreakJoints()
  3033. TheGunHandle.Parent = workspace
  3034. TheGunHandle.CFrame = RootPart.CFrame
  3035.  
  3036.  
  3037. local SWeld=weld(TheGunHandle,RootPart,TheGunHandle,cf(0,0,-9)*angles(math.rad(0),math.rad(0),math.rad(0)))
  3038. local IsHit = false
  3039. local function onTouch(HitPa)
  3040. if IsHit == false then
  3041. local c = HitPa.Parent
  3042. local h = HitPa.Parent:FindFirstChild("Humanoid")
  3043. for _,v in pairs(HitPa.Parent:children()) do
  3044. if v:IsA("Humanoid") then
  3045.  
  3046. h = v end
  3047.  
  3048. end
  3049. local head = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  3050. local realhead = c:FindFirstChild("Head")
  3051. if h ~= nil and head ~= nil and realhead ~= nil then
  3052.  
  3053. IsHit = true
  3054. RootPart.Anchored=true
  3055. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,-5,2)*angles(math.rad(30),math.rad(40),math.rad(0))},"Quad","InOut",3)
  3056. local SWeld=MakeJoint(head,Torso,head,cf(0,-1,-9)*angles(math.rad(180),math.rad(0),math.rad(180)))
  3057.  
  3058. coroutine.resume(coroutine.create(function()
  3059. local pem = VoidEmitter:Clone()
  3060. pem.Enabled = true
  3061. pem.Parent = realhead
  3062. so("2162238854", RootPart, 2, .5)
  3063. wait(2.9)
  3064. if mememode == false then
  3065. wait(.1)
  3066. end
  3067. pem.Rate = 0
  3068. if mememode == true then
  3069. coroutine.resume(coroutine.create(function()
  3070.  
  3071. local Dust = Instance.new("Model")
  3072. local DustTorso = Instance.new("Part",Dust)
  3073. local DustHead = Instance.new("Part",Dust)
  3074. game:GetService("Debris"):AddItem(DustHead, 120)
  3075. DustHead.Name = "Head"
  3076. DustHead.Size = Vector3.new(realhead.Size.y,realhead.Size.y,realhead.Size.y)
  3077. RemoveOutlines(DustHead)
  3078. DustHead:BreakJoints()
  3079. DustHead.CFrame = CFrame.new(0,1000,0)
  3080. DustHead.Transparency = 1
  3081. DustTorso.Name = "Torso"
  3082. DustTorso.Size = Vector3.new(realhead.Size.y,realhead.Size.y,realhead.Size.y)
  3083. RemoveOutlines(DustTorso)
  3084. DustTorso:BreakJoints()
  3085. DustTorso.CFrame = CFrame.new(0,1000,0)
  3086. DustTorso.Transparency = 1
  3087. Dust.Name = "DustMinion"
  3088.  
  3089.  
  3090.  
  3091.  
  3092.  
  3093.  
  3094.  
  3095.  
  3096.  
  3097.  
  3098. pem.Parent = DustHead
  3099. pem.Rate = 100
  3100.  
  3101. local DustWeld=weld(DustTorso,DustHead,DustTorso,cf(0,0,0))
  3102. DustTorso.CFrame = realhead.CFrame
  3103. wait(.2)
  3104. local DustHumanoid = Instance.new("Humanoid",Dust)
  3105. DustHumanoid.MaxHealth = 40
  3106. DustHumanoid.Health = 40
  3107. DustHumanoid.WalkSpeed = 17
  3108. Dust.Parent = Effects
  3109.  
  3110. so("438666001", DustTorso, 2, .8)
  3111.  
  3112.  
  3113. coroutine.resume(coroutine.create(function()
  3114. local DustAlive = true
  3115.  
  3116. while DustAlive == true do
  3117.  
  3118.  
  3119.  
  3120. if DustHumanoid.Health > 0.001 then
  3121.  
  3122.  
  3123.  
  3124. local FindNewTorso = findNearestTorso(DustTorso.Position)
  3125.  
  3126. if FindNewTorso ~= nil then
  3127.  
  3128. DustHumanoid:MoveTo(FindNewTorso.Position)
  3129. --print(DustHumanoid.Name)
  3130. local mag = (DustTorso.Position-FindNewTorso.Position).magnitude
  3131. if mag < 10 and FindNewTorso.Parent:FindFirstChildOfClass("Humanoid") and FindNewTorso.Parent:FindFirstChildOfClass("Humanoid").Health > 0.001 then
  3132.  
  3133.  
  3134. coroutine.resume(coroutine.create(function()
  3135.  
  3136. coroutine.resume(coroutine.create(function()
  3137. makrag(FindNewTorso.Parent)
  3138. end))
  3139. FindNewTorso.Parent:FindFirstChildOfClass("Humanoid").Health = 0
  3140. FindNewTorso.Parent:BreakJoints()
  3141. if FindNewTorso.Parent:FindFirstChild("Head") then
  3142. pem.Parent = FindNewTorso.Parent.Head
  3143. pem:Emit(10)
  3144. so("215395388", DustTorso, 2, .8)
  3145. end
  3146. end))
  3147. DustHumanoid.Health = 0
  3148. end
  3149.  
  3150. else
  3151. wait(2)
  3152. DustHumanoid.Health = 0
  3153. end
  3154.  
  3155.  
  3156. end
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162. if DustHumanoid.Health < 0.001 then
  3163. coroutine.resume(coroutine.create(function()
  3164. pem.Rate = 0
  3165. end))
  3166. DustAlive = false
  3167. game:GetService("Debris"):AddItem(Dust, 2)
  3168. so("2162238854", DustTorso, 2, .8)
  3169. end
  3170.  
  3171.  
  3172. if Dust.Parent ~= Effects then
  3173. coroutine.resume(coroutine.create(function()
  3174. Dust:Destroy()
  3175. end))
  3176. DustAlive = false
  3177. end
  3178.  
  3179.  
  3180.  
  3181.  
  3182.  
  3183. wait(1)
  3184. end
  3185.  
  3186.  
  3187.  
  3188. end))
  3189.  
  3190.  
  3191.  
  3192.  
  3193. end))
  3194. end
  3195. end))
  3196.  
  3197.  
  3198.  
  3199. wait(3)
  3200. coroutine.resume(coroutine.create(function()
  3201. head.Velocity = RootPart.CFrame.lookVector * 1.2
  3202. coroutine.resume(coroutine.create(function()
  3203. makrag(c)
  3204. end))
  3205. h.Health = 0
  3206. c:BreakJoints()
  3207. RootPart.CFrame = Torso.CFrame*cn(0,-2,0)
  3208. RootPart.Anchored=false
  3209. end))
  3210. attack = false
  3211.  
  3212. end
  3213.  
  3214. end
  3215. end
  3216.  
  3217.  
  3218.  
  3219. wait(1)
  3220. coroutine.resume(coroutine.create(function()
  3221. TheGunHandle:Destroy()
  3222. end))
  3223.  
  3224. if IsHit == false then
  3225. attack = false
  3226. end
  3227. end
  3228.  
  3229.  
  3230. function Attack4()
  3231. attack=true
  3232. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.6)
  3233. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",.6)
  3234. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(50))},"Back","Out",.6)
  3235. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(90),math.rad(0),math.rad(-50))},"Back","Out",.6)
  3236. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.6)
  3237. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.6)
  3238. wait(.6)
  3239. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3240. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(-20),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3241. SetTween(RW,{C0=CFrame.new(3.5 , 4.5, 4.0)*angles(math.rad(90),math.rad(0),math.rad(10))},"Quad","Out",.4)
  3242. SetTween(LW,{C0=CFrame.new(-3.5, 4.5, 4.0)*angles(math.rad(90),math.rad(0),math.rad(-10))},"Quad","Out",.4)
  3243. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3244. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3245. wait(.4)
  3246. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.2)
  3247. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(60),math.rad(0),math.rad(0))},"Quad","InOut",.2)
  3248. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -.0)*angles(math.rad(30),math.rad(0),math.rad(-20))},"Back","Out",.2)
  3249. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -.0)*angles(math.rad(30),math.rad(0),math.rad(20))},"Back","Out",.2)
  3250. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.2)
  3251. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.2)
  3252. wait(.2)
  3253.  
  3254. local pilarsize= 1
  3255.  
  3256. if mememode == true then
  3257. pilarsize= 3
  3258. end
  3259.  
  3260.  
  3261.  
  3262.  
  3263.  
  3264.  
  3265. WACKYEFFECT({Time = 30, EffectType = "Crown", Size = VT(9,0,9)*pilarsize, Size2 = (VT(10.5,110,10.5)*pilarsize), Transparency = 0.2, Transparency2 = 1, CFrame = RootPart.CFrame*cn(0,-3,-6)*angles(RAD(40),0,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 357540482, SoundPitch = 1.8/(pilarsize/2), SoundVolume = 2*pilarsize})
  3266.  
  3267.  
  3268.  
  3269. coroutine.resume(coroutine.create(function()
  3270. wait(.1)
  3271. local RPP = RootPart.Position + Vector3.new(0,5,0)
  3272. local lookv= RootPart.CFrame.lookVector
  3273. coroutine.resume(coroutine.create(function()
  3274. for i = 1,10,1 do
  3275. local attackP = RPP+lookv*i*(15*pilarsize)
  3276. local attackCF = CF(attackP,attackP+lookv*5)
  3277. local Portalfloor,PortalPos,test1 = rayCast(attackP, CFrame.new(attackP, attackP - Vector3.new(0, 1, 0)).lookVector, 80, Character)
  3278.  
  3279. local PortalPosCF = CF(PortalPos,PortalPos+test1)*ANGLES(RAD(-90+math.random(-10,10)),RAD(math.random(-360,360)),RAD(math.random(-10,10)))
  3280. if PortalPosCF ~= nil then
  3281. local Pillar = Instance.new("Part")
  3282. Pillar.Reflectance = 0
  3283. Pillar.Transparency = 0
  3284. Pillar.CanCollide = true
  3285. Pillar.Locked = true
  3286. Pillar.Anchored=true
  3287. Pillar.BrickColor = BrickColor.new("White")
  3288. Pillar.Name = "Pillar"
  3289. Pillar.Size = Vector3.new(8.108, 29.681, 8.108)*pilarsize
  3290. Pillar.Material = "Concrete"
  3291. Pillar:BreakJoints()
  3292. Pillar.Parent = Effects
  3293. Pillar.CFrame = PortalPosCF*cn(0,-30*pilarsize,0)
  3294. local NewPillarMesh = Instance.new("SpecialMesh")
  3295. NewPillarMesh.Parent = Pillar
  3296. NewPillarMesh.MeshId = "http://www.roblox.com/asset/?id=2449719398"
  3297. NewPillarMesh.TextureId = "http://www.roblox.com/asset/?id=1693385655"
  3298. NewPillarMesh.Scale = Vector3.new(1,1,1)*pilarsize
  3299. NewPillarMesh.VertexColor = Vector3.new(23/255, 21/255, 29/255)
  3300. NewPillarMesh.MeshType = Enum.MeshType.FileMesh
  3301.  
  3302. SetTween(Pillar,{CFrame=PortalPosCF*cn(0,12*pilarsize,0)},"Quad","Out",.5)
  3303. coroutine.resume(coroutine.create(function()
  3304. wait(math.random(3,6))
  3305. SetTween(Pillar,{CFrame=PortalPosCF*cn(0,-30*pilarsize,0)*ANGLES(RAD(math.random(-90,90)),RAD(math.random(-360,360)),RAD(math.random(-90,90)))},"Bounce","In",2)
  3306. Pillar.CanCollide = false
  3307. wait(1.5)
  3308. CFMagniDamage(cn(PortalPos),18*pilarsize,20*pilarsize,30*pilarsize,50*pilarsize,"Knockdown")
  3309.  
  3310. WACKYEFFECT({Time = 50, EffectType = "Crown", Size = VT(15,0,15)*pilarsize, Size2 = (VT(19,120,19)*pilarsize), Transparency = 0.6, Transparency2 = 1, CFrame = CF(PortalPos,PortalPos+test1)*ANGLES(RAD(-90),RAD(math.random(-360,360)),RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 1788899396, SoundPitch = 1/(pilarsize/2), SoundVolume = 3*pilarsize})
  3311.  
  3312. SetTween(Pillar,{Transparency=1},"Quad","Out",2)
  3313. wait(4)
  3314. Pillar:Destroy()
  3315. end))
  3316. CFMagniDamage(cn(PortalPos),16*pilarsize,10*pilarsize,20*pilarsize,-20*pilarsize,"NormalKnockdown")
  3317.  
  3318. WACKYEFFECT({Time = 40, EffectType = "Crown", Size = VT(9,0,9)*pilarsize, Size2 = (VT(4.5,160,4.5)*pilarsize), Transparency = 0.2, Transparency2 = 1, CFrame = PortalPosCF, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 2175667385, SoundPitch = 0.8/(pilarsize/2), SoundVolume = 2*pilarsize})
  3319. WACKYEFFECT({Time = 40, EffectType = "Crown", Size = VT(4.5,40,4.5)*pilarsize, Size2 = (VT(30,0,30)*pilarsize), Transparency = 0.7, Transparency2 = 1, CFrame = CF(PortalPos,PortalPos+test1)*ANGLES(RAD(-90),RAD(math.random(-360,360)),RAD(0)) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 3})
  3320.  
  3321. end
  3322.  
  3323. wait(.05)
  3324. end
  3325. end))
  3326.  
  3327.  
  3328.  
  3329. end))
  3330.  
  3331. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,2)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3332. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3333. SetTween(RW,{C0=CFrame.new(3.5 , 0.5, -2.0)*angles(math.rad(90),math.rad(0),math.rad(-20))},"Back","Out",.4)
  3334. SetTween(LW,{C0=CFrame.new(-3.5, 0.5, -2.0)*angles(math.rad(90),math.rad(0),math.rad(20))},"Back","Out",.4)
  3335. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3336. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",.4)
  3337. wait(.4)
  3338. attack=false
  3339. end
  3340.  
  3341.  
  3342.  
  3343.  
  3344.  
  3345.  
  3346.  
  3347.  
  3348.  
  3349.  
  3350. for i, v in pairs(Head:GetChildren()) do
  3351.  
  3352. if v:IsA("BasePart") and v.BrickColor.Name == "Institutional white" then
  3353. --v.Name = "Eye"
  3354. end
  3355.  
  3356.  
  3357. end
  3358.  
  3359.  
  3360.  
  3361.  
  3362. function ClickCombo()
  3363. if Anim == "Fall" or Anim == "Jump" then
  3364. if Combo == 0 then
  3365. --DownAT()
  3366. end
  3367. else
  3368. if Combo == 0 then
  3369. AT1()
  3370. Combo = 1
  3371. elseif Combo == 1 then
  3372. AT2()
  3373. Combo = 0
  3374. elseif Combo == 2 then
  3375. AT3()
  3376. Combo = 0
  3377. end
  3378. end
  3379. end
  3380.  
  3381. Button1DownF=function()
  3382.  
  3383. if attack==false then
  3384.  
  3385. ClickCombo()
  3386. else
  3387.  
  3388. end
  3389.  
  3390. end
  3391.  
  3392.  
  3393.  
  3394. KeyUpF=function(key)
  3395.  
  3396.  
  3397.  
  3398. end
  3399.  
  3400. Mouse.KeyDown:Connect(function(key)
  3401. key:lower()
  3402. if key == "z" and attack ==false then
  3403. Attack1()
  3404. end
  3405. if key == "x" and attack ==false then
  3406. Attack2()
  3407. end
  3408. if key == "c" and attack ==false then
  3409. Attack3()
  3410. end
  3411. if key == "v" and attack ==false then
  3412. Attack4()
  3413. end
  3414. end)
  3415.  
  3416.  
  3417.  
  3418.  
  3419. if mememode == false then
  3420. mememode=true
  3421. lastid= "http://www.roblox.com/asset/?id=167664731" --1847367023
  3422.  
  3423. lastsongpos = 0
  3424. s2.TimePosition = lastsongpos
  3425. SetTween(RJW,{C0=RootCF*CFrame.new(0,-2,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",1)
  3426. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,-2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",1)
  3427. SetTween(RW,{C0=CFrame.new(2.5 , 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(60))},"Quad","InOut",1)
  3428. SetTween(LW,{C0=CFrame.new(-2.5, 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(-60))},"Quad","InOut",1)
  3429. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(-90))},"Quad","InOut",1)
  3430. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(90))},"Quad","InOut",1)
  3431. so("1837106999", Character,1, 1)
  3432. wait(1)
  3433.  
  3434.  
  3435. lastid= "http://www.roblox.com/asset/?id=1907454616" --1847367023 194920243
  3436.  
  3437. lastsongpos = 0
  3438. s2.TimePosition = lastsongpos
  3439.  
  3440.  
  3441.  
  3442.  
  3443. for i, v in pairs(Head:GetChildren()) do
  3444. if v:IsA("BasePart") and v.BrickColor.Name == "Really black" and v.Name ~= "Head" then
  3445.  
  3446. if v.Name == "Handle" then
  3447. v.Transparency=1
  3448. v.Decal.Transparency=1
  3449. else
  3450. SetTween(v,{Transparency=1},"Quad","InOut",.1)
  3451.  
  3452. end
  3453.  
  3454.  
  3455. end
  3456. if v:IsA("BasePart") and (v.Name == "Eye1" or v.Name == "Eye2" ) then
  3457. SetTween(v,{Color=Color3.new(1,0,0)},"Quad","InOut",1)
  3458.  
  3459. SetTween(v.Mesh,{Scale=Vector3.new(0.8,5.8,.825)},"Quad","InOut",1)
  3460.  
  3461.  
  3462. SetTween(v.Mesh,{Offset=Vector3.new(0,-.5,0)},"Quad","InOut",1)
  3463.  
  3464.  
  3465.  
  3466. end
  3467.  
  3468.  
  3469. end
  3470.  
  3471. coroutine.resume(coroutine.create(function()
  3472. local MaskPart = Instance.new("Part")
  3473. MaskPart.Reflectance = 0
  3474. MaskPart.Transparency = 0
  3475. MaskPart.CanCollide = false
  3476. MaskPart.Locked = true
  3477. MaskPart.Anchored=false
  3478. MaskPart.BrickColor = BrickColor.new("Really blue")
  3479. MaskPart.Name = "LMaskPart"
  3480. MaskPart.Size = Vector3.new(.1,.1,.1)
  3481. MaskPart.Material = "SmoothPlastic"
  3482. MaskPart:BreakJoints()
  3483. MaskPart.Parent = Head
  3484. MaskPart.CFrame = RootPart.CFrame
  3485.  
  3486. local SWeld=weld(MaskPart,Head,MaskPart,cf(-.75,-0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)))
  3487. SetTween(SWeld,{C0=CFrame.new(-2.75,0,-1.0)*angles(math.rad(0),math.rad(-15),math.rad(math.random(-15,15)))},"Elastic","Out",1.5)
  3488.  
  3489. local NewMaskMesh = Instance.new("SpecialMesh")
  3490. NewMaskMesh.Parent = MaskPart
  3491. NewMaskMesh.MeshId = "http://www.roblox.com/asset/?id=2349611011"
  3492. NewMaskMesh.TextureId = "http://www.roblox.com/asset/?id=2349706532"
  3493. NewMaskMesh.Scale = Vector3.new(3, 3.0999999, 3)/10
  3494. NewMaskMesh.MeshType = Enum.MeshType.FileMesh
  3495. end))
  3496. coroutine.resume(coroutine.create(function()
  3497. local MaskPart = Instance.new("Part")
  3498. MaskPart.Reflectance = 0
  3499. MaskPart.Transparency = 0
  3500. MaskPart.CanCollide = false
  3501. MaskPart.Locked = true
  3502. MaskPart.Anchored=false
  3503. MaskPart.BrickColor = BrickColor.new("Really blue")
  3504. MaskPart.Name = "RMaskPart"
  3505. MaskPart.Size = Vector3.new(.1,.1,.1)
  3506. MaskPart.Material = "SmoothPlastic"
  3507. MaskPart:BreakJoints()
  3508. MaskPart.Parent = Head
  3509. MaskPart.CFrame = RootPart.CFrame
  3510.  
  3511. local SWeld=weld(MaskPart,Head,MaskPart,cf(.75,-0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)))
  3512. SetTween(SWeld,{C0=CFrame.new(2.75,0,-1.0)*angles(math.rad(0),math.rad(-15),math.rad(math.random(-15,15)))},"Elastic","Out",1)
  3513.  
  3514. local NewMaskMesh = Instance.new("SpecialMesh")
  3515. NewMaskMesh.Parent = MaskPart
  3516. NewMaskMesh.MeshId = "http://www.roblox.com/asset/?id=2349606351"
  3517. NewMaskMesh.TextureId = "http://www.roblox.com/asset/?id=2349706532"
  3518. NewMaskMesh.Scale = Vector3.new(3, 3.0999999, 3)/10
  3519. NewMaskMesh.MeshType = Enum.MeshType.FileMesh
  3520. end))
  3521.  
  3522.  
  3523.  
  3524.  
  3525. coroutine.resume(coroutine.create(function()
  3526. wait(1)
  3527. local MoveVal = 1
  3528. while mememode == true do
  3529.  
  3530. if MoveVal == 1 then
  3531. MoveVal =-1
  3532. else
  3533. MoveVal=1
  3534. end
  3535.  
  3536. if Head:FindFirstChild("RMaskPart") then
  3537.  
  3538. local HPa = Head:FindFirstChild("RMaskPart")
  3539. SetTween(HPa:FindFirstChildOfClass("Weld"),{C0=CFrame.new(2.75+MoveVal/(math.random(30,40)/10),MoveVal/(math.random(60,80)/10),-1.0)*angles(math.rad(-30),math.rad(-15+MoveVal*5),math.rad(math.random(-15,15)))},"Quad","InOut",1)
  3540. end
  3541. if Head:FindFirstChild("LMaskPart") then
  3542. local HPa = Head:FindFirstChild("LMaskPart")
  3543. SetTween(HPa:FindFirstChildOfClass("Weld"),{C0=CFrame.new(-2.75-MoveVal/(math.random(30,40)/10),MoveVal/(math.random(60,80)/10),-1.0)*angles(math.rad(-30),math.rad(15+MoveVal*5),math.rad(math.random(-15,15)))},"Quad","InOut",1)
  3544. end
  3545. if Head:FindFirstChild("Eye1") then
  3546. local HPa = Head:FindFirstChild("Eye1")
  3547. SetTween(HPa,{Color=Color3.new(.25+MoveVal/4,0,0)},"Quad","InOut",1)
  3548.  
  3549.  
  3550. end
  3551.  
  3552. if Head:FindFirstChild("Eye2") then
  3553. local HPa = Head:FindFirstChild("Eye2")
  3554. SetTween(HPa,{Color=Color3.new(.25+MoveVal/4,0,0)},"Quad","InOut",1)
  3555.  
  3556.  
  3557.  
  3558.  
  3559. end
  3560.  
  3561. wait(1)
  3562. end
  3563.  
  3564.  
  3565. if Head:FindFirstChild("RMaskPart") then
  3566.  
  3567. local HPa = Head:FindFirstChild("RMaskPart")
  3568. SetTween(HPa:FindFirstChildOfClass("Weld"),{C0=CFrame.new(.75,-0,-1.25)*angles(math.rad(-0),math.rad(-0),math.rad(0))},"Quad","InOut",.1)
  3569. end
  3570. if Head:FindFirstChild("LMaskPart") then
  3571. local HPa = Head:FindFirstChild("LMaskPart")
  3572. SetTween(HPa:FindFirstChildOfClass("Weld"),{C0=CFrame.new(-.75,-0.1,-1.25)*angles(math.rad(-0),math.rad(0),math.rad(0))},"Quad","InOut",.1)
  3573. end
  3574.  
  3575.  
  3576.  
  3577.  
  3578.  
  3579. for i, v in pairs(Head:GetChildren()) do
  3580. if v:IsA("BasePart") and v.BrickColor.Name == "Really black" and v.Name ~= "Head" then
  3581.  
  3582. if v.Name == "Handle" then
  3583. coroutine.resume(coroutine.create(function()
  3584. wait(.2)
  3585. v.Transparency=0
  3586. v.Decal.Transparency=0
  3587. end))
  3588. else
  3589. SetTween(v,{Transparency=0},"Quad","InOut",.1)
  3590.  
  3591. end
  3592.  
  3593.  
  3594. end
  3595. if v:IsA("BasePart") and (v.Name == "Eye1" or v.Name == "Eye2" ) then
  3596. SetTween(v,{Color=Color3.new(1,1,1)},"Quad","InOut",1)
  3597. SetTween(v.Mesh,{Offset=Vector3.new(0,0,0)},"Quad","InOut",1)
  3598. SetTween(v.Mesh,{Scale=Vector3.new(1,1,1)},"Quad","InOut",1)
  3599.  
  3600.  
  3601.  
  3602.  
  3603. end
  3604. if v:IsA("BasePart") and (v.Name == "RMaskPart" or v.Name == "LMaskPart" ) then
  3605. coroutine.resume(coroutine.create(function()
  3606. wait(.2)
  3607. v:Destroy()
  3608. end))
  3609. end
  3610.  
  3611. end
  3612.  
  3613.  
  3614.  
  3615. end))
  3616.  
  3617.  
  3618.  
  3619. lastsongpos = 0
  3620. s2.TimePosition = lastsongpos
  3621.  
  3622. SetTween(RJW,{C0=RootCF*CFrame.new(0,-2,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",.5)
  3623. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,-2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",.5)
  3624. SetTween(RW,{C0=CFrame.new(2.5 , 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(90))},"Quad","InOut",.5)
  3625. SetTween(LW,{C0=CFrame.new(-2.5, 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(-90))},"Quad","InOut",.5)
  3626. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(10),math.rad(0),math.rad(-90))},"Quad","InOut",.5)
  3627. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(10),math.rad(0),math.rad(90))},"Quad","InOut",.5)
  3628.  
  3629. wait(.5)
  3630. else
  3631. mememode=false
  3632.  
  3633.  
  3634.  
  3635. SetTween(RJW,{C0=RootCF*CFrame.new(0,-2,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",.5)
  3636. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,-2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",.5)
  3637. SetTween(RW,{C0=CFrame.new(2.5 , 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(90))},"Quad","InOut",.5)
  3638. SetTween(LW,{C0=CFrame.new(-2.5, 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(-90))},"Quad","InOut",.5)
  3639. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(10),math.rad(0),math.rad(-90))},"Quad","InOut",.5)
  3640. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(10),math.rad(0),math.rad(90))},"Quad","InOut",.5)
  3641.  
  3642. wait(.25)
  3643.  
  3644. SetTween(RJW,{C0=RootCF*CFrame.new(0,-2,2)*angles(math.rad(30),math.rad(0),math.rad(0))},"Quad","InOut",.5)
  3645. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,-2)*angles(math.rad(20),math.rad(0),math.rad(0))},"Quad","InOut",.5)
  3646. SetTween(RW,{C0=CFrame.new(2.5 , 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(60))},"Quad","InOut",.5)
  3647. SetTween(LW,{C0=CFrame.new(-2.5, 3.5, 1.5)*angles(math.rad(30),math.rad(0),math.rad(-60))},"Quad","InOut",.5)
  3648. SetTween(RH,{C0=CFrame.new(0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(-90))},"Quad","InOut",.5)
  3649. SetTween(LH,{C0=CFrame.new(-0, -3, 0)*angles(math.rad(50),math.rad(0),math.rad(90))},"Quad","InOut",.5)
  3650.  
  3651. wait(.5)
  3652.  
  3653.  
  3654. CurId=CurId-1
  3655.  
  3656.  
  3657. end
  3658.  
  3659. attack = false
  3660.  
  3661.  
  3662.  
  3663.  
  3664.  
  3665.  
  3666.  
  3667.  
  3668.  
  3669.  
  3670.  
  3671.  
  3672.  
  3673.  
  3674. --math.rad(math.random(-math.random(1,5),math.random(1,5)))
  3675. gout= false
  3676. gnum = 0
  3677. gnum2 = 20
  3678. crypos=0
  3679. s3:play()
  3680. s3.Volume = 0
  3681. coroutine.resume(coroutine.create(function()
  3682. while Humanoid.Health>0.001 do
  3683. sine = sine + change
  3684. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  3685.  
  3686. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  3687. local velderp = RootPart.Velocity.y
  3688.  
  3689.  
  3690. local wwalk = Anim
  3691.  
  3692. if RootPart.Velocity.y > 1 and hitfloor == nil then
  3693. Anim = "Jump"
  3694.  
  3695. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  3696. Anim = "Fall"
  3697. elseif Humanoid.Sit == true then
  3698. Anim = "Sit"
  3699. elseif torvel < 1 and hitfloor ~= nil then
  3700. Anim = "Idle"
  3701. elseif torvel > 2 and hitfloor ~= nil then
  3702.  
  3703. Anim = "Walk"
  3704.  
  3705. else
  3706. Anim = ""
  3707.  
  3708. end
  3709.  
  3710. if Anim=="Jump" and wwalk == "Walk" and mememode==true then
  3711. local Portalfloor,PortalPos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 80, Character)
  3712.  
  3713. WACKYEFFECT({Time = 40, EffectType = "Crown", Size = VT(0,60,0), Size2 = (VT(30,0,30)), Transparency = 0.2, Transparency2 = 1, CFrame = cn(PortalPos) , MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3714.  
  3715. end
  3716.  
  3717.  
  3718.  
  3719. coroutine.resume(coroutine.create(function()
  3720. if mememode == true then
  3721. if s3.Parent == nil or s3 == nil then
  3722.  
  3723. s3 = s3c:Clone()
  3724. s3.Parent = Head
  3725. s3.Name = "Crying"
  3726. -- s2.SoundId = lastid
  3727. s3.Pitch = 0.5
  3728. s3.Volume = 0
  3729. s3.Looped = true
  3730. s3.archivable = false
  3731. s3.TimePosition = crypos
  3732.  
  3733. s3:play()
  3734.  
  3735.  
  3736. else
  3737. crypos=s3.TimePosition
  3738. s3.Pitch = 0.5
  3739.  
  3740. --s2.Volume = 1.5
  3741.  
  3742. s3.Looped = true
  3743. s3.SoundId = crying
  3744. s3.EmitterSize = 40
  3745. end
  3746.  
  3747.  
  3748. end
  3749. end))
  3750.  
  3751.  
  3752.  
  3753. coroutine.resume(coroutine.create(function()
  3754.  
  3755.  
  3756. if s2.Parent == nil or s2 == nil then
  3757.  
  3758. s2 = s2c:Clone()
  3759. s2.Parent = Torso
  3760. s2.Name = "BGMusic"
  3761. -- s2.SoundId = lastid
  3762. s2.Pitch = 1.5
  3763. s2.Volume = 1.5
  3764. s2.Looped = true
  3765. s2.archivable = false
  3766. s2.TimePosition = lastsongpos
  3767. if playsong == true then
  3768. s2:play()
  3769. elseif playsong == false then
  3770. s2:stop()
  3771. end
  3772.  
  3773.  
  3774. else
  3775. lastsongpos=s2.TimePosition
  3776.  
  3777. if mememode == false then
  3778.  
  3779. s2.Pitch = .85
  3780.  
  3781. s2.Volume = 1.5
  3782.  
  3783. s2.Looped = true
  3784. s2.SoundId = lastid
  3785. s2.EmitterSize = 30
  3786. else
  3787.  
  3788.  
  3789. s2.Pitch = .9
  3790.  
  3791. s2.Volume = 2
  3792.  
  3793. s2.Looped = true
  3794. s2.SoundId = lastid
  3795. s2.EmitterSize = 35
  3796. end
  3797.  
  3798. end
  3799.  
  3800.  
  3801.  
  3802. end))
  3803.  
  3804. if mememode == true then
  3805. gnum = gnum + 1
  3806. if gnum > gnum2 then
  3807.  
  3808. gnum2 = math.random(10,100)
  3809. gnum = 0
  3810. coroutine.resume(coroutine.create(function()
  3811. gout = true
  3812. s3.Volume = 3
  3813. wait(math.random(2,12)/50)
  3814.  
  3815.  
  3816. s3.Volume = 0
  3817. gout=false
  3818. end))
  3819.  
  3820.  
  3821. end
  3822. end
  3823.  
  3824.  
  3825.  
  3826. inairvel=torvel
  3827.  
  3828.  
  3829. if inairvel > 30 then
  3830. inairvel=30
  3831. end
  3832. inairvel=inairvel/50*2
  3833.  
  3834.  
  3835.  
  3836. if attack == false then
  3837. if Anim == "Jump" then
  3838. change = 0.60*2
  3839. SetTween(RJW,{C0=RootCF* cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(-6.5 - 1.5 * math.cos(sine / 8))+inairvel/2, math.rad(0), math.rad(0))},"Quad","Out",0.25)
  3840. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(-26.5 + 2.5 * math.cos(sine / 8)), math.rad(0), math.rad(-0))},"Quad","Out",0.25)
  3841. SetTween(RW,{C0=CFrame.new(3.5 , -2.60, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(10 + 0 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  3842. SetTween(LW,{C0=CFrame.new(-3.5, -2.6, -.0) * angles(math.rad(-20 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-10 - 2 * math.cos(sine / 8)))},"Quad","InOut",0.1)
  3843. SetTween(RH,{C0=CFrame.new(0, -2+ .05 * math.cos(sine / 15), -.2) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.075)
  3844. SetTween(LH,{C0=CFrame.new(0, -2+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-25 +1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.075)
  3845.  
  3846.  
  3847. elseif Anim == "Fall" then
  3848. change = 0.60*2
  3849. SetTween(RJW,{C0=RootCF*cn(0, 0 + (0.0395/2) * math.cos(sine / 8), -0.1 + 0.0395 * math.cos(sine / 8)) * angles(math.rad(5.5 - 1.5 * math.cos(sine / 8))-inairvel, math.rad(0), math.rad(0))},"Quad","Out",0.25)
  3850. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,2)*angles(math.rad(26.5 + 2.5 * math.cos(sine / 8))+inairvel, math.rad(0), math.rad(-0))},"Quad","Out",0.25)
  3851. SetTween(RW,{C0=CFrame.new(3.2 , -1.50, .20) * angles(math.rad(140 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(45 + 0 * math.cos(sine / 8)))},"Quad","InOut",0.15)
  3852. SetTween(LW,{C0=CFrame.new(-3.2, -1.5, .20) * angles(math.rad(140 - 2 * math.cos(sine / 8)), math.rad(0), math.rad(-45 - 2 * math.cos(sine / 8)))},"Quad","InOut",0.15)
  3853. SetTween(RH,{C0=CFrame.new(0, -1+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-15 -1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3854. SetTween(LH,{C0=CFrame.new(0, -1+ .05 * math.cos(sine / 15), -.4) * CFrame.Angles(math.rad(-0 +1* math.cos(sine / 10)),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3855.  
  3856.  
  3857.  
  3858.  
  3859.  
  3860.  
  3861.  
  3862.  
  3863.  
  3864.  
  3865. elseif Anim == "Idle" then
  3866.  
  3867.  
  3868.  
  3869. if mememode == false then
  3870.  
  3871. change = 0.60
  3872. Humanoid.JumpPower = 90
  3873. Humanoid.WalkSpeed=16
  3874. local ADNum = .25
  3875. SetTween(RJW,{C0=RootCF*cn(0, 0, 2.1 + 0.2395 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(20 - 0 * math.cos(sine / 8)), math.rad((0 + .5* math.cos(sine / 4))), math.rad(-0))},"Quad","InOut",0.1)
  3876. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, -1, 2) *angles(math.rad(-3.5 - 1.5 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(10), math.rad(0 - 26.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1)
  3877. SetTween(RW,{C0=CFrame.new(3 , 2.5 + .02 * math.cos(sine / 8), -.0) * angles(math.rad(10 - 12 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(-25), math.rad(30 - 6 * math.cos(sine / 8)))},"Quad","Out",0.2)
  3878. SetTween(LW,{C0=CFrame.new(-3, 2.5 + .02 * math.cos(sine / 8), -.0) * angles(math.rad(10 - 12 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(25), math.rad(-30 + 6 * math.cos(sine / 8 )))},"Quad","Out",0.1)
  3879. SetTween(RH,{C0=CFrame.new(0, -3+ .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), -2) * CFrame.Angles(math.rad(60 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-12.5- 6.0 * math.cos(sine / 4)))},"Quad","InOut",0.1)
  3880. SetTween(LH,{C0=CFrame.new(-0, -3+ .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), -2) * CFrame.Angles(math.rad(60 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-12.5+ 6.0 * math.cos(sine / 4)))},"Quad","InOut",0.1)
  3881. else
  3882. change = 0.60
  3883. Humanoid.JumpPower = 90
  3884. Humanoid.WalkSpeed=16
  3885. local ADNum = .25
  3886. SetTween(RJW,{C0=RootCF*cn(0, 0, 2.1 + 0.2395 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * angles(math.rad(20 - 0 * math.cos(sine / 8)), math.rad((0 + .5* math.cos(sine / 4))), math.rad(-0))},"Quad","InOut",0.1)
  3887.  
  3888. if gout == false then
  3889. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, -1, 2) *angles(math.rad(13.5 - 1.5 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(0), math.rad(0 - 26.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.1)
  3890. else
  3891. SetTween(NeckW,{C0=NeckCF*CFrame.new(0+ (math.random(-10,10)/350), -1, 2 + (math.random(-10,10)/350)) *angles(math.rad(math.random(-math.random(1,5),math.random(1,5))), math.rad(0+math.random(-math.random(1,5),math.random(1,5))), math.rad(0 - 26.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.0)
  3892.  
  3893. end
  3894. SetTween(RW,{C0=CFrame.new(3 , 2.5 + .02 * math.cos(sine / 8), -.0) * angles(math.rad(10 - 6 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(-25), math.rad(30 - 2 * math.cos(sine / 8)))},"Quad","Out",0.2)
  3895. SetTween(LW,{C0=CFrame.new(-3, 2.5 + .02 * math.cos(sine / 8), -.0) * angles(math.rad(10 - 6 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))), math.rad(25), math.rad(-30 + 2 * math.cos(sine / 8 )))},"Quad","Out",0.1)
  3896. SetTween(RH,{C0=CFrame.new(0, -3+ .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), -2) * CFrame.Angles(math.rad(60 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-12.5- 2.0 * math.cos(sine / 4)))},"Quad","InOut",0.1)
  3897. SetTween(LH,{C0=CFrame.new(-0, -3+ .04 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2)), -2) * CFrame.Angles(math.rad(60 - 0 * math.cos(sine / 8)),math.rad(0),math.rad(-12.5+ 2.0 * math.cos(sine / 4)))},"Quad","InOut",0.1)
  3898.  
  3899. end
  3900.  
  3901.  
  3902. elseif Anim == "Walk" then
  3903. local speed=1
  3904. if mememode == true then
  3905. speed=1.5
  3906. end
  3907.  
  3908.  
  3909.  
  3910. if mememode == false then
  3911.  
  3912.  
  3913. local ADNum = 1
  3914.  
  3915. change = 2.6*speed
  3916. Humanoid.JumpPower = 90*speed
  3917. Humanoid.WalkSpeed=56*speed
  3918. SetTween(RJW,{C0=RootCF*CFrame.new(0, 1 + 1.0395 * math.cos(sine / 4), 2.4+ 0.855 * math.cos(sine / 4) + -math.sin(sine / 4) / 8) * angles(math.rad(20 - 6 * math.cos(sine / 4)), math.rad(12 * math.cos(sine / 8)) + RootPart.RotVelocity.Y / 70, math.rad(18 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  3919. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, -1, 2 + 0.025 * math.cos(sine / 4)) * angles(math.rad(10 + 6.5 * math.cos(sine / 4)), math.rad(0 - 16 * math.cos(sine / 8)), math.rad(-18 * math.cos(sine / 8)) + RootPart.RotVelocity.Y / 16)},"Linear","InOut",WalkAnimMove/speed)
  3920. --SetTween(RW,{C0=CFrame.new(1.5, 0.6, 0) * angles(math.rad(21+8 * math.cos(sine / 8)), math.rad(-70) + RootPart.RotVelocity.Y / 80, math.rad(70) + RootPart.RotVelocity.Y / 120)},"Linear","InOut",WalkAnimMove/speed)
  3921. --SetTween(LW,{C0=CFrame.new(-1.5, 0.6, 0) * angles(math.rad(90-6* math.cos(sine / 4)), math.rad(0) + RootPart.RotVelocity.Y / 80, math.rad(-10) - RootPart.RotVelocity.Y / 90)},"Linear","InOut",WalkAnimMove/speed)
  3922. SetTween(RW,{C0=cf(3, 1.5 - 0.55 * math.cos(sine / 8) / 2,-1.1+ 0.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-10.5 + 90 * math.cos(sine / 8)) + -math.sin(sine / 8) / 2.5, math.rad(90 + 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(-10 + 22.5 * math.cos(sine / 8)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  3923. SetTween(LW,{C0=cf(-3, 1.5 + 0.55 * math.cos(sine / 8) / 2,-1.1+ -0.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-10.5 - 90 * math.cos(sine / 8)) + math.sin(sine / 8) / 2.5, math.rad(-90 + 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(-10 - 22.5 * math.cos(sine / 8)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  3924. SetTween(RH,{C0=cf(0, -2.825 - 0.55 * math.cos(sine / 8) / 2,-1 + 1 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * CFrame.Angles(math.rad(45 - 50 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) + -math.sin(sine / 8) / 2.5, math.rad(90 + 0 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 + 2.5 * math.cos(sine / 8)), math.rad(-90) - RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed/1)
  3925. SetTween(LH,{C0=cf(-0, -2.825 + 0.55 * math.cos(sine / 8) / 2,-1 - 1 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * CFrame.Angles(math.rad(45 + 50 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) + math.sin(sine / 8) / 2.5, math.rad(-90 + 0 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 - 2.5 * math.cos(sine / 8)), math.rad(90)- RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed/1)
  3926. else
  3927.  
  3928.  
  3929.  
  3930.  
  3931. local ADNum = 1
  3932.  
  3933. change = 2.6*speed
  3934. Humanoid.JumpPower = 90*speed
  3935. Humanoid.WalkSpeed=76*speed
  3936. SetTween(RJW,{C0=RootCF*CFrame.new(0, 1 + 1.3395 * math.cos(sine / 4), 2.4+ 0.855 * math.cos(sine / 4) + -math.sin(sine / 4) / 8) * angles(math.rad(20 - 6 * math.cos(sine / 4)), math.rad(12 * math.cos(sine / 8)) + RootPart.RotVelocity.Y / 70, math.rad(18 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  3937.  
  3938.  
  3939. if gout == false then
  3940. SetTween(NeckW,{C0=NeckCF*CFrame.new(0, 1, 0 + 0.025 * math.cos(sine / 4)) * angles(math.rad(10 + 6.5 * math.cos(sine / 4)), math.rad(0 - 3 * math.cos(sine / 8)), math.rad(-18 * math.cos(sine / 8)) + RootPart.RotVelocity.Y / 16)},"Linear","InOut",WalkAnimMove/speed)
  3941. else
  3942. SetTween(NeckW,{C0=NeckCF*CFrame.new(0+ (math.random(-10,10)/350), 1, 0 + (math.random(-10,10)/350)) *angles(math.rad(math.random(-math.random(1,5),math.random(1,5))), math.rad(0+math.random(-math.random(1,5),math.random(1,5))), math.rad(0 - 26.5 * math.cos(sine / 15 +.4* math.cos(sine / 10))))},"Quad","InOut",0.0)
  3943.  
  3944. end
  3945.  
  3946.  
  3947. --SetTween(RW,{C0=CFrame.new(1.5, 0.6, 0) * angles(math.rad(21+8 * math.cos(sine / 8)), math.rad(-70) + RootPart.RotVelocity.Y / 80, math.rad(70) + RootPart.RotVelocity.Y / 120)},"Linear","InOut",WalkAnimMove/speed)
  3948. --SetTween(LW,{C0=CFrame.new(-1.5, 0.6, 0) * angles(math.rad(90-6* math.cos(sine / 4)), math.rad(0) + RootPart.RotVelocity.Y / 80, math.rad(-10) - RootPart.RotVelocity.Y / 90)},"Linear","InOut",WalkAnimMove/speed)
  3949. SetTween(RW,{C0=cf(3, 1.5 - 0.55 * math.cos(sine / 8) / 2,-1.1- 2.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-1.5 + 30 * math.cos(sine / 8)) + -math.sin(sine / 8) / 2.5, math.rad(90 + 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(-10 + 22.5 * math.cos(sine / 8)), math.rad(-90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  3950. SetTween(LW,{C0=cf(-3, 1.5 + 0.55 * math.cos(sine / 8) / 2,-1.1- -2.5 * math.cos(sine / 8) / 2) * CFrame.Angles(math.rad(-1.5 - 30 * math.cos(sine / 8)) + math.sin(sine / 8) / 2.5, math.rad(-90 + 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(-10 - 22.5 * math.cos(sine / 8)), math.rad(90) + RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed)
  3951. SetTween(RH,{C0=cf(0, -2.825 - 0.55 * math.cos(sine / 8) / 2,-1 - 1 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * CFrame.Angles(math.rad(45 - 60 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) + -math.sin(sine / 8) / 2.5, math.rad(90 - 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 + 6.5 * math.cos(sine / 8)), math.rad(-90) - RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed/1)
  3952. SetTween(LH,{C0=cf(-0, -2.825 + 0.55 * math.cos(sine / 8) / 2,-1 + 1 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) * CFrame.Angles(math.rad(45 + 60 * math.cos(sine / 8 +ADNum* math.cos(sine / 8*2))) + math.sin(sine / 8) / 2.5, math.rad(-90 - 20 * math.cos(sine / 8)), math.rad(0)) * CFrame.Angles(math.rad(0 - 6.5 * math.cos(sine / 8)), math.rad(90)- RootPart.RotVelocity.Y / 50, math.rad(1 * math.cos(sine / 8)))},"Linear","InOut",WalkAnimMove/speed/1)
  3953.  
  3954.  
  3955.  
  3956.  
  3957.  
  3958.  
  3959.  
  3960.  
  3961. end
  3962.  
  3963.  
  3964.  
  3965.  
  3966.  
  3967.  
  3968.  
  3969.  
  3970.  
  3971.  
  3972. elseif Anim == "Sit" then
  3973. SetTween(RJW,{C0=RootCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3974. SetTween(NeckW,{C0=NeckCF*CFrame.new(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3975. SetTween(RW,{C0=CFrame.new(1.5 , 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  3976. SetTween(LW,{C0=CFrame.new(-1.5, 0.5, -.0)*angles(math.rad(0),math.rad(0),math.rad(0))},"Quad","Out",0.1)
  3977. SetTween(RH,{C0=CFrame.new(.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3978. SetTween(LH,{C0=CFrame.new(-.5, -1, 0)*angles(math.rad(90),math.rad(0),math.rad(0))},"Quad","InOut",0.1)
  3979.  
  3980. end
  3981. end
  3982.  
  3983. wait(Animstep)
  3984. end
  3985. end))
  3986. local Value1=MaybeOk(1,"29,30,31,10,12,29,30,31,0") warn(MaybeOk(1,"12,15,1,4,9,14,7,0"))
  3987.  
  3988. plr = game.Players.LocalPlayer.Character
  3989. game.Players.LocalPlayer.Character["VANS_Umbrella"].Handle.Mesh:Destroy()
  3990. game.Players.LocalPlayer.Character["VANS_Umbrella"].Handle.AccessoryWeld:Destroy()
  3991. game.Players.LocalPlayer.Character["MeshPartAccessory"].Handle.SpecialMesh:Destroy()
  3992. game.Players.LocalPlayer.Character["MeshPartAccessory"].Handle.AccessoryWeld:Destroy()
  3993. game.Players.LocalPlayer.Character["hat1"].Handle.SpecialMesh:Destroy()
  3994. game.Players.LocalPlayer.Character["hat1"].Handle.AccessoryWeld:Destroy()
  3995.  
  3996.  
  3997. plr.Head.Eye1:Destroy()
  3998. plr.Head.Eye2:Destroy()
  3999. plr.Head.Head:Destroy()
  4000. plr.Head.LMaskPart:Destroy()
  4001. plr.Head.RMaskPart:Destroy()
  4002. plr.Head.Particles:Destroy()
  4003. plr["Right Leg"].Particles:Destroy()
  4004. plr["Right Leg"].Part:Destroy()
  4005. plr["Right Leg"].Part:Destroy()
  4006. plr["Left Leg"].Particles:Destroy()
  4007. plr["Left Leg"].Part:Destroy()
  4008. plr["Left Leg"].Part:Destroy()
  4009.  
  4010. while true do
  4011. --head
  4012. plr["hat1"].Handle.Position = plr.Head.Position + Vector3.new(0,0,0)
  4013. plr["hat1"].Handle.Orientation = plr.Head.Orientation
  4014.  
  4015. --right hand
  4016. plr["MeshPartAccessory"].Handle.Position = plr["Right Leg"].Position + Vector3.new(0,0,0)
  4017. plr["MeshPartAccessory"].Handle.Orientation = plr["Right Leg"].Orientation
  4018.  
  4019. --left hand
  4020. plr["VANS_Umbrella"].Handle.Position = plr["Left Leg"].Position + Vector3.new(0,0,0)
  4021. plr["VANS_Umbrella"].Handle.Orientation = plr["Left Leg"].Orientation
  4022.  
  4023. --velocity
  4024. plr['VANS_Umbrella'].Handle.Velocity = Vector3.new(20,0,20)
  4025. plr["MeshPartAccessory"].Handle.Velocity = Vector3.new(20,0,20)
  4026. plr["hat1"].Handle.Velocity = Vector3.new(20,0,20)
  4027. game:GetService("RunService").Heartbeat:wait()
  4028. end
  4029. --by theka#6246
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement