Advertisement
Zebula_The_Scripter

Murder Glitcher

May 12th, 2018
430
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 308.05 KB | None | 0 0
  1. --[[
  2. THE MURDERER
  3. Created by Quil_Cyndaquil (ROBLOX)
  4. MintyLatios (V3rmillion)
  5. Minty Latios#1938
  6.  
  7. Credit to CKbackup for the knife
  8. Credit to Rufus14 for the ragdolls
  9.  
  10.  
  11. --]]
  12. wait(1 / 60)
  13. Effects = { }
  14. local Player = game.Players.localPlayer
  15. local Character = Player.Character
  16. local Humanoid = Character.Humanoid
  17. local Mouse = Player:GetMouse()
  18. local LeftArm = Character["Left Arm"]
  19. local RightArm = Character["Right Arm"]
  20. local LeftLeg = Character["Left Leg"]
  21. local RightLeg = Character["Right Leg"]
  22. local Head = Character.Head
  23. local Torso = Character.Torso
  24. local Camera = game.Workspace.CurrentCamera
  25. local RootPart = Character.HumanoidRootPart
  26. local RootJoint = RootPart.RootJoint
  27. local attack = false
  28. local Anim = 'Idle'
  29. local Lighty = game:GetService"Lighting"
  30. local attacktype = 1
  31. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  32. local velocity = RootPart.Velocity.y
  33. local sine = 0
  34. local change = 1
  35. local Create = LoadLibrary("RbxUtility").Create
  36.  
  37.  
  38. local chara = Character
  39. local m = Create("Model"){
  40. Parent = Character,
  41. Name = "WeaponModel",
  42. }
  43.  
  44. Humanoid.Animator.Parent = nil
  45. Character.Animate.Parent = nil
  46.  
  47. Humanoid.WalkSpeed = 8
  48.  
  49.  
  50. local newMotor = function(part0, part1, c0, c1)
  51. local w = Create('Motor'){
  52. Parent = part0,
  53. Part0 = part0,
  54. Part1 = part1,
  55. C0 = c0,
  56. C1 = c1,
  57. }
  58. return w
  59. end
  60.  
  61. function clerp(a, b, t)
  62. return a:lerp(b, t)
  63. end
  64.  
  65. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  66. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  67.  
  68. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  69. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  70. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  71. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  72. RootJoint.C1 = CFrame.new(0, 0, 0)
  73. RootJoint.C0 = CFrame.new(0, 0, 0)
  74. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  75. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  76.  
  77. local rarmc1 = RW.C1
  78. local larmc1 = LW.C1
  79. local rlegc1 = RH.C1
  80. local llegc1 = LH.C1
  81.  
  82. local resetc1 = false
  83.  
  84. function PlayAnimationFromTable(table, speed, bool)
  85. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  86. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  87. RW.C0 = clerp(RW.C0, table[3], speed)
  88. LW.C0 = clerp(LW.C0, table[4], speed)
  89. RH.C0 = clerp(RH.C0, table[5], speed)
  90. LH.C0 = clerp(LH.C0, table[6], speed)
  91. if bool == true then
  92. if resetc1 == false then
  93. resetc1 = true
  94. RootJoint.C1 = RootJoint.C1
  95. Torso.Neck.C1 = Torso.Neck.C1
  96. RW.C1 = rarmc1
  97. LW.C1 = larmc1
  98. RH.C1 = rlegc1
  99. LH.C1 = llegc1
  100. end
  101. end
  102. end
  103.  
  104. ArtificialHB = Create("BindableEvent", script){
  105. Parent = script,
  106. Name = "Heartbeat",
  107. }
  108.  
  109. script:WaitForChild("Heartbeat")
  110.  
  111. frame = 1 / 30
  112. tf = 0
  113. allowframeloss = false
  114. tossremainder = false
  115. lastframe = tick()
  116. script.Heartbeat:Fire()
  117.  
  118.  
  119. New = function(Object, Parent, Name, Data)
  120. local Object = Instance.new(Object)
  121. for Index, Value in pairs(Data or {}) do
  122. Object[Index] = Value
  123. end
  124. Object.Parent = Parent
  125. Object.Name = Name
  126. return Object
  127. end
  128.  
  129. if chara.Head:FindFirstChild"face" then
  130. chara.Head.face.Texture = "rbxassetid://67493879"
  131. end
  132. --Credit to Psychopath for this shit
  133.  
  134. Knifu = New("Model",chara,"Knifu",{})
  135. Handle = New("Part",Knifu,"Handle",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000024, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  136. Mesh = New("CylinderMesh",Handle,"Mesh",{})
  137. KWeld = New("Weld",Handle,"Weld",{Part0 = Handle,Part1 = chara["Right Arm"],C0=CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180))})
  138. Hitbox = New("Part",Knifu,"Hitbox",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.200000003, 1.4000001, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 27.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  139. Weld = New("ManualWeld",Hitbox,"Weld",{Part0 = Hitbox,Part1 = Handle,C1 = CFrame.new(0, 1.20000052, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  140. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  141. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
  142. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  143. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  144. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),})
  145. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  146. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.800005555, 26.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  147. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
  148. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  149. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(54.1000023, 0.400004029, 26.8000031, 1, 0, 0, 0, 0, 1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  150. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
  151. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  152. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(54.1000023, 0.500006318, 27.2000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  153. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
  154. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  155. BloodPart = New("Part",Knifu,"BloodPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.399999946, 0.400000036),CFrame = CFrame.new(54.1000023, 0.600008607, 28.1000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  156. Mesh = New("SpecialMesh",BloodPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
  157. Weld = New("ManualWeld",BloodPart,"Weld",{Part0 = BloodPart,Part1 = Handle,C1 = CFrame.new(0, 1.70000005, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  158. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700007081, 27.8000031, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  159. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
  160. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  161. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  162. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  163. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  164. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.0000038, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  165. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  166. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  167. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  168. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  169. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  170. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.2000027, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  171. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  172. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  173. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  174. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  175. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  176. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.4000034, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  177. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  178. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  179. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  180. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  181. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  182. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700008988, 27.6000042, 1, 0, 0, 0, 0, -1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  183. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  184. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  185. Part = New("Part",Knifu,"Part",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(54.1000023, 0.700007081, 27.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  186. Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),})
  187. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  188. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.4000034, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  189. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
  190. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  191. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(54.1000023, 0.6000067, 26.6000042, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  192. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
  193. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  194. Blood2Part = New("Part",Knifu,"Blood2Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(54.1000023, 0.500006318, 27.7000046, -1, 0, 0, 0, 0, 1, 0, 1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  195. Mesh = New("BlockMesh",Blood2Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),})
  196. Weld = New("ManualWeld",Blood2Part,"Weld",{Part0 = Blood2Part,Part1 = Handle,C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  197. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(54.1000023, 0.700008988, 27.8000031, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  198. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
  199. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  200. Part = New("Part",Knifu,"Part",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(54.1000023, 0.500008225, 27.4000034, -1, 0, 0, 0, 0, -1, 0, -1, 0),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  201. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
  202. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  203.  
  204. local p1mit = Instance.new("ParticleEmitter",Hitbox)
  205. p1mit.Texture = "rbxasset://textures/particles/fire_main.dds"
  206. p1mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))})
  207. p1mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(1,0)})
  208. p1mit.Lifetime = NumberRange.new(2)
  209. p1mit.Rate = 100
  210. p1mit.Enabled = false
  211. p1mit.Acceleration = Vector3.new(0,-5,0)
  212. p1mit.Rotation = NumberRange.new(0,359)
  213. p1mit.Speed = NumberRange.new(0)
  214. local p2mit = Instance.new("ParticleEmitter",BloodPart)
  215. p2mit.Texture = "http://www.roblox.com/asset/?id=243132757"
  216. p2mit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(.6,0,0)),ColorSequenceKeypoint.new(1,Color3.new(.6,0,0))})
  217. p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.1),NumberSequenceKeypoint.new(1,.1)})
  218. p2mit.Lifetime = NumberRange.new(1)
  219. p2mit.Rate = 10
  220. p2mit.Acceleration = Vector3.new(0,-10,0)
  221. p2mit.Speed = NumberRange.new(0)
  222. local p3mit = p2mit:Clone()
  223. p3mit.Parent = Blood2Part
  224.  
  225. game:GetService("RunService").Heartbeat:connect(function(s, p)
  226. tf = tf + s
  227. if tf >= frame then
  228. if allowframeloss then
  229. script.Heartbeat:Fire()
  230. lastframe = tick()
  231. else
  232. for i = 1, math.floor(tf / frame) do
  233. script.Heartbeat:Fire()
  234. end
  235. lastframe = tick()
  236. end
  237. if tossremainder then
  238. tf = 0
  239. else
  240. tf = tf - frame * math.floor(tf / frame)
  241. end
  242. end
  243. end)
  244.  
  245. function swait(num)
  246. if num == 0 or num == nil then
  247. ArtificialHB.Event:wait()
  248. else
  249. for i = 0, num do
  250. ArtificialHB.Event:wait()
  251. end
  252. end
  253. end
  254.  
  255. function RemoveOutlines(part)
  256. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  257. end
  258.  
  259.  
  260. local txt = Instance.new("BillboardGui", chara)
  261. txt.Adornee = chara.Head
  262. txt.Name = "Nametag"
  263. txt.Size = UDim2.new(2, 0, 1.2, 0)
  264. txt.StudsOffset = Vector3.new(-9, 6, 0)
  265. local text = Instance.new("TextLabel", txt)
  266. text.Size = UDim2.new(10, 0, 7, 0)
  267. text.TextSize = 24
  268. text.Font = Enum.Font.Cartoon
  269. text.TextScaled = false
  270. text.BackgroundTransparency = 1
  271. text.TextColor3 = Color3.new(1,1,1)
  272. text.TextStrokeTransparency = 0
  273. text.TextStrokeColor3 = Color3.new(1,0,0)
  274. text.Text = "The Murderer"
  275.  
  276. function chat(...)
  277. local txxt = {...}
  278. local ch = coroutine.wrap(function()
  279. if chara:FindFirstChild("Chatt")~= nil then
  280. Character:FindFirstChild("Chatt"):destroy()
  281. end
  282. local txt = Instance.new("BillboardGui", chara)
  283. txt.Adornee = chara.Head
  284. txt.Name = "Chatt"
  285. txt.Size = UDim2.new(2, 0, 1.2, 0)
  286. txt.StudsOffset = Vector3.new(-9, 7, 0)
  287. local text = Instance.new("TextLabel", txt)
  288. text.Size = UDim2.new(10, 0, 7, 0)
  289. text.TextSize = 24
  290. text.Font = Enum.Font.Cartoon
  291. text.TextScaled = false
  292. text.BackgroundTransparency = 1
  293. text.TextColor3 = Color3.new(0,0,0)
  294. text.TextStrokeTransparency = 0
  295. text.TextStrokeColor3 = Color3.new(1,0,0)
  296. text.Text = ""
  297. txxt = table.concat(txxt,"\t")
  298. for i = 1, #txxt do
  299. text.Text = txxt:sub(1,i)
  300. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=565939471", Character, .6, .8)
  301. wait()
  302. end
  303. wait(2)
  304. for trans = 0,1,.1 do
  305. text.TextTransparency = trans
  306. text.TextStrokeTransparency = trans
  307. wait()
  308. end
  309. wait()
  310. txt:destroy()
  311. end)
  312.  
  313. ch(...)
  314. end
  315. Player.Chatted:connect(chat)
  316. CFuncs = {
  317. ["Part"] = {
  318. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  319. local Part = Create("Part"){
  320. Parent = Parent,
  321. Reflectance = Reflectance,
  322. Transparency = Transparency,
  323. CanCollide = false,
  324. Locked = true,
  325. BrickColor = BrickColor.new(tostring(BColor)),
  326. Name = Name,
  327. Size = Size,
  328. Material = Material,
  329. }
  330. RemoveOutlines(Part)
  331. return Part
  332. end;
  333. };
  334.  
  335. ["Mesh"] = {
  336. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  337. local Msh = Create(Mesh){
  338. Parent = Part,
  339. Offset = OffSet,
  340. Scale = Scale,
  341. }
  342. if Mesh == "SpecialMesh" then
  343. Msh.MeshType = MeshType
  344. Msh.MeshId = MeshId
  345. end
  346. return Msh
  347. end;
  348. };
  349.  
  350. ["Mesh"] = {
  351. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  352. local Msh = Create(Mesh){
  353. Parent = Part,
  354. Offset = OffSet,
  355. Scale = Scale,
  356. }
  357. if Mesh == "SpecialMesh" then
  358. Msh.MeshType = MeshType
  359. Msh.MeshId = MeshId
  360. end
  361. return Msh
  362. end;
  363. };
  364.  
  365. ["Weld"] = {
  366. Create = function(Parent, Part0, Part1, C0, C1)
  367. local Weld = Create("Weld"){
  368. Parent = Parent,
  369. Part0 = Part0,
  370. Part1 = Part1,
  371. C0 = C0,
  372. C1 = C1,
  373. }
  374. return Weld
  375. end;
  376. };
  377.  
  378. ["Sound"] = {
  379. Create = function(id, par, vol, pit)
  380. coroutine.resume(coroutine.create(function()
  381. local S = Create("Sound"){
  382. Volume = vol,
  383. Pitch = pit or 1,
  384. SoundId = id,
  385. Parent = par or workspace,
  386. }
  387. wait()
  388. S:play()
  389. game:GetService("Debris"):AddItem(S, 6)
  390. end))
  391. end;
  392. };
  393.  
  394. ["ParticleEmitter"] = {
  395. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  396. local fp = Create("ParticleEmitter"){
  397. Parent = Parent,
  398. Color = ColorSequence.new(Color1, Color2),
  399. LightEmission = LightEmission,
  400. Size = Size,
  401. Texture = Texture,
  402. Transparency = Transparency,
  403. ZOffset = ZOffset,
  404. Acceleration = Accel,
  405. Drag = Drag,
  406. LockedToPart = LockedToPart,
  407. VelocityInheritance = VelocityInheritance,
  408. EmissionDirection = EmissionDirection,
  409. Enabled = Enabled,
  410. Lifetime = LifeTime,
  411. Rate = Rate,
  412. Rotation = Rotation,
  413. RotSpeed = RotSpeed,
  414. Speed = Speed,
  415. VelocitySpread = VelocitySpread,
  416. }
  417. return fp
  418. end;
  419. };
  420.  
  421. CreateTemplate = {
  422.  
  423. };
  424. }
  425.  
  426. function rayCast(Position, Direction, Range, Ignore)
  427. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  428. end
  429.  
  430.  
  431. FindNearestTorso = function(pos)
  432. local list = (game.Workspace:children())
  433. local torso = nil
  434. local dist = 1000
  435. local temp, human, temp2 = nil, nil, nil
  436. for x = 1, #list do
  437. temp2 = list[x]
  438. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  439. temp = temp2:findFirstChild("Torso")
  440. human = temp2:findFirstChild("Humanoid")
  441. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  442. local dohit = true
  443. if dohit == true then
  444. torso = temp
  445. dist = (temp.Position - pos).magnitude
  446. end
  447. end
  448. end
  449. end
  450. return torso, dist
  451. end
  452.  
  453. function FindNearestTorsos(Position, Distance, SinglePlayer)
  454. if SinglePlayer then
  455. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  456. end
  457. local List = {}
  458. for i, v in pairs(workspace:GetChildren()) do
  459. if v:IsA("Model") then
  460. if v:findFirstChild("Torso") then
  461. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  462. if v ~= Character then
  463. if (v.Torso.Position - Position).magnitude <= Distance then
  464. table.insert(List, {v,(v.Torso.Position - Position).magnitude})
  465. end
  466. end
  467. end
  468. end
  469. end
  470. end
  471. return List
  472. end
  473.  
  474.  
  475. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  476. if hit.Parent == nil then
  477. return
  478. end
  479. local h = hit.Parent:FindFirstChild("Humanoid")
  480. for _, v in pairs(hit.Parent:children()) do
  481. if v:IsA("Humanoid") then
  482. h = v
  483. end
  484. end
  485. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  486. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  487. if hit.Parent.DebounceHit.Value == true then
  488. return
  489. end
  490. end
  491. local c = Create("ObjectValue"){
  492. Name = "creator",
  493. Value = game:service("Players").LocalPlayer,
  494. Parent = h,
  495. }
  496. game:GetService("Debris"):AddItem(c, .5)
  497. if HitSound ~= nil and HitPitch ~= nil then
  498. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  499. end
  500. local Damage = math.random(minim, maxim)
  501. local blocked = false
  502. local block = hit.Parent:findFirstChild("Block")
  503. if block ~= nil then
  504. if block.className == "IntValue" then
  505. if block.Value > 0 then
  506. blocked = true
  507. block.Value = block.Value - 1
  508. print(block.Value)
  509. end
  510. end
  511. end
  512. if blocked == false then
  513. h.Health = h.Health - Damage
  514. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  515. else
  516. h.Health = h.Health - (Damage / 2)
  517. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  518. end
  519. if Type == "Knockdown" then
  520. local hum = hit.Parent.Humanoid
  521. hum.PlatformStand = true
  522. coroutine.resume(coroutine.create(function(HHumanoid)
  523. swait(1)
  524. HHumanoid.PlatformStand = false
  525. end), hum)
  526. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  527. local bodvol = Create("BodyVelocity"){
  528. velocity = angle * knockback,
  529. P = 5000,
  530. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  531. Parent = hit,
  532. }
  533. local rl = Create("BodyAngularVelocity"){
  534. P = 3000,
  535. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  536. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  537. Parent = hit,
  538. }
  539. game:GetService("Debris"):AddItem(bodvol, .5)
  540. game:GetService("Debris"):AddItem(rl, .5)
  541. elseif Type == "Normal" then
  542. local vp = Create("BodyVelocity"){
  543. P = 500,
  544. maxForce = Vector3.new(math.huge, 0, math.huge),
  545. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  546. }
  547. if knockback > 0 then
  548. vp.Parent = hit.Parent.Torso
  549. end
  550. game:GetService("Debris"):AddItem(vp, .5)
  551. elseif Type == "Up" then
  552. local bodyVelocity = Create("BodyVelocity"){
  553. velocity = Vector3.new(0, 20, 0),
  554. P = 5000,
  555. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  556. Parent = hit,
  557. }
  558. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  559. elseif Type == "DarkUp" then
  560. coroutine.resume(coroutine.create(function()
  561. for i = 0, 1, 0.1 do
  562. swait()
  563. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  564. end
  565. end))
  566. local bodyVelocity = Create("BodyVelocity"){
  567. velocity = Vector3.new(0, 20, 0),
  568. P = 5000,
  569. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  570. Parent = hit,
  571. }
  572. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  573. elseif Type == "Snare" then
  574. local bp = Create("BodyPosition"){
  575. P = 2000,
  576. D = 100,
  577. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  578. position = hit.Parent.Torso.Position,
  579. Parent = hit.Parent.Torso,
  580. }
  581. game:GetService("Debris"):AddItem(bp, 1)
  582. elseif Type == "Freeze" then
  583. local BodPos = Create("BodyPosition"){
  584. P = 50000,
  585. D = 1000,
  586. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  587. position = hit.Parent.Torso.Position,
  588. Parent = hit.Parent.Torso,
  589. }
  590. local BodGy = Create("BodyGyro") {
  591. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  592. P = 20e+003,
  593. Parent = hit.Parent.Torso,
  594. cframe = hit.Parent.Torso.CFrame,
  595. }
  596. hit.Parent.Torso.Anchored = true
  597. coroutine.resume(coroutine.create(function(Part)
  598. swait(1.5)
  599. Part.Anchored = false
  600. end), hit.Parent.Torso)
  601. game:GetService("Debris"):AddItem(BodPos, 3)
  602. game:GetService("Debris"):AddItem(BodGy, 3)
  603. end
  604. local debounce = Create("BoolValue"){
  605. Name = "DebounceHit",
  606. Parent = hit.Parent,
  607. Value = true,
  608. }
  609. game:GetService("Debris"):AddItem(debounce, Delay)
  610. c = Create("ObjectValue"){
  611. Name = "creator",
  612. Value = Player,
  613. Parent = h,
  614. }
  615. game:GetService("Debris"):AddItem(c, .5)
  616. end
  617. end
  618.  
  619. function ShowDamage(Pos, Text, Time, Color)
  620. local Rate = (1 / 30)
  621. local Pos = (Pos or Vector3.new(0, 0, 0))
  622. local Text = (Text or "")
  623. local Time = (Time or 2)
  624. local Color = (Color or Color3.new(1, 0, 1))
  625. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  626. EffectPart.Anchored = true
  627. local BillboardGui = Create("BillboardGui"){
  628. Size = UDim2.new(3, 0, 3, 0),
  629. Adornee = EffectPart,
  630. Parent = EffectPart,
  631. }
  632. local TextLabel = Create("TextLabel"){
  633. BackgroundTransparency = 1,
  634. Size = UDim2.new(1, 0, 1, 0),
  635. Text = Text,
  636. Font = "SciFi",
  637. TextColor3 = Color,
  638. TextScaled = true,
  639. Parent = BillboardGui,
  640. }
  641. game.Debris:AddItem(EffectPart, (Time))
  642. EffectPart.Parent = game:GetService("Workspace")
  643. delay(0, function()
  644. local Frames = (Time / Rate)
  645. for Frame = 1, Frames do
  646. wait(Rate)
  647. local Percent = (Frame / Frames)
  648. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  649. TextLabel.TextTransparency = Percent
  650. end
  651. if EffectPart and EffectPart.Parent then
  652. EffectPart:Destroy()
  653. end
  654. end)
  655. end
  656.  
  657. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  658. for _, c in pairs(workspace:children()) do
  659. local hum = c:findFirstChild("Humanoid")
  660. if hum ~= nil then
  661. local head = c:findFirstChild("Torso")
  662. if head ~= nil then
  663. local targ = head.Position - Part.Position
  664. local mag = targ.magnitude
  665. if mag <= Magnitude and c.Name ~= Player.Name then
  666. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  667. end
  668. end
  669. end
  670. end
  671. end
  672.  
  673. EffectModel = Create("Model"){
  674. Parent = Character,
  675. Name = "Effects",
  676. }
  677.  
  678. Effects = {
  679. Block = {
  680. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  681. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  682. prt.Anchored = true
  683. prt.CFrame = cframe
  684. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  685. game:GetService("Debris"):AddItem(prt, 10)
  686. if Type == 1 or Type == nil then
  687. table.insert(Effects, {
  688. prt,
  689. "Block1",
  690. delay,
  691. x3,
  692. y3,
  693. z3,
  694. msh
  695. })
  696. elseif Type == 2 then
  697. table.insert(Effects, {
  698. prt,
  699. "Block2",
  700. delay,
  701. x3,
  702. y3,
  703. z3,
  704. msh
  705. })
  706. end
  707. end;
  708. };
  709.  
  710. Cylinder = {
  711. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  712. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  713. prt.Anchored = true
  714. prt.CFrame = cframe
  715. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  716. game:GetService("Debris"):AddItem(prt, 10)
  717. table.insert(Effects, {
  718. prt,
  719. "Cylinder",
  720. delay,
  721. x3,
  722. y3,
  723. z3,
  724. msh
  725. })
  726. end;
  727. };
  728. Head = {
  729. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  730. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  731. prt.Anchored = true
  732. prt.CFrame = cframe
  733. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  734. game:GetService("Debris"):AddItem(prt, 10)
  735. table.insert(Effects, {
  736. prt,
  737. "Cylinder",
  738. delay,
  739. x3,
  740. y3,
  741. z3,
  742. msh
  743. })
  744. end;
  745. };
  746.  
  747. Sphere = {
  748. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  749. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  750. prt.Anchored = true
  751. prt.CFrame = cframe
  752. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  753. game:GetService("Debris"):AddItem(prt, 10)
  754. table.insert(Effects, {
  755. prt,
  756. "Cylinder",
  757. delay,
  758. x3,
  759. y3,
  760. z3,
  761. msh
  762. })
  763. end;
  764. };
  765.  
  766. Elect = {
  767. Create = function(cff, x, y, z)
  768. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  769. prt.Anchored = true
  770. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  771. prt.CFrame = CFrame.new(prt.Position)
  772. game:GetService("Debris"):AddItem(prt, 2)
  773. local xval = math.random() / 2
  774. local yval = math.random() / 2
  775. local zval = math.random() / 2
  776. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  777. table.insert(Effects, {
  778. prt,
  779. "Elec",
  780. 0.1,
  781. x,
  782. y,
  783. z,
  784. xval,
  785. yval,
  786. zval
  787. })
  788. end;
  789.  
  790. };
  791.  
  792. Ring = {
  793. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  794. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  795. prt.Anchored = true
  796. prt.CFrame = cframe
  797. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  798. game:GetService("Debris"):AddItem(prt, 10)
  799. table.insert(Effects, {
  800. prt,
  801. "Cylinder",
  802. delay,
  803. x3,
  804. y3,
  805. z3,
  806. msh
  807. })
  808. end;
  809. };
  810.  
  811.  
  812. Wave = {
  813. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  814. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  815. prt.Anchored = true
  816. prt.CFrame = cframe
  817. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  818. game:GetService("Debris"):AddItem(prt, 10)
  819. table.insert(Effects, {
  820. prt,
  821. "Cylinder",
  822. delay,
  823. x3,
  824. y3,
  825. z3,
  826. msh
  827. })
  828. end;
  829. };
  830.  
  831. Break = {
  832. Create = function(brickcolor, cframe, x1, y1, z1)
  833. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  834. prt.Anchored = true
  835. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  836. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  837. local num = math.random(10, 50) / 1000
  838. game:GetService("Debris"):AddItem(prt, 10)
  839. table.insert(Effects, {
  840. prt,
  841. "Shatter",
  842. num,
  843. prt.CFrame,
  844. math.random() - math.random(),
  845. 0,
  846. math.random(50, 100) / 100
  847. })
  848. end;
  849. };
  850.  
  851. Fire = {
  852. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  853. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  854. prt.Anchored = true
  855. prt.CFrame = cframe
  856. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  857. game:GetService("Debris"):AddItem(prt, 10)
  858. table.insert(Effects, {
  859. prt,
  860. "Fire",
  861. delay,
  862. 1,
  863. 1,
  864. 1,
  865. msh
  866. })
  867. end;
  868. };
  869.  
  870. FireWave = {
  871. Create = function(brickcolor, cframe, x1, y1, z1)
  872. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  873. prt.Anchored = true
  874. prt.CFrame = cframe
  875. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  876. local d = Create("Decal"){
  877. Parent = prt,
  878. Texture = "rbxassetid://26356434",
  879. Face = "Top",
  880. }
  881. local d = Create("Decal"){
  882. Parent = prt,
  883. Texture = "rbxassetid://26356434",
  884. Face = "Bottom",
  885. }
  886. game:GetService("Debris"):AddItem(prt, 10)
  887. table.insert(Effects, {
  888. prt,
  889. "FireWave",
  890. 1,
  891. 30,
  892. math.random(400, 600) / 100,
  893. msh
  894. })
  895. end;
  896. };
  897.  
  898. Lightning = {
  899. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  900. local magz = (p0 - p1).magnitude
  901. local curpos = p0
  902. local trz = {
  903. -ofs,
  904. ofs
  905. }
  906. for i = 1, tym do
  907. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  908. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  909. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  910. li.Material = "Neon"
  911. if tym == i then
  912. local magz2 = (curpos - p1).magnitude
  913. li.Size = Vector3.new(th, th, magz2)
  914. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  915. table.insert(Effects, {
  916. li,
  917. "Disappear",
  918. last
  919. })
  920. else
  921. do
  922. do
  923. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  924. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  925. game.Debris:AddItem(li, 10)
  926. table.insert(Effects, {
  927. li,
  928. "Disappear",
  929. last
  930. })
  931. end
  932. end
  933. end
  934. end
  935. end
  936. };
  937.  
  938. EffectTemplate = {
  939.  
  940. };
  941. }
  942.  
  943. function attackone()
  944. attack = true
  945. for i = 0, 1, 0.1 do
  946. swait()
  947. PlayAnimationFromTable({
  948. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  949. CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  950. CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  951. CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  952. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  953. CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  954. }, .3, false)
  955. end
  956. attack = false
  957. end
  958.  
  959. Mouse.KeyDown:connect(function(k)
  960. k = k:lower()
  961. if attack == false and k == '' then
  962.  
  963. end
  964. end)
  965.  
  966. abss = Instance.new("BillboardGui",Character)
  967. abss.Size = UDim2.new(10,0,10,0)
  968. abss.Enabled = false
  969. imgl = Instance.new("ImageLabel",abss)
  970. imgl.Position = UDim2.new(0,0,0,0)
  971. imgl.Size = UDim2.new(1,0,1,0)
  972. imgl.Image = "rbxassetid://711463989"
  973. imgl.BackgroundTransparency = 1
  974. imgl.ImageColor3 = Color3.new(.9,0,0)
  975. img2 = Instance.new("ImageLabel",abss)
  976. img2.Position = UDim2.new(0,0,0,0)
  977. img2.Size = UDim2.new(1,0,1,0)
  978. img2.Image = "rbxassetid://711463989"
  979. img2.BackgroundTransparency = 1
  980. img2.ImageColor3 = Color3.new(.9,0,0)
  981.  
  982. local targetted = nil;
  983.  
  984. function ohshityougothit(dude)
  985. coroutine.wrap(function()
  986. repeat wait() until dude:FindFirstChild"Head"
  987. KnifuHit = New("Model",workspace,"KnifuHit",{})
  988. game:GetService("Debris"):AddItem(KnifuHit,3)
  989. HWeldPart = New("Part",KnifuHit,"HWeldPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.600000024, 0.400000006),CFrame = CFrame.new(68.6099854, 1.50001717, 8.10717869, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  990. Mesh = New("CylinderMesh",HWeldPart,"Mesh",{})
  991. Weld = New("ManualWeld",HWeldPart,"Weld",{Part0 = HWeldPart,Part1 = dude.Head,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),C1 = CFrame.new(0.00998687744, 1.00000417, -1.79282093, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  992. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(68.6099854, 0.913415372, 8.92320538, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  993. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
  994. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, -0.0999984741, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  995. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.60001719, 7.93397379, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  996. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
  997. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, -0.199999809, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  998. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.30001676, 8.45358944, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  999. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.5, 1.20000005, 1.5),})
  1000. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.400000334, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1001. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.47322106, 8.55358887, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1002. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
  1003. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.400000095, 0.199998856, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1004. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000036),CFrame = CFrame.new(68.6099854, 1.12680948, 8.3535881, 1, 0, 0, 0, 0.500000536, 0.866025746, 0, -0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1005. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1, 1, 1.20000005),MeshType = Enum.MeshType.Wedge,})
  1006. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.400000095, -0.20000267, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1007. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.600000024, 0.200000003),CFrame = CFrame.new(68.6099854, 1.01341367, 8.74999905, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1008. Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
  1009. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.800000429, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1010. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.399999946, 0.400000036),CFrame = CFrame.new(68.6099854, 0.650017917, 9.5794239, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  1011. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
  1012. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.70000005, 1.90734863e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1013. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.886619031, 9.36961555, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1014. Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.400000006, 1, 1),})
  1015. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.40000057, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1016. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.28662145, 8.67679501, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1017. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  1018. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1019. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.28662145, 8.67679501, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1020. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  1021. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.599999905, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1022. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.18662131, 8.85000038, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1023. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  1024. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1025. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.18662131, 8.85000038, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1026. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  1027. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.799999952, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1028. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08662117, 9.02320576, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1029. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  1030. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1031. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08662117, 9.02320576, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1032. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  1033. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1034. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.986621022, 9.19641113, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1035. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, -0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  1036. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1037. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(68.6099854, 0.986621022, 9.19641113, 1, 0, 0, 0, -0.500000536, -0.866025746, 0, 0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1038. Mesh = New("SpecialMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0.0500000007, -0.0500000007),Scale = Vector3.new(0.400000006, 0.5, 0.5),MeshType = Enum.MeshType.Wedge,})
  1039. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.20000005, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1040. HPart = New("Part",KnifuHit,"HPart",{Material = Enum.Material.SmoothPlastic,Reflectance = 0.20000000298023,Size = Vector3.new(0.200000003, 1, 0.200000003),CFrame = CFrame.new(68.6099854, 1.08661926, 9.0232048, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1041. Mesh = New("BlockMesh",HPart,"Mesh",{Offset = Vector3.new(0, 0, -0.0500000007),Scale = Vector3.new(0.400000006, 1, 0.5),})
  1042. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.00000048, 0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1043. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.50001705, 8.10717869, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1044. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
  1045. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 2.38418579e-07, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1046. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.400000006),CFrame = CFrame.new(68.6099854, 1.4000169, 8.28038406, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  1047. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(1.20000005, 0.949999988, 1.20000005),})
  1048. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 0.200000286, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1049. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.400000036, 0.200000003),CFrame = CFrame.new(68.6099854, 0.76341331, 9.18301201, -1, 0, 0, 0, -0.500000536, 0.866025746, 0, 0.866025746, 0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  1050. Mesh = New("BlockMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),})
  1051. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C1 = CFrame.new(0, 1.30000043, -0.100000381, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1052. HPart = New("Part",KnifuHit,"HPart",{BrickColor = BrickColor.new("Crimson"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.200000003, 0.200000003, 0.200000033),CFrame = CFrame.new(68.6099854, 0.886620879, 9.36961555, -1, 0, 0, 0, 0.500000536, -0.866025746, 0, -0.866025746, -0.500000536),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.592157, 0, 0),})
  1053. Mesh = New("SpecialMesh",HPart,"Mesh",{Scale = Vector3.new(0.409999996, 1.00999999, 1.00999999),MeshType = Enum.MeshType.Wedge,})
  1054. Weld = New("ManualWeld",HPart,"Weld",{Part0 = HPart,Part1 = HWeldPart,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 1.4000001, 0.100002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  1055. end)()
  1056. end
  1057.  
  1058. function fuckingdie(dude)
  1059. if dude.Name ~= "CKbackup" and dude.Name ~= "Quil_Cyndaquil" then
  1060. dude.Humanoid.PlatformStand = true
  1061. local bgf = Instance.new("BodyGyro",dude.Head)
  1062. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1063. local val = Instance.new("BoolValue",dude)
  1064. val.Name = "IsHit"
  1065. for i = 1, 6 do
  1066. local blo = Instance.new("Part",game.Workspace)
  1067. blo.Size = Vector3.new(.6,.2,.6)
  1068. blo.Material = "SmoothPlastic"
  1069. blo.BrickColor = BrickColor.new("Crimson")
  1070. blo.Position = dude.Head.Position
  1071. blo.CFrame = dude.Head.CFrame
  1072. game:GetService("Debris"):AddItem(blo,15)
  1073. end
  1074. local ds = coroutine.wrap(function()
  1075. wait(1)
  1076. if dude == targetted then
  1077. targetted = nil
  1078. end
  1079. dude:FindFirstChildOfClass"Humanoid".Health = 0
  1080. (dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso").Anchored = false
  1081. ragdoll(dude)
  1082. end)
  1083. ds()
  1084. end
  1085. end
  1086.  
  1087. local Sitting = false
  1088. function fuckingdiethro(dude)
  1089. if dude.Name ~= "CKbackup" and dude.Name ~= "Quil_Cyndaquil" then
  1090. dude.Humanoid.PlatformStand = true
  1091. if dude:FindFirstChild"Head" then local bgf = Instance.new("BodyGyro",dude.Head)
  1092. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0) end
  1093. local val = Instance.new("BoolValue",dude)
  1094. val.Name = "IsHit"
  1095. if dude:FindFirstChild"Head" then
  1096. for i = 1, 6 do
  1097. local blo = Instance.new("Part",game.Workspace)
  1098. blo.Size = Vector3.new(.6,.2,.6)
  1099. blo.Material = "SmoothPlastic"
  1100. blo.BrickColor = BrickColor.new("Crimson")
  1101. blo.Position = dude.Head.Position
  1102. blo.CFrame = dude.Head.CFrame
  1103. game:GetService("Debris"):AddItem(blo,15)
  1104. end
  1105. end
  1106. local ds = coroutine.wrap(function()
  1107. if(dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso") then
  1108. (dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso").Velocity = (dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso").CFrame.lookVector * -15
  1109. end
  1110. wait(0.3)
  1111. if dude == targetted then
  1112. targetted = nil
  1113. end
  1114. dude:FindFirstChildOfClass"Humanoid".Health = 0
  1115. ragdoll(dude)
  1116. end)
  1117. ds()
  1118. end
  1119. end
  1120.  
  1121. function ragdoll(guy)
  1122. guy.Archivable = true
  1123. clone = guy:Clone()
  1124. clone.Parent = workspace
  1125. game:service'Debris':AddItem(clone,10)
  1126. for i,v in pairs(clone:GetChildren()) do
  1127. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  1128. v:destroy()
  1129. end
  1130. for i,p in pairs(v:GetChildren()) do
  1131. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  1132. p:destroy()
  1133. end
  1134. end
  1135. end
  1136. for i,t in pairs(guy:GetChildren()) do
  1137. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  1138. t:destroy()
  1139. end
  1140. end
  1141. for i,v in next, clone:children() do
  1142. if v:IsA"LocalScript" or v:IsA"Script" or v:IsA"ModuleScript" then
  1143. v.Disabled = true
  1144. wait()
  1145. v:destroy()
  1146. end
  1147. end
  1148. local vel
  1149. if clone:FindFirstChild"Torso" then
  1150. vel = Instance.new("BodyVelocity", clone.Torso)
  1151. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  1152. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1153. end
  1154. if clone:FindFirstChild"Head" and clone.Head:FindFirstChild"face" then
  1155. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608"
  1156. end
  1157. using = false
  1158. local leftarm = clone:findFirstChild("Left Arm")
  1159. local rightrm = clone:findFirstChild("Right Arm")
  1160. local leftleg = clone:findFirstChild("Left Leg")
  1161. local rightleg = clone:findFirstChild("Right Leg")
  1162. local head = clone:findFirstChild("Head")
  1163. for i, g in pairs(guy:GetChildren()) do
  1164. if g.ClassName == "Part" then
  1165. g:destroy()
  1166. end
  1167. end
  1168. for i, h in pairs(guy:GetChildren()) do
  1169. if h.ClassName == "Accesory" then
  1170. h:destroy()
  1171. end
  1172. end
  1173.  
  1174. if head ~= nil then
  1175. local glue13 = Instance.new("Glue", clone.Torso)
  1176. glue13.Part0 = clone.Torso
  1177. glue13.Part1 = head
  1178. glue13.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1179. glue13.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1180. local collider13 = Instance.new("Part", head)
  1181. collider13.Position = Vector3.new(0,999,0)
  1182. collider13.Size = Vector3.new(0.5, 0.9, 0.9)
  1183. collider13.Shape = "Cylinder"
  1184. collider13.Transparency = 1
  1185. local weld = Instance.new("Weld", collider13)
  1186. weld.Part0 = head
  1187. weld.Part1 = collider13
  1188. weld.C0 = weld.C0 * CFrame.new(0,0.2,0) * CFrame.Angles(0, 0, 80)
  1189. collider13.TopSurface = "Smooth"
  1190. collider13.BottomSurface = "Smooth"
  1191. collider13.formFactor = "Symmetric"
  1192. end
  1193. if leftleg ~= nil then
  1194. local glue = Instance.new("Glue", clone.Torso)
  1195. glue.Part0 = clone.Torso
  1196. glue.Part1 = leftleg
  1197. glue.Name = "Left leg"
  1198. local collider = Instance.new("Part", leftleg)
  1199. collider.Position = Vector3.new(0,999,0)
  1200. collider.Size = Vector3.new(1.7, 1, 1)
  1201. collider.Shape = "Cylinder"
  1202. local weld = Instance.new("Weld", collider)
  1203. weld.Part0 = leftleg
  1204. weld.Part1 = collider
  1205. weld.C0 = CFrame.Angles(0, 0, 80)
  1206. collider.TopSurface = "Smooth"
  1207. collider.BottomSurface = "Smooth"
  1208. collider.formFactor = "Symmetric"
  1209. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1210. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1211. collider.Transparency = 1
  1212. end
  1213. ------------
  1214. if rightleg ~= nil then
  1215. local glue1 = Instance.new("Glue", clone.Torso)
  1216. glue1.Part0 = clone.Torso
  1217. glue1.Part1 = rightleg
  1218. glue1.Name = "Right leg"
  1219. local collider1 = Instance.new("Part", rightleg)
  1220. collider1.Position = Vector3.new(0,999,0)
  1221. collider1.Size = Vector3.new(1.7, 1, 1)
  1222. collider1.Shape = "Cylinder"
  1223. local weld1 = Instance.new("Weld", collider1)
  1224. weld1.Part0 = rightleg
  1225. weld1.Part1 = collider1
  1226. weld1.C0 = CFrame.Angles(0, 0, 80)
  1227. collider1.TopSurface = "Smooth"
  1228. collider1.BottomSurface = "Smooth"
  1229. collider1.formFactor = "Symmetric"
  1230. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1231. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1232. collider1.Transparency = 1
  1233. end
  1234. ------------
  1235. if rightrm ~= nil then
  1236. local glue11 = Instance.new("Glue", clone.Torso)
  1237. glue11.Part0 = clone.Torso
  1238. glue11.Part1 = rightrm
  1239. glue11.Name = "Right shoulder"
  1240. local collider11 = Instance.new("Part", rightrm)
  1241. collider11.Position = Vector3.new(0,9999,0)
  1242. collider11.Size = Vector3.new(1.8,1,1)
  1243. collider11.Shape = "Cylinder"
  1244. local weld11 = Instance.new("Weld", collider11)
  1245. weld11.Part0 = rightrm
  1246. weld11.Part1 = collider11
  1247. weld11.C0 = CFrame.Angles(0, 0, 80)
  1248. collider11.TopSurface = "Smooth"
  1249. collider11.BottomSurface = "Smooth"
  1250. collider11.formFactor = "Symmetric"
  1251. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1252. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1253. collider11.Transparency = 1
  1254. end
  1255. ------------
  1256. if leftarm ~= nil then
  1257. local glue111 = Instance.new("Glue", clone.Torso)
  1258. glue111.Part0 = clone.Torso
  1259. glue111.Part1 = leftarm
  1260. glue111.Name = "Left shoulder"
  1261. local collider111 = Instance.new("Part", leftarm)
  1262. collider111.Position = Vector3.new(0,9999,0)
  1263. collider111.Size = Vector3.new(1.8,1,1)
  1264. collider111.Shape = "Cylinder"
  1265. local weld111 = Instance.new("Weld", collider111)
  1266. weld111.Part0 = leftarm
  1267. weld111.Part1 = collider111
  1268. weld111.C0 = CFrame.Angles(0, 0, 80)
  1269. collider111.TopSurface = "Smooth"
  1270. collider111.BottomSurface = "Smooth"
  1271. collider111.formFactor = "Symmetric"
  1272. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1273. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1274. collider111.Transparency = 1
  1275. ----------------
  1276. sensoring = Instance.new("Part", clone.Torso)
  1277. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  1278. sensoring.CanCollide = false
  1279. sensoring.Position = clone.Torso.Position
  1280. local welder = Instance.new("Weld", sensoring)
  1281. welder.Part0 = clone.Torso
  1282. welder.Part1 = sensoring
  1283. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  1284. sensoring.Transparency = 1
  1285. -----------------
  1286. sensoring1 = Instance.new("Part", clone.Torso)
  1287. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  1288. sensoring1.CanCollide = false
  1289. sensoring1.Position = clone.Torso.Position
  1290. local welder1 = Instance.new("Weld", sensoring)
  1291. welder1.Part0 = clone.Torso
  1292. welder1.Part1 = sensoring1
  1293. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  1294. sensoring1.Transparency = 1
  1295. end
  1296. clone.Name = guy.Name.." (Murdered)"
  1297. if vel then vel:destroy() end
  1298.  
  1299. end
  1300.  
  1301. local slashes = {}
  1302. table.insert(slashes,220833967)
  1303. table.insert(slashes,220833976)
  1304. table.insert(slashes,220834000)
  1305. table.insert(slashes,220834019)
  1306. function fucktheworld()
  1307. local a = Instance.new("ColorCorrectionEffect",Lighty)
  1308. a.TintColor = Color3.new(1,1,1)
  1309. local b = Instance.new("BlurEffect",Lighty)
  1310. b.Size = 0
  1311. for i = 1,0, -.1 do
  1312. a.TintColor = Color3.new(i,i,i)
  1313. b.Size = b.Size + 1
  1314. end
  1315.  
  1316. wait(1)
  1317.  
  1318.  
  1319. coroutine.wrap(function()
  1320. for i,v in next, workspace:children() do
  1321. if v:IsA"Model" or v:IsA"Part" then
  1322. if v:FindFirstChildOfClass"Humanoid" and v ~= Character then
  1323. v:BreakJoints()
  1324. if v:FindFirstChild"Torso" then ragdoll(v) end
  1325. wait(.15)
  1326. end
  1327. end
  1328. end
  1329. end)()
  1330.  
  1331.  
  1332. for i = 1, 7 do
  1333. for i = 0,1,.3 do
  1334. a.TintColor = Color3.new(i,i,i)
  1335. wait()
  1336. end
  1337. local slash = math.random(1,4)
  1338. local sou = Instance.new("Sound",workspace)
  1339. sou.Pitch = math.random(0.75,1)
  1340. sou.Volume = 10
  1341. sou.SoundId = "rbxassetid://"..slashes[slash]
  1342. sou:Play()
  1343. a.TintColor = Color3.new(0,0,0)
  1344. wait()
  1345. end
  1346.  
  1347. --165487479
  1348.  
  1349. local sou = Instance.new("Sound",workspace)
  1350. sou.Pitch = 1
  1351. sou.Volume = 10
  1352. sou.SoundId = "rbxassetid://137473066"
  1353. sou:Play()
  1354. wait(3)
  1355.  
  1356. for i = 0,1,.1 do
  1357. a.TintColor = Color3.new(i,i,i)
  1358. b.Size = b.Size - 1
  1359. wait()
  1360. end
  1361. a:destroy()
  1362. game:service'Debris':AddItem(b,3)
  1363. end
  1364. function endit()
  1365. attack = true
  1366. Humanoid.WalkSpeed = 0
  1367. Humanoid.JumpPower = 0
  1368. for i = 0, 1, 0.1 do
  1369. swait()
  1370. PlayAnimationFromTable({
  1371. CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1372. CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1373. CFrame.new(1.55124712, 1.10979831, 0.0157209933, 0.994141698, -0.090331316, 0.0593510792, -0.0904476494, -0.995900929, -0.000725974329, 0.0591732934, -0.00464646891, -0.998236537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1374. CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1375. CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1376. CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1377. }, .3, false)
  1378. KWeld.C0 = clerp(KWeld.C0, CFrame.new(-0.0327453725, -1.02458775, -0.0236971658, -1.00000048, 2.08819984e-09, -3.7252903e-09, -5.65341907e-09, -1.00000012, -2.57510692e-07, 3.7252903e-09, -2.57277861e-07, 1.00000012) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1379. end
  1380. chat("This world is getting boring...")
  1381. wait(1.5)
  1382. chat("Well...")
  1383. wait(1)
  1384. chat("LETS MOVE ON TO THE NEXT!")
  1385. wait(2)
  1386. for i = 1, 3 do
  1387. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=341336274", Character, 1, 1)
  1388. local part = Instance.new("Part",EffectModel)
  1389. part.Shape = "Ball"
  1390. part.Anchored = true
  1391. part.CanCollide = false
  1392. part.BrickColor = BrickColor.new"Really red"
  1393. part.Material = Enum.Material.Neon
  1394. part.Size = Vector3.new(1,1,1)
  1395. part.CFrame = BloodPart.CFrame
  1396. part.TopSurface,part.BottomSurface = 10,10
  1397. for i = 0,1,.1 do
  1398. part.Size = part.Size+ Vector3.new(4,4,4)
  1399. part.Transparency = i
  1400. wait()
  1401. end
  1402. part:destroy()
  1403. wait(.05)
  1404. end
  1405. wait(.5)
  1406. attack = false
  1407. fucktheworld()
  1408. wait(2)
  1409. Humanoid.WalkSpeed = 8
  1410. Humanoid.JumpPower = 50
  1411.  
  1412. end
  1413. function sleepchild()
  1414. attack = true
  1415. Humanoid.WalkSpeed = 0
  1416. Humanoid.JumpPower = 0
  1417. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521656", Character, 1, .8)
  1418. local a = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("HumanoidRootPart") targetted:FindFirstChild("UpperTorso")
  1419. a.Anchored = true
  1420. RootPart.CFrame = a.CFrame * CFrame.new(0,0,1)
  1421. wait(.01)
  1422. Character.Torso.Anchored = true
  1423. for i = 0, 1, 0.1 do
  1424. swait()
  1425. PlayAnimationFromTable({
  1426. CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1427. CFrame.new(0.647793114, 1.49790704, -0.08620812, 0.919307768, 0.392846406, 0.0233431272, -0.391966701, 0.919319689, -0.0348359533, -0.0351450294, 0.0228752308, 0.999119997) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1428. CFrame.new(1.27472198, 0.948095679, -0.665119231, 0.15143548, 0.0339903161, -0.987882555, -0.986717343, -0.0542402044, -0.153123304, -0.0587876812, 0.997948885, 0.0253249966) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1429. CFrame.new(-0.563300252, 0.95589447, -1.39769626, 0.695959151, -0.718027294, -0.00878927112, -0.264074028, -0.244537428, -0.93298763, 0.667761326, 0.651642263, -0.359800428) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1430. CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1431. CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1432. }, .3, false)
  1433. --KWeld.C0 = clerp(KWeld.C0, CFrame.new(7.63306252e-06, -0.99992466, 0.249988556, -1.00000012, 1.46683306e-08, 0, 0, -3.8407743e-06, 1, 1.62981451e-09, 1.00000012, 3.85195017e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1434. end
  1435. if targetted.Name == "Lime_Pidgey" or targetted.Name == "Quil_Cyndaquil" or targetted.Name == "CKbackup" or targetted.Name == "Salvo_Starly" then
  1436. wait(2)
  1437. a.Anchored = false
  1438. local sel = math.random(1,3)
  1439. if sel == 1 then
  1440. chat("What was I thinking...")
  1441. elseif sel == 2 then
  1442. if targetted.Name == "Quil_Cyndaquil" then
  1443. chat("Sorry, Nebula.")
  1444. elseif targetted.Name == "CKbackup" then
  1445. chat("Didn't know it was you, Sugarie")
  1446. elseif targetted.Name == "Salvo_Starly" then
  1447. chat("Didn't realize, Genocider. I'm so sorry.")
  1448. elseif targetted.Name == "Lime_Pidgey" then
  1449. chat("Ah, Jerry, So sorry, thought you were an enemy.")
  1450. end
  1451. elseif sel == 3 then
  1452. chat("Why.. did I try that..?")
  1453. end
  1454. for i = 0, 5, 0.1 do
  1455. swait()
  1456. PlayAnimationFromTable({
  1457. CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1458. CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0),
  1459. CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1460. CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1461. CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1462. CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1463. }, .3, false)
  1464. end
  1465. attack = false
  1466. Character.Torso.Anchored = false
  1467. Humanoid.WalkSpeed = 8
  1468. Humanoid.JumpPower = 50
  1469. else
  1470. chat("Go to sleep...")
  1471. wait(2)
  1472. for i = 0, 1, 0.1 do
  1473. swait()
  1474. PlayAnimationFromTable({
  1475. CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1476. CFrame.new(0.647793114, 1.49790704, -0.08620812, 0.919307768, 0.392846406, 0.0233431272, -0.391966701, 0.919319689, -0.0348359533, -0.0351450294, 0.0228752308, 0.999119997) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1477. CFrame.new(1.28332329, 0.947640657, -0.594629169, 0.130690023, 0.303638369, -0.943781614, -0.986253858, -0.0572666377, -0.15499571, -0.101109855, 0.951064467, 0.291980326) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1478. CFrame.new(-0.563300252, 0.95589447, -1.39769626, 0.695959151, -0.718027294, -0.00878927112, -0.264074028, -0.244537428, -0.93298763, 0.667761326, 0.651642263, -0.359800428) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1479. CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1480. CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1481. }, .3, false)
  1482. --KWeld.C0 = clerp(KWeld.C0, CFrame.new(1.6214326e-05, -0.999932289, 0.249966294, -1, 7.4505806e-09, 0, 0, -3.24845314e-06, 1.00000012, -1.86264515e-08, 1.00000012, 3.21865082e-06) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1483. end
  1484. fuckingdie(targetted)
  1485. wait(1)
  1486. attack = false
  1487. Character.Torso.Anchored = false
  1488. Humanoid.WalkSpeed = 8
  1489. Humanoid.JumpPower = 50
  1490. end
  1491. end
  1492.  
  1493. local combo = false
  1494. local input = ""
  1495. local didCombo = false
  1496.  
  1497. function chainreaction()
  1498. attack = true
  1499. Humanoid.WalkSpeed = 0
  1500. Humanoid.JumpPower = 0
  1501. local func
  1502. for i = 0, 0.05, 0.1 do
  1503. swait()
  1504. PlayAnimationFromTable({
  1505. CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1506. CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1507. CFrame.new(1.52798259, 0.437558174, 0.521697879, 0.997940063, -0.0485750884, 0.0419071428, -0.0418144763, 0.00291904411, 0.999121189, -0.0486547761, -0.99881494, 0.00088191824) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1508. CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1509. CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1510. CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1511. }, .4, false)
  1512. --KWeld.C0 = clerp(KWeld.C0, CFrame.new(-7.71878695e-06, -0.99999249, 0.25000006, -1.00000012, 5.82076609e-11, 8.94069672e-08, 8.94069672e-08, 4.42378223e-08, 1.00000012, 8.73114914e-11, 1.00000012, -4.3772161e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1513. end
  1514. swait()
  1515. for i = 0, 0.45, 0.1 do
  1516. swait()
  1517. PlayAnimationFromTable({
  1518. CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1519. CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1520. CFrame.new(1.55079103, 1.21950901, 0.0761990994, 0.994141698, -0.090331316, 0.0593510792, -0.0904476494, -0.995900929, -0.000725974329, 0.0591732934, -0.00464646891, -0.998236537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1521. CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1522. CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1523. CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1524. }, .6, false)
  1525. end
  1526. for i,v in next, Knifu:children() do
  1527. if v:IsA"BasePart" and v.Name ~= "Hitbox" then
  1528. v.Transparency = 1
  1529. end
  1530. end
  1531. p2mit.Enabled = false
  1532. p3mit.Enabled = false
  1533. local stopIt = false
  1534. local asd
  1535. local count = 0
  1536. asd = function(dude)
  1537. local torso = dude:FindFirstChild"Torso" or dude:FindFirstChild"HumanoidRootPart" or dude:FindFirstChild"UpperTorso"
  1538. local cTorso,mag = nil, 0
  1539. if torso then
  1540. for i,v in next, FindNearestTorsos(torso.CFrame.p,15) do
  1541. if v[2] > mag then
  1542. cTorso = v[1]
  1543. mag = v[2]
  1544. end
  1545. wait()
  1546. end
  1547. count = count + 1
  1548. fuckingdiethro(dude)
  1549. if not cTorso or mag < 1 or count > 7 then
  1550. stopIt = true
  1551. else
  1552. asd(cTorso)
  1553. end
  1554. else
  1555. stopIt = true
  1556. end
  1557.  
  1558.  
  1559. end
  1560. func = coroutine.wrap(function()
  1561. asd(targetted)
  1562. end)()
  1563. repeat wait() until stopIt == true
  1564. wait(3)
  1565. for i,v in next, Knifu:children() do
  1566. if v:IsA"BasePart" and v.Name ~= "Hitbox" then
  1567. v.Transparency = 0
  1568. end
  1569. end
  1570. p2mit.Enabled = true
  1571. p3mit.Enabled = true
  1572. attack = false
  1573. Humanoid.WalkSpeed = 8
  1574. Humanoid.JumpPower = 50
  1575. end
  1576. function throwit()
  1577. attack = true
  1578. Humanoid.WalkSpeed = 0
  1579. for i = 0, 0.05, 0.1 do
  1580. swait()
  1581. PlayAnimationFromTable({
  1582. CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1583. CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1584. CFrame.new(1.52798259, 0.437558174, 0.521697879, 0.997940063, -0.0485750884, 0.0419071428, -0.0418144763, 0.00291904411, 0.999121189, -0.0486547761, -0.99881494, 0.00088191824) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1585. CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1586. CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1587. CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1588. }, .4, false)
  1589. --KWeld.C0 = clerp(KWeld.C0, CFrame.new(-7.71878695e-06, -0.99999249, 0.25000006, -1.00000012, 5.82076609e-11, 8.94069672e-08, 8.94069672e-08, 4.42378223e-08, 1.00000012, 8.73114914e-11, 1.00000012, -4.3772161e-08) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.3)
  1590. end
  1591. swait()
  1592. for i = 0, 0.45, 0.1 do
  1593. swait()
  1594. PlayAnimationFromTable({
  1595. CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1596. CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1597. CFrame.new(1.55079103, 1.21950901, 0.0761990994, 0.994141698, -0.090331316, 0.0593510792, -0.0904476494, -0.995900929, -0.000725974329, 0.0591732934, -0.00464646891, -0.998236537) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1598. CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1599. CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1600. CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1601. }, .6, false)
  1602. end
  1603. if targetted.Name ~= "Quil_Cyndaquil" and targetted.Name ~= "Salvo_Starly" and targetted.Name ~= "CKbackup" and targetted.Name ~= "Lime_Pidgey" then
  1604. for i,v in next, Knifu:children() do
  1605. if v:IsA"BasePart" and v.Name ~= "Hitbox" then
  1606. v.Transparency = 1
  1607. end
  1608. end
  1609. p2mit.Enabled = false
  1610. p3mit.Enabled = false
  1611. ohshityougothit(targetted)
  1612. fuckingdiethro(targetted)
  1613. wait(3)
  1614. for i,v in next, Knifu:children() do
  1615. if v:IsA"BasePart" and v.Name ~= "Hitbox" then
  1616. v.Transparency = 0
  1617. end
  1618. end
  1619. p2mit.Enabled = true
  1620. p3mit.Enabled = true
  1621. attack = false
  1622. Character.Torso.Anchored = false
  1623. Humanoid.WalkSpeed = 8
  1624. Humanoid.JumpPower = 50
  1625. elseif targetted.Name == "CKbackup" then
  1626. wait(2)
  1627. for i = 0, 1, 0.1 do
  1628. swait()
  1629. PlayAnimationFromTable({
  1630. CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1631. CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1632. CFrame.new(1.56826949, 1.34040046, -0.462332547, 0.993520677, -0.100954898, 0.0522000715, -0.0726195872, -0.917213261, -0.391722202, 0.0874247849, 0.385393262, -0.918601215) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1633. CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1634. CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1635. CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1636. }, .3, false)
  1637. end
  1638. local sel = math.random(1,3)
  1639. if sel == 1 then
  1640. chat("Sorry, thought you were on the other side.")
  1641. elseif sel == 2 then
  1642. chat("I forgot, we are one and the same. Psychopaths.")
  1643. elseif sel == 3 then
  1644. chat("Oh, Psycho! How's the Genocider been?")
  1645. end
  1646. wait(2)
  1647. attack = false
  1648. Character.Torso.Anchored = false
  1649. Humanoid.WalkSpeed = 8
  1650. Humanoid.JumpPower = 50
  1651. elseif targetted.Name == "Lime_Pidgey" then
  1652. wait(2)
  1653. local sel = math.random(1,3)
  1654. if sel == 1 then
  1655. chat("Sorry, thought you were on the other side.")
  1656. elseif sel == 2 then
  1657. chat("Heyy... Jerry? I think it was?")
  1658. elseif sel == 3 then
  1659. chat("Uhh... Sorry.")
  1660. end
  1661. for i = 0, 5, 0.1 do
  1662. swait()
  1663. PlayAnimationFromTable({
  1664. CFrame.new(0, 0, 0, 0.999999881, 5.04870979e-29, -4.21790838e-43, 5.04870979e-29, 1, -5.04870979e-29, -4.21790838e-43, -5.04870979e-29, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1665. CFrame.new(-0.0399715528, 1.42130852, -0.217550665, 0.985933542, -0.136098281, -0.097015582, 0.166522697, 0.849608123, 0.500436008, 0.0143167432, -0.509551942, 0.860320628) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0- .4 * math.cos((sine) / 5), 0),
  1666. CFrame.new(1.57258642, 0.0433240086, 3.83948304e-08, 0.990993857, -0.133906633, -2.60571618e-08, 0.133906662, 0.990993977, 5.96046341e-08, 1.78410318e-08, -6.25570422e-08, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1667. CFrame.new(-0.693957031, 0.999676406, -0.811627388, 0.817211449, -0.569911301, -0.0858340934, -0.499626935, -0.626295447, -0.598442137, 0.287295371, 0.531934083, -0.796558976) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1668. CFrame.new(0.540301144, -1.99792778, 1.70425119e-06, 0.998698354, -0.0510031469, 6.26438805e-07, 0.0510031544, 0.998698473, -1.04335422e-05, -9.34800966e-08, 1.04519122e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1669. CFrame.new(-0.539563119, -1.99793291, 1.9016752e-06, 0.998630941, 0.0523070693, -1.67712614e-07, -0.0523070768, 0.99863106, -1.0458818e-05, -3.79587107e-07, 1.04532719e-05, 0.999999881) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1670. }, .3, false)
  1671. end
  1672. wait(2)
  1673. attack = false
  1674. Character.Torso.Anchored = false
  1675. Humanoid.WalkSpeed = 8
  1676. Humanoid.JumpPower = 50
  1677. elseif targetted.Name == "Salvo_Starly" then
  1678. wait(2)
  1679. for i = 0, 1, 0.1 do
  1680. swait()
  1681. PlayAnimationFromTable({
  1682. CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1683. CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1684. CFrame.new(1.56826949, 1.34040046, -0.462332547, 0.993520677, -0.100954898, 0.0522000715, -0.0726195872, -0.917213261, -0.391722202, 0.0874247849, 0.385393262, -0.918601215) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1685. CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1686. CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1687. CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1688. }, .3, false)
  1689. end
  1690. local sel = math.random(1,3)
  1691. if sel == 1 then
  1692. chat("Sorry, thought you were on the other side.")
  1693. elseif sel == 2 then
  1694. chat("Ah, Genocider. We've got to talk more!")
  1695. elseif sel == 3 then
  1696. chat("Oh, it's you.. How's Sugarie?")
  1697. end
  1698. wait(2)
  1699. attack = false
  1700. Character.Torso.Anchored = false
  1701. Humanoid.WalkSpeed = 8
  1702. Humanoid.JumpPower = 50
  1703. else
  1704. wait(2)
  1705. for i = 0, 1, 0.1 do
  1706. swait()
  1707. PlayAnimationFromTable({
  1708. CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1709. CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1710. CFrame.new(1.56826949, 1.34040046, -0.462332547, 0.993520677, -0.100954898, 0.0522000715, -0.0726195872, -0.917213261, -0.391722202, 0.0874247849, 0.385393262, -0.918601215) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1711. CFrame.new(-1.52652156, 0.0404321998, -7.48408866e-06, 0.997243881, 0.0741921589, -3.1106174e-07, -0.0741918012, 0.997244, -1.04247592e-05, -5.96046448e-07, 1.0473188e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1712. CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1713. CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1714. }, .3, false)
  1715. end
  1716. local sel = math.random(1,3)
  1717. if sel == 1 then
  1718. chat("Why.. Did I even try?")
  1719. elseif sel == 2 then
  1720. chat("Sorry, Nebula. I thought you were against me")
  1721. elseif sel == 3 then
  1722. chat("I can't")
  1723. end
  1724. wait(2)
  1725. attack = false
  1726. Character.Torso.Anchored = false
  1727. Humanoid.WalkSpeed = 8
  1728. Humanoid.JumpPower = 50
  1729. end
  1730. end
  1731. function LockOn()
  1732. if Mouse.Target and Mouse.Target.Parent then
  1733. local a = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1734. if a and a.Parent ~= Character then
  1735. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, .8)
  1736. coroutine.wrap(function()
  1737. if targetted ~= Mouse.Target.Parent then
  1738. targetted = Mouse.Target.Parent
  1739. img2.Size = UDim2.new(1,0,1,0)
  1740. img2.ImageTransparency = 0
  1741. img2.Position = UDim2.new(0,0,0,0)
  1742. for i = 0, 2, 0.1 do
  1743. swait()
  1744. img2.Size = img2.Size + UDim2.new(.05,0,.05,0)
  1745. img2.Position = img2.Position + UDim2.new(-.025,0,-.025,0)
  1746. img2.ImageTransparency = img2.ImageTransparency + 0.05
  1747. end
  1748. end
  1749. end)()
  1750. end
  1751. end
  1752. end
  1753. Mouse.KeyDown:connect(function(k)
  1754. if k == 'q' and attack == false and combo == false then
  1755. LockOn()
  1756. end
  1757. end)
  1758. Mouse.KeyDown:connect(function(k)
  1759. if k == 'z' and attack == false and targetted ~= nil and combo == false then
  1760. sleepchild()
  1761. end
  1762. end)
  1763.  
  1764.  
  1765.  
  1766. Mouse.KeyDown:connect(function(k)
  1767. if targetted ~= nil and k == 't' and attack == false and combo == false then
  1768. throwit()
  1769. end
  1770. end)
  1771.  
  1772. Mouse.KeyDown:connect(function(k)
  1773. if k == 'c' and attack == false and combo == false then
  1774. coroutine.wrap(function()
  1775. combo = true
  1776. Humanoid.WalkSpeed = 0
  1777. Humanoid.JumpPower = 0
  1778. local asd = false
  1779. for i = 0, 1.5, .1 do
  1780. wait(.1)
  1781. if combo == false then
  1782. asd = true
  1783. break;
  1784. end
  1785. end
  1786. if asd == false then
  1787. if combo == true or input ~= '' then
  1788. Humanoid.WalkSpeed = 8
  1789. Humanoid.JumpPower = 50
  1790. combo = false
  1791. input = ''
  1792. end
  1793. end
  1794. end)()
  1795. end
  1796. end)
  1797.  
  1798. local Keys = {
  1799. [48] = "LShift",
  1800. [13] = "Enter",
  1801. [32] = "Space",
  1802. [47] = "RShift",
  1803. [92] = "Backslash",
  1804. [50] = "LCtrl",
  1805. [52] = "LAlt",
  1806. [49] = "RCtrl",
  1807. [51] = "RAlt",
  1808. [8] = "Backspace",
  1809. [45] = "CapsLock"
  1810.  
  1811. }
  1812.  
  1813. local alreadyEnded = false
  1814. Mouse.KeyDown:connect(function(k)
  1815. if k == 'n' and not attack and not combo then
  1816. Sitting = not Sitting
  1817. end
  1818. end)
  1819.  
  1820. Mouse.KeyDown:connect(function(k)
  1821. if attack == false and combo == true then
  1822. k = string.lower(k)
  1823. if k == 'c' or k == 'q' or k == 'e' or k == 'h' or k == 'r' or k == 't' or k == 'n' or k == 'z' or k == 'x' or k == 'm' or k == 'w' or k == 'a' or k == 's' or k == 'd' then
  1824. if #input < 8 then
  1825. input = input..k
  1826. print(input)
  1827. end
  1828. elseif Keys[string.byte(k)] == "Enter" then
  1829. combo = false
  1830. warn("Trying to execute combo: "..input)
  1831. if string.lower(input) == "aawdq" then
  1832. if targetted and attack == false then
  1833. chainreaction()
  1834. elseif not targetted then
  1835. Humanoid.WalkSpeed = 8
  1836. Humanoid.JumpPower = 50
  1837. chat("I need a target!")
  1838. end
  1839. elseif string.lower(input) == "etwzx" then
  1840. if attack == false then
  1841. if not alreadyEnded then
  1842. alreadyEnded = true
  1843. endit()
  1844. else
  1845. Humanoid.WalkSpeed = 8
  1846. Humanoid.JumpPower = 50
  1847. chat("I can't end it again..!")
  1848. end
  1849. end
  1850. else
  1851. Humanoid.WalkSpeed = 8
  1852. Humanoid.JumpPower = 50
  1853. end
  1854. input = ''
  1855. end
  1856. end
  1857. end)
  1858.  
  1859. local idleC = 0
  1860. while true do
  1861. swait()
  1862. imgl.Rotation = imgl.Rotation + 3
  1863. img2.Rotation = img2.Rotation + 3
  1864. if targetted ~= nil then
  1865. abss.Adornee = targetted:FindFirstChild("Torso") or targetted:FindFirstChild("UpperTorso")
  1866. abss.Enabled = true
  1867. elseif targetted == nil then
  1868. abss.Adornee = nil
  1869. abss.Enabled = false
  1870. end
  1871. for i, v in pairs(Character:GetChildren()) do
  1872. if v:IsA("Part") then
  1873. v.Material = "SmoothPlastic"
  1874. elseif v:IsA("Accessory") then
  1875. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1876. end
  1877. end
  1878. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1879. velocity = RootPart.Velocity.y
  1880. sine = sine + change
  1881. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1882. if RootPart.Velocity.y > 1 and hit == nil then
  1883. Anim = "Jump"
  1884. idleC = 0
  1885. if attack == false then
  1886. PlayAnimationFromTable({
  1887. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1888. CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1889. CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1890. CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1891. CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1892. CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1893. }, .3, false)
  1894. KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180))
  1895. end
  1896. elseif RootPart.Velocity.y < -1 and hit == nil then
  1897. Anim = "Fall"
  1898. idleC = 0
  1899. if attack == false then
  1900. PlayAnimationFromTable({
  1901. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1902. CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1903. CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1904. CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1905. CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1906. CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1907. }, .3, false)
  1908. KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180))
  1909. end
  1910. elseif Torsovelocity < 1 and hit ~= nil then
  1911. if Sitting then
  1912. Anim = "Sitting"
  1913. if attack == false then
  1914. idleC = idleC+1
  1915. PlayAnimationFromTable({
  1916. CFrame.new(0.000827711076, -1.65770507, 0.458721817, 0.999484241, -0.0122322068, 0.0296938289, 0.0252500642, 0.870653987, -0.491247624, -0.0198440049, 0.491744012, 0.870513737) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1917. CFrame.new(-0.0562419407, 1.51485705, -0.185010612, 0.985933542, -0.147043079, -0.0794572532, 0.166523844, 0.904925764, 0.391636789, 0.014315445, -0.399359286, 0.916682839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1918. CFrame.new(1.49053812, -0.00525209308, 0.341132015, 0.968288898, -0.249781534, 0.0050949771, 0.230188534, 0.899891436, 0.370417148, -0.0971082747, -0.35749796, 0.928851664) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1919. CFrame.new(-1.53550422, 0.00908520445, 0.289719999, 0.964274764, 0.237935737, 0.11645104, -0.264904231, 0.866110563, 0.423885047, -2.08616257e-06, -0.439589977, 0.898198724) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1920. CFrame.new(0.877631247, -1.43620968, -0.684172571, 0.881371081, -0.470902473, 0.0379017182, 0.26241079, 0.421269089, -0.868151844, 0.392844826, 0.775101304, 0.494869024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1921. CFrame.new(-0.741793275, -1.41195464, -0.697883487, 0.966170251, 0.249477178, -0.0653936565, -0.179010332, 0.466165125, -0.866398215, -0.18566227, 0.848794281, 0.495053828) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1922. }, .3, false)
  1923. KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180))
  1924. end
  1925. else
  1926. Anim = "Idle"
  1927. if attack == false then
  1928. idleC = idleC+1
  1929. change = 1
  1930. if idleC < 175 then
  1931. PlayAnimationFromTable({
  1932. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1933. CFrame.new(-0.0575585738, 1.52553558, -0.218724757, 0.985934377, -0.143356442, -0.0859283879, 0.166522771, 0.886584163, 0.431554198, 0.0143168001, -0.439792335, 0.897985697) * CFrame.new(0, -.05- .05 * math.cos((sine) / 55), 0- .05 * math.cos((sine) / 55)) * CFrame.Angles(math.rad(0 - 5 * math.cos((sine) / 55)), 0, 0),
  1934. CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0- 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0- 0.05 * math.cos((sine) / 45)),
  1935. CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0+ 0.025 * math.cos((sine) / 45), 0, 0) * CFrame.Angles(0, 0, 0+ 0.05 * math.cos((sine) / 45)),
  1936. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1937. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1938. }, .3, false)
  1939. KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180))
  1940. elseif idleC >= 175 and idleC < 200 then
  1941. PlayAnimationFromTable({
  1942. CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1943. CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1944. CFrame.new(1.29851341, 0.443963498, -0.396169066, 0.0157513712, 0.186539456, -0.982321262, -0.998143196, 0.0607455187, -0.00446989527, 0.0588377416, 0.980567396, 0.187149927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1945. CFrame.new(-1.0340364, 0.367607117, -0.614107132, 0.883662701, -0.353060901, 0.307383537, 0.318954408, -0.0265178736, -0.94740808, 0.342643917, 0.935224652, 0.0891784057) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1946. CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1947. CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1948. }, .1, false)
  1949. KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180))
  1950. elseif idleC >= 200 and idleC < 325 then
  1951. PlayAnimationFromTable({
  1952. CFrame.new(0, -0, 0, 0.999999881, 1.80938514e-07, -6.51925802e-08, 1.80938514e-07, 0.99999994, 3.16649675e-08, -6.51925802e-08, 3.16649675e-08, 0.999999166) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1953. CFrame.new(-0.0562468916, 1.5148555, -0.185029209, 0.985933602, -0.147041202, -0.0794581771, 0.166522875, 0.904925287, 0.391637921, 0.0143166762, -0.399360269, 0.916681409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1954. CFrame.new(1.29851341, 0.443963498, -0.396169066, 0.0157513712, 0.186539456, -0.982321262, -0.998143196, 0.0607455187, -0.00446989527, 0.0588377416, 0.980567396, 0.187149927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1955. CFrame.new(-0.454344451, 0.36049974, -0.596875072, 0.572839379, -0.80925262, 0.130250588, 0.259049803, 0.0279791299, -0.965458691, 0.777655363, 0.586793959, 0.225664154) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1956. CFrame.new(0.540302217, -1.99793744, -6.02283308e-06, 0.998698354, -0.0510029495, 5.62518835e-07, 0.0510033108, 0.998698413, -1.04014762e-05, -1.54599547e-07, 1.0486925e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1957. CFrame.new(-0.539564013, -1.99794042, 9.50125104e-06, 0.998631001, 0.0523072742, -2.32830644e-07, -0.0523069166, 0.998631001, -1.04270875e-05, -4.45172191e-07, 1.04820356e-05, 0.999999225) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1958. }, .01, false)
  1959. else
  1960. idleC = 0
  1961. end
  1962. end
  1963. end
  1964. elseif Torsovelocity > 2 and hit ~= nil then
  1965. Anim = "Walk"
  1966. idleC = 0
  1967. if attack == false then
  1968. PlayAnimationFromTable({
  1969. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0- .08 * math.cos((sine) / 5), 0) * CFrame.Angles(0, 0, 0),
  1970. CFrame.new(-0.0595112406, 1.55331731, -0.0425721854, 0.999631822, -0.0248252042, -0.010953242, 0.0262294486, 0.987443328, 0.155781403, 0.00694842171, -0.156010598, 0.987731278) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1971. CFrame.new(1.54809988, 0.041232653, 1.35168499e-08, 0.996376455, -0.0850530341, -3.41060513e-13, 0.0850530341, 0.996376455, 4.47034836e-07, 2.78823862e-08, 3.26637689e-07, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
  1972. CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
  1973. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 10)), 0, 0),
  1974. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 10)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 10)), 0, 0),
  1975. }, .3, false)
  1976. KWeld.C0= CFrame.new(0,-.25,1)*CFrame.Angles(math.rad(-90),0,math.rad(180))
  1977. end
  1978. end
  1979. if 0 < #Effects then
  1980. for e = 1, #Effects do
  1981. if Effects[e] ~= nil then
  1982. local Thing = Effects[e]
  1983. if Thing ~= nil then
  1984. local Part = Thing[1]
  1985. local Mode = Thing[2]
  1986. local Delay = Thing[3]
  1987. local IncX = Thing[4]
  1988. local IncY = Thing[5]
  1989. local IncZ = Thing[6]
  1990. if Thing[2] == "Shoot" then
  1991. local Look = Thing[1]
  1992. local move = 30
  1993. if Thing[8] == 3 then
  1994. move = 10
  1995. end
  1996. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1997. if Thing[10] ~= nil then
  1998. da = pos
  1999. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  2000. cfa = CFrame.new(Thing[4], pos)
  2001. tehCF = cfa:lerp(cf2, 0.2)
  2002. Thing[1] = tehCF.lookVector
  2003. end
  2004. local mag = (Thing[4] - pos).magnitude
  2005. Effects["Head"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  2006. if Thing[8] == 2 then
  2007. Effects["Ring"].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  2008. end
  2009. Thing[4] = Thing[4] + Look * move
  2010. Thing[3] = Thing[3] - 1
  2011. if 2 < Thing[5] then
  2012. Thing[5] = Thing[5] - 0.3
  2013. Thing[6] = Thing[6] - 0.3
  2014. end
  2015. if hit ~= nil then
  2016. Thing[3] = 0
  2017. if Thing[8] == 1 or Thing[8] == 3 then
  2018. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2019. else
  2020. if Thing[8] == 2 then
  2021. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2022. if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  2023. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2024. ref.Anchored = true
  2025. ref.CFrame = CFrame.new(pos)
  2026. CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  2027. game:GetService("Debris"):AddItem(ref, 0.2)
  2028. Effects["Block"].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  2029. Effects["Ring"].Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  2030. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  2031. end
  2032. end
  2033. end
  2034. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new())
  2035. ref.Anchored = true
  2036. ref.CFrame = CFrame.new(pos)
  2037. Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  2038. game:GetService("Debris"):AddItem(ref, 1)
  2039. end
  2040. if Thing[3] <= 0 then
  2041. table.remove(Effects, e)
  2042. end
  2043. end
  2044. do
  2045. do
  2046. if Thing[2] == "FireWave" then
  2047. if Thing[3] <= Thing[4] then
  2048. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  2049. Thing[3] = Thing[3] + 1
  2050. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  2051. else
  2052. Part.Parent = nil
  2053. table.remove(Effects, e)
  2054. end
  2055. end
  2056. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  2057. if Thing[1].Transparency <= 1 then
  2058. if Thing[2] == "Block1" then
  2059. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2060. Mesh = Thing[7]
  2061. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2062. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2063. else
  2064. if Thing[2] == "Block2" then
  2065. Thing[1].CFrame = Thing[1].CFrame
  2066. Mesh = Thing[7]
  2067. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2068. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2069. else
  2070. if Thing[2] == "Fire" then
  2071. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  2072. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2073. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2074. else
  2075. if Thing[2] == "Cylinder" then
  2076. Mesh = Thing[7]
  2077. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2078. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2079. else
  2080. if Thing[2] == "Blood" then
  2081. Mesh = Thing[7]
  2082. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  2083. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2084. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2085. else
  2086. if Thing[2] == "Elec" then
  2087. Mesh = Thing[10]
  2088. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2089. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2090. else
  2091. if Thing[2] == "Disappear" then
  2092. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2093. else
  2094. if Thing[2] == "Shatter" then
  2095. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2096. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2097. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2098. Thing[6] = Thing[6] + Thing[5]
  2099. end
  2100. end
  2101. end
  2102. end
  2103. end
  2104. end
  2105. end
  2106. end
  2107. else
  2108. Part.Parent = nil
  2109. table.remove(Effects, e)
  2110. warn("Star Glitcher Loaded.")
  2111. warn("All purpose switcher...")
  2112. warn("Edit By Frepix.")
  2113. warn("Minor Edit By UndeniableInfinity.")
  2114. warn("Please Support The Original Creator Of This Script.")
  2115. plr = game.Players.LocalPlayer
  2116. char = plr.Character
  2117. hum = char.Humanoid
  2118. local cam = game.Workspace.CurrentCamera
  2119. local Controller = plr.PlayerScripts:WaitForChild("ControlScript")
  2120. Camera = cam
  2121. local CamInterrupt = false
  2122. local TwoD = false
  2123. local TargetInfo = {nil, nil}
  2124. cam.CameraType = "Custom"
  2125. t = char.Torso
  2126. h = char.Head
  2127. ra = char["Right Arm"]
  2128. la = char["Left Arm"]
  2129. rl = char["Right Leg"]
  2130. ll = char["Left Leg"]
  2131. tors = char.Torso
  2132. lleg = char["Left Leg"]
  2133. root = char.HumanoidRootPart
  2134. hed = char.Head
  2135. rleg = char["Right Leg"]
  2136. rarm = char["Right Arm"]
  2137. larm = char["Left Arm"]
  2138. radian = math.rad
  2139. random = math.random
  2140. Vec3 = Vector3.new
  2141. Inst = Instance.new
  2142. cFrame = CFrame.new
  2143. Euler = CFrame.fromEulerAnglesXYZ
  2144. vt = Vector3.new
  2145. bc = BrickColor.new
  2146. br = BrickColor.random
  2147. it = Instance.new
  2148. cf = CFrame.new
  2149. local Booleans = {CamFollow = true, GyroUse = true}
  2150. function lerp(object, newCFrame, alpha)
  2151. return object:lerp(newCFrame, alpha)
  2152. end
  2153.  
  2154. ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  2155. ff.Visible = false
  2156.  
  2157.  
  2158. local Directer = Inst("BodyGyro", root)
  2159. Directer.MaxTorque = Vec3(0, 0, 0)
  2160. Directer.P = 600000
  2161. local CPart = Inst("Part")
  2162. CPart.Anchored = true
  2163. CPart.CanCollide = false
  2164. CPart.Locked = true
  2165. CPart.Transparency = 1
  2166. local rainbowmode = false
  2167. local chaosmode = false
  2168. kan = Instance.new("Sound", char)
  2169. kan.Volume = 1.98
  2170. kan.TimePosition = 0
  2171. kan.PlaybackSpeed = 1
  2172. kan.Pitch = 1
  2173. kan.SoundId = "rbxassetid://415898123"
  2174. kan.Name = "wrecked"
  2175. kan.Looped = true
  2176. kan:Play()
  2177. function newTheme(ID, timepos, pitch, vol)
  2178. local kanz = kan
  2179. kanz.PlaybackSpeed = pitch
  2180. kanz.Pitch = pitch
  2181. kanz.SoundId = ID
  2182. kanz.Name = "wrecked"
  2183. kanz.Looped = true
  2184. end
  2185. function CameraShake(Times, Power, PlayerTarget)
  2186. coroutine.resume(coroutine.create(function()
  2187. FV = Instance.new("BoolValue", PlayerTarget)
  2188. FV.Name = "CameraShake"
  2189. for ShakeNum = 1, Times do
  2190. swait()
  2191. local ef = Power
  2192. if ef >= 1 then
  2193. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef))
  2194. else
  2195. ef = Power * 10
  2196. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10)
  2197. end
  2198. end
  2199. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  2200. FV:Destroy()
  2201. end))
  2202. end
  2203. function CameraEnshaking(Length, Intensity)
  2204. coroutine.resume(coroutine.create(function()
  2205. local intensity = 1 * Intensity
  2206. local rotM = 0.01 * Intensity
  2207. for i = 0, Length, 0.1 do
  2208. swait()
  2209. intensity = intensity - 0.05 * Intensity / Length
  2210. rotM = rotM - 5.0E-4 * Intensity / Length
  2211. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  2212. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  2213. end
  2214. Humanoid.CameraOffset = Vec3(0, 0, 0)
  2215. end))
  2216. end
  2217. function CamShake(Part, Distan, Power, Times)
  2218. local de = Part.Position
  2219. for i, v in pairs(workspace:children()) do
  2220. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  2221. for _, c in pairs(v:children()) do
  2222. if c.ClassName == "Part" and Distan > (c.Position - de).magnitude then
  2223. do
  2224. local Noob = v.Humanoid
  2225. if Noob ~= nil then
  2226. coroutine.resume(coroutine.create(function()
  2227. FV = Instance.new("BoolValue", Noob)
  2228. FV.Name = "CameraShake"
  2229. for ShakeNum = 1, Times do
  2230. swait()
  2231. local ef = Power
  2232. if ef >= 1 then
  2233. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef), math.random(-ef, ef), math.random(-ef, ef))
  2234. else
  2235. ef = Power * 10
  2236. Humanoid.CameraOffset = Vector3.new(math.random(-ef, ef) / 10, math.random(-ef, ef) / 10, math.random(-ef, ef) / 10)
  2237. end
  2238. end
  2239. Humanoid.CameraOffset = Vector3.new(0, 0, 0)
  2240. FV:Destroy()
  2241. end))
  2242. CameraShake(Times, Power, Noob)
  2243. end
  2244. end
  2245. end
  2246. end
  2247. end
  2248. end
  2249. end
  2250. function chatfunc(text, color)
  2251. local chat = coroutine.wrap(function()
  2252. if Character:FindFirstChild("TalkingBillBoard") ~= nil then
  2253. Character:FindFirstChild("TalkingBillBoard"):destroy()
  2254. end
  2255. local naeeym2 = Instance.new("BillboardGui", Character)
  2256. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  2257. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  2258. naeeym2.Adornee = Character.Head
  2259. naeeym2.Name = "TalkingBillBoard"
  2260. local tecks2 = Instance.new("TextLabel", naeeym2)
  2261. tecks2.BackgroundTransparency = 1
  2262. tecks2.BorderSizePixel = 0
  2263. tecks2.Text = ""
  2264. tecks2.Font = "SciFi"
  2265. tecks2.TextSize = 30
  2266. tecks2.TextStrokeTransparency = 0
  2267. tecks2.TextColor3 = color
  2268. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  2269. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  2270. local tecks3 = Instance.new("TextLabel", naeeym2)
  2271. tecks3.BackgroundTransparency = 1
  2272. tecks3.BorderSizePixel = 0
  2273. tecks3.Text = ""
  2274. tecks3.Font = "SciFi"
  2275. tecks3.TextSize = 30
  2276. tecks3.TextStrokeTransparency = 0
  2277. tecks3.TextColor3 = Color3.new(0, 0, 0)
  2278. tecks3.TextStrokeColor3 = color
  2279. tecks3.Size = UDim2.new(1, 0, 0.5, 0)
  2280. coroutine.resume(coroutine.create(function()
  2281. while true do
  2282. swait(1)
  2283. if chaosmode == true then
  2284. tecks2.TextColor3 = BrickColor.random().Color
  2285. tecks3.TextStrokeColor3 = BrickColor.random().Color
  2286. end
  2287. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  2288. tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  2289. tecks2.Rotation = math.random(-5, 5)
  2290. tecks3.Rotation = math.random(-5, 5)
  2291. end
  2292. end))
  2293. for i = 1, string.len(text) do
  2294. CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
  2295. tecks2.Text = string.sub(text, 1, i)
  2296. tecks3.Text = string.sub(text, 1, i)
  2297. swait(1)
  2298. end
  2299. wait(1)
  2300. local randomrot = math.random(1, 2)
  2301. if randomrot == 1 then
  2302. for i = 1, 50 do
  2303. swait()
  2304. tecks2.Rotation = tecks2.Rotation - 0.75
  2305. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2306. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  2307. tecks3.Rotation = tecks2.Rotation + 0.75
  2308. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2309. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  2310. end
  2311. elseif randomrot == 2 then
  2312. for i = 1, 50 do
  2313. swait()
  2314. tecks2.Rotation = tecks2.Rotation + 0.75
  2315. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2316. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  2317. tecks3.Rotation = tecks2.Rotation - 0.75
  2318. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2319. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  2320. end
  2321. end
  2322. naeeym2:Destroy()
  2323. end)
  2324. chat()
  2325. end
  2326. local Create = LoadLibrary("RbxUtility").Create
  2327. CFuncs = {
  2328. Part = {
  2329. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2330. local Part = Create("Part")({
  2331. Parent = Parent,
  2332. Reflectance = Reflectance,
  2333. Transparency = Transparency,
  2334. CanCollide = false,
  2335. Locked = true,
  2336. BrickColor = BrickColor.new(tostring(BColor)),
  2337. Name = Name,
  2338. Size = Size,
  2339. Material = Material
  2340. })
  2341. RemoveOutlines(Part)
  2342. return Part
  2343. end
  2344. },
  2345. Mesh = {
  2346. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2347. local Msh = Create(Mesh)({
  2348. Parent = Part,
  2349. Offset = OffSet,
  2350. Scale = Scale
  2351. })
  2352. if Mesh == "SpecialMesh" then
  2353. Msh.MeshType = MeshType
  2354. Msh.MeshId = MeshId
  2355. end
  2356. return Msh
  2357. end
  2358. },
  2359. Mesh = {
  2360. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2361. local Msh = Create(Mesh)({
  2362. Parent = Part,
  2363. Offset = OffSet,
  2364. Scale = Scale
  2365. })
  2366. if Mesh == "SpecialMesh" then
  2367. Msh.MeshType = MeshType
  2368. Msh.MeshId = MeshId
  2369. end
  2370. return Msh
  2371. end
  2372. },
  2373. Weld = {
  2374. Create = function(Parent, Part0, Part1, C0, C1)
  2375. local Weld = Create("Weld")({
  2376. Parent = Parent,
  2377. Part0 = Part0,
  2378. Part1 = Part1,
  2379. C0 = C0,
  2380. C1 = C1
  2381. })
  2382. return Weld
  2383. end
  2384. },
  2385. Sound = {
  2386. Create = function(id, par, vol, pit)
  2387. coroutine.resume(coroutine.create(function()
  2388. local S = Create("Sound")({
  2389. Volume = vol,
  2390. Pitch = pit or 1,
  2391. SoundId = id,
  2392. Parent = par or workspace
  2393. })
  2394. wait()
  2395. S:play()
  2396. game:GetService("Debris"):AddItem(S, 10)
  2397. end))
  2398. end
  2399. },
  2400. LongSound = {
  2401. Create = function(id, par, vol, pit)
  2402. coroutine.resume(coroutine.create(function()
  2403. local S = Create("Sound")({
  2404. Volume = vol,
  2405. Pitch = pit or 1,
  2406. SoundId = id,
  2407. Parent = par or workspace
  2408. })
  2409. wait()
  2410. S:play()
  2411. game:GetService("Debris"):AddItem(S, 30)
  2412. end))
  2413. end
  2414. },
  2415. ParticleEmitter = {
  2416. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2417. local fp = Create("ParticleEmitter")({
  2418. Parent = Parent,
  2419. Color = ColorSequence.new(Color1, Color2),
  2420. LightEmission = LightEmission,
  2421. Size = Size,
  2422. Texture = Texture,
  2423. Transparency = Transparency,
  2424. ZOffset = ZOffset,
  2425. Acceleration = Accel,
  2426. Drag = Drag,
  2427. LockedToPart = LockedToPart,
  2428. VelocityInheritance = VelocityInheritance,
  2429. EmissionDirection = EmissionDirection,
  2430. Enabled = Enabled,
  2431. Lifetime = LifeTime,
  2432. Rate = Rate,
  2433. Rotation = Rotation,
  2434. RotSpeed = RotSpeed,
  2435. Speed = Speed,
  2436. VelocitySpread = VelocitySpread
  2437. })
  2438. return fp
  2439. end
  2440. },
  2441. CreateTemplate = {}
  2442. }
  2443. function New(Object, Parent, Name, Data)
  2444. local Object = Instance.new(Object)
  2445. for Index, Value in pairs(Data or {}) do
  2446. Object[Index] = Value
  2447. end
  2448. Object.Parent = Parent
  2449. Object.Name = Name
  2450. return Object
  2451. end
  2452. local halocolor = BrickColor.new("Pastel light blue")
  2453. local halocolor2 = BrickColor.new("Really black")
  2454. local starcolor = BrickColor.new("Really black")
  2455. local lunacolor = BrickColor.new("Navy blue")
  2456. local lunacolor2 = BrickColor.new("Bright blue")
  2457. local wepcolor = BrickColor.new("Really black")
  2458. local maincolor = BrickColor.new("Really black")
  2459. local m = Instance.new("Model", char)
  2460. local m2 = Instance.new("Model", char)
  2461. local m3 = Instance.new("Model", char)
  2462. local mw1 = Instance.new("Model", char)
  2463. local mw2 = Instance.new("Model", char)
  2464. local extrawingmod1 = Instance.new("Model", char)
  2465. local extrawingmod2 = Instance.new("Model", char)
  2466. function CreateParta(parent, transparency, reflectance, material, brickcolor)
  2467. local p = Instance.new("Part")
  2468. p.TopSurface = 0
  2469. p.BottomSurface = 0
  2470. p.Parent = parent
  2471. p.Size = Vector3.new(0.1, 0.1, 0.1)
  2472. p.Transparency = transparency
  2473. p.Reflectance = reflectance
  2474. p.CanCollide = false
  2475. p.Locked = true
  2476. p.BrickColor = brickcolor
  2477. p.Material = material
  2478. return p
  2479. end
  2480. function CreateMesh(parent, meshtype, x1, y1, z1)
  2481. local mesh = Instance.new("SpecialMesh", parent)
  2482. mesh.MeshType = meshtype
  2483. mesh.Scale = Vector3.new(x1 * 10, y1 * 10, z1 * 10)
  2484. return mesh
  2485. end
  2486. function CreateSpecialMesh(parent, meshid, x1, y1, z1)
  2487. local mesh = Instance.new("SpecialMesh", parent)
  2488. mesh.MeshType = "FileMesh"
  2489. mesh.MeshId = meshid
  2490. mesh.Scale = Vector3.new(x1, y1, z1)
  2491. return mesh
  2492. end
  2493. function CreateSpecialGlowMesh(parent, meshid, x1, y1, z1)
  2494. local mesh = Instance.new("SpecialMesh", parent)
  2495. mesh.MeshType = "FileMesh"
  2496. mesh.MeshId = meshid
  2497. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  2498. mesh.Scale = Vector3.new(x1, y1, z1)
  2499. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  2500. return mesh
  2501. end
  2502. function CreateWeld(parent, part0, part1, C1X, C1Y, C1Z, C1Xa, C1Ya, C1Za, C0X, C0Y, C0Z, C0Xa, C0Ya, C0Za)
  2503. local weld = Instance.new("Weld")
  2504. weld.Parent = parent
  2505. weld.Part0 = part0
  2506. weld.Part1 = part1
  2507. weld.C1 = CFrame.new(C1X, C1Y, C1Z) * CFrame.Angles(C1Xa, C1Ya, C1Za)
  2508. weld.C0 = CFrame.new(C0X, C0Y, C0Z) * CFrame.Angles(C0Xa, C0Ya, C0Za)
  2509. return weld
  2510. end
  2511. local handlex = CreateParta(mw2, 1, 1, "Neon", maincolor)
  2512. CreateMesh(handle, "Brick", 0, 0, 0)
  2513. local handlexweld = CreateWeld(handlex, tors, handlex, 0, -1.5, -1.05, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2514. local valuaring = 10
  2515. for i = 0, 49 do
  2516. valuaring = valuaring + 10
  2517. rn = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2518. CreateMesh(rn, "Brick", 0.25, 0.1, 0.1)
  2519. CreateWeld(rn, handlex, rn, 0, 1, 0, math.rad(0), math.rad(0), math.rad(valuaring), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2520. end
  2521. local handle = CreateParta(m, 1, 1, "Neon", maincolor)
  2522. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2523. local handleweld = CreateWeld(handle, tors, handle, 0, -1.5, -1.05, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2524. local lwing1 = CreateParta(m, 1, 1, "Neon", maincolor)
  2525. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2526. local lwing1weld = CreateWeld(lwing1, handle, lwing1, 3, 0, 0, math.rad(5), math.rad(0), math.rad(12.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2527. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2528. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2529. CreateWeld(wed, lwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2530. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2531. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2532. CreateWeld(wed, lwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2533. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2534. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2535. CreateWeld(wed, lwing1, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2536. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2537. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2538. CreateWeld(wed, lwing1, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2539. local lwing2 = CreateParta(m, 1, 1, "Neon", maincolor)
  2540. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2541. local lwing2weld = CreateWeld(lwing2, handle, lwing2, 4, 1, 0, math.rad(10), math.rad(0), math.rad(25), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2542. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2543. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2544. CreateWeld(wed, lwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2545. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2546. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2547. CreateWeld(wed, lwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2548. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2549. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2550. CreateWeld(wed, lwing2, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2551. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2552. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2553. CreateWeld(wed, lwing2, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2554. local lwing3 = CreateParta(m, 1, 1, "Neon", maincolor)
  2555. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2556. local lwing3weld = CreateWeld(lwing3, handle, lwing3, 4.75, 2, 0, math.rad(15), math.rad(0), math.rad(37.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2557. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2558. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2559. CreateWeld(wed, lwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2560. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2561. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2562. CreateWeld(wed, lwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2563. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2564. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2565. CreateWeld(wed, lwing3, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2566. wed = CreateParta(mw1, 0, 0, "Neon", halocolor)
  2567. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2568. CreateWeld(wed, lwing3, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2569. local lwing4 = CreateParta(m, 1, 1, "Neon", maincolor)
  2570. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2571. local lwing4weld = CreateWeld(lwing4, handle, lwing4, 5.75, 3, 0, math.rad(20), math.rad(0), math.rad(50), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2572. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2573. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2574. CreateWeld(wed, lwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2575. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2576. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2577. CreateWeld(wed, lwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2578. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2579. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2580. CreateWeld(wed, lwing4, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2581. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2582. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2583. CreateWeld(wed, lwing4, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2584. local lwing5 = CreateParta(m, 1, 1, "Neon", maincolor)
  2585. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2586. local lwing5weld = CreateWeld(lwing5, handle, lwing5, 6.75, 4, 0, math.rad(25), math.rad(0), math.rad(62.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2587. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2588. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2589. CreateWeld(wed, lwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2590. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2591. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2592. CreateWeld(wed, lwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2593. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2594. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2595. CreateWeld(wed, lwing5, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2596. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2597. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2598. CreateWeld(wed, lwing5, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2599. local lwing6 = CreateParta(m, 1, 1, "Neon", maincolor)
  2600. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2601. local lwing6weld = CreateWeld(lwing6, handle, lwing6, 7.75, 5, 0, math.rad(30), math.rad(0), math.rad(75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2602. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2603. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2604. CreateWeld(wed, lwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2605. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2606. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2607. CreateWeld(wed, lwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2608. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2609. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2610. CreateWeld(wed, lwing6, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2611. wed = CreateParta(extrawingmod1, 0, 0, "Neon", halocolor)
  2612. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2613. CreateWeld(wed, lwing6, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2614. local rwing1 = CreateParta(m, 1, 1, "Neon", maincolor)
  2615. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2616. local rwing1weld = CreateWeld(rwing1, handle, rwing1, -3, 0, 0, math.rad(5), math.rad(0), math.rad(-12.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2617. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2618. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2619. CreateWeld(wed, rwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2620. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2621. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2622. CreateWeld(wed, rwing1, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2623. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2624. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2625. CreateWeld(wed, rwing1, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2626. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2627. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2628. CreateWeld(wed, rwing1, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2629. local rwing2 = CreateParta(m, 1, 1, "Neon", maincolor)
  2630. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2631. local rwing2weld = CreateWeld(rwing2, handle, rwing2, -4, 1, 0, math.rad(10), math.rad(0), math.rad(-25), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2632. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2633. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2634. CreateWeld(wed, rwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2635. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2636. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2637. CreateWeld(wed, rwing2, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2638. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2639. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2640. CreateWeld(wed, rwing2, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2641. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2642. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2643. CreateWeld(wed, rwing2, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2644. local rwing3 = CreateParta(m, 1, 1, "Neon", maincolor)
  2645. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2646. local rwing3weld = CreateWeld(rwing3, handle, rwing3, -4.75, 2, 0, math.rad(15), math.rad(0), math.rad(-37.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2647. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2648. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2649. CreateWeld(wed, rwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2650. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2651. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2652. CreateWeld(wed, rwing3, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2653. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2654. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2655. CreateWeld(wed, rwing3, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2656. wed = CreateParta(mw2, 0, 0, "Neon", halocolor)
  2657. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2658. CreateWeld(wed, rwing3, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2659. local rwing4 = CreateParta(m, 1, 1, "Neon", maincolor)
  2660. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2661. local rwing4weld = CreateWeld(rwing4, handle, rwing4, -5.75, 3, 0, math.rad(20), math.rad(0), math.rad(-50), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2662. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2663. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2664. CreateWeld(wed, rwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2665. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2666. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2667. CreateWeld(wed, rwing4, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2668. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2669. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2670. CreateWeld(wed, rwing4, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2671. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2672. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2673. CreateWeld(wed, rwing4, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2674. local rwing5 = CreateParta(m, 1, 1, "Neon", maincolor)
  2675. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2676. local rwing5weld = CreateWeld(rwing5, handle, rwing5, -6.75, 4, 0, math.rad(25), math.rad(0), math.rad(-62.5), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2677. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2678. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2679. CreateWeld(wed, rwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2680. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2681. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2682. CreateWeld(wed, rwing5, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2683. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2684. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2685. CreateWeld(wed, rwing5, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2686. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2687. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2688. CreateWeld(wed, rwing5, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2689. local rwing6 = CreateParta(m, 1, 1, "Neon", maincolor)
  2690. CreateMesh(handle, "Brick", 0.5, 0.5, 0.5)
  2691. local rwing6weld = CreateWeld(rwing6, handle, rwing6, -7.75, 3, 0, math.rad(30), math.rad(0), math.rad(-75), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2692. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2693. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2694. CreateWeld(wed, rwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2695. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2696. CreateMesh(wed, "Wedge", 0.05, 0.5, 0.5)
  2697. CreateWeld(wed, rwing6, wed, 0, 0, 0.25, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2698. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2699. CreateMesh(wed, "Wedge", 0.05, 0.5, 3)
  2700. CreateWeld(wed, rwing6, wed, 0, -0.25, 1.75, math.rad(0), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2701. wed = CreateParta(extrawingmod2, 0, 0, "Neon", halocolor)
  2702. CreateMesh(wed, "Wedge", 0.05, 3, 0.5)
  2703. CreateWeld(wed, rwing6, wed, 0, -1.75, 0.25, math.rad(90), math.rad(90), math.rad(90), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2704. ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor)
  2705. CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02)
  2706. CreateWeld(ran, larm, ran, 0, 0.15, 0, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2707. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2708. CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025)
  2709. CreateWeld(ran, larm, ran, 0, 0.155, 0, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2710. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2711. CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9)
  2712. CreateWeld(ran, larm, ran, 0, 0.155, -0.025, math.rad(0), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2713. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2714. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  2715. CreateWeld(gan, larm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2716. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2717. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  2718. CreateWeld(gan, larm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2719. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  2720. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  2721. CreateWeld(gan, larm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2722. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  2723. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  2724. CreateWeld(gan, larm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2725. gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2)
  2726. CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625)
  2727. CreateWeld(gane, larm, gane, 0, 0.6, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2728. star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2729. CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5)
  2730. CreateWeld(star, larm, star, 0, 0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2731. starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor)
  2732. CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95)
  2733. CreateWeld(starl, larm, starl, 0, 0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2734. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2735. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2736. CreateWeld(dotsec, larm, dotsec, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2737. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2738. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2739. CreateWeld(dotseca, larm, dotseca, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2740. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2741. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2742. CreateWeld(dotsecb, larm, dotsecb, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2743. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2744. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2745. CreateWeld(dotsec, larm, dotsec, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2746. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2747. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2748. CreateWeld(dotseca, larm, dotseca, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2749. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2750. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2751. CreateWeld(dotsecb, larm, dotsecb, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2752. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2753. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2754. CreateWeld(dotsec, larm, dotsec, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2755. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2756. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2757. CreateWeld(dotseca, larm, dotseca, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2758. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2759. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2760. CreateWeld(dotsecb, larm, dotsecb, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2761. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2762. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2763. CreateWeld(dotsec, larm, dotsec, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2764. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2765. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2766. CreateWeld(dotseca, larm, dotseca, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2767. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2768. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2769. CreateWeld(dotsecb, larm, dotsecb, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2770. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2771. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2772. CreateWeld(dotsec, larm, dotsec, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2773. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2774. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2775. CreateWeld(dotseca, larm, dotseca, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2776. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2777. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2778. CreateWeld(dotsecb, larm, dotsecb, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2779. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2780. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2781. CreateWeld(dotsec, larm, dotsec, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2782. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2783. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2784. CreateWeld(dotseca, larm, dotseca, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2785. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2786. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2787. CreateWeld(dotsecb, larm, dotsecb, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2788. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2789. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2790. CreateWeld(dotsec, larm, dotsec, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2791. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2792. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2793. CreateWeld(dotseca, larm, dotseca, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2794. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2795. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2796. CreateWeld(dotsecb, larm, dotsecb, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2797. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2798. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2799. CreateWeld(dotsec, larm, dotsec, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2800. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2801. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2802. CreateWeld(dotseca, larm, dotseca, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2803. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2804. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2805. CreateWeld(dotsecb, larm, dotsecb, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2806. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2807. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2808. CreateWeld(dotsec, larm, dotsec, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2809. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2810. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2811. CreateWeld(dotseca, larm, dotseca, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2812. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2813. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2814. CreateWeld(dotsecb, larm, dotsecb, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2815. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2816. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2817. CreateWeld(dotsec, larm, dotsec, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2818. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2819. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2820. CreateWeld(dotseca, larm, dotseca, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2821. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2822. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2823. CreateWeld(dotsecb, larm, dotsecb, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2824. ran = CreateParta(m2, 0, 0, "SmoothPlastic", wepcolor)
  2825. CreateMesh(ran, "Wedge", 1.02, 1.02, 1.02)
  2826. CreateWeld(ran, rarm, ran, 0, 0.15, 0, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2827. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2828. CreateMesh(ran, "Wedge", 0.9, 0.9, 1.025)
  2829. CreateWeld(ran, rarm, ran, 0, 0.155, 0, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2830. ran = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2831. CreateMesh(ran, "Wedge", 1.025, 0.9, 0.9)
  2832. CreateWeld(ran, rarm, ran, 0, 0.155, -0.025, math.rad(0), math.rad(-90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2833. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2834. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  2835. CreateWeld(gan, rarm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2836. gan = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2837. CreateMesh(gan, "Brick", 1.075, 0.1, 1.075)
  2838. CreateWeld(gan, rarm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2839. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  2840. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  2841. CreateWeld(gan, rarm, gan, 0, 0.5, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2842. gan = CreateParta(m2, 0, 0, "Neon", halocolor2)
  2843. CreateMesh(gan, "Brick", 1.095, 0.035, 1.095)
  2844. CreateWeld(gan, rarm, gan, 0, 0.75, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2845. gane = CreateParta(m3, 0, 0, "SmoothPlastic", lunacolor2)
  2846. CreateMesh(gane, "Brick", 1.0625, 0.2, 1.0625)
  2847. CreateWeld(gane, rarm, gane, 0, 0.6, 0, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2848. star = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2849. CreateSpecialMesh(star, "http://www.roblox.com/asset/?id=45428961", 2.5, 2.5, 2.5)
  2850. CreateWeld(star, rarm, star, 0, -0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2851. starl = CreateParta(m3, 0, 0, "SmoothPlastic", starcolor)
  2852. CreateSpecialMesh(starl, "http://www.roblox.com/asset/?id=45428961", 1.95, 2.55, 1.95)
  2853. CreateWeld(starl, rarm, starl, 0, -0.475, 0.6, math.rad(90), math.rad(90), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2854. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2855. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2856. CreateWeld(dotsec, rarm, dotsec, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2857. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2858. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2859. CreateWeld(dotseca, rarm, dotseca, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2860. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2861. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2862. CreateWeld(dotsecb, rarm, dotsecb, 0, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2863. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2864. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2865. CreateWeld(dotsec, rarm, dotsec, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2866. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2867. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2868. CreateWeld(dotseca, rarm, dotseca, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2869. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2870. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2871. CreateWeld(dotsecb, rarm, dotsecb, 0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2872. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2873. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2874. CreateWeld(dotsec, rarm, dotsec, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2875. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2876. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2877. CreateWeld(dotseca, rarm, dotseca, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2878. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2879. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2880. CreateWeld(dotsecb, rarm, dotsecb, 0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2881. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2882. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2883. CreateWeld(dotsec, rarm, dotsec, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2884. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2885. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2886. CreateWeld(dotseca, rarm, dotseca, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2887. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2888. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2889. CreateWeld(dotsecb, rarm, dotsecb, -0.2, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2890. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2891. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2892. CreateWeld(dotsec, rarm, dotsec, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2893. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2894. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2895. CreateWeld(dotseca, rarm, dotseca, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2896. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2897. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2898. CreateWeld(dotsecb, rarm, dotsecb, -0.4, 0.635, -0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2899. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2900. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2901. CreateWeld(dotsec, rarm, dotsec, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2902. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2903. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2904. CreateWeld(dotseca, rarm, dotseca, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2905. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2906. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2907. CreateWeld(dotsecb, rarm, dotsecb, 0, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2908. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2909. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2910. CreateWeld(dotsec, rarm, dotsec, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2911. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2912. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2913. CreateWeld(dotseca, rarm, dotseca, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2914. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2915. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2916. CreateWeld(dotsecb, rarm, dotsecb, 0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2917. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2918. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2919. CreateWeld(dotsec, rarm, dotsec, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2920. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2921. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2922. CreateWeld(dotseca, rarm, dotseca, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2923. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2924. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2925. CreateWeld(dotsecb, rarm, dotsecb, 0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2926. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2927. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2928. CreateWeld(dotsec, rarm, dotsec, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2929. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2930. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2931. CreateWeld(dotseca, rarm, dotseca, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2932. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2933. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2934. CreateWeld(dotsecb, rarm, dotsecb, -0.2, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2935. dotsec = CreateParta(m3, 0, 0, "Neon", halocolor)
  2936. CreateMesh(dotsec, "Sphere", 0.1, 0.1, 0.15)
  2937. CreateWeld(dotsec, rarm, dotsec, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2938. dotseca = CreateParta(m, 0, 0, "SmoothPlastic", wepcolor)
  2939. CreateMesh(dotseca, "Sphere", 0.2, 0.2, 0.1)
  2940. CreateWeld(dotseca, rarm, dotseca, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2941. dotsecb = CreateParta(m2, 0, 0, "SmoothPlastic", lunacolor)
  2942. CreateMesh(dotsecb, "Sphere", 0.15, 0.15, 0.125)
  2943. CreateWeld(dotsecb, rarm, dotsecb, -0.4, 0.635, 0.5, math.rad(0), math.rad(0), math.rad(0), 0, 0, 0, math.rad(0), math.rad(0), math.rad(0))
  2944. for i, v in pairs(m:GetChildren()) do
  2945. if v:IsA("Part") then
  2946. v.BrickColor = BrickColor.new("Really black")
  2947. v.Material = "Glass"
  2948. end
  2949. end
  2950. for i, v in pairs(m2:GetChildren()) do
  2951. if v:IsA("Part") then
  2952. v.BrickColor = BrickColor.new("Crimson")
  2953. v.Material = "Granite"
  2954. end
  2955. end
  2956. for i, v in pairs(m3:GetChildren()) do
  2957. if v:IsA("Part") then
  2958. v.BrickColor = BrickColor.new("Really red")
  2959. v.Material = "Neon"
  2960. end
  2961. end
  2962. for i, v in pairs(mw2:GetChildren()) do
  2963. if v:IsA("Part") then
  2964. v.BrickColor = BrickColor.new("Really red")
  2965. v.Material = "Neon"
  2966. end
  2967. end
  2968. for i, v in pairs(mw1:GetChildren()) do
  2969. if v:IsA("Part") then
  2970. v.Transparency = 1
  2971. v.BrickColor = BrickColor.new("Really red")
  2972. v.Material = "Neon"
  2973. end
  2974. end
  2975. for i, v in pairs(extrawingmod1:GetChildren()) do
  2976. if v:IsA("Part") then
  2977. v.Transparency = 1
  2978. v.BrickColor = BrickColor.new("White")
  2979. v.Material = "Neon"
  2980. end
  2981. end
  2982. for i, v in pairs(extrawingmod2:GetChildren()) do
  2983. if v:IsA("Part") then
  2984. v.Transparency = 1
  2985. v.BrickColor = BrickColor.new("White")
  2986. v.Material = "Neon"
  2987. end
  2988. end
  2989.  
  2990. FHead = New("Part",char,"FHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  2991. Mesh = New("SpecialMesh",FHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  2992. Weld = New("Weld",FHead,"mot",{Part0 = FHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  2993. FHead.CanCollide = false
  2994.  
  2995.  
  2996.  
  2997. local MAINRUINCOLOR = BrickColor.new("Really red")
  2998. function RemoveOutlines(part)
  2999. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  3000. end
  3001. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  3002. local Part = Create("Part")({
  3003. Parent = Parent,
  3004. Reflectance = Reflectance,
  3005. Transparency = Transparency,
  3006. CanCollide = false,
  3007. Locked = true,
  3008. BrickColor = BrickColor.new(tostring(BColor)),
  3009. Name = Name,
  3010. Size = Size,
  3011. Material = Material
  3012. })
  3013. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  3014. RemoveOutlines(Part)
  3015. return Part
  3016. end
  3017. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3018. local Msh = Create(Mesh)({
  3019. Parent = Part,
  3020. Offset = OffSet,
  3021. Scale = Scale
  3022. })
  3023. if Mesh == "SpecialMesh" then
  3024. Msh.MeshType = MeshType
  3025. Msh.MeshId = MeshId
  3026. end
  3027. return Msh
  3028. end
  3029. function CreateWeld(Parent, Part0, Part1, C0, C1)
  3030. local Weld = Create("Weld")({
  3031. Parent = Parent,
  3032. Part0 = Part0,
  3033. Part1 = Part1,
  3034. C0 = C0,
  3035. C1 = C1
  3036. })
  3037. return Weld
  3038. end
  3039. Player = game:GetService("Players").LocalPlayer
  3040. Character = Player.Character
  3041. PlayerGui = Player.PlayerGui
  3042. Backpack = Player.Backpack
  3043. Torso = Character.Torso
  3044. Head = Character.Head
  3045. Humanoid = Character.Humanoid
  3046. m = Instance.new("Model", Character)
  3047. LeftArm = Character["Left Arm"]
  3048. LeftLeg = Character["Left Leg"]
  3049. RightArm = Character["Right Arm"]
  3050. RightLeg = Character["Right Leg"]
  3051. LS = Torso["Left Shoulder"]
  3052. LH = Torso["Left Hip"]
  3053. RS = Torso["Right Shoulder"]
  3054. RH = Torso["Right Hip"]
  3055. Face = Head.face
  3056. Neck = Torso.Neck
  3057. it = Instance.new
  3058. attacktype = 1
  3059. vt = Vector3.new
  3060. cf = CFrame.new
  3061. euler = CFrame.fromEulerAnglesXYZ
  3062. angles = CFrame.Angles
  3063. cloaked = false
  3064. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3065. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3066. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3067. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  3068. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3069. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3070. RootPart = Character.HumanoidRootPart
  3071. RootJoint = RootPart.RootJoint
  3072. RootCF = euler(-1.57, 0, 3.14)
  3073. attack = false
  3074. attackdebounce = false
  3075. deb = false
  3076. equipped = true
  3077. hand = false
  3078. MMouse = nil
  3079. combo = 0
  3080. mana = 0
  3081. trispeed = 0.2
  3082. attackmode = "none"
  3083. local idle = 0
  3084. local Anim = "Idle"
  3085. local Effects = {}
  3086. local gun = false
  3087. local shoot = false
  3088. local sine = 0
  3089. local change = 1
  3090. player = nil
  3091. local toggleTag = true
  3092. local txt = Instance.new("BillboardGui", Head)
  3093. txt.Adornee = nil
  3094. txt.Name = "NameDetect"
  3095. txt.Size = UDim2.new(4, 0, 1.2, 0)
  3096. txt.StudsOffset = Vector3.new(-8, 5.333333333333333, 0)
  3097. local text = Instance.new("TextLabel", txt)
  3098. text.Size = UDim2.new(5, 0, 3.5, 0)
  3099. text.FontSize = "Size8"
  3100. text.TextScaled = true
  3101. text.TextTransparency = 0
  3102. text.BackgroundTransparency = 1
  3103. text.TextTransparency = 0
  3104. text.TextStrokeTransparency = 0
  3105. text.Font = "Fantasy"
  3106. text.TextStrokeColor3 = Color3.new(1, 0, 0)
  3107. text.TextColor3 = Color3.new(0, 0, 0)
  3108. text.Text = "Sweet Dreams"
  3109. function RecolorTextAndRename(name, col1, col2)
  3110. text.TextStrokeColor3 = col2
  3111. text.TextColor3 = col1
  3112. text.Text = name
  3113. end
  3114. mouse = Player:GetMouse()
  3115. RSH, LSH = nil, nil
  3116. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  3117. RW.Name = "Right Shoulder"
  3118. LW.Name = "Left Shoulder"
  3119. LH = Torso["Left Hip"]
  3120. RH = Torso["Right Hip"]
  3121. TorsoColor = Torso.BrickColor
  3122. function NoOutline(Part)
  3123. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  3124. end
  3125. player = Player
  3126. ch = Character
  3127. RSH = ch.Torso["Right Shoulder"]
  3128. LSH = ch.Torso["Left Shoulder"]
  3129. RSH.Parent = nil
  3130. LSH.Parent = nil
  3131. RW.Name = "Right Shoulder"
  3132. RW.Part0 = ch.Torso
  3133. RW.C0 = cf(1.5, 0.5, 0)
  3134. RW.C1 = cf(0, 0.5, 0)
  3135. RW.Part1 = ch["Right Arm"]
  3136. RW.Parent = ch.Torso
  3137. LW.Name = "Left Shoulder"
  3138. LW.Part0 = ch.Torso
  3139. LW.C0 = cf(-1.5, 0.5, 0)
  3140. LW.C1 = cf(0, 0.5, 0)
  3141. LW.Part1 = ch["Left Arm"]
  3142. LW.Parent = ch.Torso
  3143. local Stats = Instance.new("BoolValue")
  3144. Stats.Name = "Stats"
  3145. Stats.Parent = Character
  3146. local Atk = Instance.new("NumberValue")
  3147. Atk.Name = "Damage"
  3148. Atk.Parent = Stats
  3149. Atk.Value = 1
  3150. local Def = Instance.new("NumberValue")
  3151. Def.Name = "Defense"
  3152. Def.Parent = Stats
  3153. Def.Value = 1
  3154. local Speed = Instance.new("NumberValue")
  3155. Speed.Name = "Speed"
  3156. Speed.Parent = Stats
  3157. Speed.Value = 1
  3158. local Mvmt = Instance.new("NumberValue")
  3159. Mvmt.Name = "Movement"
  3160. Mvmt.Parent = Stats
  3161. Mvmt.Value = 1
  3162. local donum = 0
  3163. function part(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  3164. local fp = it("Part")
  3165. fp.formFactor = formfactor
  3166. fp.Parent = parent
  3167. fp.Reflectance = reflectance
  3168. fp.Transparency = transparency
  3169. fp.CanCollide = false
  3170. fp.Locked = true
  3171. fp.BrickColor = brickcolor
  3172. fp.Name = name
  3173. fp.Size = size
  3174. fp.Position = Torso.Position
  3175. NoOutline(fp)
  3176. fp.Material = "SmoothPlastic"
  3177. fp:BreakJoints()
  3178. return fp
  3179. end
  3180. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  3181. local mesh = it(Mesh)
  3182. mesh.Parent = part
  3183. if Mesh == "SpecialMesh" then
  3184. mesh.MeshType = meshtype
  3185. if meshid ~= "nil" then
  3186. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  3187. end
  3188. end
  3189. mesh.Offset = offset
  3190. mesh.Scale = scale
  3191. return mesh
  3192. end
  3193. function weld(parent, part0, part1, c0)
  3194. local weld = it("Weld")
  3195. weld.Parent = parent
  3196. weld.Part0 = part0
  3197. weld.Part1 = part1
  3198. weld.C0 = c0
  3199. return weld
  3200. end
  3201. local Color1 = Torso.BrickColor
  3202. local bodvel = Instance.new("BodyVelocity")
  3203. local bg = Instance.new("BodyGyro")
  3204. function swait(num)
  3205. if num == 0 or num == nil then
  3206. game:service("RunService").Stepped:wait(0)
  3207. else
  3208. for i = 0, num do
  3209. game:service("RunService").Stepped:wait(0)
  3210. end
  3211. end
  3212. end
  3213. local r = 255
  3214. local g = 0
  3215. local b = 0
  3216. coroutine.resume(coroutine.create(function()
  3217. while wait() do
  3218. for i = 0, 50.8 do
  3219. swait()
  3220. g = g + 5
  3221. end
  3222. for i = 0, 50.8 do
  3223. swait()
  3224. r = r - 5
  3225. end
  3226. for i = 0, 50.8 do
  3227. swait()
  3228. b = b + 5
  3229. end
  3230. for i = 0, 50.8 do
  3231. swait()
  3232. g = g - 5
  3233. end
  3234. for i = 0, 50.8 do
  3235. swait()
  3236. r = r + 5
  3237. end
  3238. for i = 0, 50.8 do
  3239. swait()
  3240. b = b - 5
  3241. end
  3242. end
  3243. end))
  3244. function so(id, par, vol, pit)
  3245. coroutine.resume(coroutine.create(function()
  3246. local sou = Instance.new("Sound", par or workspace)
  3247. sou.Volume = vol
  3248. sou.Pitch = pit or 1
  3249. sou.SoundId = id
  3250. swait()
  3251. sou:play()
  3252. game:GetService("Debris"):AddItem(sou, 6)
  3253. end))
  3254. end
  3255. function clerp(a, b, t)
  3256. local qa = {
  3257. QuaternionFromCFrame(a)
  3258. }
  3259. local qb = {
  3260. QuaternionFromCFrame(b)
  3261. }
  3262. local ax, ay, az = a.x, a.y, a.z
  3263. local bx, by, bz = b.x, b.y, b.z
  3264. local _t = 1 - t
  3265. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  3266. end
  3267. function QuaternionFromCFrame(cf)
  3268. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3269. local trace = m00 + m11 + m22
  3270. if trace > 0 then
  3271. local s = math.sqrt(1 + trace)
  3272. local recip = 0.5 / s
  3273. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  3274. else
  3275. local i = 0
  3276. if m00 < m11 then
  3277. i = 1
  3278. end
  3279. if m22 > (i == 0 and m00 or m11) then
  3280. i = 2
  3281. end
  3282. if i == 0 then
  3283. local s = math.sqrt(m00 - m11 - m22 + 1)
  3284. local recip = 0.5 / s
  3285. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  3286. elseif i == 1 then
  3287. local s = math.sqrt(m11 - m22 - m00 + 1)
  3288. local recip = 0.5 / s
  3289. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  3290. elseif i == 2 then
  3291. local s = math.sqrt(m22 - m00 - m11 + 1)
  3292. local recip = 0.5 / s
  3293. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  3294. end
  3295. end
  3296. end
  3297. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  3298. local xs, ys, zs = x + x, y + y, z + z
  3299. local wx, wy, wz = w * xs, w * ys, w * zs
  3300. local xx = x * xs
  3301. local xy = x * ys
  3302. local xz = x * zs
  3303. local yy = y * ys
  3304. local yz = y * zs
  3305. local zz = z * zs
  3306. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  3307. end
  3308. function QuaternionSlerp(a, b, t)
  3309. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  3310. local startInterp, finishInterp
  3311. if cosTheta >= 1.0E-4 then
  3312. if 1 - cosTheta > 1.0E-4 then
  3313. local theta = math.acos(cosTheta)
  3314. local invSinTheta = 1 / math.sin(theta)
  3315. startInterp = math.sin((1 - t) * theta) * invSinTheta
  3316. finishInterp = math.sin(t * theta) * invSinTheta
  3317. else
  3318. startInterp = 1 - t
  3319. finishInterp = t
  3320. end
  3321. elseif 1 + cosTheta > 1.0E-4 then
  3322. local theta = math.acos(-cosTheta)
  3323. local invSinTheta = 1 / math.sin(theta)
  3324. startInterp = math.sin((t - 1) * theta) * invSinTheta
  3325. finishInterp = math.sin(t * theta) * invSinTheta
  3326. else
  3327. startInterp = t - 1
  3328. finishInterp = t
  3329. end
  3330. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  3331. end
  3332. local CFrameFromTopBack = function(at, top, back)
  3333. local right = top:Cross(back)
  3334. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  3335. end
  3336. function Triangle(a, b, c)
  3337. local edg1 = (c - a):Dot((b - a).unit)
  3338. local edg2 = (a - b):Dot((c - b).unit)
  3339. local edg3 = (b - c):Dot((a - c).unit)
  3340. if edg1 <= (b - a).magnitude and edg1 >= 0 then
  3341. a, b = a, b
  3342. elseif edg2 <= (c - b).magnitude and edg2 >= 0 then
  3343. a, b, c = b, c, a
  3344. elseif edg3 <= (a - c).magnitude and edg3 >= 0 then
  3345. a, b, c = c, a, b
  3346. else
  3347. assert(false, "unreachable")
  3348. end
  3349. local len1 = (c - a):Dot((b - a).unit)
  3350. local len2 = (b - a).magnitude - len1
  3351. local width = (a + (b - a).unit * len1 - c).magnitude
  3352. local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit)
  3353. local list = {}
  3354. if len1 > 0.01 then
  3355. local w1 = Instance.new("WedgePart", m)
  3356. game:GetService("Debris"):AddItem(w1, 5)
  3357. w1.Material = "SmoothPlastic"
  3358. w1.FormFactor = "Custom"
  3359. w1.BrickColor = BrickColor.new("Really red")
  3360. w1.Transparency = 0
  3361. w1.Reflectance = 0
  3362. w1.Material = "SmoothPlastic"
  3363. w1.CanCollide = false
  3364. local l1 = Instance.new("PointLight", w1)
  3365. l1.Color = Color3.new(170, 0, 0)
  3366. NoOutline(w1)
  3367. local sz = Vector3.new(0.2, width, len1)
  3368. w1.Size = sz
  3369. local sp = Instance.new("SpecialMesh", w1)
  3370. sp.MeshType = "Wedge"
  3371. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  3372. w1:BreakJoints()
  3373. w1.Anchored = true
  3374. w1.Parent = workspace
  3375. w1.Transparency = 0.7
  3376. table.insert(Effects, {
  3377. w1,
  3378. "Disappear",
  3379. 0.01
  3380. })
  3381. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  3382. table.insert(list, w1)
  3383. end
  3384. if len2 > 0.01 then
  3385. local w2 = Instance.new("WedgePart", m)
  3386. game:GetService("Debris"):AddItem(w2, 5)
  3387. w2.Material = "SmoothPlastic"
  3388. w2.FormFactor = "Custom"
  3389. w2.BrickColor = BrickColor.new("Really red")
  3390. w2.Transparency = 0
  3391. w2.Reflectance = 0
  3392. w2.Material = "SmoothPlastic"
  3393. w2.CanCollide = false
  3394. local l2 = Instance.new("PointLight", w2)
  3395. l2.Color = Color3.new(170, 0, 0)
  3396. NoOutline(w2)
  3397. local sz = Vector3.new(0.2, width, len2)
  3398. w2.Size = sz
  3399. local sp = Instance.new("SpecialMesh", w2)
  3400. sp.MeshType = "Wedge"
  3401. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  3402. w2:BreakJoints()
  3403. w2.Anchored = true
  3404. w2.Parent = workspace
  3405. w2.Transparency = 0.7
  3406. table.insert(Effects, {
  3407. w2,
  3408. "Disappear",
  3409. 0.01
  3410. })
  3411. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  3412. table.insert(list, w2)
  3413. end
  3414. return unpack(list)
  3415. end
  3416. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  3417. if hit.Parent == nil then
  3418. return
  3419. end
  3420. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  3421. for _, v in pairs(hit.Parent:children()) do
  3422. if v:IsA("Humanoid") then
  3423. h = v
  3424. end
  3425. end
  3426. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  3427. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  3428. return
  3429. end
  3430. local c = Create("ObjectValue")({
  3431. Name = "creator",
  3432. Value = game:service("Players").LocalPlayer,
  3433. Parent = h
  3434. })
  3435. game:GetService("Debris"):AddItem(c, 0.5)
  3436. if HitSound ~= nil and HitPitch ~= nil then
  3437. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  3438. end
  3439. local Damage = math.random(minim, maxim)
  3440. local blocked = false
  3441. local block = hit.Parent:findFirstChild("Block")
  3442. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  3443. blocked = true
  3444. block.Value = block.Value - 1
  3445. print(block.Value)
  3446. end
  3447. if blocked == false then
  3448. HitHealth = h.Health
  3449. h.Health = h.Health - Damage
  3450. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  3451. print("gained kill")
  3452. end
  3453. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  3454. else
  3455. h.Health = h.Health - Damage / 2
  3456. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  3457. end
  3458. if Type == "Knockdown" then
  3459. local hum = hit.Parent.Humanoid
  3460. hum.PlatformStand = true
  3461. coroutine.resume(coroutine.create(function(HHumanoid)
  3462. swait(1)
  3463. HHumanoid.PlatformStand = false
  3464. end), hum)
  3465. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3466. local bodvol = Create("BodyVelocity")({
  3467. velocity = angle * knockback,
  3468. P = 5000,
  3469. maxForce = Vector3.new(8000, 8000, 8000),
  3470. Parent = hit
  3471. })
  3472. local rl = Create("BodyAngularVelocity")({
  3473. P = 3000,
  3474. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  3475. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  3476. Parent = hit
  3477. })
  3478. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3479. game:GetService("Debris"):AddItem(rl, 0.5)
  3480. elseif Type == "Normal" then
  3481. local vp = Create("BodyVelocity")({
  3482. P = 500,
  3483. maxForce = Vector3.new(math.huge, 0, math.huge),
  3484. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3485. })
  3486. if knockback > 0 then
  3487. vp.Parent = hit.Parent.Head
  3488. end
  3489. game:GetService("Debris"):AddItem(vp, 0.5)
  3490. elseif Type == "Up" then
  3491. local bodyVelocity = Create("BodyVelocity")({
  3492. velocity = Vector3.new(0, 20, 0),
  3493. P = 5000,
  3494. maxForce = Vector3.new(8000, 8000, 8000),
  3495. Parent = hit
  3496. })
  3497. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3498. local bodyVelocity = Create("BodyVelocity")({
  3499. velocity = Vector3.new(0, 20, 0),
  3500. P = 5000,
  3501. maxForce = Vector3.new(8000, 8000, 8000),
  3502. Parent = hit
  3503. })
  3504. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3505. elseif Type == "Leech" then
  3506. local hum = hit.Parent.Humanoid
  3507. if hum ~= nil then
  3508. for i = 0, 2 do
  3509. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  3510. end
  3511. Humanoid.Health = Humanoid.Health + 10
  3512. end
  3513. elseif Type == "UpKnock" then
  3514. local hum = hit.Parent.Humanoid
  3515. hum.PlatformStand = true
  3516. if hum ~= nil then
  3517. hitr = true
  3518. end
  3519. coroutine.resume(coroutine.create(function(HHumanoid)
  3520. swait(5)
  3521. HHumanoid.PlatformStand = false
  3522. hitr = false
  3523. end), hum)
  3524. local bodyVelocity = Create("BodyVelocity")({
  3525. velocity = Vector3.new(0, 20, 0),
  3526. P = 5000,
  3527. maxForce = Vector3.new(8000, 8000, 8000),
  3528. Parent = hit
  3529. })
  3530. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3531. local bodyVelocity = Create("BodyVelocity")({
  3532. velocity = Vector3.new(0, 20, 0),
  3533. P = 5000,
  3534. maxForce = Vector3.new(8000, 8000, 8000),
  3535. Parent = hit
  3536. })
  3537. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3538. elseif Type == "Snare" then
  3539. local bp = Create("BodyPosition")({
  3540. P = 2000,
  3541. D = 100,
  3542. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3543. position = hit.Parent.Torso.Position,
  3544. Parent = hit.Parent.Torso
  3545. })
  3546. game:GetService("Debris"):AddItem(bp, 1)
  3547. elseif Type == "Slashnare" then
  3548. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 60, 60, 60, 12, 12, 12, 0.07)
  3549. for i = 1, math.random(4, 5) do
  3550. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  3551. end
  3552. local bp = Create("BodyPosition")({
  3553. P = 2000,
  3554. D = 100,
  3555. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3556. position = hit.Parent.Torso.Position,
  3557. Parent = hit.Parent.Torso
  3558. })
  3559. game:GetService("Debris"):AddItem(bp, 1)
  3560. elseif Type == "Spike" then
  3561. CreateBigIceSword(hit.Parent.Torso.CFrame)
  3562. local bp = Create("BodyPosition")({
  3563. P = 2000,
  3564. D = 100,
  3565. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3566. position = hit.Parent.Torso.Position,
  3567. Parent = hit.Parent.Torso
  3568. })
  3569. game:GetService("Debris"):AddItem(bp, 1)
  3570. elseif Type == "Freeze" then
  3571. local BodPos = Create("BodyPosition")({
  3572. P = 50000,
  3573. D = 1000,
  3574. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3575. position = hit.Parent.Torso.Position,
  3576. Parent = hit.Parent.Torso
  3577. })
  3578. local BodGy = Create("BodyGyro")({
  3579. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  3580. P = 20000,
  3581. Parent = hit.Parent.Torso,
  3582. cframe = hit.Parent.Torso.CFrame
  3583. })
  3584. hit.Parent.Torso.Anchored = true
  3585. coroutine.resume(coroutine.create(function(Part)
  3586. swait(1.5)
  3587. Part.Anchored = false
  3588. end), hit.Parent.Torso)
  3589. game:GetService("Debris"):AddItem(BodPos, 3)
  3590. game:GetService("Debris"):AddItem(BodGy, 3)
  3591. end
  3592. local debounce = Create("BoolValue")({
  3593. Name = "DebounceHit",
  3594. Parent = hit.Parent,
  3595. Value = true
  3596. })
  3597. game:GetService("Debris"):AddItem(debounce, Delay)
  3598. c = Instance.new("ObjectValue")
  3599. c.Name = "creator"
  3600. c.Value = Player
  3601. c.Parent = h
  3602. game:GetService("Debris"):AddItem(c, 0.5)
  3603. end
  3604. end
  3605. function ShowDamage(Pos, Text, Time, Color)
  3606. local Rate = 0.03333333333333333
  3607. local Pos = Pos or Vector3.new(0, 0, 0)
  3608. local Text = Text or ""
  3609. local Time = Time or 2
  3610. local Color = Color or Color3.new(1, 0, 1)
  3611. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  3612. EffectPart.Anchored = true
  3613. local BillboardGui = Create("BillboardGui")({
  3614. Size = UDim2.new(3, 0, 3, 0),
  3615. Adornee = EffectPart,
  3616. Parent = EffectPart
  3617. })
  3618. local TextLabel = Create("TextLabel")({
  3619. BackgroundTransparency = 1,
  3620. Size = UDim2.new(1, 0, 1, 0),
  3621. Text = Text,
  3622. TextColor3 = Color,
  3623. TextScaled = true,
  3624. Font = Enum.Font.ArialBold,
  3625. Parent = BillboardGui
  3626. })
  3627. game.Debris:AddItem(EffectPart, Time + 0.1)
  3628. EffectPart.Parent = game:GetService("Workspace")
  3629. delay(0, function()
  3630. local Frames = Time / Rate
  3631. for Frame = 1, Frames do
  3632. wait(Rate)
  3633. local Percent = Frame / Frames
  3634. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3635. TextLabel.TextTransparency = Percent
  3636. end
  3637. if EffectPart and EffectPart.Parent then
  3638. EffectPart:Destroy()
  3639. end
  3640. end)
  3641. end
  3642. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  3643. for _, c in pairs(workspace:children()) do
  3644. local hum = c:findFirstChildOfClass("Humanoid")
  3645. if hum ~= nil then
  3646. local head = c:findFirstChild("Head")
  3647. if head ~= nil then
  3648. local targ = head.Position - Part.Position
  3649. local mag = targ.magnitude
  3650. if magni >= mag and c.Name ~= Player.Name then
  3651. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  3652. end
  3653. end
  3654. end
  3655. end
  3656. end
  3657. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  3658. for _, c in pairs(workspace:children()) do
  3659. local hum = c:findFirstChild("Humanoid")
  3660. if hum ~= nil then
  3661. local head = c:findFirstChild("Torso")
  3662. if head ~= nil then
  3663. local targ = head.Position - Part.Position
  3664. local mag = targ.magnitude
  3665. if magni >= mag and c.Name ~= Player.Name then
  3666. MagicBlock(BrickColor.new("Pastel light blue"), head.CFrame, 5, 5, 5, 1, 1, 1, 0.05)
  3667. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  3668. end
  3669. end
  3670. end
  3671. end
  3672. end
  3673. function rayCast(Pos, Dir, Max, Ignore)
  3674. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3675. end
  3676. function SkullEffect(brickcolor, cframe, x1, y1, z1, delay)
  3677. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3678. prt.Anchored = true
  3679. prt.CFrame = cframe
  3680. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=4770583", vt(0, 0, 0), vt(x1, y1, z1))
  3681. game:GetService("Debris"):AddItem(prt, 2)
  3682. CF = prt.CFrame
  3683. coroutine.resume(coroutine.create(function(Part, Mesh, TehCF)
  3684. for i = 0, 1, 0.2 do
  3685. wait()
  3686. Part.CFrame = CF * cf(0, 0, -0.4)
  3687. end
  3688. for i = 0, 1, delay do
  3689. wait()
  3690. Mesh.Scale = Mesh.Scale
  3691. end
  3692. for i = 0, 1, 0.1 do
  3693. wait()
  3694. Part.Transparency = i
  3695. end
  3696. Part.Parent = nil
  3697. end), prt, msh, CF)
  3698. end
  3699. function MagicBlock(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3700. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3701. prt.Anchored = true
  3702. prt.Material = "Neon"
  3703. prt.CFrame = cframe
  3704. prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3705. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3706. game:GetService("Debris"):AddItem(prt, 5)
  3707. coroutine.resume(coroutine.create(function(Part, Mesh)
  3708. for i = 0, 1, delay do
  3709. swait()
  3710. Part.CFrame = Part.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3711. Part.Transparency = i
  3712. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3713. end
  3714. Part.Parent = nil
  3715. end), prt, msh)
  3716. end
  3717. function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  3718. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3719. prt.Anchored = true
  3720. prt.Material = "Neon"
  3721. prt.CFrame = cframe
  3722. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3723. game:GetService("Debris"):AddItem(prt, 5)
  3724. coroutine.resume(coroutine.create(function(Part, Mesh)
  3725. local rtype = rottype
  3726. for i = 0, 1, delay do
  3727. swait()
  3728. if rtype == 1 then
  3729. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  3730. elseif rtype == 2 then
  3731. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  3732. end
  3733. Part.Transparency = i
  3734. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3735. end
  3736. Part.Parent = nil
  3737. end), prt, msh)
  3738. end
  3739. function MagicSphere(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3740. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3741. prt.Anchored = true
  3742. prt.CFrame = cframe
  3743. prt.CFrame = prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3744. msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  3745. game:GetService("Debris"):AddItem(prt, 5)
  3746. coroutine.resume(coroutine.create(function(Part, Mesh)
  3747. for i = 0, 1, delay do
  3748. wait()
  3749. Part.Transparency = i
  3750. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3751. end
  3752. Part.Parent = nil
  3753. end), prt, msh)
  3754. end
  3755. function MagicBlockSteady(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  3756. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3757. prt.Anchored = true
  3758. prt.Material = "Neon"
  3759. prt.CFrame = cframe
  3760. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3761. game:GetService("Debris"):AddItem(prt, 5)
  3762. coroutine.resume(coroutine.create(function(Part, Mesh)
  3763. local rtype = rottype
  3764. for i = 0, 1, delay do
  3765. swait()
  3766. if rtype == 1 then
  3767. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  3768. elseif rtype == 2 then
  3769. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  3770. end
  3771. Part.Transparency = i
  3772. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3773. end
  3774. Part.Parent = nil
  3775. end), prt, msh)
  3776. end
  3777. function MagicShock(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  3778. local prt = part(3, char, 1, 1, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3779. prt.Anchored = true
  3780. prt.Material = "Neon"
  3781. prt.CFrame = cframe
  3782. local dec = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
  3783. local dec2 = decal(prt.Color, "http://www.roblox.com/asset/?id=874580939", "Front", prt)
  3784. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
  3785. game:GetService("Debris"):AddItem(prt, 5)
  3786. coroutine.resume(coroutine.create(function(Part, Mesh)
  3787. local rtype = rottype
  3788. for i = 0, 1, delay do
  3789. swait()
  3790. if rtype == 1 then
  3791. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  3792. elseif rtype == 2 then
  3793. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  3794. end
  3795. dec.Transparency = i
  3796. dec2.Transparency = i
  3797. Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  3798. end
  3799. Part.Parent = nil
  3800. end), prt, msh)
  3801. end
  3802. function MagicShockAlt(brickcolor, cframe, x1, y1, x3, y3, delay, rottype)
  3803. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3804. prt.Anchored = true
  3805. prt.Material = "Neon"
  3806. prt.CFrame = cframe
  3807. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, 0.01))
  3808. game:GetService("Debris"):AddItem(prt, 5)
  3809. coroutine.resume(coroutine.create(function(Part, Mesh)
  3810. local rtype = rottype
  3811. for i = 0, 1, delay do
  3812. swait()
  3813. if rtype == 1 then
  3814. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  3815. elseif rtype == 2 then
  3816. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  3817. end
  3818. prt.Transparency = i
  3819. Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  3820. end
  3821. Part.Parent = nil
  3822. end), prt, msh)
  3823. end
  3824. function MagicShockAltCircle(brickcolor, cframe, x1, z1, x3, z3, delay, rottype)
  3825. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3826. prt.Anchored = true
  3827. prt.Material = "Neon"
  3828. prt.CFrame = cframe
  3829. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, 1, z1))
  3830. game:GetService("Debris"):AddItem(prt, 5)
  3831. coroutine.resume(coroutine.create(function(Part, Mesh)
  3832. local rtype = rottype
  3833. for i = 0, 1, delay do
  3834. swait()
  3835. if rtype == 1 then
  3836. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0.1, 0)
  3837. elseif rtype == 2 then
  3838. prt.CFrame = prt.CFrame * CFrame.Angles(0, -0.1, 0)
  3839. end
  3840. prt.Transparency = i
  3841. Mesh.Scale = Mesh.Scale + vt(x3, 0, z3)
  3842. end
  3843. Part.Parent = nil
  3844. end), prt, msh)
  3845. end
  3846. function MagicShockTrailAlt(brickcolor, cframe, x1, y1, z1, x3, y3, delay, rottype)
  3847. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3848. prt.Anchored = true
  3849. prt.Material = "Neon"
  3850. prt.CFrame = cframe
  3851. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3852. game:GetService("Debris"):AddItem(prt, 5)
  3853. coroutine.resume(coroutine.create(function(Part, Mesh)
  3854. local rtype = rottype
  3855. for i = 0, 1, delay do
  3856. swait()
  3857. if rtype == 1 then
  3858. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  3859. elseif rtype == 2 then
  3860. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  3861. end
  3862. prt.Transparency = i
  3863. Mesh.Scale = Mesh.Scale + vt(x3, y3, 0)
  3864. end
  3865. Part.Parent = nil
  3866. end), prt, msh)
  3867. end
  3868. function MagicShockTrailAlt2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, rottype)
  3869. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3870. prt.Anchored = true
  3871. prt.Material = "Neon"
  3872. prt.CFrame = cframe
  3873. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3874. game:GetService("Debris"):AddItem(prt, 5)
  3875. coroutine.resume(coroutine.create(function(Part, Mesh)
  3876. local rtype = rottype
  3877. for i = 0, 1, delay do
  3878. swait()
  3879. if rtype == 1 then
  3880. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, 0.1)
  3881. elseif rtype == 2 then
  3882. prt.CFrame = prt.CFrame * CFrame.Angles(0, 0, -0.1)
  3883. end
  3884. prt.Transparency = i
  3885. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3886. end
  3887. Part.Parent = nil
  3888. end), prt, msh)
  3889. end
  3890. function MagicBlock2(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  3891. local prt = part(3, char, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3892. prt.Anchored = false
  3893. prt.CFrame = cframe
  3894. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3895. local wld = weld(prt, prt, Parent, cframe)
  3896. game:GetService("Debris"):AddItem(prt, 5)
  3897. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  3898. for i = 0, 1, delay do
  3899. wait()
  3900. Weld.C0 = euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) * cframe
  3901. Part.Transparency = i
  3902. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3903. end
  3904. Part.Parent = nil
  3905. end), prt, msh, wld)
  3906. end
  3907. function MagicBlock3(brickcolor, cframe, Parent, x1, y1, z1, x3, y3, z3, delay)
  3908. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3909. prt.Anchored = false
  3910. prt.CFrame = cframe
  3911. msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3912. local wld = weld(prt, prt, Parent, euler(0, 0, 0) * cf(0, 0, 0))
  3913. game:GetService("Debris"):AddItem(prt, 5)
  3914. coroutine.resume(coroutine.create(function(Part, Mesh, Weld)
  3915. for i = 0, 1, delay do
  3916. wait()
  3917. Weld.C0 = euler(i * 20, 0, 0)
  3918. Part.Transparency = i
  3919. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3920. end
  3921. Part.Parent = nil
  3922. end), prt, msh, wld)
  3923. end
  3924. function MagicCircle2(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3925. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3926. prt.Anchored = true
  3927. prt.CFrame = cframe
  3928. local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  3929. game:GetService("Debris"):AddItem(prt, 2)
  3930. coroutine.resume(coroutine.create(function(Part, Mesh)
  3931. for i = 0, 1, delay do
  3932. wait()
  3933. Part.CFrame = Part.CFrame
  3934. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3935. local prt2 = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3936. prt2.Anchored = true
  3937. prt2.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3938. local msh2 = mesh("SpecialMesh", prt2, "Sphere", "", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
  3939. game:GetService("Debris"):AddItem(prt2, 2)
  3940. coroutine.resume(coroutine.create(function(Part, Mesh)
  3941. for i = 0, 1, 0.1 do
  3942. wait()
  3943. Part.CFrame = Part.CFrame * cf(0, 0.5, 0)
  3944. end
  3945. Part.Parent = nil
  3946. end), prt2, msh2)
  3947. end
  3948. for i = 0, 1, delay * 2 do
  3949. wait()
  3950. Part.CFrame = Part.CFrame
  3951. Mesh.Scale = vt(x1 + x3 - (x1 + x3) * i, y1 + y3 - (y1 + y3) * i, z1 + z3 - (z1 + z3) * i)
  3952. end
  3953. Part.Parent = nil
  3954. end), prt, msh)
  3955. end
  3956. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3957. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3958. prt.Anchored = true
  3959. prt.CFrame = cframe
  3960. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  3961. game:GetService("Debris"):AddItem(prt, 2)
  3962. coroutine.resume(coroutine.create(function(Part, Mesh)
  3963. for i = 0, 1, delay do
  3964. wait()
  3965. Part.CFrame = Part.CFrame
  3966. Part.Transparency = i
  3967. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  3968. end
  3969. Part.Parent = nil
  3970. end), prt, msh)
  3971. end
  3972. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  3973. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3974. prt.Anchored = true
  3975. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3976. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  3977. game:GetService("Debris"):AddItem(prt, 2)
  3978. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  3979. CF = Part.CFrame
  3980. Numbb = 0
  3981. randnumb = math.random() / 10
  3982. rand1 = math.random() / 10
  3983. for i = 0, 1, rand1 do
  3984. wait()
  3985. CF = CF * cf(0, math.random() / 2, 0)
  3986. Part.CFrame = CF * euler(Numbb, 0, 0)
  3987. Part.Transparency = i
  3988. Numbb = Numbb + randnumb
  3989. end
  3990. Part.Parent = nil
  3991. end), prt, CF, Numbb, randnumb)
  3992. end
  3993. function MagicWaveThing(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3994. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  3995. prt.Anchored = true
  3996. prt.CFrame = cframe
  3997. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=1051557", vt(0, 0, 0), vt(x1, y1, z1))
  3998. game:GetService("Debris"):AddItem(prt, 5)
  3999. coroutine.resume(coroutine.create(function(Part, Mesh)
  4000. for i = 0, 1, delay do
  4001. wait()
  4002. Part.CFrame = Part.CFrame * euler(0, 0.7, 0)
  4003. Part.Transparency = i
  4004. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  4005. end
  4006. Part.Parent = nil
  4007. end), prt, msh)
  4008. end
  4009. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4010. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  4011. prt.Anchored = true
  4012. prt.CFrame = cframe
  4013. msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  4014. game:GetService("Debris"):AddItem(prt, 2)
  4015. coroutine.resume(coroutine.create(function(Part, Mesh)
  4016. for i = 0, 1, delay do
  4017. wait()
  4018. Part.CFrame = Part.CFrame * cf(0, y3 / 2, 0)
  4019. Part.Transparency = i
  4020. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  4021. end
  4022. Part.Parent = nil
  4023. end), prt, msh)
  4024. end
  4025. function StravEffect(brickcolor, cframe, x, y, z, x1, y1, z1, delay)
  4026. local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  4027. prt.Anchored = true
  4028. prt.CFrame = cframe * cf(x, y, z)
  4029. msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://168892363", vt(0, 0, 0), vt(x1, y1, z1))
  4030. game:GetService("Debris"):AddItem(prt, 5)
  4031. coroutine.resume(coroutine.create(function(Part, Mesh, ex, why, zee)
  4032. local num = math.random()
  4033. local num2 = math.random(-3, 2) + math.random()
  4034. local numm = 0
  4035. for i = 0, 1, delay * 2 do
  4036. swait()
  4037. Part.CFrame = cframe * euler(0, numm * num * 10, 0) * cf(ex, why, zee) * cf(-i * 10, num2, 0)
  4038. Part.Transparency = i
  4039. numm = numm + 0.01
  4040. end
  4041. Part.Parent = nil
  4042. Mesh.Parent = nil
  4043. end), prt, msh, x, y, z)
  4044. end
  4045. function dmgstart(dmg, what)
  4046. hitcon = what.Touched:connect(function(hit)
  4047. local hum = hit.Parent:FindFirstChild("Humanoid")
  4048. if hum and not hum:IsDescendantOf(Character) then
  4049. hum:TakeDamage(dmg)
  4050. end
  4051. end)
  4052. end
  4053. function dmgstop()
  4054. hitcon:disconnect()
  4055. end
  4056. function Cloak()
  4057. Face.Parent = nil
  4058. cloaked = true
  4059. for _, v in pairs(Torso.Parent:children()) do
  4060. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  4061. coroutine.resume(coroutine.create(function()
  4062. for i = 0, 1, 0.2 do
  4063. wait()
  4064. v.Transparency = i
  4065. end
  4066. v.Transparency = 1
  4067. end))
  4068. end
  4069. if v.className == "Hat" then
  4070. hatp = v.Handle
  4071. coroutine.resume(coroutine.create(function(derp)
  4072. for i = 0, 1, 0.2 do
  4073. wait()
  4074. derp.Transparency = i
  4075. end
  4076. derp.Transparency = 1
  4077. end), hatp)
  4078. end
  4079. end
  4080. for _, v in pairs(m:children()) do
  4081. if v.className == "Part" then
  4082. coroutine.resume(coroutine.create(function()
  4083. for i = 0, 1, 0.2 do
  4084. wait()
  4085. v.Transparency = i
  4086. end
  4087. v.Transparency = 1
  4088. end))
  4089. end
  4090. end
  4091. end
  4092. function UnCloak()
  4093. so("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
  4094. Face.Parent = Head
  4095. cloaked = false
  4096. for _, v in pairs(Torso.Parent:children()) do
  4097. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  4098. coroutine.resume(coroutine.create(function()
  4099. for i = 0, 1, 0.1 do
  4100. wait()
  4101. v.Transparency = v.Transparency - 0.1
  4102. end
  4103. v.Transparency = 0
  4104. end))
  4105. end
  4106. if v.className == "Hat" then
  4107. hatp = v.Handle
  4108. coroutine.resume(coroutine.create(function(derp)
  4109. for i = 0, 1, 0.1 do
  4110. wait()
  4111. derp.Transparency = derp.Transparency - 0.1
  4112. end
  4113. derp.Transparency = 0
  4114. end), hatp)
  4115. end
  4116. end
  4117. for _, v in pairs(m:children()) do
  4118. if v.className == "Part" and v.Name ~= "hitbox" and v.Name ~= "tip" then
  4119. coroutine.resume(coroutine.create(function()
  4120. for i = 0, 1, 0.1 do
  4121. wait()
  4122. v.Transparency = v.Transparency - 0.1
  4123. end
  4124. v.Transparency = 0
  4125. end))
  4126. v.Transparency = 0
  4127. end
  4128. end
  4129. end
  4130. local origcolor = BrickColor.new("Pastel light blue")
  4131. function Explode(rad, par, pitch, vol, mindam, maxdam)
  4132. local expart = Instance.new("Part", char)
  4133. local expart2 = Instance.new("Part", char)
  4134. local rin = Instance.new("Part", char)
  4135. local rin2 = Instance.new("Part", char)
  4136. local partMesh = Instance.new("SpecialMesh", expart)
  4137. partMesh.MeshType = "Sphere"
  4138. local partMesh2 = Instance.new("SpecialMesh", expart2)
  4139. partMesh2.MeshType = "Sphere"
  4140. local partMesh3 = Instance.new("SpecialMesh", rin)
  4141. partMesh3.MeshType = "Brick"
  4142. local partMesh4 = Instance.new("SpecialMesh", rin2)
  4143. partMesh4.MeshType = "Brick"
  4144. CFuncs.Sound.Create("rbxassetid://165970126", expart, vol, pitch)
  4145. partMesh.Scale = vt(rad, rad, rad)
  4146. expart.Size = vt(1, 1, 1)
  4147. expart.Transparency = 0
  4148. expart.Anchored = true
  4149. expart.Material = "Neon"
  4150. expart.BrickColor = bc("White")
  4151. expart.CFrame = par.CFrame
  4152. partMesh2.Scale = vt(rad, rad, rad)
  4153. expart2.Size = vt(1.15, 1.15, 1.15)
  4154. expart2.Transparency = 0.5
  4155. expart2.Anchored = true
  4156. expart2.Material = "Neon"
  4157. expart2.BrickColor = par.BrickColor
  4158. expart2.CFrame = par.CFrame
  4159. rin.Size = vt(1.15, 1.15, 1.15)
  4160. rin.Transparency = 1
  4161. rin.Anchored = true
  4162. rin.Material = "Neon"
  4163. rin.BrickColor = par.BrickColor
  4164. rin.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
  4165. rin2.Size = vt(1.15, 1.15, 1.15)
  4166. rin2.Transparency = 1
  4167. rin2.Anchored = true
  4168. rin2.Material = "Neon"
  4169. rin2.BrickColor = par.BrickColor
  4170. rin2.CFrame = par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
  4171. partMesh3.Scale = vt(0, 1, 0)
  4172. partMesh4.Scale = vt(0, 1, 0)
  4173. local dec2 = Instance.new("Decal", rin)
  4174. dec2.Face = "Top"
  4175. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  4176. dec2.Parent = rin
  4177. local dec2b = dec2:Clone()
  4178. dec2b.Face = "Bottom"
  4179. dec2b.Parent = rin
  4180. local dec2a = Instance.new("Decal", rin2)
  4181. dec2a.Face = "Top"
  4182. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  4183. dec2a.Parent = rin2
  4184. local dec2ab = dec2a:Clone()
  4185. dec2ab.Face = "Bottom"
  4186. dec2ab.Parent = rin2
  4187. expart.CanCollide = false
  4188. expart2.CanCollide = false
  4189. rin.CanCollide = false
  4190. rin2.CanCollide = false
  4191. MagniDamage(par, rad * 5, mindam, maxdam, 0, "Normal")
  4192. local value = 1 * rad / 6.5
  4193. for i = 0, 199 do
  4194. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  4195. expart.CFrame = expart.CFrame
  4196. partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
  4197. expart2.CFrame = expart.CFrame
  4198. value = value - 0.035 * rad / 30
  4199. if value < 7.5 then
  4200. partMesh3.Scale = partMesh3.Scale + vt(rad / 5, 0, rad / 5)
  4201. rin.CFrame = rin.CFrame * CFrame.Angles(0, math.rad(1), 0)
  4202. partMesh4.Scale = partMesh4.Scale + vt(rad / 7.5, 0, rad / 7.5)
  4203. rin2.CFrame = rin2.CFrame * CFrame.Angles(0, math.rad(-1), 0)
  4204. end
  4205. if value < 0 then
  4206. dec2.Transparency = dec2.Transparency + 0.025
  4207. dec2a.Transparency = dec2a.Transparency + 0.025
  4208. dec2b.Transparency = dec2b.Transparency + 0.025
  4209. dec2ab.Transparency = dec2ab.Transparency + 0.025
  4210. expart.Transparency = expart.Transparency + 0.025
  4211. expart2.Transparency = expart2.Transparency + 0.025
  4212. rin.Transparency = rin.Transparency + 0.025
  4213. rin2.Transparency = rin2.Transparency + 0.025
  4214. end
  4215. swait()
  4216. end
  4217. game:GetService("Debris"):AddItem(expart, 1)
  4218. game:GetService("Debris"):AddItem(expart2, 1)
  4219. game:GetService("Debris"):AddItem(rin, 1)
  4220. game:GetService("Debris"):AddItem(rin2, 1)
  4221. end
  4222. function ExplodeShort(rad, par, pitch, vol, mindam, maxdam)
  4223. local expart = Instance.new("Part", char)
  4224. local expart2 = Instance.new("Part", char)
  4225. local partMesh = Instance.new("SpecialMesh", expart)
  4226. partMesh.MeshType = "Sphere"
  4227. local partMesh2 = Instance.new("SpecialMesh", expart2)
  4228. partMesh2.MeshType = "Sphere"
  4229. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=142070127", expart, vol, pitch)
  4230. partMesh.Scale = vt(rad, rad, rad)
  4231. expart.Size = vt(1, 1, 1)
  4232. expart.Transparency = 0
  4233. expart.Anchored = true
  4234. expart.Material = "Neon"
  4235. expart.BrickColor = bc("White")
  4236. expart.CFrame = par.CFrame
  4237. partMesh2.Scale = vt(rad, rad, rad)
  4238. expart2.Size = vt(1.15, 1.15, 1.15)
  4239. expart2.Transparency = 0.5
  4240. expart2.Anchored = true
  4241. expart2.Material = "Neon"
  4242. expart2.BrickColor = par.BrickColor
  4243. expart2.CFrame = par.CFrame
  4244. expart.CanCollide = false
  4245. expart2.CanCollide = false
  4246. MagniDamage(par, rad * 2.5, mindam, maxdam, 0, "Normal")
  4247. local value = 1 * rad / 6.5
  4248. for i = 0, 75 do
  4249. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  4250. expart.CFrame = expart.CFrame
  4251. partMesh2.Scale = partMesh2.Scale + vt(value, value, value)
  4252. expart2.CFrame = expart.CFrame
  4253. value = value - 0.035 * rad / 5
  4254. if value < 0 then
  4255. value = 0
  4256. expart.Transparency = expart.Transparency + 0.05
  4257. expart2.Transparency = expart2.Transparency + 0.05
  4258. end
  4259. swait()
  4260. end
  4261. game:GetService("Debris"):AddItem(expart, 1)
  4262. game:GetService("Debris"):AddItem(expart2, 1)
  4263. end
  4264. function AreaDanger(rad, par, mindam, maxdam)
  4265. local expart = Instance.new("Part", char)
  4266. local partMesh = Instance.new("SpecialMesh", expart)
  4267. CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
  4268. partMesh.MeshType = "Sphere"
  4269. partMesh.Scale = vt(rad, rad, rad)
  4270. expart.Size = vt(1, 1, 1)
  4271. expart.Transparency = 0.5
  4272. expart.Anchored = true
  4273. expart.Material = "Neon"
  4274. expart.CanCollide = false
  4275. expart.BrickColor = par.BrickColor
  4276. expart.CFrame = par.CFrame
  4277. local value = 1 * rad / 5
  4278. MagicBlock(origcolor, expart.CFrame, 0, 0, 0, rad / 2, rad / 2, rad / 2, 0.1)
  4279. for i = 0, 14 do
  4280. wait()
  4281. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  4282. expart.CFrame = expart.CFrame
  4283. value = value - 0.035 * rad
  4284. if value < 0 then
  4285. value = 0
  4286. end
  4287. end
  4288. wait(0.25)
  4289. CFuncs.Sound.Create("rbxassetid://588738544", expart, 1.5, 1)
  4290. wait(0.5)
  4291. CFuncs.Sound.Create("rbxassetid://588737825", expart, 1.5, 1)
  4292. CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 0.75)
  4293. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  4294. MagicBlock(origcolor, expart.CFrame, rad * 2, rad * 2, rad * 2, 0.1, 0.1, 0.1, 0.025)
  4295. for i = 0, 14 do
  4296. wait()
  4297. partMesh.Scale = partMesh.Scale + vt(value, value, value)
  4298. expart.CFrame = expart.CFrame
  4299. value = value - 0.035 * rad / 2
  4300. end
  4301. expart.Transparency = 1
  4302. game:GetService("Debris"):AddItem(expart, 5)
  4303. end
  4304. function Swarmsplosions(negrad, rad, par, mindam, maxdam)
  4305. CFuncs.Sound.Create("rbxassetid://588737825", par, 2.5, 2)
  4306. CFuncs.Sound.Create("rbxassetid://231917784", par, 2.5, 1)
  4307. CFuncs.Sound.Create("rbxassetid://231917744", par, 2.5, 1)
  4308. CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
  4309. MagniDamageWithEffect(par, 25, 5, 10, 0, "Normal")
  4310. MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.025)
  4311. for i = 0, 24 do
  4312. MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 25, 0.005, math.random(1, 2))
  4313. end
  4314. for i = 0, 24 do
  4315. local expart = Instance.new("Part", char)
  4316. expart.Transparency = 1
  4317. expart.Anchored = true
  4318. expart.CanCollide = false
  4319. expart.CFrame = par.CFrame * CFrame.new(math.random(negrad, rad), math.random(negrad, rad), math.random(negrad, rad))
  4320. CFuncs.Sound.Create("rbxassetid://588737825", expart, 1, 2)
  4321. CFuncs.Sound.Create("rbxassetid://231917784", expart, 1.5, 1.15)
  4322. MagniDamage(expart, rad / 2, mindam, maxdam, 0, "Normal")
  4323. MagicBlock(origcolor, expart.CFrame, rad, rad, rad, 0.1, 0.1, 0.1, 0.025)
  4324. for i = 0, 9 do
  4325. MagicShockTrailAlt2(origcolor, expart.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2, 2, 5, -0.01, -0.01, 5, 0.05, math.random(1, 2))
  4326. end
  4327. game:GetService("Debris"):AddItem(expart, 2)
  4328. wait(0.1)
  4329. end
  4330. end
  4331. function EXterPlosion(par)
  4332. CFuncs.Sound.Create("rbxassetid://919941001", par, 10, 1)
  4333. CFuncs.Sound.Create("rbxassetid://138213851", par, 5, 0.85)
  4334. CFuncs.Sound.Create("rbxassetid://157878578", par, 5, 0.2)
  4335. CFuncs.Sound.Create("rbxassetid://233856106", par, 2.5, 1)
  4336. MagniDamageWithEffect(par, 500, 80, 99, 0, "Normal")
  4337. MagicBlock(origcolor, par.CFrame, 5, 5, 5, 5, 5, 5, 0.005)
  4338. MagicBlock(origcolor, par.CFrame, 0, 0, 0, 150, 150, 150, 0.1)
  4339. for i = 0, 24 do
  4340. MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.5, -0.5, 500, 0.1, math.random(1, 2))
  4341. end
  4342. for i = 0, 24 do
  4343. MagicShockTrailAlt2(origcolor, par.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 50, 50, 5, -0.25, -0.25, 50, 0.005, math.random(1, 2))
  4344. end
  4345. end
  4346. function ring(type, pos, scale, value)
  4347. local type = type
  4348. local rng = Instance.new("Part", char)
  4349. rng.Anchored = true
  4350. rng.BrickColor = origcolor
  4351. rng.CanCollide = false
  4352. rng.FormFactor = 3
  4353. rng.Name = "Ring"
  4354. rng.Size = Vector3.new(1, 1, 1)
  4355. rng.Transparency = 0
  4356. rng.TopSurface = 0
  4357. rng.BottomSurface = 0
  4358. rng.CFrame = pos
  4359. local rngm = Instance.new("SpecialMesh", rng)
  4360. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4361. rngm.Scale = scale
  4362. local scaler2 = 1
  4363. if type == "Add" then
  4364. scaler2 = 1 * value
  4365. elseif type == "Divide" then
  4366. scaler2 = 1 / value
  4367. end
  4368. coroutine.resume(coroutine.create(function()
  4369. for i = 0, 10, 0.1 do
  4370. swait()
  4371. if type == "Add" then
  4372. scaler2 = scaler2 - 0.01 * value
  4373. elseif type == "Divide" then
  4374. scaler2 = scaler2 - 0.01 / value
  4375. end
  4376. rng.Transparency = rng.Transparency + 0.01
  4377. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  4378. end
  4379. rng:Destroy()
  4380. end))
  4381. end
  4382. function wave(type, pos, scale, value)
  4383. local type = type
  4384. local rng = Instance.new("Part", char)
  4385. rng.Anchored = true
  4386. rng.BrickColor = origcolor
  4387. rng.CanCollide = false
  4388. rng.FormFactor = 3
  4389. rng.Name = "Ring"
  4390. rng.Size = Vector3.new(1, 1, 1)
  4391. rng.Transparency = 0
  4392. rng.TopSurface = 0
  4393. rng.BottomSurface = 0
  4394. rng.CFrame = pos
  4395. local rngm = Instance.new("SpecialMesh", rng)
  4396. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  4397. rngm.Scale = scale
  4398. local scaler2 = 1
  4399. if type == "Add" then
  4400. scaler2 = 1 * value
  4401. elseif type == "Divide" then
  4402. scaler2 = 1 / value
  4403. end
  4404. coroutine.resume(coroutine.create(function()
  4405. for i = 0, 10, 0.1 do
  4406. swait()
  4407. if type == "Add" then
  4408. scaler2 = scaler2 - 0.01 * value
  4409. elseif type == "Divide" then
  4410. scaler2 = scaler2 - 0.01 / value
  4411. end
  4412. rng.Transparency = rng.Transparency + 0.01
  4413. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  4414. end
  4415. rng:Destroy()
  4416. end))
  4417. end
  4418. function wind(type, pos, scale, value, speed)
  4419. local type = type
  4420. local rng = Instance.new("Part", char)
  4421. rng.Anchored = true
  4422. rng.BrickColor = origcolor
  4423. rng.CanCollide = false
  4424. rng.FormFactor = 3
  4425. rng.Name = "Ring"
  4426. rng.Size = Vector3.new(1, 1, 1)
  4427. rng.Transparency = 0
  4428. rng.TopSurface = 0
  4429. rng.BottomSurface = 0
  4430. rng.CFrame = pos
  4431. local rngm = Instance.new("SpecialMesh", rng)
  4432. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4433. rngm.Scale = scale
  4434. local scaler2 = 1
  4435. if type == "Add" then
  4436. scaler2 = 1 * value
  4437. elseif type == "Divide" then
  4438. scaler2 = 1 / value
  4439. end
  4440. coroutine.resume(coroutine.create(function()
  4441. for i = 0, 10, 0.1 do
  4442. swait()
  4443. if type == "Add" then
  4444. scaler2 = scaler2 - 0.01 * value
  4445. elseif type == "Divide" then
  4446. scaler2 = scaler2 - 0.01 / value
  4447. end
  4448. rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
  4449. rng.Transparency = rng.Transparency + 0.01
  4450. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  4451. end
  4452. rng:Destroy()
  4453. end))
  4454. end
  4455. function groundwind(type, pos, scale, value, speed)
  4456. local type = type
  4457. local rng = Instance.new("Part", char)
  4458. rng.Anchored = true
  4459. rng.BrickColor = origcolor
  4460. rng.CanCollide = false
  4461. rng.FormFactor = 3
  4462. rng.Name = "Ring"
  4463. rng.Size = Vector3.new(1, 1, 1)
  4464. rng.Transparency = 0
  4465. rng.TopSurface = 0
  4466. rng.BottomSurface = 0
  4467. rng.CFrame = pos
  4468. local rngm = Instance.new("SpecialMesh", rng)
  4469. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  4470. rngm.Scale = scale
  4471. local scaler2 = 1
  4472. if type == "Add" then
  4473. scaler2 = 1 * value
  4474. elseif type == "Divide" then
  4475. scaler2 = 1 / value
  4476. end
  4477. coroutine.resume(coroutine.create(function()
  4478. for i = 0, 10, 0.1 do
  4479. swait()
  4480. if type == "Add" then
  4481. scaler2 = scaler2 - 0.01 * value
  4482. elseif type == "Divide" then
  4483. scaler2 = scaler2 - 0.01 / value
  4484. end
  4485. rng.CFrame = rng.CFrame * CFrame.Angles(0, 0.025 * speed, 0)
  4486. rng.Transparency = rng.Transparency + 0.01
  4487. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2 / 5, scaler2)
  4488. end
  4489. rng:Destroy()
  4490. end))
  4491. end
  4492. function CameraManager()
  4493. if TwoD and not CamInterrupt then
  4494. if Humanoid.Health > 0 then
  4495. Camera.CameraSubject = Humanoid
  4496. Camera.CameraType = "Scriptable"
  4497. Humanoid.AutoRotate = false
  4498. if Booleans.GyroUse then
  4499. Directer.MaxTorque = Vec3(0, huge, 0)
  4500. else
  4501. Directer.MaxTorque = Vec3(0, 0, 0)
  4502. end
  4503. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  4504. if Booleans.CamFollow then
  4505. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  4506. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  4507. else
  4508. CPart.Position = RootPart.Position
  4509. end
  4510. else
  4511. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  4512. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  4513. end
  4514. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  4515. else
  4516. Camera.CameraSubject = Humanoid
  4517. Camera.CameraType = "Custom"
  4518. Controller.Disabled = false
  4519. end
  4520. end
  4521. end
  4522. function sphere(bonuspeed, type, pos, scale, value, color)
  4523. local type = type
  4524. local rng = Instance.new("Part", char)
  4525. rng.Anchored = true
  4526. rng.BrickColor = color
  4527. rng.CanCollide = false
  4528. rng.FormFactor = 3
  4529. rng.Name = "Ring"
  4530. rng.Material = "Neon"
  4531. rng.Size = Vector3.new(1, 1, 1)
  4532. rng.Transparency = 0
  4533. rng.TopSurface = 0
  4534. rng.BottomSurface = 0
  4535. rng.CFrame = pos
  4536. local rngm = Instance.new("SpecialMesh", rng)
  4537. rngm.MeshType = "Sphere"
  4538. rngm.Scale = scale
  4539. if rainbowmode == true then
  4540. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  4541. end
  4542. local scaler2 = 1
  4543. if type == "Add" then
  4544. scaler2 = 1 * value
  4545. elseif type == "Divide" then
  4546. scaler2 = 1 / value
  4547. end
  4548. coroutine.resume(coroutine.create(function()
  4549. for i = 0, 10 / bonuspeed, 0.1 do
  4550. swait()
  4551. if rainbowmode == true then
  4552. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  4553. end
  4554. if type == "Add" then
  4555. scaler2 = scaler2 - 0.01 * value / bonuspeed
  4556. elseif type == "Divide" then
  4557. scaler2 = scaler2 - 0.01 / value * bonuspeed
  4558. end
  4559. if chaosmode == true then
  4560. rng.BrickColor = BrickColor.random()
  4561. end
  4562. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  4563. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  4564. end
  4565. rng:Destroy()
  4566. end))
  4567. end
  4568. function sphereMK(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  4569. local type = type
  4570. local rng = Instance.new("Part", char)
  4571. rng.Anchored = true
  4572. rng.BrickColor = color
  4573. rng.CanCollide = false
  4574. rng.FormFactor = 3
  4575. rng.Name = "Ring"
  4576. rng.Material = "Neon"
  4577. rng.Size = Vector3.new(1, 1, 1)
  4578. rng.Transparency = 0
  4579. rng.TopSurface = 0
  4580. rng.BottomSurface = 0
  4581. rng.CFrame = pos
  4582. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  4583. local rngm = Instance.new("SpecialMesh", rng)
  4584. rngm.MeshType = "Sphere"
  4585. rngm.Scale = vt(x1, y1, z1)
  4586. if rainbowmode == true then
  4587. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  4588. end
  4589. local scaler2 = 1
  4590. local speeder = FastSpeed
  4591. if type == "Add" then
  4592. scaler2 = 1 * value
  4593. elseif type == "Divide" then
  4594. scaler2 = 1 / value
  4595. end
  4596. coroutine.resume(coroutine.create(function()
  4597. for i = 0, 10 / bonuspeed, 0.1 do
  4598. swait()
  4599. if rainbowmode == true then
  4600. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  4601. end
  4602. if type == "Add" then
  4603. scaler2 = scaler2 - 0.01 * value / bonuspeed
  4604. elseif type == "Divide" then
  4605. scaler2 = scaler2 - 0.01 / value * bonuspeed
  4606. end
  4607. if chaosmode == true then
  4608. rng.BrickColor = BrickColor.random()
  4609. end
  4610. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  4611. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  4612. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  4613. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  4614. end
  4615. rng:Destroy()
  4616. end))
  4617. end
  4618. function sphereMKCharge(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos)
  4619. local type = type
  4620. local rng = Instance.new("Part", char)
  4621. rng.Anchored = true
  4622. rng.BrickColor = color
  4623. rng.CanCollide = false
  4624. rng.FormFactor = 3
  4625. rng.Name = "Ring"
  4626. rng.Material = "Neon"
  4627. rng.Size = Vector3.new(1, 1, 1)
  4628. rng.Transparency = 1
  4629. rng.TopSurface = 0
  4630. rng.BottomSurface = 0
  4631. rng.CFrame = pos
  4632. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  4633. local rngm = Instance.new("SpecialMesh", rng)
  4634. rngm.MeshType = "Sphere"
  4635. rngm.Scale = vt(x1, y1, z1)
  4636. if rainbowmode == true then
  4637. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  4638. end
  4639. local scaler2 = 1
  4640. local speeder = FastSpeed
  4641. if type == "Add" then
  4642. scaler2 = 1 * value
  4643. elseif type == "Divide" then
  4644. scaler2 = 1 / value
  4645. end
  4646. coroutine.resume(coroutine.create(function()
  4647. for i = 0, 10 / bonuspeed, 0.1 do
  4648. swait()
  4649. if rainbowmode == true then
  4650. rng.Color = Color3.new(r / 255, g / 255, b / 255)
  4651. end
  4652. if type == "Add" then
  4653. scaler2 = scaler2 - 0.01 * value / bonuspeed
  4654. elseif type == "Divide" then
  4655. scaler2 = scaler2 - 0.01 / value * bonuspeed
  4656. end
  4657. if chaosmode == true then
  4658. rng.BrickColor = BrickColor.random()
  4659. end
  4660. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  4661. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  4662. rng.Transparency = rng.Transparency - 0.01 * bonuspeed
  4663. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  4664. end
  4665. rng:Destroy()
  4666. end))
  4667. end
  4668. function dmg(dude)
  4669. if dude.Name ~= Character then
  4670. local bgf = Instance.new("BodyGyro", dude.Head)
  4671. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, 0)
  4672. local val = Instance.new("BoolValue", dude)
  4673. val.Name = "IsHit"
  4674. local ds = coroutine.wrap(function()
  4675. dude:WaitForChild("Head"):BreakJoints()
  4676. wait(0.5)
  4677. targetted = nil
  4678. CFuncs.Sound.Create("rbxassetid://62339698", char, 0.5, 0.3)
  4679. coroutine.resume(coroutine.create(function()
  4680. for i, v in pairs(dude:GetChildren()) do
  4681. if v:IsA("Accessory") then
  4682. v:Destroy()
  4683. end
  4684. if v:IsA("Humanoid") then
  4685. v:Destroy()
  4686. end
  4687. if v:IsA("CharacterMesh") then
  4688. v:Destroy()
  4689. end
  4690. if v:IsA("Model") then
  4691. v:Destroy()
  4692. end
  4693. if v:IsA("Part") or v:IsA("MeshPart") then
  4694. for x, o in pairs(v:GetChildren()) do
  4695. if o:IsA("Decal") then
  4696. o:Destroy()
  4697. end
  4698. end
  4699. coroutine.resume(coroutine.create(function()
  4700. v.Material = "Neon"
  4701. v.CanCollide = false
  4702. local bld = Instance.new("ParticleEmitter", v)
  4703. bld.LightEmission = 1
  4704. bld.Texture = "rbxassetid://284205403"
  4705. bld.Color = ColorSequence.new(Color3.new(1, 1, 1))
  4706. bld.Rate = 50
  4707. bld.Lifetime = NumberRange.new(1)
  4708. bld.Size = NumberSequence.new({
  4709. NumberSequenceKeypoint.new(0, 0.75, 0),
  4710. NumberSequenceKeypoint.new(1, 0, 0)
  4711. })
  4712. bld.Transparency = NumberSequence.new({
  4713. NumberSequenceKeypoint.new(0, 0, 0),
  4714. NumberSequenceKeypoint.new(1, 1, 0)
  4715. })
  4716. bld.Speed = NumberRange.new(0, 0)
  4717. bld.VelocitySpread = 50000
  4718. bld.Rotation = NumberRange.new(-500, 500)
  4719. bld.RotSpeed = NumberRange.new(-500, 500)
  4720. local sbs = Instance.new("BodyPosition", v)
  4721. sbs.P = 3000
  4722. sbs.D = 1000
  4723. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  4724. sbs.position = v.Position + Vector3.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))
  4725. v.Color = Color3.new(1, 1, 1)
  4726. coroutine.resume(coroutine.create(function()
  4727. for i = 0, 49 do
  4728. swait(1)
  4729. v.Transparency = v.Transparency + 0.02
  4730. end
  4731. CFuncs.Sound.Create("rbxassetid://1192402877", v, 0.25, 1)
  4732. bld.Speed = NumberRange.new(1, 5)
  4733. bld.Acceleration = vt(0, 10, 0)
  4734. wait(0.5)
  4735. bld.Enabled = false
  4736. wait(3)
  4737. v:Destroy()
  4738. dude:Destroy()
  4739. end))
  4740. end))
  4741. end
  4742. end
  4743. end))
  4744. end)
  4745. ds()
  4746. end
  4747. end
  4748. function FindNearestHead(Position, Distance, SinglePlayer)
  4749. if SinglePlayer then
  4750. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  4751. end
  4752. local List = {}
  4753. for i, v in pairs(workspace:GetChildren()) do
  4754. if v:IsA("Model") and v:findFirstChild("Head") and v ~= Character and Distance >= (v.Head.Position - Position).magnitude then
  4755. table.insert(List, v)
  4756. end
  4757. end
  4758. return List
  4759. end
  4760. function FaceMouse()
  4761. Cam = workspace.CurrentCamera
  4762. return {
  4763. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  4764. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4765. }
  4766. end
  4767. function FaceMouse2()
  4768. Cam = workspace.CurrentCamera
  4769. return {
  4770. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  4771. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4772. }
  4773. end
  4774. local ModeOfGlitch = 1
  4775. local storehumanoidWS = 16
  4776. function ExtinctiveHeartbreak()
  4777. local targetted
  4778. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4779. targetted = mouse.Target.Parent
  4780. end
  4781. if targetted ~= nil then
  4782. attack = true
  4783. CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  4784. for i = 0, 9 do
  4785. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  4786. end
  4787. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  4788. local originalpos = root.CFrame
  4789. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0, -2, 2)
  4790. for i = 0, 9 do
  4791. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  4792. end
  4793. hum.WalkSpeed = 0
  4794. targetted.Head.Anchored = true
  4795. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  4796. for i = 0, 2, 0.1 do
  4797. swait()
  4798. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4)
  4799. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4)
  4800. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.4)
  4801. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  4802. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)
  4803. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.4)
  4804. end
  4805. coroutine.resume(coroutine.create(function()
  4806. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("Torso"))
  4807. bld.LightEmission = 0.1
  4808. bld.Texture = "rbxassetid://284205403"
  4809. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  4810. bld.Rate = 500
  4811. bld.Lifetime = NumberRange.new(1)
  4812. bld.Size = NumberSequence.new({
  4813. NumberSequenceKeypoint.new(0, 2, 0),
  4814. NumberSequenceKeypoint.new(1, 0, 0)
  4815. })
  4816. bld.Acceleration = vt(0, -25, 0)
  4817. bld.Transparency = NumberSequence.new({
  4818. NumberSequenceKeypoint.new(0, 0, 0),
  4819. NumberSequenceKeypoint.new(1, 0, 0)
  4820. })
  4821. bld.Speed = NumberRange.new(10, 50)
  4822. bld.EmissionDirection = "Front"
  4823. bld.VelocitySpread = 25
  4824. bld.Rotation = NumberRange.new(-500, 500)
  4825. bld.RotSpeed = NumberRange.new(-500, 500)
  4826. end))
  4827. coroutine.resume(coroutine.create(function()
  4828. bld = Instance.new("ParticleEmitter", targetted:WaitForChild("UpperTorso"))
  4829. bld.LightEmission = 0.1
  4830. bld.Texture = "rbxassetid://284205403"
  4831. bld.Color = ColorSequence.new(Color3.new(0.5, 0, 0))
  4832. bld.Rate = 500
  4833. bld.Lifetime = NumberRange.new(1)
  4834. bld.Size = NumberSequence.new({
  4835. NumberSequenceKeypoint.new(0, 2, 0),
  4836. NumberSequenceKeypoint.new(1, 0, 0)
  4837. })
  4838. bld.Acceleration = vt(0, -25, 0)
  4839. bld.Transparency = NumberSequence.new({
  4840. NumberSequenceKeypoint.new(0, 0, 0),
  4841. NumberSequenceKeypoint.new(1, 0, 0)
  4842. })
  4843. bld.Speed = NumberRange.new(10, 50)
  4844. bld.EmissionDirection = "Front"
  4845. bld.VelocitySpread = 25
  4846. bld.Rotation = NumberRange.new(-500, 500)
  4847. bld.RotSpeed = NumberRange.new(-500, 500)
  4848. end))
  4849. CameraEnshaking(5, 5)
  4850. game:GetService("Debris"):AddItem(bld, 3)
  4851. dmg(targetted)
  4852. CFuncs.Sound.Create("rbxassetid://429400881", targetted.Head, 1, 1)
  4853. for i = 0, 1, 0.1 do
  4854. swait()
  4855. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8)
  4856. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.8)
  4857. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0.25, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.8)
  4858. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(80)), 0.8)
  4859. RW.C0 = clerp(RW.C0, cf(1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.8)
  4860. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5 + 0.1 * math.cos(sine / 28), 0) * angles(math.rad(90), math.rad(0), math.rad(-80)), 0.8)
  4861. end
  4862. CFuncs.Sound.Create("rbxassetid://847061203", root, 2.5, 1)
  4863. for i = 0, 9 do
  4864. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  4865. end
  4866. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  4867. root.CFrame = originalpos
  4868. for i = 0, 9 do
  4869. sphereMK(3, 0.25, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 10, -0.01, BrickColor.new("Really black"), 0)
  4870. end
  4871. sphere(3, "Add", root.CFrame, vt(0, 0, 0), 0.25, BrickColor.new("Really black"))
  4872. bld.Enabled = false
  4873. attack = false
  4874. hum.WalkSpeed = storehumanoidWS
  4875. end
  4876. end
  4877. function PureBomb()
  4878. attack = true
  4879. local orb = Instance.new("Part", char)
  4880. orb.Anchored = true
  4881. orb.BrickColor = BrickColor.new("Toothpaste")
  4882. orb.CanCollide = false
  4883. orb.FormFactor = 3
  4884. orb.Name = "Ring"
  4885. orb.Material = "Neon"
  4886. orb.Size = Vector3.new(1, 1, 1)
  4887. orb.Transparency = 0
  4888. orb.TopSurface = 0
  4889. orb.BottomSurface = 0
  4890. local orbm = Instance.new("SpecialMesh", orb)
  4891. orbm.MeshType = "Sphere"
  4892. orbm.Name = "SizeMesh"
  4893. orbm.Scale = vt(0, 0, 0)
  4894. local scaled = 0.1
  4895. local posid = 0
  4896. CFuncs.Sound.Create("rbxassetid://136007472", orb, 1, 1)
  4897. for i = 0, 5, 0.1 do
  4898. swait()
  4899. scaled = scaled - 0.001
  4900. posid = posid - scaled
  4901. orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  4902. orbm.Scale = orbm.Scale + vt(scaled, scaled, scaled)
  4903. sphereMKCharge(5, -0.25, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, BrickColor.new("Toothpaste"), 10)
  4904. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.1)
  4905. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.1)
  4906. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  4907. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  4908. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(180), math.rad(20), math.rad(0)), 0.1)
  4909. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.1)
  4910. end
  4911. for i = 0, 2, 0.1 do
  4912. swait()
  4913. orb.CFrame = rarm.CFrame * CFrame.new(0, -0.1 + posid / 1.05, 0)
  4914. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4)
  4915. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4)
  4916. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.4)
  4917. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(20)), 0.4)
  4918. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(220), math.rad(20), math.rad(0)), 0.4)
  4919. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4)
  4920. end
  4921. coroutine.resume(coroutine.create(function()
  4922. orb.Anchored = false
  4923. CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
  4924. local a = Instance.new("Part", workspace)
  4925. a.Name = "Direction"
  4926. a.Anchored = true
  4927. a.BrickColor = bc("Bright red")
  4928. a.Material = "Neon"
  4929. a.Transparency = 1
  4930. a.CanCollide = false
  4931. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
  4932. local ignore = orb
  4933. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4934. a.BottomSurface = 10
  4935. a.TopSurface = 10
  4936. local distance = (orb.CFrame.p - position).magnitude
  4937. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4938. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4939. orb.CFrame = a.CFrame
  4940. a:Destroy()
  4941. local bv = Instance.new("BodyVelocity")
  4942. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  4943. bv.velocity = orb.CFrame.lookVector * 125
  4944. bv.Parent = orb
  4945. local hitted = false
  4946. game:GetService("Debris"):AddItem(orb, 15)
  4947. wait()
  4948. local hit = orb.Touched:connect(function(hit)
  4949. if hitted == false then
  4950. hitted = true
  4951. CameraEnshaking(10, 2.5)
  4952. CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
  4953. MagniDamage(orb, 65, 65, 90, 0, "Normal")
  4954. sphere(1, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickColor.new("Toothpaste"))
  4955. sphere(2, "Add", orb.CFrame, vt(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickColor.new("Toothpaste"))
  4956. for i = 0, 9 do
  4957. sphereMK(1, 2.5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Toothpaste"), 0)
  4958. sphereMK(2, 5, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Toothpaste"), 0)
  4959. end
  4960. orb.Anchored = true
  4961. orb.Transparency = 1
  4962. wait(8)
  4963. orb:Destroy()
  4964. end
  4965. end)
  4966. end))
  4967. for i = 0, 1, 0.1 do
  4968. swait()
  4969. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-2 - 1 * math.cos(sine / 32))), 0.4)
  4970. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-3 + 1 * math.cos(sine / 32)), math.rad(0), math.rad(-10)), 0.4)
  4971. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.4)
  4972. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.4)
  4973. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(60), math.rad(20), math.rad(50)), 0.4)
  4974. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-30 + 5 * math.cos(sine / 30)), math.rad(-20)), 0.4)
  4975. end
  4976. attack = false
  4977. end
  4978. function ChaosGroundStrike()
  4979. attack = true
  4980. for i = 0, 2, 0.1 do
  4981. swait()
  4982. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  4983. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  4984. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4985. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4986. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  4987. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  4988. end
  4989. CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  4990. CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  4991. CameraEnshaking(4, 12)
  4992. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  4993. if v:FindFirstChild("Head") then
  4994. dmg(v)
  4995. end
  4996. end
  4997. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  4998. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  4999. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random())
  5000. for i = 0, 2, 0.1 do
  5001. swait()
  5002. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  5003. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-52.5, 52.5), -5, math.random(-52.5, 52.5)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  5004. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  5005. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  5006. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  5007. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  5008. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  5009. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  5010. end
  5011. attack = false
  5012. end
  5013. function ChaosBegone()
  5014. attack = true
  5015. chatfunc("WHY WONT YOU PEOPLE...", BrickColor.random().Color)
  5016. for i = 0, 10, 0.1 do
  5017. swait()
  5018. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  5019. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.2)
  5020. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  5021. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  5022. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  5023. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  5024. end
  5025. chatfunc("DIE!!", BrickColor.random().Color)
  5026. CFuncs.Sound.Create("rbxassetid://438666141", char, 7.5, 1)
  5027. CFuncs.Sound.Create("rbxassetid://1208650519", char, 7.5, 1)
  5028. CameraEnshaking(5, 25)
  5029. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  5030. if v:FindFirstChild("Head") then
  5031. dmg(v)
  5032. end
  5033. end
  5034. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1000, BrickColor.random())
  5035. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2000, BrickColor.random())
  5036. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100000, 0.1, 100000), 0.01, BrickColor.random())
  5037. for i = 0, 3, 0.1 do
  5038. swait()
  5039. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  5040. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  5041. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  5042. sphereMK(2.5, 0.75, "Add", root.CFrame * CFrame.new(math.random(-525, 525), -5, math.random(-525, 525)) * CFrame.Angles(math.rad(90 + math.rad(math.random(-45, 45))), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))), 2.5, 2.5, 25, -0.025, BrickColor.random(), 0)
  5043. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  5044. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  5045. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  5046. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  5047. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  5048. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  5049. end
  5050. attack = false
  5051. end
  5052. function orb_spawn_norm(positted, timer, color, MagniBoost, min, max, volEx, ShakePower, volSummon)
  5053. local orb = Instance.new("Part", char)
  5054. orb.Anchored = true
  5055. orb.BrickColor = color
  5056. orb.CanCollide = false
  5057. orb.FormFactor = 3
  5058. orb.Name = "Ring"
  5059. orb.Material = "Neon"
  5060. orb.Size = Vector3.new(1, 1, 1)
  5061. orb.Transparency = 0
  5062. orb.TopSurface = 0
  5063. orb.BottomSurface = 0
  5064. local orbm = Instance.new("SpecialMesh", orb)
  5065. orbm.MeshType = "Sphere"
  5066. orb.CFrame = positted
  5067. orbm.Name = "SizeMesh"
  5068. orbm.Scale = vt(1, 1, 1)
  5069. CFuncs.Sound.Create("rbxassetid://183763506", orb, volSummon, 1)
  5070. sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.05, orb.BrickColor)
  5071. coroutine.resume(coroutine.create(function()
  5072. wait(timer)
  5073. CameraEnshaking(3, ShakePower)
  5074. orb.Transparency = 1
  5075. MagniDamage(orb, 3.5 * MagniBoost, min, max, 0, "Normal")
  5076. sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.1 * MagniBoost, orb.BrickColor)
  5077. CFuncs.Sound.Create("rbxassetid://192410089", orb, volEx, 0.7)
  5078. wait(3)
  5079. orb:Destroy()
  5080. end))
  5081. end
  5082. function orb_spawn(positted, timer)
  5083. local randomcol = math.random(1, 2)
  5084. local orb = Instance.new("Part", char)
  5085. orb.Anchored = true
  5086. if randomcol == 1 then
  5087. orb.BrickColor = BrickColor.new("White")
  5088. elseif randomcol == 2 then
  5089. orb.BrickColor = BrickColor.new("Really black")
  5090. end
  5091. orb.CanCollide = false
  5092. orb.FormFactor = 3
  5093. orb.Name = "Ring"
  5094. orb.Material = "Neon"
  5095. orb.Size = Vector3.new(1, 1, 1)
  5096. orb.Transparency = 0
  5097. orb.TopSurface = 0
  5098. orb.BottomSurface = 0
  5099. local orbm = Instance.new("SpecialMesh", orb)
  5100. orbm.MeshType = "Sphere"
  5101. orb.CFrame = positted
  5102. orbm.Name = "SizeMesh"
  5103. orbm.Scale = vt(1, 1, 1)
  5104. CFuncs.Sound.Create("rbxassetid://183763506", orb, 1.5, 1)
  5105. sphere(2.5, "Add", orb.CFrame, vt(1, 1, 1), 0.025, orb.BrickColor)
  5106. for i = 0, 2 do
  5107. sphereMK(5, 0.15, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1.5, 1.5, 7.5, -0.015, orb.BrickColor, 0)
  5108. end
  5109. coroutine.resume(coroutine.create(function()
  5110. wait(timer)
  5111. CameraEnshaking(3, 2)
  5112. orb.Transparency = 1
  5113. MagniDamage(orb, 17.5, 10, 50, 0, "Normal")
  5114. sphere(5, "Add", orb.CFrame, vt(1, 1, 1), 0.5, orb.BrickColor)
  5115. for i = 0, 4 do
  5116. sphereMK(5, 0.65, "Add", orb.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 2.5, 2.5, 15, -0.025, orb.BrickColor, 0)
  5117. end
  5118. CFuncs.Sound.Create("rbxassetid://192410089", orb, 2, 0.7)
  5119. wait(3)
  5120. orb:Destroy()
  5121. end))
  5122. end
  5123. function scattercorrupt()
  5124. attack = true
  5125. local rot = 0
  5126. local randomrotations = math.random(1, 2)
  5127. local lookv = 2.5
  5128. local power = 5
  5129. sphere(1, "Add", root.CFrame, vt(1, 100000, 1), 0.5, BrickColor.new("Royal purple"))
  5130. sphere(1, "Add", root.CFrame, vt(1, 1, 1), 0.75, BrickColor.new("Royal purple"))
  5131. for i = 0, 9 do
  5132. sphereMK(1, 1.5, "Add", root.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 10, 10, 45, -0.1, BrickColor.new("Royal purple"), 0)
  5133. end
  5134. CFuncs.Sound.Create("rbxassetid://180204650", char, 2.5, 0.6)
  5135. CFuncs.Sound.Create("rbxassetid://233856079", char, 1, 0.5)
  5136. CFuncs.Sound.Create("rbxassetid://1208650519", char, 2.5, 1)
  5137. CFuncs.Sound.Create("rbxassetid://239000203", char, 0.5, 0.75)
  5138. CFuncs.Sound.Create("rbxassetid://579687077", char, 0.5, 0.5)
  5139. local hite = Instance.new("Part", char)
  5140. hite.Anchored = true
  5141. hite.CanCollide = false
  5142. hite.FormFactor = 3
  5143. hite.Name = "Ring"
  5144. hite.Material = "Neon"
  5145. hite.Size = Vector3.new(1, 1, 1)
  5146. hite.Transparency = 1
  5147. hite.TopSurface = 0
  5148. hite.BottomSurface = 0
  5149. hite.CFrame = root.CFrame * CFrame.new(0, -2.5, 0)
  5150. local rem = Instance.new("Part", char)
  5151. rem.Anchored = true
  5152. rem.CanCollide = false
  5153. rem.FormFactor = 3
  5154. rem.Name = "Ring"
  5155. rem.Material = "Neon"
  5156. rem.Size = Vector3.new(1, 1, 1)
  5157. rem.Transparency = 1
  5158. rem.TopSurface = 0
  5159. rem.BottomSurface = 0
  5160. rem.CFrame = hite.CFrame
  5161. local rem2 = rem:Clone()
  5162. rem2.Parent = char
  5163. rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5164. local rem3 = rem:Clone()
  5165. rem3.Parent = char
  5166. rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  5167. local rem4 = rem:Clone()
  5168. rem4.Parent = char
  5169. rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  5170. hite:Destroy()
  5171. coroutine.resume(coroutine.create(function()
  5172. for i = 0, 24 do
  5173. swait(1)
  5174. if randomrotations == 1 then
  5175. rot = rot + 1
  5176. elseif randomrotations == 2 then
  5177. rot = rot - 1
  5178. end
  5179. power = power + 0.5
  5180. lookv = lookv + 7.5
  5181. rem.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(rot), 0)
  5182. rem2.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5183. rem3.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(180), 0)
  5184. rem4.CFrame = rem.CFrame * CFrame.Angles(0, math.rad(270), 0)
  5185. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  5186. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  5187. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  5188. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector * lookv, 3, BrickColor.new("Royal purple"), power, 25, 75, 10, power / 5, 7.5)
  5189. end
  5190. end))
  5191. attack = false
  5192. end
  5193. function yinyangi()
  5194. attack = true
  5195. for i = 0, 2, 0.1 do
  5196. swait()
  5197. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.2)
  5198. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.2)
  5199. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2)
  5200. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  5201. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.2)
  5202. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  5203. end
  5204. local bv = Instance.new("BodyVelocity")
  5205. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  5206. bv.velocity = root.CFrame.lookVector * 175
  5207. bv.Parent = root
  5208. for Rotations = 0, 9 do
  5209. for i = 0, 1, 0.5 do
  5210. swait()
  5211. bv.velocity = root.CFrame.lookVector * 175
  5212. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
  5213. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
  5214. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.5)
  5215. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  5216. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  5217. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  5218. end
  5219. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  5220. for i = 0, 1, 0.5 do
  5221. swait()
  5222. bv.velocity = root.CFrame.lookVector * 175
  5223. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
  5224. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
  5225. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(180)), 0.5)
  5226. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  5227. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  5228. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  5229. end
  5230. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  5231. for i = 0, 1, 0.5 do
  5232. swait()
  5233. bv.velocity = root.CFrame.lookVector * 175
  5234. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
  5235. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
  5236. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(270)), 0.5)
  5237. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  5238. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  5239. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  5240. end
  5241. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  5242. for i = 0, 1, 0.5 do
  5243. swait()
  5244. bv.velocity = root.CFrame.lookVector * 175
  5245. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.5)
  5246. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.5)
  5247. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(90), math.rad(0), math.rad(360)), 0.5)
  5248. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.5)
  5249. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  5250. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.5)
  5251. end
  5252. orb_spawn(rarm.CFrame * CFrame.new(0, -1, 0), 2.5)
  5253. end
  5254. bv:Destroy()
  5255. attack = false
  5256. end
  5257. function Wip()
  5258. attack = true
  5259. local rngb = Instance.new("Part", char)
  5260. rngb.Anchored = true
  5261. rngb.BrickColor = origcolor
  5262. rngb.CanCollide = false
  5263. rngb.FormFactor = 3
  5264. rngb.Name = "Ring"
  5265. rngb.Material = "Neon"
  5266. rngb.Size = Vector3.new(1, 0.05, 1)
  5267. rngb.Transparency = 1
  5268. rngb.TopSurface = 0
  5269. rngb.BottomSurface = 0
  5270. local rngmb = Instance.new("SpecialMesh", rngb)
  5271. rngmb.MeshType = "Brick"
  5272. rngmb.Name = "SizeMesh"
  5273. rngmb.Scale = vt(0, 1, 0)
  5274. local orb = rngb:Clone()
  5275. orb.Parent = char
  5276. orb.Transparency = 0
  5277. orb.BrickColor = BrickColor.new("White")
  5278. orb.Size = vt(1, 1, 1)
  5279. local orbmish = orb.SizeMesh
  5280. orbmish.Scale = vt(0, 0, 0)
  5281. orbmish.MeshType = "Sphere"
  5282. local orbe = rngb:Clone()
  5283. orbe.Parent = char
  5284. orbe.Transparency = 0.5
  5285. orbe.BrickColor = BrickColor.new("New Yeller")
  5286. orbe.Size = vt(1, 1, 1)
  5287. local orbmish2 = orbe.SizeMesh
  5288. orbmish2.Scale = vt(0, 0, 0)
  5289. orbmish2.MeshType = "Sphere"
  5290. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  5291. rngb:Destroy()
  5292. for i = 0, 5, 0.1 do
  5293. swait()
  5294. if rainbowmode == true then
  5295. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  5296. end
  5297. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  5298. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  5299. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  5300. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  5301. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5302. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5303. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3)
  5304. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3)
  5305. RootPart.CFrame = FaceMouse()[1]
  5306. end
  5307. orbe.Transparency = 1
  5308. orb.Transparency = 1
  5309. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  5310. CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  5311. local a = Instance.new("Part", Character)
  5312. a.Name = "Direction"
  5313. a.Anchored = true
  5314. a.BrickColor = bc("White")
  5315. a.Material = "Neon"
  5316. a.Transparency = 0
  5317. a.Shape = "Cylinder"
  5318. a.CanCollide = false
  5319. local a2 = Instance.new("Part", Character)
  5320. a2.Name = "Direction"
  5321. a2.Anchored = true
  5322. a2.BrickColor = bc("New Yeller")
  5323. a2.Color = Color3.new(r / 255, g / 255, b / 255)
  5324. a2.Material = "Neon"
  5325. a2.Transparency = 0.5
  5326. a2.Shape = "Cylinder"
  5327. a2.CanCollide = false
  5328. local ba = Instance.new("Part", Character)
  5329. ba.Name = "HitDirect"
  5330. ba.Anchored = true
  5331. ba.BrickColor = bc("Really black")
  5332. ba.Material = "Neon"
  5333. ba.Transparency = 1
  5334. ba.CanCollide = false
  5335. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  5336. local ignore = Character
  5337. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5338. a.BottomSurface = 10
  5339. a.TopSurface = 10
  5340. a2.BottomSurface = 10
  5341. a2.TopSurface = 10
  5342. local distance = (orb.CFrame.p - position).magnitude
  5343. a.Size = Vector3.new(distance, 1, 1)
  5344. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5345. a2.Size = Vector3.new(distance, 1, 1)
  5346. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5347. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5348. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5349. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5350. game:GetService("Debris"):AddItem(a, 20)
  5351. game:GetService("Debris"):AddItem(a2, 20)
  5352. game:GetService("Debris"):AddItem(ba, 20)
  5353. local msh = Instance.new("SpecialMesh", a)
  5354. msh.MeshType = "Cylinder"
  5355. msh.Scale = vt(1, 25, 25)
  5356. local msh2 = Instance.new("SpecialMesh", a2)
  5357. msh2.MeshType = "Cylinder"
  5358. msh2.Scale = vt(1, 30, 30)
  5359. for i = 0, 10, 0.1 do
  5360. swait()
  5361. CameraEnshaking(1, 5)
  5362. a2.Color = Color3.new(r / 255, g / 255, b / 255)
  5363. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5364. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5365. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  5366. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5367. distance = (orb.CFrame.p - position).magnitude
  5368. if typrot == 1 then
  5369. rotation = rotation + 2.5
  5370. elseif typrot == 2 then
  5371. rotation = rotation - 2.5
  5372. end
  5373. RootPart.CFrame = FaceMouse()[1]
  5374. a.Size = Vector3.new(distance, 1, 1)
  5375. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5376. a2.Size = Vector3.new(distance, 1, 1)
  5377. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5378. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5379. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5380. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5381. msh.Scale = msh.Scale - vt(0, 0.25, 0.25)
  5382. msh2.Scale = msh2.Scale - vt(0, 0.3, 0.3)
  5383. sphereMK(5, 1.5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 15, 15, 25, -0.15, MAINRUINCOLOR, 0)
  5384. sphereMK(5, 1.5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 15, 15, 25, -0.15, MAINRUINCOLOR, 0)
  5385. MagniDamage(ba, 30, 500, 60000, 0, "Normal")
  5386. end
  5387. a:Destroy()
  5388. a2:Destroy()
  5389. ba:Destroy()
  5390. orb:Destroy()
  5391. orbe:Destroy()
  5392. attack = false
  5393. end
  5394. function UniversalSpark()
  5395. attack = true
  5396. local rngb = Instance.new("Part", char)
  5397. rngb.Anchored = true
  5398. rngb.BrickColor = origcolor
  5399. rngb.CanCollide = false
  5400. rngb.FormFactor = 3
  5401. rngb.Name = "Ring"
  5402. rngb.Material = "Neon"
  5403. rngb.Size = Vector3.new(1, 0.05, 1)
  5404. rngb.Transparency = 1
  5405. rngb.TopSurface = 0
  5406. rngb.BottomSurface = 0
  5407. local rngmb = Instance.new("SpecialMesh", rngb)
  5408. rngmb.MeshType = "Brick"
  5409. rngmb.Name = "SizeMesh"
  5410. rngmb.Scale = vt(0, 1, 0)
  5411. local orb = rngb:Clone()
  5412. orb.Parent = char
  5413. orb.Transparency = 0
  5414. orb.BrickColor = BrickColor.new("White")
  5415. orb.Size = vt(1, 1, 1)
  5416. local orbmish = orb.SizeMesh
  5417. orbmish.Scale = vt(0, 0, 0)
  5418. orbmish.MeshType = "Sphere"
  5419. local orbe = rngb:Clone()
  5420. orbe.Parent = char
  5421. orbe.Transparency = 0.5
  5422. orbe.BrickColor = BrickColor.new("New Yeller")
  5423. orbe.Size = vt(1, 1, 1)
  5424. local orbmish2 = orbe.SizeMesh
  5425. orbmish2.Scale = vt(0, 0, 0)
  5426. orbmish2.MeshType = "Sphere"
  5427. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  5428. rngb:Destroy()
  5429. for i = 0, 5, 0.1 do
  5430. swait()
  5431. if rainbowmode == true then
  5432. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  5433. end
  5434. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  5435. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  5436. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  5437. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  5438. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  5439. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5440. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3)
  5441. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3)
  5442. RootPart.CFrame = FaceMouse()[1]
  5443. end
  5444. orbe.Transparency = 1
  5445. orb.Transparency = 1
  5446. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  5447. CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  5448. CFuncs.Sound.Create("rbxassetid://741272936", char, 0.75, 1)
  5449. CFuncs.Sound.Create("rbxassetid://1192402877", char, 1, 1)
  5450. CFuncs.Sound.Create("rbxassetid://1208650519", char, 0.75, 1)
  5451. CFuncs.Sound.Create("rbxassetid://164881112", char, 0.75, 1)
  5452. CFuncs.Sound.Create("rbxassetid://429123896", char, 1, 0.85)
  5453. CFuncs.Sound.Create("rbxassetid://164178927", char, 1, 1)
  5454. local xd = Instance.new("Sound", char)
  5455. xd.SoundId = "rbxassetid://445796828"
  5456. xd.Pitch = 0.75
  5457. xd.Looped = true
  5458. xd.Volume = 1.25
  5459. xd:Play()
  5460. local a = Instance.new("Part", Character)
  5461. a.Name = "Direction"
  5462. a.Anchored = true
  5463. a.BrickColor = bc("Alder")
  5464. a.Color = MAINRUINCOLOR.Color
  5465. a.Material = "Neon"
  5466. a.Transparency = 0.5
  5467. a.Shape = "Cylinder"
  5468. a.CanCollide = false
  5469. local a2 = Instance.new("Part", Character)
  5470. a2.Name = "Direction"
  5471. a2.Anchored = true
  5472. a2.BrickColor = bc("New Yeller")
  5473. a2.Color = MAINRUINCOLOR.Color
  5474. a2.Material = "Neon"
  5475. a2.Transparency = 0.5
  5476. a2.Shape = "Cylinder"
  5477. a2.CanCollide = false
  5478. local ba = Instance.new("Part", Character)
  5479. ba.Name = "HitDirect"
  5480. ba.Anchored = true
  5481. ba.BrickColor = bc("Really black")
  5482. ba.Material = "Neon"
  5483. ba.Transparency = 1
  5484. ba.CanCollide = false
  5485. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  5486. local ignore = Character
  5487. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5488. a.BottomSurface = 10
  5489. a.TopSurface = 10
  5490. a2.BottomSurface = 10
  5491. a2.TopSurface = 10
  5492. local distance = (orb.CFrame.p - position).magnitude
  5493. a.Size = Vector3.new(distance, 1, 1)
  5494. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5495. a2.Size = Vector3.new(distance, 1, 1)
  5496. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5497. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5498. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5499. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5500. game:GetService("Debris"):AddItem(a, 60)
  5501. game:GetService("Debris"):AddItem(a2, 60)
  5502. game:GetService("Debris"):AddItem(ba, 60)
  5503. local outerscale = 0
  5504. local msh = Instance.new("SpecialMesh", a)
  5505. msh.MeshType = "Cylinder"
  5506. msh.Scale = vt(1, 0, 0)
  5507. local msh2 = Instance.new("SpecialMesh", a2)
  5508. msh2.MeshType = "Cylinder"
  5509. msh2.Scale = vt(1, 0, 0)
  5510. for i = 0, 2, 0.1 do
  5511. swait()
  5512. CameraEnshaking(1, 1)
  5513. msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20)
  5514. msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15)
  5515. outerscale = outerscale - 0.015
  5516. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5517. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5518. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  5519. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5520. distance = (orb.CFrame.p - position).magnitude
  5521. if typrot == 1 then
  5522. rotation = rotation + 2.5
  5523. elseif typrot == 2 then
  5524. rotation = rotation - 2.5
  5525. end
  5526. RootPart.CFrame = FaceMouse()[1]
  5527. a.Size = Vector3.new(distance, 1, 1)
  5528. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5529. a2.Size = Vector3.new(distance, 1, 1)
  5530. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5531. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5532. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5533. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5534. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5535. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5536. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  5537. end
  5538. for z = 0, 2 do
  5539. for i = 0, 4, 0.1 do
  5540. swait()
  5541. CameraEnshaking(1, 1)
  5542. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  5543. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  5544. outerscale = outerscale + 0.015
  5545. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5546. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5547. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  5548. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5549. distance = (orb.CFrame.p - position).magnitude
  5550. if typrot == 1 then
  5551. rotation = rotation + 2.5
  5552. elseif typrot == 2 then
  5553. rotation = rotation - 2.5
  5554. end
  5555. RootPart.CFrame = FaceMouse()[1]
  5556. a.Size = Vector3.new(distance, 1, 1)
  5557. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5558. a2.Size = Vector3.new(distance, 1, 1)
  5559. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5560. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5561. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5562. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5563. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5564. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5565. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  5566. end
  5567. for i = 0, 4, 0.1 do
  5568. swait()
  5569. CameraEnshaking(1, 1)
  5570. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  5571. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  5572. outerscale = outerscale - 0.015
  5573. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5574. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5575. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  5576. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5577. distance = (orb.CFrame.p - position).magnitude
  5578. if typrot == 1 then
  5579. rotation = rotation + 2.5
  5580. elseif typrot == 2 then
  5581. rotation = rotation - 2.5
  5582. end
  5583. RootPart.CFrame = FaceMouse()[1]
  5584. a.Size = Vector3.new(distance, 1, 1)
  5585. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5586. a2.Size = Vector3.new(distance, 1, 1)
  5587. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5588. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5589. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5590. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5591. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5592. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5593. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  5594. end
  5595. end
  5596. for i = 0, 4, 0.1 do
  5597. swait()
  5598. CameraEnshaking(1, 1)
  5599. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  5600. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  5601. xd.Volume = xd.Volume - 0.025
  5602. a.Transparency = a.Transparency + 0.025
  5603. a2.Transparency = a2.Transparency + 0.025
  5604. outerscale = outerscale - 0.015
  5605. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5606. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  5607. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  5608. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5609. distance = (orb.CFrame.p - position).magnitude
  5610. if typrot == 1 then
  5611. rotation = rotation + 2.5
  5612. elseif typrot == 2 then
  5613. rotation = rotation - 2.5
  5614. end
  5615. RootPart.CFrame = FaceMouse()[1]
  5616. a.Size = Vector3.new(distance, 1, 1)
  5617. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5618. a2.Size = Vector3.new(distance, 1, 1)
  5619. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  5620. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5621. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5622. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  5623. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5624. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  5625. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  5626. end
  5627. xd:Destroy()
  5628. a:Destroy()
  5629. a2:Destroy()
  5630. ba:Destroy()
  5631. orb:Destroy()
  5632. orbe:Destroy()
  5633. attack = false
  5634. end
  5635. function resetmode()
  5636. rainbowmode = false
  5637. chaosmode = false
  5638. RecolorTextAndRename("Singularity", Color3.new(0, 0, 0), Color3.new(1, 0, 0))
  5639. ModeOfGlitch = 1
  5640. storehumanoidWS = 16
  5641. for i, v in pairs(mw2:GetChildren()) do
  5642. if v:IsA("Part") then
  5643. v.BrickColor = BrickColor.new("Really red")
  5644. v.Material = "Neon"
  5645. end
  5646. end
  5647. for i, v in pairs(mw1:GetChildren()) do
  5648. if v:IsA("Part") then
  5649. v.Transparency = 1
  5650. v.BrickColor = BrickColor.new("Really red")
  5651. v.Material = "Neon"
  5652. end
  5653. end
  5654. MAINRUINCOLOR = BrickColor.new("Really red")
  5655. hum.WalkSpeed = 16
  5656. newTheme("rbxassetid://415898123", 0, 1, 10)
  5657. for i, v in pairs(m:GetChildren()) do
  5658. if v:IsA("Part") then
  5659. v.BrickColor = BrickColor.new("Really black")
  5660. v.Material = "Glass"
  5661. end
  5662. end
  5663. for i, v in pairs(m2:GetChildren()) do
  5664. if v:IsA("Part") then
  5665. v.BrickColor = BrickColor.new("Crimson")
  5666. v.Material = "Granite"
  5667. end
  5668. end
  5669. for i, v in pairs(m3:GetChildren()) do
  5670. if v:IsA("Part") then
  5671. v.BrickColor = BrickColor.new("Really red")
  5672. v.Material = "Neon"
  5673. end
  5674. end
  5675. for i, v in pairs(extrawingmod1:GetChildren()) do
  5676. if v:IsA("Part") then
  5677. v.Transparency = 1
  5678. v.BrickColor = BrickColor.new("White")
  5679. v.Material = "Neon"
  5680. end
  5681. end
  5682. for i, v in pairs(extrawingmod2:GetChildren()) do
  5683. if v:IsA("Part") then
  5684. v.Transparency = 1
  5685. v.BrickColor = BrickColor.new("White")
  5686. v.Material = "Neon"
  5687. end
  5688. end
  5689. end
  5690. function attackone()
  5691. attack = true
  5692. for i = 0, 1, 0.1 do
  5693. swait()
  5694. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.2)
  5695. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40)), 0.2)
  5696. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  5697. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  5698. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.2)
  5699. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(10)), 0.2)
  5700. end
  5701. CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1.1)
  5702. local hitb = Instance.new("Part", char)
  5703. hitb.Anchored = true
  5704. hitb.CanCollide = false
  5705. hitb.FormFactor = 3
  5706. hitb.Name = "Ring"
  5707. hitb.Material = "Neon"
  5708. hitb.Size = Vector3.new(1, 1, 1)
  5709. hitb.Transparency = 1
  5710. hitb.TopSurface = 0
  5711. hitb.BottomSurface = 0
  5712. hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  5713. MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  5714. hitb:Destroy()
  5715. for i = 0, 1, 0.1 do
  5716. swait()
  5717. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(70)), 0.4)
  5718. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-70)), 0.4)
  5719. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  5720. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  5721. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4)
  5722. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4)
  5723. end
  5724. attack = false
  5725. end
  5726. function attacktwo()
  5727. attack = true
  5728. for i = 0, 1, 0.1 do
  5729. swait()
  5730. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.2)
  5731. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
  5732. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5733. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5734. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), -0.75) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.2)
  5735. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(10)), 0.2)
  5736. end
  5737. CFuncs.Sound.Create("rbxassetid://200632136", root, 1, 1)
  5738. local hitb = Instance.new("Part", char)
  5739. hitb.Anchored = true
  5740. hitb.CanCollide = false
  5741. hitb.FormFactor = 3
  5742. hitb.Name = "Ring"
  5743. hitb.Material = "Neon"
  5744. hitb.Size = Vector3.new(1, 1, 1)
  5745. hitb.Transparency = 1
  5746. hitb.TopSurface = 0
  5747. hitb.BottomSurface = 0
  5748. hitb.CFrame = root.CFrame + root.CFrame.lookVector * 2
  5749. MagniDamage(hitb, 3, 10, 30, 0, "Normal")
  5750. hitb:Destroy()
  5751. for i = 0, 1, 0.1 do
  5752. swait()
  5753. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(-70)), 0.4)
  5754. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(70)), 0.4)
  5755. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  5756. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  5757. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-40)), 0.4)
  5758. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-10)), 0.4)
  5759. end
  5760. attack = false
  5761. end
  5762. function attackthree()
  5763. attack = true
  5764. for i = 0, 1, 0.1 do
  5765. swait()
  5766. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  5767. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3)
  5768. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  5769. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5770. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3)
  5771. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3)
  5772. end
  5773. local distlook = 5
  5774. for i = 0, 4 do
  5775. swait(2)
  5776. CameraEnshaking(2, 3)
  5777. local hite = Instance.new("Part", char)
  5778. hite.Anchored = true
  5779. hite.CanCollide = false
  5780. hite.FormFactor = 3
  5781. hite.Name = "Ring"
  5782. hite.Material = "Neon"
  5783. hite.Size = Vector3.new(1, 1, 1)
  5784. hite.Transparency = 1
  5785. hite.TopSurface = 0
  5786. hite.BottomSurface = 0
  5787. hite.CFrame = root.CFrame + root.CFrame.lookVector * distlook
  5788. sphere(3, "Add", hite.CFrame, vt(0, 0, 0), 0.15, MAINRUINCOLOR)
  5789. sphere(6, "Add", hite.CFrame, vt(0, 0, 0), 0.3, MAINRUINCOLOR)
  5790. MagniDamage(hite, 10, 15, 35, 0, "Normal")
  5791. for i = 0, 2 do
  5792. sphereMK(2, 0.2, "Add", rarm.CFrame * CFrame.Angles(math.rad(-90 + math.random(-20, 20)), math.rad(math.random(-20, 20)), math.rad(math.random(-20, 20))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  5793. sphereMK(3, 0.2, "Add", hite.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  5794. sphereMK(6, 0.35, "Add", hite.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  5795. end
  5796. CFuncs.Sound.Create("rbxassetid://183763506", hite, 2.5, 1)
  5797. CFuncs.Sound.Create("rbxassetid://178452221", hite, 0.25, 0.6)
  5798. game:GetService("Debris"):AddItem(hite, 5)
  5799. distlook = distlook + 10
  5800. end
  5801. attack = false
  5802. end
  5803. local attacktype = 1
  5804. mouse.Button1Down:connect(function()
  5805. if attack == false and attacktype == 1 then
  5806. attacktype = 2
  5807. attackone()
  5808. elseif attack == false and attacktype == 2 then
  5809. attacktype = 3
  5810. attacktwo()
  5811. elseif attack == false and attacktype == 3 then
  5812. attacktype = 1
  5813. attackthree()
  5814. elseif attack == false and attacktype == 4 then
  5815. attacktype = 1
  5816. end
  5817. end)
  5818. mouse.KeyDown:connect(function(k)
  5819. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  5820. ModeOfGlitch = 2
  5821. storehumanoidWS = 16
  5822. hum.WalkSpeed = 16
  5823. rainbowmode = false
  5824. chaosmode = false
  5825. RecolorTextAndRename("Purity", Color3.new(1, 1, 1), Color3.new(0, 1, 1))
  5826. newTheme("rbxassetid://1119453744", 20.25, 1, 1)
  5827. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5828. for i, v in pairs(mw2:GetChildren()) do
  5829. if v:IsA("Part") then
  5830. v.BrickColor = MAINRUINCOLOR
  5831. v.Material = "Neon"
  5832. end
  5833. end
  5834. for i, v in pairs(mw1:GetChildren()) do
  5835. if v:IsA("Part") then
  5836. v.Transparency = 1
  5837. v.BrickColor = MAINRUINCOLOR
  5838. v.Material = "Neon"
  5839. end
  5840. end
  5841. for i, v in pairs(m:GetChildren()) do
  5842. if v:IsA("Part") then
  5843. v.BrickColor = BrickColor.new("White")
  5844. v.Material = "Ice"
  5845. end
  5846. end
  5847. for i, v in pairs(m2:GetChildren()) do
  5848. if v:IsA("Part") then
  5849. v.BrickColor = BrickColor.new("Pastel light blue")
  5850. v.Material = "Glass"
  5851. end
  5852. end
  5853. for i, v in pairs(m3:GetChildren()) do
  5854. if v:IsA("Part") then
  5855. v.BrickColor = BrickColor.new("Toothpaste")
  5856. v.Material = "Neon"
  5857. end
  5858. end
  5859. for i, v in pairs(extrawingmod1:GetChildren()) do
  5860. if v:IsA("Part") then
  5861. v.Transparency = 1
  5862. v.BrickColor = BrickColor.new("White")
  5863. v.Material = "Neon"
  5864. end
  5865. end
  5866. for i, v in pairs(extrawingmod2:GetChildren()) do
  5867. if v:IsA("Part") then
  5868. v.Transparency = 1
  5869. v.BrickColor = BrickColor.new("White")
  5870. v.Material = "Neon"
  5871. end
  5872. end
  5873. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  5874. resetmode()
  5875. end
  5876. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  5877. ModeOfGlitch = 3
  5878. storehumanoidWS = 16
  5879. hum.WalkSpeed = 16
  5880. rainbowmode = false
  5881. chaosmode = false
  5882. RecolorTextAndRename("Corruption", Color3.new(0, 0, 0), Color3.new(0.35, 0, 1))
  5883. newTheme("rbxassetid://1509634377", 58.15, 1,2)
  5884. MAINRUINCOLOR = BrickColor.new("Royal purple")
  5885. for i, v in pairs(mw2:GetChildren()) do
  5886. if v:IsA("Part") then
  5887. v.BrickColor = MAINRUINCOLOR
  5888. v.Material = "Neon"
  5889. end
  5890. end
  5891. for i, v in pairs(mw1:GetChildren()) do
  5892. if v:IsA("Part") then
  5893. v.Transparency = 1
  5894. v.BrickColor = MAINRUINCOLOR
  5895. v.Material = "Neon"
  5896. end
  5897. end
  5898. for i, v in pairs(m:GetChildren()) do
  5899. if v:IsA("Part") then
  5900. v.BrickColor = BrickColor.new("Black")
  5901. v.Material = "Ice"
  5902. end
  5903. end
  5904. for i, v in pairs(m2:GetChildren()) do
  5905. if v:IsA("Part") then
  5906. v.BrickColor = BrickColor.new("Dark indigo")
  5907. v.Material = "Glass"
  5908. end
  5909. end
  5910. for i, v in pairs(m3:GetChildren()) do
  5911. if v:IsA("Part") then
  5912. v.BrickColor = BrickColor.new("Royal purple")
  5913. v.Material = "Neon"
  5914. end
  5915. end
  5916. for i, v in pairs(extrawingmod1:GetChildren()) do
  5917. if v:IsA("Part") then
  5918. v.Transparency = 1
  5919. v.BrickColor = BrickColor.new("White")
  5920. v.Material = "Neon"
  5921. end
  5922. end
  5923. for i, v in pairs(extrawingmod2:GetChildren()) do
  5924. if v:IsA("Part") then
  5925. v.Transparency = 1
  5926. v.BrickColor = BrickColor.new("White")
  5927. v.Material = "Neon"
  5928. end
  5929. end
  5930. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  5931. resetmode()
  5932. end
  5933. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  5934. ModeOfGlitch = 4
  5935. storehumanoidWS = 16
  5936. hum.WalkSpeed = 16
  5937. rainbowmode = false
  5938. chaosmode = true
  5939. RecolorTextAndRename("HATRED", Color3.new(0, 0, 0), BrickColor.random().Color)
  5940. newTheme("rbxassetid://415898123", 0, 1, 10)
  5941. MAINRUINCOLOR = BrickColor.new("Black")
  5942. for i, v in pairs(mw2:GetChildren()) do
  5943. if v:IsA("Part") then
  5944. v.BrickColor = MAINRUINCOLOR
  5945. v.Material = "Neon"
  5946. end
  5947. end
  5948. for i, v in pairs(mw1:GetChildren()) do
  5949. if v:IsA("Part") then
  5950. v.Transparency = 0.75
  5951. v.BrickColor = BrickColor.random()
  5952. v.Material = "Neon"
  5953. end
  5954. end
  5955. for i, v in pairs(m:GetChildren()) do
  5956. if v:IsA("Part") then
  5957. v.BrickColor = BrickColor.new("Black")
  5958. v.Material = "Neon"
  5959. end
  5960. end
  5961. for i, v in pairs(m2:GetChildren()) do
  5962. if v:IsA("Part") then
  5963. v.BrickColor = BrickColor.random()
  5964. v.Material = "Neon"
  5965. end
  5966. end
  5967. for i, v in pairs(m3:GetChildren()) do
  5968. if v:IsA("Part") then
  5969. v.BrickColor = BrickColor.new("Black")
  5970. v.Material = "Neon"
  5971. end
  5972. end
  5973. for i, v in pairs(extrawingmod1:GetChildren()) do
  5974. if v:IsA("Part") then
  5975. v.Transparency = 1
  5976. v.BrickColor = BrickColor.new("White")
  5977. v.Material = "Neon"
  5978. end
  5979. end
  5980. for i, v in pairs(extrawingmod2:GetChildren()) do
  5981. if v:IsA("Part") then
  5982. v.Transparency = 1
  5983. v.BrickColor = BrickColor.new("White")
  5984. v.Material = "Neon"
  5985. end
  5986. end
  5987. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  5988. resetmode()
  5989. end
  5990. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  5991. ModeOfGlitch = 5
  5992.  
  5993. storehumanoidWS = 16
  5994. hum.WalkSpeed = 16
  5995. rainbowmode = false
  5996. chaosmode = false
  5997. RecolorTextAndRename("Solitude", Color3.new(0, 0, 0), Color3.new(255, 255, 255))
  5998. newTheme("rbxassetid://723652641", 10, 1, 3.2)
  5999. ModeOfGlitch = 1
  6000. MAINRUINCOLOR = BrickColor.new("Really black")
  6001. for i, v in pairs(mw2:GetChildren()) do
  6002. if v:IsA("Part") then
  6003. v.BrickColor = MAINRUINCOLOR
  6004. v.Material = "Neon"
  6005. end
  6006. end
  6007. for i, v in pairs(mw1:GetChildren()) do
  6008. if v:IsA("Part") then
  6009. v.Transparency = 0
  6010. v.BrickColor = MAINRUINCOLOR
  6011. v.Material = "Neon"
  6012. end
  6013. end
  6014. for i, v in pairs(m:GetChildren()) do
  6015. if v:IsA("Part") then
  6016. v.BrickColor = BrickColor.new("Really black")
  6017. v.Material = "Ice"
  6018. end
  6019. end
  6020. for i, v in pairs(m2:GetChildren()) do
  6021. if v:IsA("Part") then
  6022. v.BrickColor = BrickColor.new("Really black")
  6023. v.Material = "Ice"
  6024. end
  6025. end
  6026. for i, v in pairs(m3:GetChildren()) do
  6027. if v:IsA("Part") then
  6028. v.BrickColor = BrickColor.new("Really black")
  6029. v.Material = "Neon"
  6030. end
  6031. end
  6032. for i, v in pairs(extrawingmod1:GetChildren()) do
  6033. if v:IsA("Part") then
  6034. v.Transparency = 1
  6035. v.BrickColor = BrickColor.new("White")
  6036. v.Material = "Neon"
  6037. end
  6038. end
  6039. for i, v in pairs(extrawingmod2:GetChildren()) do
  6040. if v:IsA("Part") then
  6041. v.Transparency = 1
  6042. v.BrickColor = BrickColor.new("White")
  6043. v.Material = "Neon"
  6044. end
  6045. end
  6046. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  6047. resetmode()
  6048. end
  6049. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  6050. ModeOfGlitch = 6
  6051. storehumanoidWS = 75
  6052. hum.WalkSpeed = 75
  6053. rainbowmode = false
  6054. chaosmode = false
  6055. RecolorTextAndRename("Equality", Color3.new(0, 0, 0), Color3.new(1, 1, 1))
  6056. newTheme("rbxassetid://519067542", 0, 1, 1)
  6057. MAINRUINCOLOR = BrickColor.new("Really black")
  6058. for i, v in pairs(mw2:GetChildren()) do
  6059. if v:IsA("Part") then
  6060. v.BrickColor = BrickColor.new("White")
  6061. v.Material = "Neon"
  6062. end
  6063. end
  6064. for i, v in pairs(mw1:GetChildren()) do
  6065. if v:IsA("Part") then
  6066. v.Transparency = 0
  6067. v.BrickColor = BrickColor.new("Really black")
  6068. v.Material = "Neon"
  6069. end
  6070. end
  6071. for i, v in pairs(m:GetChildren()) do
  6072. if v:IsA("Part") then
  6073. v.BrickColor = BrickColor.new("White")
  6074. v.Material = "Ice"
  6075. end
  6076. end
  6077. for i, v in pairs(m2:GetChildren()) do
  6078. if v:IsA("Part") then
  6079. v.BrickColor = BrickColor.new("Really black")
  6080. v.Material = "Ice"
  6081. end
  6082. end
  6083. for i, v in pairs(m3:GetChildren()) do
  6084. if v:IsA("Part") then
  6085. v.BrickColor = BrickColor.new("White")
  6086. v.Material = "Neon"
  6087. end
  6088. end
  6089. for i, v in pairs(extrawingmod1:GetChildren()) do
  6090. if v:IsA("Part") then
  6091. v.Transparency = 1
  6092. v.BrickColor = BrickColor.new("White")
  6093. v.Material = "Neon"
  6094. end
  6095. end
  6096. for i, v in pairs(extrawingmod2:GetChildren()) do
  6097. if v:IsA("Part") then
  6098. v.Transparency = 1
  6099. v.BrickColor = BrickColor.new("White")
  6100. v.Material = "Neon"
  6101. end
  6102. end
  6103.  
  6104.  
  6105. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  6106. resetmode()
  6107. end
  6108. if k == "u" and attack == false and ModeOfGlitch ~= 6127843 then
  6109. ModeOfGlitch = 6127843
  6110. storehumanoidWS = 50
  6111. hum.WalkSpeed = 50
  6112. rainbowmode = true
  6113. chaosmode = false
  6114. RecolorTextAndRename("StarLight", Color3.new(1, 1, 1), Color3.new(1, 1, 1))
  6115. newTheme("rbxassetid://152539141", 0, 1, 1)
  6116. MAINRUINCOLOR = BrickColor.new("White")
  6117. for i, v in pairs(mw2:GetChildren()) do
  6118. if v:IsA("Part") then
  6119. v.BrickColor = MAINRUINCOLOR
  6120. v.Material = "Neon"
  6121. end
  6122. end
  6123. for i, v in pairs(mw1:GetChildren()) do
  6124. if v:IsA("Part") then
  6125. v.Transparency = 0
  6126. v.BrickColor = MAINRUINCOLOR
  6127. v.Material = "Neon"
  6128. end
  6129. end
  6130. for i, v in pairs(m:GetChildren()) do
  6131. if v:IsA("Part") then
  6132. v.BrickColor = BrickColor.new("White")
  6133. v.Material = "Neon"
  6134. end
  6135. end
  6136. for i, v in pairs(m2:GetChildren()) do
  6137. if v:IsA("Part") then
  6138. v.BrickColor = BrickColor.new("White")
  6139. v.Material = "Neon"
  6140. end
  6141. end
  6142. for i, v in pairs(m3:GetChildren()) do
  6143. if v:IsA("Part") then
  6144. v.BrickColor = BrickColor.new("White")
  6145. v.Material = "Neon"
  6146. end
  6147. end
  6148. for i, v in pairs(extrawingmod1:GetChildren()) do
  6149. if v:IsA("Part") then
  6150. v.Transparency = 1
  6151. v.BrickColor = BrickColor.new("White")
  6152. v.Material = "Neon"
  6153. end
  6154. end
  6155. for i, v in pairs(extrawingmod2:GetChildren()) do
  6156. if v:IsA("Part") then
  6157. v.Transparency = 1
  6158. v.BrickColor = BrickColor.new("White")
  6159. v.Material = "Neon"
  6160. end
  6161. end
  6162. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  6163. resetmode()
  6164. end
  6165. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  6166. ModeOfGlitch = 1000000
  6167. storehumanoidWS = 100
  6168. hum.WalkSpeed = 100
  6169. rainbowmode = false
  6170. chaosmode = false
  6171. RecolorTextAndRename("True Starlight", Color3.new(0.25, 0, 1), Color3.new(0.5, 0, 1))
  6172. newTheme("rbxassetid://614032233", 0, 1, 1)
  6173. MAINRUINCOLOR = BrickColor.new("Bright violet")
  6174. for i, v in pairs(mw2:GetChildren()) do
  6175. if v:IsA("Part") then
  6176. v.BrickColor = MAINRUINCOLOR
  6177. v.Material = "Neon"
  6178. end
  6179. end
  6180. for i, v in pairs(mw1:GetChildren()) do
  6181. if v:IsA("Part") then
  6182. v.Transparency = 0
  6183. v.BrickColor = MAINRUINCOLOR
  6184. v.Material = "Neon"
  6185. end
  6186. end
  6187. for i, v in pairs(m:GetChildren()) do
  6188. if v:IsA("Part") then
  6189. v.Color = Color3.new(0.5, 0, 1)
  6190. v.Material = "Neon"
  6191. end
  6192. end
  6193. for i, v in pairs(m2:GetChildren()) do
  6194. if v:IsA("Part") then
  6195. v.Color = Color3.new(0.25, 0, 1)
  6196. v.Material = "Neon"
  6197. end
  6198. end
  6199. for i, v in pairs(m3:GetChildren()) do
  6200. if v:IsA("Part") then
  6201. v.Color = Color3.new(0.45, 0, 1)
  6202. v.Material = "Neon"
  6203. end
  6204. end
  6205. for i, v in pairs(extrawingmod1:GetChildren()) do
  6206. if v:IsA("Part") then
  6207. v.Transparency = 0
  6208. v.Color = Color3.new(0.25, 0, 1)
  6209. v.Material = "Neon"
  6210. end
  6211. end
  6212. for i, v in pairs(extrawingmod2:GetChildren()) do
  6213. if v:IsA("Part") then
  6214. v.Transparency = 0
  6215. v.Color = Color3.new(0.5, 0, 1)
  6216. v.Material = "Neon"
  6217. end
  6218. end
  6219. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  6220. resetmode()
  6221. end
  6222. if k == "l" and toggleTag == false then
  6223. toggleTag = true
  6224. text.TextTransparency = 0
  6225. text.TextStrokeTransparency = 0
  6226. elseif k == "l" and toggleTag == true then
  6227. toggleTag = false
  6228. text.TextTransparency = 1
  6229. text.TextStrokeTransparency = 1
  6230. end
  6231. if k == "z" and attack == false and ModeOfGlitch == 1 then
  6232. ExtinctiveHeartbreak()
  6233. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6234. PureBomb()
  6235. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6236. scattercorrupt()
  6237. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6238. ChaosGroundStrike()
  6239. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6240. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  6241. UniversalSpark()
  6242. elseif k == "l" and attack == false and ModeOfGlitch == 1000000 then
  6243. scattercorrupt()
  6244. wait(1)
  6245. yinyangi()
  6246. elseif k == "l" and attack == false and ModeOfGlitch == 5 then
  6247. scattercorrupt()
  6248. scattercorrupt()
  6249. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6250. yinyangi()
  6251. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  6252. Wip()
  6253. end
  6254. if k == "l" and attack == false and ModeOfGlitch == 4 then
  6255. ChaosBegone()
  6256. end
  6257. end)
  6258. coroutine.resume(coroutine.create(function()
  6259. while true do
  6260. swait(2)
  6261. if rainbowmode == true or ModeOfGlitch == 6 then
  6262. sphereMK(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -6, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, MAINRUINCOLOR, 0)
  6263. end
  6264. end
  6265. end))
  6266. coroutine.resume(coroutine.create(function()
  6267. while true do
  6268. swait(0.5)
  6269. if ModeOfGlitch == 1000000 then
  6270. sphereMK(5, 0.5, "Add", root.CFrame * CFrame.new(math.random(-25, 25), -10, math.random(-25, 25)) * CFrame.Angles(math.rad(90 + math.random(-15, 15)), math.rad(math.random(-15, 15)), 0), 1, 1, 15, -0.01, MAINRUINCOLOR, 0)
  6271. end
  6272. end
  6273. end))
  6274. coroutine.resume(coroutine.create(function()
  6275. while true do
  6276. swait(2)
  6277. if chaosmode == true then
  6278. RecolorTextAndRename("HATRED", Color3.new(0, 0, 0), BrickColor.random().Color)
  6279. for i, v in pairs(mw1:GetChildren()) do
  6280. if v:IsA("Part") then
  6281. v.Transparency = 0.75
  6282. v.BrickColor = BrickColor.random()
  6283. v.Material = "Neon"
  6284. end
  6285. end
  6286. for i, v in pairs(m2:GetChildren()) do
  6287. if v:IsA("Part") then
  6288. v.BrickColor = BrickColor.random()
  6289. v.Material = "Neon"
  6290. end
  6291. end
  6292. end
  6293. end
  6294. end))
  6295. Humanoid.Name = "STARGLITCHER"
  6296. Humanoid.MaxHealth = math.huge
  6297. Humanoid.Health = math.huge
  6298. Instance.new("ForceField", char).Visible = false
  6299. Humanoid.Animator.Parent = nil
  6300. idleanim = 0.4
  6301. while true do
  6302. if rainbowmode == true then
  6303. RecolorTextAndRename("StarLight", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500))
  6304. MAINRUINCOLOR = BrickColor.new("White")
  6305. for i, v in pairs(m:GetChildren()) do
  6306. if v:IsA("Part") then
  6307. v.Color = Color3.new(r / 255, g / 255, b / 255)
  6308. end
  6309. end
  6310. for i, v in pairs(m2:GetChildren()) do
  6311. if v:IsA("Part") then
  6312. v.Color = Color3.new(r / 255, g / 255, b / 255)
  6313. end
  6314. end
  6315. for i, v in pairs(m3:GetChildren()) do
  6316. if v:IsA("Part") then
  6317. v.Color = Color3.new(r / 255, g / 255, b / 255)
  6318. end
  6319. end
  6320. for i, v in pairs(mw1:GetChildren()) do
  6321. if v:IsA("Part") then
  6322. v.Color = Color3.new(r / 255, g / 255, b / 255)
  6323. v.Material = "Neon"
  6324. end
  6325. end
  6326. for i, v in pairs(mw2:GetChildren()) do
  6327. if v:IsA("Part") then
  6328. v.Color = Color3.new(r / 255, g / 255, b / 255)
  6329. v.Material = "Neon"
  6330. end
  6331. end
  6332. end
  6333. CameraManager()
  6334. swait()
  6335. lwing1weld.C1 = clerp(lwing1weld.C1, cf(2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(5 + 10 * math.cos(sine / 32)), math.rad(0), math.rad(12.5 + 5 * math.cos(sine / 32))), 0.3)
  6336. lwing2weld.C1 = clerp(lwing2weld.C1, cf(3, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(10 + 15 * math.cos(sine / 32)), math.rad(0), math.rad(25 + 7.5 * math.cos(sine / 32))), 0.3)
  6337. lwing3weld.C1 = clerp(lwing3weld.C1, cf(3.75, 2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(15 + 20 * math.cos(sine / 32)), math.rad(0), math.rad(37.5 + 10 * math.cos(sine / 32))), 0.3)
  6338. lwing4weld.C1 = clerp(lwing4weld.C1, cf(4.75, 3, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(20 + 25 * math.cos(sine / 32)), math.rad(0), math.rad(50 + 12.5 * math.cos(sine / 32))), 0.3)
  6339. lwing5weld.C1 = clerp(lwing5weld.C1, cf(5.75, 4, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(25 + 30 * math.cos(sine / 32)), math.rad(0), math.rad(62.5 + 15 * math.cos(sine / 32))), 0.3)
  6340. lwing6weld.C1 = clerp(lwing6weld.C1, cf(6.75, 5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(30 + 35 * math.cos(sine / 32)), math.rad(0), math.rad(75 + 17.5 * math.cos(sine / 32))), 0.3)
  6341. rwing1weld.C1 = clerp(rwing1weld.C1, cf(-2, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(5 + 10 * math.cos(sine / 32)), math.rad(0), math.rad(-12.5 - 5 * math.cos(sine / 32))), 0.3)
  6342. rwing2weld.C1 = clerp(rwing2weld.C1, cf(-3, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(10 + 15 * math.cos(sine / 32)), math.rad(0), math.rad(-25 - 7.5 * math.cos(sine / 32))), 0.3)
  6343. rwing3weld.C1 = clerp(rwing3weld.C1, cf(-3.75, 2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(15 + 20 * math.cos(sine / 32)), math.rad(0), math.rad(-37.5 - 10 * math.cos(sine / 32))), 0.3)
  6344. rwing4weld.C1 = clerp(rwing4weld.C1, cf(-4.75, 3, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(20 + 25 * math.cos(sine / 32)), math.rad(0), math.rad(-50 - 12.5 * math.cos(sine / 32))), 0.3)
  6345. rwing5weld.C1 = clerp(rwing5weld.C1, cf(-5.75, 4, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(25 + 30 * math.cos(sine / 32)), math.rad(0), math.rad(-62.5 - 15 * math.cos(sine / 32))), 0.3)
  6346. rwing6weld.C1 = clerp(rwing6weld.C1, cf(-6.75, 5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)) * angles(math.rad(30 + 35 * math.cos(sine / 32)), math.rad(0), math.rad(-75 - 17.5 * math.cos(sine / 32))), 0.3)
  6347. sine = sine + change
  6348. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  6349. local velderp = RootPart.Velocity.y
  6350. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  6351. if equipped == true or equipped == false then
  6352. if attack == false then
  6353. idle = idle + 1
  6354. else
  6355. idle = 0
  6356. end
  6357. if not (idle >= 500) or attack == false then
  6358. end
  6359. if RootPart.Velocity.y > 1 and hitfloor == nil then
  6360. Anim = "Jump"
  6361. if attack == false then
  6362. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1)
  6363. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.1)
  6364. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 25)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.1)
  6365. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.1)
  6366. RW.C0 = clerp(RW.C0, cf(1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-5), math.rad(0), math.rad(25)), 0.1)
  6367. LW.C0 = clerp(LW.C0, cf(-1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-5), math.rad(0), math.rad(-25)), 0.1)
  6368. end
  6369. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  6370. Anim = "Fall"
  6371. if attack == false then
  6372. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(-20)), 0.1)
  6373. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(20)), 0.1)
  6374. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  6375. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  6376. RW.C0 = clerp(RW.C0, cf(1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.1)
  6377. LW.C0 = clerp(LW.C0, cf(-1.45, 0.5 + 0.1 * math.cos(sine / 25), 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1)
  6378. end
  6379. elseif torvel < 1 and hitfloor ~= nil then
  6380. Anim = "Idle"
  6381. if attack == false then
  6382. if ModeOfGlitch == 1 then
  6383. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-10 - 2.5 * math.cos(sine / 32)), math.rad(-20), math.rad(0)), 0.1)
  6384. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.1 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(-10 + 2.5 * math.cos(sine / 32))), 0.1)
  6385. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.1 * math.cos(sine / 32)) * angles(math.rad(10 - 2 * math.cos(sine / 32)), math.rad(0), math.rad(20)), 0.1)
  6386. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 2.5 * math.cos(sine / 32)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(-20 - 5 * math.cos(sine / 0.465))), 0.1)
  6387. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(-20), math.rad(30 + 2.5 * math.cos(sine / 25))), 0.1)
  6388. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1)
  6389. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  6390. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-7.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  6391. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  6392. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
  6393. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1)
  6394. RW.C0 = clerp(RW.C0, cf(0.85, 0.5 + 0.1 * math.cos(sine / 28), -0.65) * angles(math.rad(30 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(-100 - 2.5 * math.cos(sine / 28))), 0.1)
  6395. LW.C0 = clerp(LW.C0, cf(-0.85, 0.5 + 0.1 * math.cos(sine / 28), -0.65) * angles(math.rad(40 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(90 + 2.5 * math.cos(sine / 28))), 0.1)
  6396. elseif ModeOfGlitch == 3 then
  6397. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 - 1 * math.cos(sine / 34))), 0.1)
  6398. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  6399. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(-20)), 0.1)
  6400. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(20)), 0.1)
  6401. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(-20), math.rad(30 + 2.5 * math.cos(sine / 25))), 0.1)
  6402. LW.C0 = clerp(LW.C0, cf(-1.5, 0.75, 0) * angles(math.rad(170), math.rad(-20), math.rad(20)), 0.1)
  6403. elseif ModeOfGlitch == 4 then
  6404. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(20)), 0.1)
  6405. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.025 * math.cos(sine / 32), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-1.5), math.rad(0), math.rad(-20)), 0.1)
  6406. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.025 * math.cos(sine / 32)) * angles(math.rad(20 - 0.5 * math.cos(sine / 32)), math.rad(0), math.rad(0)), 0.1)
  6407. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 5 * math.cos(sine / 0.5265)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 - 5 * math.cos(sine / 0.465))), 0.1)
  6408. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)), math.rad(0 + 2.5 * math.cos(sine / 0.123)), math.rad(5 + 2.5 * math.cos(sine / 0.6))), 0.1)
  6409. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)), math.rad(0 + 2.5 * math.cos(sine / 0.664)), math.rad(-5 + 2.5 * math.cos(sine / 0.23))), 0.1)
  6410. elseif ModeOfGlitch == 5 then
  6411. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  6412. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 28), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0 + 1 * math.cos(sine / 34))), 0.1)
  6413. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
  6414. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5 - 2.5 * math.cos(sine / 28)), math.rad(0), math.rad(0)), 0.1)
  6415. RW.C0 = clerp(RW.C0, cf(1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.1)
  6416. LW.C0 = clerp(LW.C0, cf(-1, 0.5 + 0.1 * math.cos(sine / 28), 0.45) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  6417. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
  6418. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-10)), 0.1)
  6419. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(10)), 0.1)
  6420. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(0 - 1 * math.cos(sine / 34)), math.rad(0), math.rad(0)), 0.1)
  6421. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(15), math.rad(0), math.rad(0)), 0.1)
  6422. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20 + 2.5 * math.cos(sine / 28))), 0.1)
  6423. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20 - 2.5 * math.cos(sine / 28))), 0.1)
  6424. end
  6425. end
  6426. elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  6427. Anim = "Walk"
  6428. if attack == false then
  6429. if ModeOfGlitch == 1 then
  6430. RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
  6431. LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
  6432. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 4)) * angles(math.rad(5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 8))), 0.1)
  6433. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(25 - 5 * math.cos(sine / 0.325)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 + 5 * math.cos(sine / 8))), 0.1)
  6434. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 8)), math.rad(0), math.rad(10 - 10 * math.cos(sine / 4))), 0.1)
  6435. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(25)), 0.1)
  6436. elseif ModeOfGlitch == 4 then
  6437. RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 12)), math.rad(5 + 25 * math.cos(sine / 12))), 0.1)
  6438. LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 12)), math.rad(-5 + 25 * math.cos(sine / 12))), 0.1)
  6439. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 8)) * angles(math.rad(12.5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 12))), 0.1)
  6440. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 5 * math.cos(sine / 0.5265)), math.rad(0 - 5 * math.cos(sine / 0.25)), math.rad(0 - 5 * math.cos(sine / 0.465))), 0.1)
  6441. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(10 - 15 * math.cos(sine / 12)), math.rad(0 + 2.5 * math.cos(sine / 0.123)), math.rad(5 + 2.5 * math.cos(sine / 0.6))), 0.1)
  6442. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(10 + 15 * math.cos(sine / 12)), math.rad(0 + 2.5 * math.cos(sine / 0.664)), math.rad(-5 + 2.5 * math.cos(sine / 0.23))), 0.1)
  6443. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  6444. RH.C0 = clerp(RH.C0, cf(1, -0.85, -0.15 - 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
  6445. LH.C0 = clerp(LH.C0, cf(-1, -0.85, -0.15 + 0.15 * math.cos(sine / 4)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0 + 5 * math.cos(sine / 8)), math.rad(0 + 25 * math.cos(sine / 8))), 0.1)
  6446. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.15 - 0.1 * math.cos(sine / 4)) * angles(math.rad(5), math.rad(0), math.rad(0 - 5 * math.cos(sine / 8))), 0.1)
  6447. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10 + 2.5 * math.cos(sine / 100)), math.rad(0), math.rad(0 + 5 * math.cos(sine / 8))), 0.1)
  6448. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 45 * math.cos(sine / 8)), math.rad(0), math.rad(10 - 10 * math.cos(sine / 4))), 0.1)
  6449. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0 + 45 * math.cos(sine / 8)), math.rad(0), math.rad(-10 + 10 * math.cos(sine / 4))), 0.1)
  6450. end
  6451. end
  6452. elseif torvel >= 22 and hitfloor ~= nil then
  6453. Anim = "Run"
  6454. if attack == false then
  6455. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 1000000 then
  6456. RH.C0 = clerp(RH.C0, cf(1, -0.75 - 0.25 * math.cos(sine / 3), -0.25 - 0.25 * math.cos(sine / 3)) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 + 95 * math.cos(sine / 6))), 0.1)
  6457. LH.C0 = clerp(LH.C0, cf(-1, -0.75 + 0.25 * math.cos(sine / 3), -0.25 + 0.25 * math.cos(sine / 3)) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0 + 95 * math.cos(sine / 6))), 0.1)
  6458. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.125 + 0.125 * math.cos(sine / 3)) * angles(math.rad(20), math.rad(0), math.rad(0 - 15 * math.cos(sine / 6))), 0.1)
  6459. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10 + 2.5 * math.cos(sine / 100)), math.rad(0), math.rad(0 + 15 * math.cos(sine / 6))), 0.1)
  6460. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(0 - 155 * math.cos(sine / 6)), math.rad(0), math.rad(5 - 10 * math.cos(sine / 3))), 0.1)
  6461. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(0 + 155 * math.cos(sine / 6)), math.rad(0), math.rad(-5 + 10 * math.cos(sine / 3))), 0.1)
  6462. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1000000 then
  6463. RH.C0 = clerp(RH.C0, cf(1, -0.25, -0.5) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(-20)), 0.2)
  6464. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(20)), 0.2)
  6465. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -0.5, 0.5 + 0.1 * math.cos(sine / 28)) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.2)
  6466. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  6467. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(30 + 2.5 * math.cos(sine / 28))), 0.2)
  6468. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30 - 2.5 * math.cos(sine / 28))), 0.2)
  6469. end
  6470. end
  6471. end
  6472. end
  6473. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement