Advertisement
Guest User

Untitled

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