Advertisement
Zayzor2

GET REKT

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