Dark_EccentricYT

Untitled

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