Advertisement
lafur

Untitled

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