Advertisement
Ninja_Camper

hatsune minigun

Feb 24th, 2018
1,814
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 148.23 KB | None | 0 0
  1. --[[
  2. deivis97 edit (sorry for the bad audio)
  3. ]]--
  4.  
  5. New = function(Object, Parent, Name, Data)
  6. local Object = Instance.new(Object)
  7. for Index, Value in pairs(Data or {}) do
  8. Object[Index] = Value
  9. end
  10. Object.Parent = Parent
  11. Object.Name = Name
  12. return Object
  13. end
  14. local LoPa = game:GetService("Players").LocalPlayer
  15. local C = LoPa.Character
  16. Head = C["Head"]
  17.  
  18. for i,v in pairs(C:GetChildren()) do
  19. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  20. v:destroy()
  21. end
  22. end
  23.  
  24. local Hair = Instance.new("Part")
  25. Hair.Parent = C
  26. Hair.Name = "Hair"
  27. Hair.Size = Vector3.new(0.1, 0.1, 0.1)
  28. Hair.CFrame = C.Head.CFrame
  29. Hair:BreakJoints()
  30. Hair.CanCollide = false
  31. Hair.BrickColor = BrickColor.new("New Yeller")
  32. Hair.TopSurface = "Smooth"
  33. Hair.BottomSurface = "Smooth"
  34. Weld = Instance.new("Weld")
  35. Weld.Name = "Weld"
  36. Weld.Part0 = C.Head
  37. Weld.Part1 = Hair
  38. Weld.Parent = C.Head
  39. Weld.C0 = CFrame.new(-0, -3.3, 0.24)*CFrame.fromEulerAnglesXYZ(0, 3.2, 0)
  40. Mesh = Instance.new("SpecialMesh")
  41. Mesh.Parent = Hair
  42. Mesh.MeshId = "rbxassetid://430089434"
  43. Mesh.TextureId = "http://www.roblox.com/asset/?id=430089440"
  44. Mesh.Scale = Vector3.new(0.06, 0.05, 0.05)
  45.  
  46. local Shirt = "rbxassetid://17815643"
  47. local Pants = "rbxassetid://17814851"
  48.  
  49. ypcall(function()
  50. shirt = Instance.new("Shirt", C)
  51. shirt.Name = "Shirt"
  52. pants = Instance.new("Pants", C)
  53. pants.Name = "Pants"
  54. C.Shirt.ShirtTemplate = Shirt
  55. C.Pants.PantsTemplate = Pants
  56. end)
  57. local ace = "http://www.roblox.com/asset/?id=492754352"
  58. Head.face.Texture = ace
  59. function weld(a, b, acf)
  60. local w = Instance.new("Weld", a)
  61. w.Part0 = a
  62. w.Part1 = b
  63. w.C0 = acf
  64. end
  65. local righteyebrickcolor = "Cyan"
  66. local reye = Instance.new("Part", C)
  67. reye.CanCollide = false
  68. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  69. reye.Material = "Neon"
  70. reye.Size = Vector3.new(.25,.35,.15)
  71. weld(reye, C.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
  72. m1 = Instance.new("SpecialMesh", reye)
  73. m1.MeshType = "Sphere"
  74. m1.Scale = Vector3.new(0.9,0.9,0.9)
  75. reye.Locked = true
  76. reye.Name = "re"
  77.  
  78. local leye = Instance.new("Part", C)
  79. leye.CanCollide = false
  80. leye.BrickColor = BrickColor.new(righteyebrickcolor)
  81. leye.Material = "Neon"
  82. leye.Size = Vector3.new(.25,.35,.15)
  83. weld(leye, C.Head, CFrame.new(-0.15,-0.2,0.55), CFrame.new(1,0,0))
  84. local m = Instance.new("SpecialMesh", leye)
  85. m.MeshType = "Sphere"
  86. m.Scale = Vector3.new(0.9,0.9,0.9)
  87. leye.Locked = true
  88. leye.Name = "le"
  89.  
  90. LaserMinigun = New("Model",C,"LaserMinigun",{})
  91. Gunpart = New("Model",LaserMinigun,"Gunpart",{})
  92. FrontHandle = New("Part",Gunpart,"FrontHandle",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.334096551, 0.668193102, 0.334096551),CFrame = CFrame.new(30.8316956, 0.787470937, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  93. Mesh = New("CylinderMesh",FrontHandle,"Mesh",{})
  94. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  95. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  96. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  97. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  98. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  99. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  100. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(31.0544128, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  101. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  102. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.445462048, 0.222731024, 0.445462048),CFrame = CFrame.new(31.2771492, 0.787470937, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  103. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  104. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.556827545, 0.111365512, 0.556827545),CFrame = CFrame.new(31.2771492, 0.787470937, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  105. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  106. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  107. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  108. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  109. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  110. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  111. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  112. FrontPart = New("Part",Gunpart,"FrontPart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(31.4998779, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  113. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  114. gun4 = New("Part",Gunpart,"gun4",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.5127258, 1.30714124e-17, 1, -9.58144665e-06, -3.50178084e-06, 9.58144665e-06, 1, 1, 1.19431811e-18, 3.50177652e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
  115. Mesh = New("CylinderMesh",gun4,"Mesh",{})
  116. gun1 = New("Part",Gunpart,"gun1",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.564739823, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
  117. Mesh = New("CylinderMesh",gun1,"Mesh",{})
  118. gun3 = New("Part",Gunpart,"gun3",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 1.01019299, -52.2899971, 0, 1, 0, 1, 0, 0, 0, 0, -1),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
  119. Mesh = New("CylinderMesh",gun3,"Mesh",{})
  120. gun2 = New("Part",Gunpart,"gun2",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.111365512, 0.111365512),CFrame = CFrame.new(31.5666943, 0.787470937, -52.0672684, 0, 1, -9.58144665e-06, -3.50177879e-06, 9.58144665e-06, 1, 1, -7.96212211e-19, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
  121. Mesh = New("CylinderMesh",gun2,"Mesh",{})
  122. PowerHolder = New("Model",LaserMinigun,"PowerHolder",{})
  123. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(1.11365509, 0.222731024, 1.11365509),CFrame = CFrame.new(27.7135086, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  124. Mesh = New("CylinderMesh",Part,"Mesh",{})
  125. Model = New("Model",Part,"Model",{})
  126. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(27.7135086, 0.787473083, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  127. Mesh = New("CylinderMesh",Part,"Mesh",{})
  128. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(27.7135086, 0.787473083, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  129. Mesh = New("CylinderMesh",Part,"Mesh",{})
  130. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  131. Mesh = New("CylinderMesh",Part,"Mesh",{})
  132. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  133. Mesh = New("CylinderMesh",Part,"Mesh",{})
  134. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  135. Mesh = New("CylinderMesh",Part,"Mesh",{})
  136. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(27.7135086, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  137. Mesh = New("CylinderMesh",Part,"Mesh",{})
  138. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  139. Mesh = New("CylinderMesh",Part,"Mesh",{})
  140. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  141. Mesh = New("CylinderMesh",Part,"Mesh",{})
  142. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  143. Mesh = New("CylinderMesh",Part,"Mesh",{})
  144. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.9362354, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  145. Mesh = New("CylinderMesh",Part,"Mesh",{})
  146. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  147. Mesh = New("CylinderMesh",Part,"Mesh",{})
  148. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  149. Mesh = New("CylinderMesh",Part,"Mesh",{})
  150. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  151. Mesh = New("CylinderMesh",Part,"Mesh",{})
  152. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(27.4907799, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  153. Mesh = New("CylinderMesh",Part,"Mesh",{})
  154. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(1.11365509, 0.222731024, 1.11365509),CFrame = CFrame.new(29.4953289, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  155. Mesh = New("CylinderMesh",Part,"Mesh",{})
  156. Model = New("Model",Part,"Model",{})
  157. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  158. Mesh = New("CylinderMesh",Part,"Mesh",{})
  159. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  160. Mesh = New("CylinderMesh",Part,"Mesh",{})
  161. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  162. Mesh = New("CylinderMesh",Part,"Mesh",{})
  163. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  164. Mesh = New("CylinderMesh",Part,"Mesh",{})
  165. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.4953289, 0.787473083, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  166. Mesh = New("CylinderMesh",Part,"Mesh",{})
  167. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  168. Mesh = New("CylinderMesh",Part,"Mesh",{})
  169. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  170. Mesh = New("CylinderMesh",Part,"Mesh",{})
  171. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  172. Mesh = New("CylinderMesh",Part,"Mesh",{})
  173. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  174. Mesh = New("CylinderMesh",Part,"Mesh",{})
  175. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.4953289, 0.787473083, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  176. Mesh = New("CylinderMesh",Part,"Mesh",{})
  177. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.445462048, 0.445462048, 0.445462048),CFrame = CFrame.new(29.4953289, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  178. Mesh = New("CylinderMesh",Part,"Mesh",{})
  179. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.7180557, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  180. Mesh = New("CylinderMesh",Part,"Mesh",{})
  181. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  182. Mesh = New("CylinderMesh",Part,"Mesh",{})
  183. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.222731024, 0.222731024),CFrame = CFrame.new(29.2726021, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  184. Mesh = New("CylinderMesh",Part,"Mesh",{})
  185. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.890924096, 0.222731024, 0.890924096),CFrame = CFrame.new(29.7180557, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  186. Mesh = New("CylinderMesh",Part,"Mesh",{})
  187. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  188. Mesh = New("CylinderMesh",Part,"Mesh",{})
  189. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  190. Mesh = New("CylinderMesh",Part,"Mesh",{})
  191. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  192. Mesh = New("CylinderMesh",Part,"Mesh",{})
  193. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(28.1589584, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  194. Mesh = New("CylinderMesh",Part,"Mesh",{})
  195. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 0.564742088, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  196. Mesh = New("CylinderMesh",Part,"Mesh",{})
  197. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 1.01020408, -52.7354622, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  198. Mesh = New("CylinderMesh",Part,"Mesh",{})
  199. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 0.564742088, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  200. Mesh = New("CylinderMesh",Part,"Mesh",{})
  201. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.222731024, 0.111365512),CFrame = CFrame.new(29.0498734, 1.01020408, -51.8445435, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  202. Mesh = New("CylinderMesh",Part,"Mesh",{})
  203. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(29.9407845, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  204. Mesh = New("CylinderMesh",Part,"Mesh",{})
  205. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(30.1635113, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  206. Mesh = New("CylinderMesh",Part,"Mesh",{})
  207. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(30.38624, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  208. Mesh = New("CylinderMesh",Part,"Mesh",{})
  209. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.445462048, 0.668193102, 0.445462048),CFrame = CFrame.new(30.1635113, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  210. Mesh = New("CylinderMesh",Part,"Mesh",{})
  211. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(30.6089668, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  212. Mesh = New("CylinderMesh",Part,"Mesh",{})
  213. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(29.0498734, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  214. Mesh = New("CylinderMesh",Part,"Mesh",{})
  215. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(1.11365509, 1.11365509, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1.00000644, 0.707109809, 0.70710659, 0, 0.707112432, -0.707108617, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  216. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(1.11365509, 2.00457907, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787482023, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  217. Mesh = New("CylinderMesh",Part,"Mesh",{})
  218. Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.500002861, 0.866023839, 0, 0.866023839, -0.500002861, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
  219. Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.86602217, 0.500005305, 0, 0.500005305, -0.86602217, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
  220. Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.965924263, 0.258825034, 0, 0.258825064, -0.965924263, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
  221. Neon = New("Part",PowerHolder,"Neon",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.Neon,Size = Vector3.new(0.957743406, 0.957743406, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1, 0.25882262, 0.965924919, 0, 0.965924919, -0.25882262, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
  222. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(1.11365509, 1.11365509, 0.445462048),CFrame = CFrame.new(28.6044273, 0.787477553, -52.2899971, 0, 0, -1.00000024, 0, 1, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  223. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(1.3363862, 0.222731024, 1.3363862),CFrame = CFrame.new(28.8271465, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  224. Mesh = New("CylinderMesh",Part,"Mesh",{})
  225. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(1.3363862, 0.222731024, 1.3363862),CFrame = CFrame.new(28.381691, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  226. Mesh = New("CylinderMesh",Part,"Mesh",{})
  227. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.668193102, 0.222731024, 0.668193102),CFrame = CFrame.new(28.1589584, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  228. Mesh = New("CylinderMesh",Part,"Mesh",{})
  229. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.668193102, 0.222731024),CFrame = CFrame.new(26.9784832, 0.787473083, -52.2899971, -5.52762662e-11, 1.00582838e-05, 1.00000024, -3.50170376e-06, -1.00000024, 1.00582838e-05, 1, -3.50170421e-06, 9.06084097e-11),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  230. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.512281358, 0.111365512),CFrame = CFrame.new(26.7446499, 1.07702565, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  231. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(26.7111912, 0.787473083, -52.2899971, -5.53331096e-11, -0.258809268, 0.965928495, -3.50170376e-06, -0.965928495, -0.258809268, 1, -3.38240966e-06, -9.06219896e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  232. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.668193102, 0.111365512),CFrame = CFrame.new(26.6666946, 0.475645214, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  233. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.579100668, 0.111365512),CFrame = CFrame.new(26.4769592, 0.766716778, -52.2899971, -5.52867474e-11, -0.258809447, 0.96592921, -3.50170421e-06, -0.96592921, -0.258809447, 1, -3.38241125e-06, -9.06220293e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  234. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.289550334, 0.111365512),CFrame = CFrame.new(26.8782501, 0.787470937, -52.2899971, -5.69528105e-11, -1, 1.04902101e-05, -3.50170967e-06, -1.04902101e-05, -1, 1, -9.36864822e-11, -3.50170967e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  235. Mesh = New("CylinderMesh",Part,"Mesh",{})
  236. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(29.4953289, 1.41111994, -52.7354622, -5.50513524e-11, 0.258828878, 0.965923965, -3.50170421e-06, -0.965923965, 0.258828878, 1, -3.38236441e-06, 9.06395599e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  237. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(29.4953289, 1.41111994, -51.8445435, -5.50513524e-11, 0.258828878, 0.965923965, -3.50170421e-06, -0.965923965, 0.258828878, 1, -3.38236441e-06, 9.06395599e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  238. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.178184807, 0.890924096, 0.178184807),CFrame = CFrame.new(29.4285202, 1.67839265, -52.2899971, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  239. Mesh = New("CylinderMesh",Part,"Mesh",{})
  240. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.111365512, 0.445462048, 0.111365512),CFrame = CFrame.new(29.4285202, 1.67839265, -51.9559135, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  241. Mesh = New("CylinderMesh",Part,"Mesh",{})
  242. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.111365512, 0.445462048, 0.111365512),CFrame = CFrame.new(29.4285202, 1.67839265, -52.6240959, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  243. Mesh = New("CylinderMesh",Part,"Mesh",{})
  244. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.222731024, 0.779558599, 0.222731024),CFrame = CFrame.new(29.4285202, 1.67839491, -52.2900124, 0.258829474, -8.57335749e-07, 0.96592164, -0.965925694, 6.97467476e-06, 0.258828104, -7.9870224e-06, -0.999998629, 8.24248048e-07),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  245. Mesh = New("CylinderMesh",Part,"Mesh",{})
  246. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.4907551, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  247. Mesh = New("CylinderMesh",Part,"Mesh",{})
  248. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 0.564739823, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  249. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 1.01020193, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  250. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 1.01020193, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  251. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.111365512, 0.668193102, 0.111365512),CFrame = CFrame.new(27.2680531, 0.564739823, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  252. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 0.564739823, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  253. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 1.01020193, -52.5127258, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  254. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 1.01020193, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  255. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.133638605, 0.445462048, 0.133638605),CFrame = CFrame.new(27.2680531, 0.564739823, -52.0672684, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  256. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.890924096, 0.111365512, 0.890924096),CFrame = CFrame.new(27.0452919, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  257. Mesh = New("CylinderMesh",Part,"Mesh",{})
  258. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Size = Vector3.new(0.445462048, 0.222731024, 0.445462048),CFrame = CFrame.new(27.0452919, 0.787473083, -52.2899971, -8.0732131e-12, 1, -9.58144665e-06, -3.50177834e-06, 9.58144665e-06, 1, 1, 4.13820089e-11, 3.50177834e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  259. Mesh = New("CylinderMesh",Part,"Mesh",{})
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271. Handle = New("Part",LaserMinigun,"Handle",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.Marble,Transparency = 1,Transparency = 1,Size = Vector3.new(1.22300005, 4.51200008, 1.11099994),CFrame = CFrame.new(28.6618481, 0.8217237, -52.2899971, -2.95597852e-11, 1, -9.58144665e-06, -3.50171308e-06, 9.58144665e-06, 1, 1, 6.30961949e-11, 3.50171308e-06),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284. MiniDroid = New("Model",C,"MiniDroid",{})
  285. armor = New("Model",MiniDroid,"armor",{})
  286. Main = New("Model",armor,"Main",{})
  287. Part = New("Part",Main,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.100000001, 0.800000012, 0.800000012),CFrame = CFrame.new(30.9500008, 1.7000351, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  288. Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.899999976, 0.699999988, 0.899999976),CFrame = CFrame.new(30.9499989, 1.80003405, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  289. Mesh = New("SpecialMesh",Part,"Mesh",{})
  290. Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1, 0.50999999, 1),CFrame = CFrame.new(30.9499989, 1.90003407, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  291. Mesh = New("SpecialMesh",Part,"Mesh",{})
  292. Part = New("Part",armor,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(1, 0.5, 1),CFrame = CFrame.new(30.9499989, 1.70003402, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  293. Mesh = New("SpecialMesh",Part,"Mesh",{})
  294. Neon = New("Model",MiniDroid,"Neon",{})
  295. LaPart = New("Part",Neon,"LaPart",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(0.100000001, 0.949999988, 0.949999988),CFrame = CFrame.new(30.9500008, 1.80000031, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
  296. FirePart = New("Part",Neon,"FirePart",{BrickColor = BrickColor.new("Cyan"),Material = Enum.Material.Neon,Transparency = 0.5,Shape = Enum.PartType.Ball,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(30.9499989, 1.65004444, -103.050003, 0, 0, 1, 0, -1.00000024, 0, 1.00000024, 0, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0, 1, 1),})
  297. miniHandle = New("Part",MiniDroid,"Handle",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 1,Transparency = 1,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(30.9500008, 1.80504608, -103.050003, 0, 0, 1, -1, 0, 0, 0, -1, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 1, 1),})
  298.  
  299.  
  300. kkk = Instance.new("Sound",C)
  301. kkk.Volume = 5
  302. kkk.PlaybackSpeed = 1
  303. kkk.Pitch = 1
  304. kkk.SoundId = "rbxassetid://212356028"
  305. kkk:Play()
  306. kkk.Name = "BackgroundMusic"
  307. kkk.Looped = true
  308.  
  309.  
  310. Glow1 = Color3.new(0,1,1)
  311. Glow2 = Color3.new(1,1,1)
  312.  
  313. GlowParticle = Instance.new("ParticleEmitter",FirePart)
  314. GlowParticle.LightEmission = 1
  315. GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
  316. GlowParticle.Size = NumberSequence.new(0,20)
  317. GlowParticle.Texture = "http://www.roblox.com/asset/?id=52620985"
  318. GlowParticle.Transparency = NumberSequence.new(0,1)
  319. GlowParticle.LockedToPart = true
  320. GlowParticle.Lifetime = NumberRange.new(1)
  321. GlowParticle.Rate= 1
  322. GlowParticle.Speed =NumberRange.new(0)
  323. GlowParticle.Enabled = false
  324.  
  325.  
  326.  
  327.  
  328. GlowParticle2 = Instance.new("ParticleEmitter",FirePart)
  329. GlowParticle2.LightEmission = .7
  330. GlowParticle2.Color = ColorSequence.new(Glow1,Glow2)
  331. GlowParticle2.Size = NumberSequence.new(0,1)
  332. GlowParticle2.Texture = "http://www.roblox.com/asset/?id=589325350"
  333. GlowParticle2.Transparency = NumberSequence.new(0,1)
  334. GlowParticle2.LockedToPart = false
  335. GlowParticle2.Lifetime = NumberRange.new(0.2)
  336. GlowParticle2.Rate= 150
  337. GlowParticle2.Speed =NumberRange.new(3)
  338. GlowParticle2.Acceleration = Vector3.new(0, -10.5, 0)
  339.  
  340. local ParticleEmitter0 = Instance.new("ParticleEmitter")
  341. ParticleEmitter0.Parent = FirePart
  342. ParticleEmitter0.Transparency = NumberSequence.new(0.20000000298023,0.20000000298023)
  343. ParticleEmitter0.Size = NumberSequence.new(0,1,1.2,0)
  344. ParticleEmitter0.Color = ColorSequence.new(Color3.new(0, 1, 1),Color3.new(0, 0, 0))
  345. ParticleEmitter0.Texture = "http://www.roblox.com/asset/?id=178337740"
  346. ParticleEmitter0.Lifetime = NumberRange.new(3)
  347. ParticleEmitter0.Rate = 10
  348. ParticleEmitter0.VelocitySpread = 360
  349. ParticleEmitter0.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 1, 1))
  350.  
  351.  
  352.  
  353.  
  354. local all,last = {}
  355. function scan(p)
  356. for _,v in pairs(p:GetChildren()) do
  357. if (v:IsA("BasePart")) then
  358. if (last) then
  359. local w = Instance.new("Weld")
  360. w.Part0,w.Part1 = last,v
  361. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  362. w.Parent = last
  363. end
  364. table.insert(all,v)
  365. last = v
  366. end
  367. scan(v)
  368. end
  369. end
  370. scan(LaserMinigun)
  371.  
  372. scan(MiniDroid)
  373. for _,v in pairs(all) do v.Anchored = false v.CanCollide = false end
  374. MiniDroid.Parent = C
  375. LaserMinigun.Parent = C
  376.  
  377.  
  378. Main:Destroy()
  379.  
  380. Effects = { }
  381. Rapid = false
  382. local Player = game.Players.localPlayer
  383. local Character = Player.Character
  384. local Humanoid = Character.Humanoid
  385. local mouse = Player:GetMouse()
  386. local LeftArm = Character["Left Arm"]
  387. local RightArm = Character["Right Arm"]
  388. local LeftLeg = Character["Left Leg"]
  389. local RightLeg = Character["Right Leg"]
  390. local Head = Character.Head
  391. local Torso = Character.Torso
  392. local cam = game.Workspace.CurrentCamera
  393. local RootPart = Character.HumanoidRootPart
  394. local RootJoint = RootPart.RootJoint
  395. local equipped = false
  396. local attack = false
  397. local Anim = 'Idle'
  398. local idle = 0
  399. local attacktype = 1
  400. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  401. local velocity = RootPart.Velocity.y
  402. local sine = 0
  403. local change = 1
  404. local grabbed = false
  405. local cn = CFrame.new
  406. local mr = math.rad
  407. local angles = CFrame.Angles
  408. local ud = UDim2.new
  409. local c3 = Color3.new
  410. local slashDamage = 200
  411. local dir = {w = 0, s = 0, a = 0, d = 0}
  412. local dir2 = {w = 0, s = 0, a = 0, d = 0}
  413. killcom=true
  414. trans = 1
  415. sentrymode = false
  416. sentrywait = false
  417. local LightMod = Instance.new("Model", Character)
  418. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  419. Humanoid.Animator:Destroy()
  420. npcanim = Character.Animate:Clone()
  421. ultwait=false
  422.  
  423.  
  424.  
  425.  
  426. Character.Animate:Destroy()
  427.  
  428.  
  429. local function makeLightning(Par, Start, End, Width, Length, RandomScale, ArcScale, Num1)
  430. local oldParts = {}
  431. for _,v in pairs(Par:GetChildren()) do
  432. v.CFrame = CFrame.new(5e5, 5e5, 5e5)
  433. table.insert(oldParts, v)
  434. end
  435. local Distance = (Start-End).Magnitude
  436. local ArcScale = ArcScale or 1
  437. local RandomScale = RandomScale or 0
  438. local Last = Start
  439. local IterNum = 0
  440.  
  441. while Par.Parent do
  442. IterNum = IterNum + 1
  443. local New = nil
  444. if (Last-End).Magnitude < Length then
  445. New = CFrame.new(End)
  446. else
  447. if (End-Last).Magnitude < Length*2 then
  448. RandomScale = RandomScale*0.1
  449. ArcScale = ArcScale*0.5
  450. end
  451. local Direct = CFrame.new(Last,End)
  452. New = Direct*CFrame.Angles(math.rad(math.random(-RandomScale/4,RandomScale*ArcScale)),math.rad(math.random(-RandomScale,RandomScale)),math.rad(math.random(-RandomScale,RandomScale)))
  453. New = New*CFrame.new(0,0,-Length)
  454. end
  455. local Trail = nil
  456. if oldParts[IterNum] then
  457. Trail = oldParts[IterNum]
  458. Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Cyan")) or BrickColor.new("Cyan")
  459. Trail.Size = Vector3.new(Width, (Last-New.p).Magnitude, Width)
  460. Trail.CFrame = CFrame.new(New.p, Last)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0, -(Last-New.p).Magnitude/2, 0)
  461. oldParts[IterNum] = nil
  462. game:GetService("Debris"):AddItem(Trail, .03)
  463. else
  464. Trail = Instance.new("Part")
  465. Trail.Name = "Part"
  466. Trail.FormFactor = "Custom"
  467. Trail.BrickColor = ((Num1 % 2 == 0) and BrickColor.new("Cyan")) or BrickColor.new("Cyan")
  468. Trail.Transparency = 0
  469. Trail.Anchored = true
  470. Trail.CanCollide = false
  471. Trail.Locked = true
  472. Trail.BackSurface = "SmoothNoOutlines"
  473. Trail.BottomSurface = "SmoothNoOutlines"
  474. Trail.FrontSurface = "SmoothNoOutlines"
  475. Trail.LeftSurface = "SmoothNoOutlines"
  476. Trail.RightSurface = "SmoothNoOutlines"
  477. Trail.TopSurface = "SmoothNoOutlines"
  478. Trail.Material = "Neon"
  479. Trail.Size = Vector3.new(Width, (Last-New.p).Magnitude, Width)
  480. Trail.CFrame = CFrame.new(New.p, Last)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0, -(Last-New.p).Magnitude/2, 0)
  481. Trail.Parent = Par
  482. game:GetService("Debris"):AddItem(Trail, .03)
  483. end
  484. Last = New.p
  485. if (Last-End).Magnitude < 1 then
  486. break
  487. end
  488. end
  489. for _,v in pairs(oldParts) do
  490. v:Destroy()
  491. end
  492. end
  493.  
  494.  
  495.  
  496. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  497. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  498. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  499.  
  500. RSH, LSH = nil, nil
  501.  
  502.  
  503. DW = Instance.new("Weld")
  504. DW.Name = "GuW"
  505. DW.Part0 = Torso
  506. DW.C0 = cn(0, 50, 0)
  507. DW.C1 = cn(0, 0, 0)
  508. DW.Part1 = miniHandle
  509. DW.Parent = Torso
  510.  
  511.  
  512. GuW = Instance.new("Weld")
  513. GuW.Name = "GuW"
  514. GuW.Part0 = RightArm
  515. GuW.C0 = cn(0, -1, -1)
  516. GuW.C1 = cn(0, 0, 0)
  517. GuW.Part1 = Handle
  518. GuW.Parent = RightArm
  519.  
  520. RW = Instance.new("Weld")
  521. LW = Instance.new("Weld")
  522.  
  523.  
  524. RH = Torso["Right Hip"]
  525. LH = Torso["Left Hip"]
  526.  
  527. RSH = Torso["Right Shoulder"]
  528. LSH = Torso["Left Shoulder"]
  529.  
  530. RSH.Parent = nil
  531. LSH.Parent = nil
  532.  
  533. RW.Name = "RW"
  534. RW.Part0 = Torso
  535. RW.C0 = cn(1.5, 0.5, 0)
  536. RW.C1 = cn(0, 0.5, 0)
  537. RW.Part1 = RightArm
  538. RW.Parent = Torso
  539.  
  540. LW.Name = "LW"
  541. LW.Part0 = Torso
  542. LW.C0 = cn(-1.5, 0.5, 0)
  543. LW.C1 = cn(0, 0.5, 0)
  544. LW.Part1 = LeftArm
  545. LW.Parent = Torso
  546.  
  547. function clerp(a, b, t)
  548. local qa = {
  549. QuaternionFromCFrame(a)
  550. }
  551. local qb = {
  552. QuaternionFromCFrame(b)
  553. }
  554. local ax, ay, az = a.x, a.y, a.z
  555. local bx, by, bz = b.x, b.y, b.z
  556. local _t = 1 - t
  557. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  558. end
  559.  
  560. function QuaternionFromCFrame(cf)
  561. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  562. local trace = m00 + m11 + m22
  563. if trace > 0 then
  564. local s = math.sqrt(1 + trace)
  565. local recip = 0.5 / s
  566. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  567. else
  568. local i = 0
  569. if m11 > m00 then
  570. i = 1
  571. end
  572. if m22 > (i == 0 and m00 or m11) then
  573. i = 2
  574. end
  575. if i == 0 then
  576. local s = math.sqrt(m00 - m11 - m22 + 1)
  577. local recip = 0.5 / s
  578. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  579. elseif i == 1 then
  580. local s = math.sqrt(m11 - m22 - m00 + 1)
  581. local recip = 0.5 / s
  582. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  583. elseif i == 2 then
  584. local s = math.sqrt(m22 - m00 - m11 + 1)
  585. local recip = 0.5 / s
  586. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  587. end
  588. end
  589. end
  590.  
  591. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  592. local xs, ys, zs = x + x, y + y, z + z
  593. local wx, wy, wz = w * xs, w * ys, w * zs
  594. local xx = x * xs
  595. local xy = x * ys
  596. local xz = x * zs
  597. local yy = y * ys
  598. local yz = y * zs
  599. local zz = z * zs
  600. 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))
  601. end
  602.  
  603. function QuaternionSlerp(a, b, t)
  604. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  605. local startInterp, finishInterp;
  606. if cosTheta >= 0.0001 then
  607. if (1 - cosTheta) > 0.0001 then
  608. local theta = math.acos(cosTheta)
  609. local invSinTheta = 1 / math.sin(theta)
  610. startInterp = math.sin((1 - t) * theta) * invSinTheta
  611. finishInterp = math.sin(t * theta) * invSinTheta
  612. else
  613. startInterp = 1 - t
  614. finishInterp = t
  615. end
  616. else
  617. if (1 + cosTheta) > 0.0001 then
  618. local theta = math.acos(-cosTheta)
  619. local invSinTheta = 1 / math.sin(theta)
  620. startInterp = math.sin((t - 1) * theta) * invSinTheta
  621. finishInterp = math.sin(t * theta) * invSinTheta
  622. else
  623. startInterp = t - 1
  624. finishInterp = t
  625. end
  626. end
  627. 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
  628. end
  629.  
  630. function swait(num)
  631. if num == 0 or num == nil then
  632. game:service'RunService'.RenderStepped:wait(0)
  633. else
  634. for i = 0, num do
  635. game:service'RunService'.RenderStepped:wait(0)
  636. end
  637. end
  638. end
  639.  
  640. local RbxUtility = LoadLibrary("RbxUtility")
  641. local Create = RbxUtility.Create
  642.  
  643. function RemoveOutlines(part)
  644. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  645. end
  646.  
  647. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  648. local Part = Create("Part"){
  649. formFactor = FormFactor,
  650. Parent = Parent,
  651. Reflectance = Reflectance,
  652. Transparency = Transparency,
  653. CanCollide = false,
  654. Locked = true,
  655. BrickColor = BrickColor.new(tostring(BColor)),
  656. Name = Name,
  657. Size = Size,
  658. Material = Material,
  659. }
  660. RemoveOutlines(Part)
  661. return Part
  662. end
  663.  
  664. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  665. local Msh = Create(Mesh){
  666. Parent = Part,
  667. Offset = OffSet,
  668. Scale = Scale,
  669. }
  670. if Mesh == "SpecialMesh" then
  671. Msh.MeshType = MeshType
  672. Msh.MeshId = MeshId
  673. end
  674. return Msh
  675. end
  676.  
  677. function CreateWeld(Parent, Part0, Part1, C0, C1)
  678. local Weld = Create("Weld"){
  679. Parent = Parent,
  680. Part0 = Part0,
  681. Part1 = Part1,
  682. C0 = C0,
  683. C1 = C1,
  684. }
  685. return Weld
  686. end
  687.  
  688. function rayCast(Position, Direction, Range, Ignore)
  689. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  690. end
  691.  
  692. function CreateSound(id, par, vol, pit)
  693. coroutine.resume(coroutine.create(function()
  694. local sou = Instance.new("Sound", par or workspace)
  695. sou.Volume = vol
  696. sou.Pitch = pit or 1
  697. sou.SoundId = id
  698. wait()
  699. sou:play()
  700. game:GetService("Debris"):AddItem(sou, 6)
  701. end))
  702. end
  703.  
  704. local function getclosest(obj, distance)
  705. local last, lastx = distance + 1
  706. for i, v in pairs(workspace:GetChildren()) do
  707. if v:IsA'Model' and v ~= Character and v:findFirstChild('Humanoid') and v:findFirstChild('Torso') and v:findFirstChild('Humanoid').Health > 0 then
  708. local t = v.Torso
  709. local dist = (t.Position - obj.Position).magnitude
  710. if dist <= distance then
  711. if dist < last then
  712. last = dist
  713. lastx = v
  714. end
  715. end
  716. end
  717. end
  718. return lastx
  719. end
  720.  
  721. function Damage(hit, damage, cooldown, Color1, Color2, HSound, HPitch)
  722. for i, v in pairs(hit:GetChildren()) do
  723. if v:IsA("Humanoid") and hit.Name ~= Character.Name then
  724. local find = v:FindFirstChild("Hitz")
  725. Humanoid.MaxHealth = 100
  726. Humanoid.Health=Humanoid.Health-Damage
  727. local hum=hit.Parent:FindFirstChildOfClass("Humanoid")
  728. if not find then
  729. if v.Parent:findFirstChild("Head") then
  730. local BillG = Create("BillboardGui"){
  731. Parent = v.Parent.Head,
  732. Size = UDim2.new(1, 0, 1, 0),
  733. Adornee = v.Parent.Head,
  734. StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)),
  735. }
  736. local TL = Create("TextLabel"){
  737. Parent = BillG,
  738. Size = UDim2.new(3, 3, 3, 3),
  739. BackgroundTransparency = 1,
  740. Text = tostring(damage).."-",
  741. TextColor3 = Glow1.Glow2,
  742. TextStrokeColor3 = Glow1.Glow2,
  743. TextStrokeTransparency = 0,
  744. TextXAlignment = Enum.TextXAlignment.Center,
  745. TextYAlignment = Enum.TextYAlignment.Center,
  746. FontSize = Enum.FontSize.Size18,
  747. Font = "ArialBold",
  748. }
  749. coroutine.resume(coroutine.create(function()
  750. wait(1)
  751. for i = 0, 1, .1 do
  752. wait(.1)
  753. BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0)
  754. end
  755. BillG:Destroy()
  756. end))
  757. end
  758. v.Health = v.Health - damage
  759. v.MaxHealth = 100
  760. local bool = Create("BoolValue"){
  761. Parent = v,
  762. Name = 'Hitz',
  763. }
  764. if HSound ~= nil and HPitch ~= nil then
  765. CreateSound(HSound, hit, 1, HPitch)
  766. end
  767. game:GetService("Debris"):AddItem(bool, cooldown)
  768. end
  769. end
  770. end
  771. end
  772.  
  773.  
  774. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  775. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  776. prt.Anchored = true
  777. prt.CFrame = cframe
  778. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  779. game:GetService("Debris"):AddItem(prt, 10)
  780. if Type == 1 or Type == nil then
  781. table.insert(Effects, {
  782. prt,
  783. "Block1",
  784. delay,
  785. x3,
  786. y3,
  787. z3,
  788. msh
  789. })
  790. elseif Type == 2 then
  791. table.insert(Effects, {
  792. prt,
  793. "Block2",
  794. delay,
  795. x3,
  796. y3,
  797. z3,
  798. msh
  799. })
  800. end
  801. end
  802.  
  803. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  804. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  805. prt.Anchored = true
  806. prt.CFrame = cframe
  807. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  808. game:GetService("Debris"):AddItem(prt, 10)
  809. table.insert(Effects, {
  810. prt,
  811. "Cylinder",
  812. delay,
  813. x3,
  814. y3,
  815. z3,
  816. msh
  817. })
  818. end
  819.  
  820. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  821. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  822. prt.Anchored = true
  823. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  824. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  825. game:GetService("Debris"):AddItem(prt, 10)
  826. table.insert(Effects, {
  827. prt,
  828. "Cylinder",
  829. delay,
  830. x3,
  831. y3,
  832. z3,
  833. msh
  834. })
  835. end
  836.  
  837. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  838. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  839. prt.Anchored = true
  840. prt.CFrame = cframe
  841. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  842. game:GetService("Debris"):AddItem(prt, 10)
  843. table.insert(Effects, {
  844. prt,
  845. "Cylinder",
  846. delay,
  847. x3,
  848. y3,
  849. z3,
  850. msh
  851. })
  852. end
  853.  
  854. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  855. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  856. prt.Anchored = true
  857. prt.CFrame = cframe
  858. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  859. game:GetService("Debris"):AddItem(prt, 10)
  860. table.insert(Effects, {
  861. prt,
  862. "Cylinder",
  863. delay,
  864. x3,
  865. y3,
  866. z3,
  867. msh
  868. })
  869. end
  870.  
  871. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  872. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  873. prt.Anchored = true
  874. prt.CFrame = cframe
  875. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  876. game:GetService("Debris"):AddItem(prt, 10)
  877. table.insert(Effects, {
  878. prt,
  879. "Cylinder",
  880. delay,
  881. x3,
  882. y3,
  883. z3,
  884. msh
  885. })
  886. end
  887.  
  888. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  889. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  890. prt.Anchored = true
  891. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  892. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  893. local num = math.random(10, 50) / 1000
  894. game:GetService("Debris"):AddItem(prt, 10)
  895. table.insert(Effects, {
  896. prt,
  897. "Shatter",
  898. num,
  899. prt.CFrame,
  900. math.random() - math.random(),
  901. 0,
  902. math.random(50, 100) / 100
  903. })
  904. end
  905.  
  906.  
  907.  
  908.  
  909. for i = 0, 1, 0.05 do
  910. swait()
  911. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .1)
  912. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(0)), .1)
  913. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  914. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)), 0.3)
  915. if Torsovelocity > 2 then
  916. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50 * math.cos(sine / 4)), math.rad(0), math.rad(4 * math.cos(sine / 4))), .2)
  917. RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
  918. LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(sine / 4))), .3)
  919. elseif Torsovelocity < 1 then
  920. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.1) * angles(math.rad(5), math.rad(0), math.rad(5)), 0.1)
  921. RH.C0 = clerp(RH.C0, cn(1, -1, 0) * RHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  922. LH.C0 = clerp(LH.C0, cn(-1, -1, 0) * LHCF * angles(math.rad(-2), math.rad(5), math.rad(0)), .1)
  923. end
  924. end
  925. attack = false
  926.  
  927.  
  928.  
  929. game:GetService'RunService'.Stepped:connect(function()
  930. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  931. velocity = RootPart.Velocity.y
  932. sine = sine + change
  933. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  934. if equipped == true or equipped == false then
  935. if RootPart.Velocity.y > 1 and hit == nil then
  936. Anim = "Jump"
  937. if attack == false then
  938. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  939. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  940. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
  941. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
  942. RH.C0 = clerp(RH.C0, cn(1, -.9, -.3) * RHCF * angles(math.rad(3), math.rad(0), math.rad(0)), .1)
  943. LH.C0 = clerp(LH.C0, cn(-1, -.7, -.5) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(0)), .1)
  944. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)
  945. DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30) ,0 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  946. end
  947. elseif RootPart.Velocity.y < 1 and hit == nil then
  948. Anim = "Fall"
  949. if attack == false then
  950. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  951. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .1)
  952. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(65), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
  953. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(55 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
  954. RH.C0 = clerp(RH.C0, cn(1, -1, -.3) * RHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  955. LH.C0 = clerp(LH.C0, cn(-1, -.8, -.3) * LHCF * angles(math.rad(-5), math.rad(0), math.rad(0)), .1)
  956. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)
  957. DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30) ,8 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  958. end
  959. elseif Torsovelocity < 1 and hit ~= nil then
  960. Anim = "Idle"
  961. if attack == false then
  962. change = 1
  963. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1)
  964. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
  965. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
  966. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
  967. RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  968. LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  969. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)
  970.  
  971. DW.C0 = clerp(DW.C0, CFrame.new(1 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  972. end
  973. elseif Torsovelocity > 1 and hit ~= nil then
  974. Anim = "Walk"
  975. if attack == false then
  976. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-45+5 * math.cos(sine / 5))), .2)
  977. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(5), math.rad(45+-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 12), .2)
  978. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 4), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 4))), 0.3)
  979. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 4), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 4)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 4))), 0.2)
  980. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  981. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  982. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  983. DW.C0 = clerp(DW.C0, CFrame.new(3+.1 * math.cos(sine / 5) , 3.05 - .1 * math.cos(sine / 3), 2.5 + .5 * math.cos(sine / 6)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  984. end
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003. end
  1004. end
  1005. if #Effects > 0 then
  1006. for e = 1, #Effects do
  1007. if Effects[e] ~= nil then
  1008. local Thing = Effects[e]
  1009. if Thing ~= nil then
  1010. local Part = Thing[1]
  1011. local Mode = Thing[2]
  1012. local Delay = Thing[3]
  1013. local IncX = Thing[4]
  1014. local IncY = Thing[5]
  1015. local IncZ = Thing[6]
  1016. if Thing[1].Transparency <= 1 then
  1017. if Thing[2] == "Block1" then
  1018. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1019. local Mesh = Thing[1].Mesh
  1020. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1021. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1022. elseif Thing[2] == "Block2" then
  1023. Thing[1].CFrame = Thing[1].CFrame
  1024. local Mesh = Thing[7]
  1025. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1026. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1027. elseif Thing[2] == "Cylinder" then
  1028. local Mesh = Thing[1].Mesh
  1029. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1030. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1031. elseif Thing[2] == "Blood" then
  1032. local Mesh = Thing[7]
  1033. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
  1034. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1035. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1036. elseif Thing[2] == "Elec" then
  1037. local Mesh = Thing[1].Mesh
  1038. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1039. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1040. elseif Thing[2] == "Disappear" then
  1041. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1042. elseif Thing[2] == "Shatter" then
  1043. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1044. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1045. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1046. Thing[6] = Thing[6] + Thing[5]
  1047. end
  1048. else
  1049. Part.Parent = nil
  1050. table.remove(Effects, e)
  1051. end
  1052. end
  1053. end
  1054. end
  1055. end
  1056. end)
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085. RemoveOutlines = function(part)
  1086.  
  1087. part.TopSurface = 10
  1088. end
  1089.  
  1090. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1091.  
  1092. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  1093. RemoveOutlines(Part)
  1094. return Part
  1095. end
  1096.  
  1097. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1098.  
  1099. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  1100. if Mesh == "SpecialMesh" then
  1101. Msh.MeshType = MeshType
  1102. Msh.MeshId = MeshId
  1103. end
  1104. return Msh
  1105. end
  1106.  
  1107. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  1108.  
  1109. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  1110. return Weld
  1111. end
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128. CFuncs = {
  1129. Part = {Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1130.  
  1131. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  1132. RemoveOutlines(Part)
  1133. return Part
  1134. end
  1135. }
  1136. ,
  1137. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1138.  
  1139. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  1140. if Mesh == "SpecialMesh" then
  1141. Msh.MeshType = MeshType
  1142. Msh.MeshId = MeshId
  1143. end
  1144. return Msh
  1145. end
  1146. }
  1147. ,
  1148. Mesh = {Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1149.  
  1150. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  1151. if Mesh == "SpecialMesh" then
  1152. Msh.MeshType = MeshType
  1153. Msh.MeshId = MeshId
  1154. end
  1155. return Msh
  1156. end
  1157. }
  1158. ,
  1159. Weld = {Create = function(Parent, Part0, Part1, C0, C1)
  1160.  
  1161. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  1162. return Weld
  1163. end
  1164. }
  1165. ,
  1166. Sound = {Create = function(id, par, vol, pit)
  1167.  
  1168. coroutine.resume(coroutine.create(function()
  1169.  
  1170. local S = Create("Sound")({Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace})
  1171. wait()
  1172. S:play()
  1173. game:GetService("Debris"):AddItem(S, 6)
  1174. end
  1175. ))
  1176. end
  1177. }
  1178. ,
  1179. articleEmitter = {Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1180.  
  1181. local fp = Create("ParticleEmitter")({Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread})
  1182. return fp
  1183. end
  1184. }
  1185. }
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1192.  
  1193. if hit.Parent == nil then
  1194. return
  1195. end
  1196. local h = hit.Parent:FindFirstChild("Humanoid")
  1197. for _,v in pairs(hit.Parent:children()) do
  1198. if v:IsA("Humanoid") then
  1199. h = v
  1200. end
  1201. end
  1202. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then
  1203. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1204. return
  1205. end
  1206. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  1207. game:GetService("Debris"):AddItem(c, 0.5)
  1208. if HitSound ~= nil and HitPitch ~= nil then
  1209. CreateSound(HitSound, hit, 1, HitPitch)
  1210. end
  1211. local Damage = math.random(minim, maxim)
  1212. local blocked = false
  1213. local block = hit.Parent:findFirstChild("Block")
  1214. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1215. blocked = true
  1216. block.Value = block.Value - 1
  1217. print(block.Value)
  1218. end
  1219. if blocked == false then
  1220. h.Health = h.Health - Damage
  1221. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1222. else
  1223. h.Health = h.Health - Damage / 2
  1224. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1225. end
  1226. if Type == "Knockdown" then
  1227. local hum = hit.Parent.Humanoid
  1228. hum.PlatformStand = true
  1229. coroutine.resume(coroutine.create(function(HHumanoid)
  1230.  
  1231. swait(1)
  1232. HHumanoid.PlatformStand = false
  1233. end
  1234. ), hum)
  1235. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1236. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1237. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  1238. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1239. game:GetService("Debris"):AddItem(rl, 0.5)
  1240. elseif Type == "Normal" then
  1241. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  1242. if knockback > 0 then
  1243. vp.Parent = hit.Parent.HumanoidRootPart
  1244. end
  1245. game:GetService("Debris"):AddItem(vp, 0.5)
  1246. elseif Type == "Up" then
  1247. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1248. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1249. local bodyVelocity = Create("BodyVelocity")({velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  1250. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1251. elseif Type == "Snare" then
  1252. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1253. local bp = Create("BodyPosition")({P = 200, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.HumanoidRootPart.Position + Vector3.new(0, -5, 0), Parent = hit.Parent.HumanoidRootPart})
  1254. local rl2 = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500, 500, 500) * 10, angularvelocity = Vector3.new(math.random(-15,15), math.random(-0, 0), math.random(-15,15)), Parent = hit})
  1255. game:GetService("Debris"):AddItem(rl2, 0.01)
  1256. game:GetService("Debris"):AddItem(bp, .1)
  1257. hit.Parent.Humanoid.PlatformStand = true
  1258.  
  1259.  
  1260. wait(.1)
  1261. hit.Parent.Humanoid.PlatformStand = false
  1262. elseif Type == "Freeze" then
  1263. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.HumanoidRootPart.Position, Parent = hit.Parent.HumanoidRootPart})
  1264. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.HumanoidRootPart, cframe = hit.Parent.HumanoidRootPart.CFrame})
  1265. hit.Parent.HumanoidRootPart.Anchored = true
  1266. coroutine.resume(coroutine.create(function(Part)
  1267.  
  1268. swait(1.5)
  1269. Part.Anchored = false
  1270. end
  1271. ), hit.Parent.HumanoidRootPart)
  1272. game:GetService("Debris"):AddItem(BodPos, 3)
  1273. game:GetService("Debris"):AddItem(BodGy, 3)
  1274. end
  1275. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  1276. game:GetService("Debris"):AddItem(debounce, Delay)
  1277. c = Instance.new("ObjectValue")
  1278. c.Name = "creator"
  1279. c.Value = Player
  1280. c.Parent = h
  1281. game:GetService("Debris"):AddItem(c, 0.5)
  1282. end
  1283. end
  1284.  
  1285. ShowDamage = function(Pos, Text, Time, Color)
  1286.  
  1287. local Rate = 0.033333333333333
  1288. if not Pos then
  1289. local Pos = Vector3.new(0, 0, 0)
  1290. end
  1291. local Text = Text or ""
  1292. local Time = Time or 2
  1293. if not Color then
  1294. local Color = Color3.new(0, 1, 1)
  1295. end
  1296. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1297. EffectPart.Anchored = true
  1298. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  1299. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  1300. game.Debris:AddItem(EffectPart, Time + 0.1)
  1301. EffectPart.Parent = game:GetService("Workspace")
  1302. delay(0, function()
  1303.  
  1304. local Frames = Time / Rate
  1305. for Frame = 1, Frames do
  1306. wait(Rate)
  1307. local Percent = Frame / Frames
  1308. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1309. TextLabel.TextTransparency = Percent
  1310. end
  1311. if EffectPart and EffectPart.Parent then
  1312. EffectPart:Destroy()
  1313. end
  1314. end
  1315. )
  1316. end
  1317.  
  1318. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  1319.  
  1320. for _,c in pairs(workspace:children()) do
  1321. local hum = c:findFirstChild("Humanoid")
  1322. if hum ~= nil then
  1323. local head = c:findFirstChild("HumanoidRootPart")
  1324. if head ~= nil then
  1325. local targ = head.Position - Part.Position
  1326. local mag = targ.magnitude
  1327. if mag <= magni and c.Name ~= Player.Name then
  1328. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  1329. end
  1330. end
  1331. end
  1332. end
  1333. end
  1334. MagniKILL = function(Part, magni, knock, Type)
  1335.  
  1336. for _,c in pairs(workspace:children()) do
  1337. local hum = c:findFirstChild("Humanoid")
  1338. if hum ~= nil then
  1339. local head = c:findFirstChild("Head")
  1340. if head ~= nil then
  1341. local targ = head.Position - Part.Position
  1342. local mag = targ.magnitude
  1343. if mag <= magni and c.Name ~= Player.Name then
  1344. hum.Health = 0
  1345. end
  1346. end
  1347. end
  1348. end
  1349. end
  1350.  
  1351. EffectModel = Instance.new("Model", Character)
  1352. EffectModel.Name = "Effects"
  1353. Effects = {
  1354. Block = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1355.  
  1356. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1357. prt.Anchored = true
  1358. prt.CFrame = cframe
  1359. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1360. game:GetService("Debris"):AddItem(prt, 10)
  1361. if Type == 1 or Type == nil then
  1362. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  1363. else
  1364. if Type == 2 then
  1365. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  1366. end
  1367. end
  1368. end
  1369. }
  1370. ,
  1371. Sphere = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1372.  
  1373. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1374. prt.Anchored = true
  1375. prt.CFrame = cframe
  1376. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1377. game:GetService("Debris"):AddItem(prt, 10)
  1378. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1379. end
  1380. }
  1381. ,
  1382. Cylinder = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1383.  
  1384. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1385. prt.Anchored = true
  1386. prt.CFrame = cframe
  1387. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1388. game:GetService("Debris"):AddItem(prt, 10)
  1389. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1390. end
  1391. }
  1392. ,
  1393. Wave = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1394.  
  1395. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1396. prt.Anchored = true
  1397. prt.CFrame = cframe
  1398. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1399. game:GetService("Debris"):AddItem(prt, 10)
  1400. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1401. end
  1402. }
  1403. ,
  1404. Ring = {Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1405.  
  1406. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1407. prt.Anchored = true
  1408. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1409. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1410. game:GetService("Debris"):AddItem(prt, 10)
  1411. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1412. end
  1413. }
  1414. ,
  1415. Break = {Create = function(brickcolor, cframe, x1, y1, z1)
  1416.  
  1417. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1418. prt.Anchored = true
  1419. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1420. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1421. local num = math.random(10, 50) / 1000
  1422. game:GetService("Debris"):AddItem(prt, 10)
  1423. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  1424. end
  1425. }
  1426. }
  1427. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1428.  
  1429. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1430. prt.Anchored = true
  1431. prt.CFrame = cframe
  1432. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1433. game:GetService("Debris"):AddItem(prt, 10)
  1434. if Type == 1 or Type == nil then
  1435. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  1436. else
  1437. if Type == 2 then
  1438. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  1439. end
  1440. end
  1441. end
  1442.  
  1443. CreateSound = function(id, par, vol, pit)
  1444.  
  1445. coroutine.resume(coroutine.create(function()
  1446.  
  1447. local sou = Instance.new("Sound", par or workspace)
  1448. sou.Volume = vol
  1449. sou.Pitch = pit or 1
  1450. sou.SoundId = id
  1451. swait()
  1452. sou:play()
  1453. game:GetService("Debris"):AddItem(sou, 6)
  1454. end
  1455. ))
  1456. end
  1457.  
  1458. Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1459.  
  1460. local prt = CreatePart(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1461. prt.Anchored = true
  1462. prt.CFrame = cframe
  1463. prt.Material = "Neon"
  1464. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1465. game:GetService("Debris"):AddItem(prt, 10)
  1466. coroutine.resume(coroutine.create(function(Part, Mesh)
  1467.  
  1468. for i = 0, 6, delay do
  1469. swait()
  1470. Part.Transparency = i
  1471. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  1472. end
  1473. Part.Parent = nil
  1474. end
  1475. ), prt, msh)
  1476. end
  1477. LigLaser = function(mouse, partt, SpreadAmount)
  1478.  
  1479. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1480. local MainPos = partt.Position
  1481. local MainPos2 = mouse + SpreadVectors
  1482. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1483. local speed = 1000
  1484. local num = 1
  1485. coroutine.resume(coroutine.create(function()
  1486.  
  1487. repeat
  1488. swait()
  1489. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1490. local mag = (MainPos - pos).magnitude
  1491.  
  1492. MainPos = MainPos + MouseLook.lookVector * speed
  1493. num = num - 1
  1494. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1495. if hit ~= nil then
  1496. num = 0
  1497. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1498. refpart.Anchored = true
  1499. refpart.CFrame = CFrame.new(pos)
  1500. game:GetService("Debris"):AddItem(refpart, 2)
  1501. end
  1502.  
  1503. do
  1504. if num <= 0 then
  1505. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1506. refpart.Anchored = true
  1507. refpart.CFrame = CFrame.new(pos)
  1508. if hit ~= nil then
  1509. for i = 0,5 do
  1510.  
  1511. makeLightning(LightMod, partt.Position, refpart.Position, 0.17, 4, 30, 1, 10)
  1512. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
  1513. BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
  1514. BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.2)
  1515. MagniDamage(refpart, 3, 999999, 99999, 6, "Normal")
  1516. swait()
  1517. end
  1518.  
  1519.  
  1520. end
  1521. game:GetService("Debris"):AddItem(refpart, 0)
  1522. end
  1523. end
  1524. until num <= 0
  1525. end
  1526. ))
  1527. end
  1528. bigLigLaser = function(mouse, partt, SpreadAmount)
  1529.  
  1530. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1531. local MainPos = partt.Position
  1532. local MainPos2 = mouse + SpreadVectors
  1533. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1534. local speed = 1000
  1535. local num = 1
  1536. coroutine.resume(coroutine.create(function()
  1537.  
  1538. repeat
  1539. swait()
  1540. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1541. local mag = (MainPos - pos).magnitude
  1542.  
  1543. MainPos = MainPos + MouseLook.lookVector * speed
  1544. num = num - 1
  1545. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1546. if hit ~= nil then
  1547. num = 0
  1548. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1549. refpart.Anchored = true
  1550. refpart.CFrame = CFrame.new(pos)
  1551. game:GetService("Debris"):AddItem(refpart, 2)
  1552. end
  1553.  
  1554. do
  1555. if num <= 0 then
  1556. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1557. refpart.Anchored = true
  1558. refpart.CFrame = CFrame.new(pos)
  1559. if hit ~= nil then
  1560. for i = 0,1 do
  1561.  
  1562. makeLightning(LightMod, partt.Position, refpart.Position, 0.3, 4, 20, 1, 10)
  1563. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
  1564. BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
  1565. BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 7, 7, 7, 0.2)
  1566. MagniDamage(refpart, 3, 999999, 999999, 8, "Snare")
  1567. swait()
  1568. end
  1569.  
  1570.  
  1571. end
  1572. game:GetService("Debris"):AddItem(refpart, 0)
  1573. end
  1574. end
  1575. until num <= 0
  1576. end
  1577. ))
  1578. end
  1579.  
  1580.  
  1581. shoottraildd = function(mouse, partt, SpreadAmount)
  1582.  
  1583. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1584. local MainPos = partt.Position
  1585. local MainPos2 = mouse + SpreadVectors
  1586. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1587. local speed = 1000
  1588. local num = 1
  1589. coroutine.resume(coroutine.create(function()
  1590.  
  1591. repeat
  1592. swait()
  1593. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1594. local mag = (MainPos - pos).magnitude
  1595. Laser(BrickColor.new("Cyan"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.195, 0, -0.195, 0.15)
  1596. MainPos = MainPos + MouseLook.lookVector * speed
  1597. num = num - 1
  1598. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1599. if hit ~= nil then
  1600. num = 0
  1601. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1602. refpart.Anchored = true
  1603. refpart.CFrame = CFrame.new(pos)
  1604. game:GetService("Debris"):AddItem(refpart, 2)
  1605. end
  1606. do
  1607. if num <= 0 then
  1608. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1609. refpart.Anchored = true
  1610. refpart.CFrame = CFrame.new(pos)
  1611. if hit ~= nil then
  1612. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
  1613. BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  1614. BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  1615. MagniDamage(refpart, 3, 999999, 999999, 0, "Normal")
  1616. end
  1617. game:GetService("Debris"):AddItem(refpart, 0)
  1618. end
  1619. end
  1620. until num <= 0
  1621. end
  1622. ))
  1623. end
  1624.  
  1625. shoottraildd2 = function(mouse, partt, SpreadAmount)
  1626.  
  1627. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  1628. local MainPos = partt.Position
  1629. local MainPos2 = mouse + SpreadVectors
  1630. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  1631. local speed = 1000
  1632. local num = 1
  1633. coroutine.resume(coroutine.create(function()
  1634.  
  1635. repeat
  1636. swait()
  1637. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  1638. local mag = (MainPos - pos).magnitude
  1639. Laser(BrickColor.new("Cyan"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, .5)
  1640. MainPos = MainPos + MouseLook.lookVector * speed
  1641. num = num - 1
  1642. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  1643. if hit ~= nil then
  1644. num = 0
  1645. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1646. refpart.Anchored = true
  1647. refpart.CFrame = CFrame.new(pos)
  1648. game:GetService("Debris"):AddItem(refpart, 2)
  1649. end
  1650. do
  1651. if num <= 0 then
  1652. local refpart = CreatePart(EffectModel, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  1653. refpart.Anchored = true
  1654. refpart.CFrame = CFrame.new(pos)
  1655. if hit ~= nil then
  1656. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
  1657. BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  1658. BlockEffect(BrickColor.new("Cyan"), refpart.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  1659. MagniDamage(refpart, 3, 999999, 999999, 0, "Snare")
  1660. end
  1661. game:GetService("Debris"):AddItem(refpart, 0)
  1662. end
  1663. end
  1664. until num <= 0
  1665. end
  1666. ))
  1667. end
  1668.  
  1669.  
  1670. function idleanim2()
  1671. for i = 0, 1, 0.1 do
  1672. swait()
  1673. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(10)), .2)
  1674. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0 + 0.7 * math.cos(sine / 25)), math.rad(0), math.rad(-10)), .2)
  1675. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.0) * angles(math.rad(0), math.rad(0 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  1676. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.0) * angles(math.rad(0 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(0 - 1 * math.cos(sine / 25))), 0.2)
  1677. RH.C0 = clerp(RH.C0, cn(1, -.7 - 0.0 * math.cos(sine / 25), -.3) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(-0), math.rad(50 + 1.1 * math.cos(sine / 25))), .2)
  1678. LH.C0 = clerp(LH.C0, cn(-1, -.6 - 0.0 * math.cos(sine / 25), -.3) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(-0), math.rad(-40 + 1.1 * math.cos(sine / 25))), .2)
  1679. GuW.C0 = clerp(GuW.C0, CFrame.new(-1.4,-1.5,0) * angles(math.rad(-0), math.rad(0), math.rad(90)), 0.1)
  1680. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  1681. end
  1682. end
  1683.  
  1684. function MinShotAttackAnim1()
  1685.  
  1686. for i = 0, 1, 0.3 do
  1687. Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(mouse.hit.p.x,Torso.Position.y,mouse.hit.p.z))
  1688. swait()
  1689.  
  1690. if Torsovelocity > 1 then
  1691. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0), math.rad(-50 - 5 * math.cos(sine / 5))), .2)
  1692. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5))), .2)
  1693. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  1694. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  1695. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50) + RootPart.RotVelocity.Y / 70, math.rad(50 * math.cos(sine / 4)+ RootPart.RotVelocity.Y / 10)), .3)
  1696. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50) + RootPart.RotVelocity.Y / 70, math.rad(50 * math.cos(sine / 4))), .3)
  1697. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  1698. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  1699. elseif Torsovelocity < 1 then
  1700.  
  1701.  
  1702.  
  1703. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  1704. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  1705. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  1706. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  1707. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  1708. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  1709. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  1710. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  1711. end
  1712. end
  1713.  
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721. end
  1722.  
  1723.  
  1724. function ShotAttackAnim1()
  1725. for i = 0, 1, 0.3 do
  1726.  
  1727. swait()
  1728.  
  1729. if Torsovelocity > 1 then
  1730. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2)
  1731. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 12), .2)
  1732. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  1733. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  1734. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  1735. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  1736. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  1737. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  1738. elseif Torsovelocity < 1 then
  1739.  
  1740.  
  1741.  
  1742. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  1743. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  1744. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  1745. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  1746. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  1747. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  1748. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  1749. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  1750. end
  1751. end
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760. end
  1761.  
  1762.  
  1763. function ShotAttackAnim2()
  1764. for i = 0, 2, 0.1 do
  1765. swait()
  1766.  
  1767. if Torsovelocity > 2 then
  1768. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-45+5 * math.cos(sine / 5))), .2)
  1769. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(5), math.rad(45+-5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
  1770. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 4), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 4))), 0.3)
  1771. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 4), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 4)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 4))), 0.2)
  1772. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  1773. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  1774. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  1775. DW.C0 = clerp(DW.C0, CFrame.new(4+.1 * math.cos(sine / 5) , 7.05 - .1 * math.cos(sine / 3), 2.5 + .1 * math.cos(sine / 6)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  1776. elseif Torsovelocity < 1 then
  1777.  
  1778.  
  1779. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(5)), .1)
  1780. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(-5)), .1)
  1781. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5 - -.1 * math.cos(sine / 25), 0) * angles(math.rad(25), math.rad(0), math.rad(5 + 3 * math.cos(sine / 25))), 0.1)
  1782. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5 + -.1 * math.cos(sine / 25), -.0) * angles(math.rad(15 + 3 * math.cos(sine / 25)), math.rad(0), math.rad(-25 + 3 * math.cos(sine / 25))), 0.1)
  1783. RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  1784. LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .1)
  1785. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(-05), math.rad(90)), 0.1)
  1786.  
  1787. DW.C0 = clerp(DW.C0, CFrame.new(2 + .1 * math.cos(sine / 5) ,7 + -.2 * math.cos(sine / 20), 0 + .1 * math.cos(sine / 5)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.05)
  1788. end
  1789. end
  1790. end
  1791.  
  1792. function ShotAttackAnim3()
  1793. for i = 0, 2, 0.1 do
  1794. swait()
  1795.  
  1796. if Torsovelocity > 2 then
  1797. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 1, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2)
  1798. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
  1799. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(60), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  1800. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(125 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  1801. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  1802. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  1803. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  1804. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  1805. elseif Torsovelocity < 1 then
  1806.  
  1807.  
  1808. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 1, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  1809. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  1810. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(60), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  1811. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(125 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  1812. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.1 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(4 + 2 * math.cos(sine / 25))), .2)
  1813. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.1 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(-20 + 2 * math.cos(sine / 25))), .2)
  1814. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  1815. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  1816. end
  1817. end
  1818.  
  1819.  
  1820.  
  1821. for i = 0, 1, 0.4 do
  1822. swait()
  1823.  
  1824. if Torsovelocity > 2 then
  1825. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 3)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(-50 - 5 * math.cos(sine / 5))), .2)
  1826. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(50 + 5 * math.cos(sine / 5)) + RootPart.RotVelocity.Y / 9), .2)
  1827. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1)
  1828. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.1)
  1829. RH.C0 = clerp(RH.C0, cn(.9, -.9 + -.1 * math.cos(sine / 4),-.6) * RHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  1830. LH.C0 = clerp(LH.C0, cn(-.9, -.9 + .1 * math.cos(sine / 4), .5) * LHCF * angles(math.rad(-2), math.rad(50), math.rad(50 * math.cos(sine / 4))), .3)
  1831. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  1832. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  1833. elseif Torsovelocity < 1 then
  1834.  
  1835.  
  1836. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  1837. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  1838. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1)
  1839. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.1)
  1840. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.1 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), .2)
  1841. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.1 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 1 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 2 * math.cos(sine / 25))), .2)
  1842. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  1843. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  1844. end
  1845. end
  1846. end
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855. function holding()
  1856.  
  1857.  
  1858.  
  1859.  
  1860. while Rapid == true and attack==true and sentrymode == false do
  1861.  
  1862. attack = true
  1863.  
  1864.  
  1865. MinShotAttackAnim1()
  1866. BlockEffect(BrickColor.new("Cyan"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  1867. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
  1868. shoottraildd(mouse.Hit.p, gun1, .55)
  1869.  
  1870. MinShotAttackAnim1()
  1871. BlockEffect(BrickColor.new("Cyan"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  1872. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
  1873. shoottraildd(mouse.Hit.p, gun2, .55)
  1874. MinShotAttackAnim1()
  1875. BlockEffect(BrickColor.new("Cyan"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  1876. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
  1877. shoottraildd(mouse.Hit.p, gun3, .55)
  1878. MinShotAttackAnim1()
  1879. BlockEffect(BrickColor.new("Cyan"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  1880. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=419268760", RootPart, 1, 1.5)
  1881. shoottraildd(mouse.Hit.p, gun4, .55)
  1882. end
  1883.  
  1884.  
  1885.  
  1886. attack = false
  1887. end
  1888.  
  1889. mouse.KeyUp:connect(function(k)
  1890. if k == "z" and Rapid == true then
  1891. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231107923", RootPart, 1, 2)
  1892. Rapid = false
  1893. Effects.Ring.Create (BrickColor.new("Cyan"), gun1.CFrame, .1, .1, .1, .1,.1,0,0.08)
  1894. Effects.Ring.Create (BrickColor.new("Cyan"), gun1.CFrame, .1, .1, .1, .1,.1,0,0.1)
  1895.  
  1896. end
  1897. end)
  1898.  
  1899.  
  1900.  
  1901. mouse.KeyDown:connect(function(k)
  1902. if k == "z" and sentrymode == false and attack == false then
  1903. attack = true
  1904. Rapid = true
  1905. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=162611981", RootPart, 1, 1)
  1906. MinShotAttackAnim1()
  1907. MinShotAttackAnim1()
  1908. for i = 0,10 do
  1909. BlockEffect(BrickColor.new("Cyan"), gun1.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  1910. BlockEffect(BrickColor.new("Cyan"), gun2.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  1911. BlockEffect(BrickColor.new("Cyan"), gun3.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  1912. BlockEffect(BrickColor.new("Cyan"), gun4.CFrame, 1, 1, 1, 2, 2, 2, 0.1)
  1913. Effects.Ring.Create (BrickColor.new("Cyan"), gun1.CFrame, 2.1, 2.1, .1, -.3,-.3,0,0.07)
  1914. MinShotAttackAnim1()
  1915. end
  1916. holding()
  1917. end
  1918. end)
  1919.  
  1920.  
  1921.  
  1922.  
  1923. mouse.KeyDown:connect(function(k)
  1924.  
  1925.  
  1926. if attack == false and k == "x" and sentrymode == false then
  1927.  
  1928.  
  1929.  
  1930.  
  1931. attack = true
  1932. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=316030607", LaPart, 5, 3)
  1933. for i=1,5 do
  1934.  
  1935. BlockEffect(BrickColor.new("Lily white"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1936. BlockEffect(BrickColor.new("Cyan"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1937. BlockEffect(BrickColor.new("Lime green"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1938. BlockEffect(BrickColor.new("Cyan"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1939. ShotAttackAnim1()
  1940. BlockEffect(BrickColor.new("Cyan"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1941. BlockEffect(BrickColor.new("Lily white"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1942. BlockEffect(BrickColor.new("Cyan"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1943. BlockEffect(BrickColor.new("Lime green"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1944. ShotAttackAnim1()
  1945. BlockEffect(BrickColor.new("Cyan"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1946. BlockEffect(BrickColor.new("Lime green"), gun2.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1947. BlockEffect(BrickColor.new("Cyan"), gun3.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1948. BlockEffect(BrickColor.new("Lily white"), gun4.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1949.  
  1950. BlockEffect(BrickColor.new("Cyan"), gun1.CFrame, 0, 0, 0, 60, 60, 60, 0.4)
  1951. ShotAttackAnim1()
  1952. end
  1953. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=633129949", LaPart, 10, 1)
  1954. for i=1,2 do
  1955. BlockEffect(BrickColor.new("Cyan"), gun1.CFrame, 20, 20, 20, 50, 50, 50, 0.12)
  1956. BlockEffect(BrickColor.new("Cyan"), gun1.CFrame, 20, 20, 20, 30, 30, 30, 0.09)
  1957. BlockEffect(BrickColor.new("Cyan"), gun1.CFrame, 10, 10, 10, 20, 20, 20, 0.06)
  1958. BlockEffect(BrickColor.new("Lime green"), gun1.CFrame, 3, 3, 3, 10, 10, 10, 0.045)
  1959. end
  1960. BlockEffect(BrickColor.new("Lily white"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1961.  
  1962.  
  1963. MagniDamage(gun1, 15, 999999, 999999, 99999, "Normal")
  1964. ShotAttackAnim3()
  1965.  
  1966.  
  1967.  
  1968.  
  1969. for i=1,2 do
  1970. BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1971. ShotAttackAnim1()
  1972. BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1973. ShotAttackAnim1()
  1974. BlockEffect(BrickColor.new("Really black"), gun1.CFrame, .1, .1, .1, 1, 1, 1, 0.045)
  1975. ShotAttackAnim1()
  1976. end
  1977.  
  1978. attack = false
  1979.  
  1980. end
  1981.  
  1982.  
  1983.  
  1984. if k == "r" and attack == false then
  1985. attack=true
  1986. while Torsovelocity < 1 do
  1987. attack=true
  1988. idleanim2()
  1989.  
  1990.  
  1991.  
  1992. end
  1993. attack=false
  1994.  
  1995. end
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004. if k == "v" and sentrymode == false and attack == false and ultwait==false then
  2005. ultwait=true
  2006. attack = true
  2007. Humanoid.WalkSpeed = 0
  2008. local Sond = Create("Sound")({Volume = 1.5, Pitch = 1.2, SoundId = "http://www.roblox.com/asset/?id=195322948", Parent = Character or workspace})
  2009. wait()
  2010. Sond:play()
  2011.  
  2012. for i = 0, 1, 0.1 do
  2013. swait()
  2014.  
  2015.  
  2016.  
  2017. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2018. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  2019. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2020. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2021. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2022. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2023. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2024. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2025.  
  2026. end
  2027.  
  2028.  
  2029. for i = 0, 2, 0.1 do
  2030. swait()
  2031.  
  2032. Effects.Ring.Create (BrickColor.new("Cyan"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.1)
  2033.  
  2034.  
  2035. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2036. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
  2037. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2038. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(90 + 1 * math.cos(sine / 25)), math.rad(-45), math.rad(-45 - 1 * math.cos(sine / 25))), 0.2)
  2039. RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .2)
  2040. LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2)
  2041. GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2042. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2043.  
  2044. end
  2045.  
  2046.  
  2047. for i = 0, 58, 0.1 do
  2048. swait()
  2049. Effects.Ring.Create (BrickColor.new("Cyan"), LeftArm.CFrame, .1, .1, .1, .6,.6,0,0.08)
  2050. Effects.Ring.Create (BrickColor.new("Cyan"), LeftArm.CFrame, .1, .1, .1, .6,.6,0,0.1)
  2051. BlockEffect(BrickColor.new("Cyan"), LeftArm.CFrame, 21, 41, 21, -.5, -.5, -.5, 0.1,2)
  2052.  
  2053. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2054. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
  2055. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.1)
  2056. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(120 + 1 * math.cos(sine / 25)), math.rad(-45), math.rad(-45 - 1 * math.cos(sine / 25))), 0.1)
  2057. RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1)
  2058. LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2)
  2059. GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2060. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2061.  
  2062. end
  2063. BlockEffect(BrickColor.new("Cyan"), LeftArm.CFrame, 0, 0, 0, 20,20,20, 0.05,1)
  2064. for i = 0, 55, 0.1 do
  2065. swait()
  2066. Effects.Ring.Create (BrickColor.new("Cyan"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.08)
  2067. Effects.Ring.Create (BrickColor.new("Cyan"), LeftArm.CFrame, .1, .1, .1, 1,1,0,0.1)
  2068. Effects.Break.Create (BrickColor.new("Cyan"), LeftArm.CFrame, 6, .1, .1)
  2069. BlockEffect(BrickColor.new("Cyan"), LeftArm.CFrame, 21, 41, 21, .1, .1, .1, 0.05,2)
  2070. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 5) * angles(math.rad(0), math.rad(0), math.rad(-50)), .01)
  2071. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
  2072. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2073. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(120 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(-45 - 1 * math.cos(sine / 25))), 0.2)
  2074. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.2 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1)
  2075. LH.C0 = clerp(LH.C0, cn(-.9, -.7 - 0.2 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2076. GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2077. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2078.  
  2079. end
  2080. BlockEffect(BrickColor.new("Cyan"), LeftArm.CFrame, 0, 0, 0, 30,30,30, 0.05,1)
  2081. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260434750", Character, 2, .7)
  2082. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=209833293", Character, 2, 2)
  2083. for i = 0, 10, 0.1 do
  2084. swait()
  2085.  
  2086. Effects.Wave.Create (BrickColor.new("Cyan"), Torso.CFrame, .1, .1, .1, .5,10000,.5,0.08)
  2087. Effects.Ring.Create (BrickColor.new("Cyan"), LeftArm.CFrame, .1, .1, .1, 17,17,0,0.08)
  2088. Effects.Ring.Create (BrickColor.new("Cyan"), LeftArm.CFrame, .1, .1, .1, 17,17,0,0.1)
  2089. Effects.Break.Create (BrickColor.new("Cyan"), LeftArm.CFrame, 76, .1, .1)
  2090. BlockEffect(BrickColor.new("Cyan"), LeftArm.CFrame, 40, 40, 40, 70,70,70, 0.05,1)
  2091.  
  2092.  
  2093. MagniKILL(Torso, 99999999,999999999,99999999, 99999999, "Normal")
  2094.  
  2095. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2096. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(50)), .2)
  2097. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2098. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(160 + 1 * math.cos(sine / 25)), math.rad(-0), math.rad(-0 - 1 * math.cos(sine / 25))), 0.2)
  2099. RH.C0 = clerp(RH.C0, cn(.9, -1 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(0 + 0 * math.cos(sine / 25))), .1)
  2100. LH.C0 = clerp(LH.C0, cn(-.9, -1 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(-0 + 0 * math.cos(sine / 25))), .2)
  2101. GuW.C0 = clerp(GuW.C0, CFrame.new(0,-1.3,-1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
  2102. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2103.  
  2104. end
  2105. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260435164", Character, 2, .7)
  2106.  
  2107. for i = 0, 1, 0.1 do
  2108. swait()
  2109.  
  2110.  
  2111.  
  2112. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), .2)
  2113. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(50)), .2)
  2114. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, 0) * angles(math.rad(10), math.rad(-40 - .01 * math.cos(sine / 25)), math.rad(-0 + 0.1 * math.cos(sine / 25))), 0.2)
  2115. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.4, -.4) * angles(math.rad(85 + 1 * math.cos(sine / 25)), math.rad(15), math.rad(-10 - 1 * math.cos(sine / 25))), 0.2)
  2116. RH.C0 = clerp(RH.C0, cn(.9, -.9 - 0.0 * math.cos(sine / 25), -.6) * RHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2117. LH.C0 = clerp(LH.C0, cn(-.9, -.9 - 0.0 * math.cos(sine / 25), .5) * LHCF * angles(math.rad(-2 + 0 * math.cos(sine / 25)), math.rad(50), math.rad(10 + 0 * math.cos(sine / 25))), .2)
  2118. GuW.C0 = clerp(GuW.C0, CFrame.new(-2,-1.3,0) * angles(math.rad(-90), math.rad(0), math.rad(90)), 0.1)
  2119. DW.C0 = clerp(DW.C0, CFrame.new(3.5 + .5 * math.cos(sine / 30) ,3 + -.2 * math.cos(sine / 20), 2.5 + .5 * math.cos(sine / 40)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.2)
  2120.  
  2121. end
  2122. Humanoid.WalkSpeed = 16
  2123. Sond:Destroy()
  2124.  
  2125. attack = false
  2126. wait(30)
  2127. ultwait=false
  2128. end
  2129.  
  2130. if k == "e" then
  2131.  
  2132. if sentrymode== false then
  2133. if attack == false then
  2134. GlowParticle.Enabled = true
  2135. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=876800936", LaPart, 1.5, 1.5)
  2136. sentrymode= true
  2137. end
  2138. else
  2139. sentrymode=false
  2140. GlowParticle.Enabled = false
  2141. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=231107923", LaPart, 3, 1.5)
  2142. end
  2143. end
  2144.  
  2145. end)
  2146. mouse.Button1Down:connect(function(key)
  2147. if attack == false and sentrymode == false then
  2148. attack = true
  2149. ShotAttackAnim2()
  2150. BlockEffect(BrickColor.new("Cyan"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
  2151. BlockEffect(BrickColor.new("Lime green"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
  2152. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=410543238", LaPart, 0.5, 1.6)
  2153. bigLigLaser(mouse.Hit.p, LaPart, 0)
  2154. ShotAttackAnim2()
  2155. attack = false
  2156. end
  2157. end)
  2158.  
  2159. Humanoid.MaxHealth = 999999999
  2160. wait()
  2161. Humanoid.Health = Humanoid.MaxHealth
  2162.  
  2163.  
  2164. ------------------------------------------------------------------------------------------------
  2165. local HiveMind = {}
  2166.  
  2167. function HiveMind:new(owner)
  2168. self.__index = self
  2169. local o = {mind = {}, mindState = "FOLLOW", victimObject = nil}
  2170. o.owner = owner
  2171. setmetatable(o, self)
  2172. return o
  2173. end
  2174.  
  2175. function HiveMind:add(model, humanoid, torso)
  2176. if model and humanoid and torso then
  2177. table.insert(self.mind, {model = model, humanoid = humanoid,
  2178. torso = torso})
  2179. local hiv = self
  2180. local lastJump = 0
  2181. torso.Touched:connect(function(object)
  2182. local hive = false
  2183. if hiv.owner.Character
  2184. and object:IsDescendantOf(hiv.owner.Character) == false
  2185. then
  2186. for i = 1, #hiv.mind do
  2187. if object:IsDescendantOf(hiv.mind[i].model) then
  2188. hive = true
  2189. break
  2190. end
  2191. end
  2192. if not hive then
  2193. local hum = object.Parent
  2194. and object.Parent:FindFirstChild("Humanoid")
  2195. if hum then
  2196. hum:TakeDamage(15)
  2197. end
  2198. elseif time() - lastJump > 2 then
  2199. lastJump = time(0) + math.random()*1
  2200. humanoid.Jump = true
  2201. end
  2202. end
  2203. end)
  2204. end
  2205. end
  2206.  
  2207. function HiveMind:cleanupHive()
  2208. local i = 1
  2209. while i <= #self.mind do
  2210. if self.mind[i].model:IsDescendantOf(game) == false
  2211. or self.mind[i].humanoid.Health == 0 then
  2212. table.remove(self.mind, i)
  2213. else
  2214. i = i + 1
  2215. end
  2216. end
  2217. end
  2218.  
  2219. function HiveMind:getOrbitNumberFromUnitNumber(i)
  2220. local circleNumber = 0
  2221. while self:getUnitsInOrbit(circleNumber) < i do
  2222. i = i - self:getUnitsInOrbit(circleNumber)
  2223. circleNumber = circleNumber + 1
  2224. end
  2225. return circleNumber, i
  2226. end
  2227.  
  2228. function HiveMind:getOrbitDiameter(orbitNumber)
  2229. return math.pi*(orbitNumber*14)
  2230. end
  2231.  
  2232. function HiveMind:getUnitsInOrbit(orbitNumber)
  2233. return math.floor(self:getOrbitDiameter(orbitNumber)/5)
  2234. end
  2235.  
  2236. function HiveMind:lineup(location)
  2237. for i = 1, #self.mind do
  2238. local row = (i - 1) % 3
  2239. local column = math.floor((i - 1) / 3)
  2240. local xOffset, yOffset
  2241. if row == 0 then
  2242. xOffset = -7
  2243. elseif row == 1 then
  2244. xOffset = 0
  2245. else
  2246. xOffset = 7
  2247. end
  2248. yOffset = column * 7
  2249. local position = location * CFrame.new(xOffset, 0, yOffset)
  2250. self.mind[i].humanoid:MoveTo(position.p, workspace.Base)
  2251. end
  2252. end
  2253.  
  2254. function HiveMind:ownerTorso()
  2255. return self.owner.Character
  2256. and self.owner.Character:FindFirstChild("Torso")
  2257. end
  2258. function HiveMind:update()
  2259. self:cleanupHive()
  2260. if self.owner.Character then
  2261. local ownerTorso = self.owner.Character:FindFirstChild("Torso")
  2262. if ownerTorso then
  2263. if (self.mindState == "FOLLOW") then
  2264. local hiveSpawn = ownerTorso.CFrame * CFrame.new(0, 0, 9)
  2265. self:lineup(hiveSpawn)
  2266. elseif (self.mindState == "CIRCLE") then
  2267. self:circle(ownerTorso.Position)
  2268. elseif (self.mindState == "ATTACK") then
  2269. self:crowdAttack()
  2270. elseif (self.mindState == "Deffend") then
  2271. self:deffend()
  2272. elseif (self.mindState == "GOTO") then
  2273. self:pushToTarget()
  2274. end
  2275. end
  2276. end
  2277. end
  2278. local me = game:GetService("Players").LocalPlayer
  2279. local hiveMind = HiveMind:new(me)
  2280.  
  2281. ------------------------------------------------------------------------------------------------
  2282.  
  2283. function findNearestTorso(pos,dist2)
  2284. local list = game.Workspace:children()
  2285. local torso = nil
  2286. if dist2 == nil then
  2287. dist2=50
  2288.  
  2289. end
  2290. local dist = dist2
  2291. local temp = nil
  2292. local human = nil
  2293. local temp2 = nil
  2294. for x = 1, #list do
  2295. temp2 = list[x]
  2296. if (temp2.className == "Model") and (temp2 ~= Character) then
  2297. temp = temp2:findFirstChild("HumanoidRootPart")
  2298. human = temp2:findFirstChild("Humanoid")
  2299. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2300. if (temp.Position - pos).magnitude < dist then
  2301. torso = temp
  2302.  
  2303. dist = (temp.Position - pos).magnitude
  2304. else
  2305.  
  2306. end
  2307.  
  2308.  
  2309.  
  2310.  
  2311. end
  2312. end
  2313. end
  2314. return torso
  2315. end
  2316.  
  2317.  
  2318. game:GetService("RunService"):BindToRenderStep("ew", 0, function()
  2319.  
  2320.  
  2321.  
  2322.  
  2323.  
  2324. if sentrymode == true and sonarwait == false then
  2325. sonarwait = true
  2326.  
  2327. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=752527668", LaPart, 2, 0.8)
  2328.  
  2329. wait(1)
  2330. sonarwait = false
  2331. end
  2332.  
  2333.  
  2334.  
  2335.  
  2336. wait()
  2337. if sentrymode == true then
  2338.  
  2339. local target = findNearestTorso(Character.HumanoidRootPart.Position,30)
  2340. if target ~= nil then
  2341. ShotAttackAnim2()
  2342. if sentrywait == false then
  2343. sentrywait = true
  2344. attack= true
  2345.  
  2346.  
  2347. BlockEffect(BrickColor.new("Cyan"), LaPart.CFrame, 0, 0, 0, 6, 6, 6, 0.18)
  2348. BlockEffect(BrickColor.new("Cyan"), LaPart.CFrame, 0, 0, 0, 2, 2, 2, 0.12)
  2349. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=260433584", LaPart, 1.5, .8)
  2350. LigLaser(target.Position, LaPart, 0)
  2351. wait()
  2352. attack= false
  2353. sentrywait = false
  2354. end
  2355.  
  2356.  
  2357. end
  2358.  
  2359. end
  2360. end)
  2361.  
  2362.  
  2363. sonarwait = false
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374. FaceIdList = {'117930174'}
  2375. FaceId = FaceIdList[math.random(1,#FaceIdList)]
  2376.  
  2377.  
  2378.  
  2379.  
  2380.  
  2381. local YourName = game.Players.LocalPlayer.Name
  2382. Character = Player.Character
  2383.  
  2384.  
  2385. Heartbeat = Instance.new("BindableEvent")
  2386. Heartbeat.Name = "Heartbeat"
  2387. Heartbeat.Parent = script
  2388. frame = 0.03333333333333333
  2389. tf = 0
  2390.  
  2391. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2392. tf = tf + s
  2393. if tf >= frame then
  2394. for i = 1, math.floor(tf / frame) do
  2395. Heartbeat:Fire()
  2396. end
  2397. tf = tf - frame * math.floor(tf / frame)
  2398. end
  2399. end)
  2400. local nscale = Instance.new("NumberValue")
  2401. nscale.Value = 1
  2402. nscale.Parent = nil
  2403. nscale.Changed:connect(function()
  2404. RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2405. RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2406. LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2407. LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2408. RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2409. RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2410. LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2411. LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2412. RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2413. RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2414. NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2415. NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2416. end)
  2417.  
  2418. function makegloo(paren, co, ci, parto, parti, nam)
  2419. local gloo = Instance.new("Glue")
  2420. gloo.Name = nam
  2421. gloo.C0 = co
  2422. gloo.C1 = ci
  2423. gloo.Part0 = parto
  2424. gloo.Part1 = parti
  2425. gloo.Parent = paren
  2426. end
  2427. function makejoint(paren, co, ci, parto, parti, nam)
  2428. local gloo = Instance.new("Motor6D")
  2429. gloo.Name = nam
  2430. gloo.C0 = co
  2431. gloo.C1 = ci
  2432. gloo.Part0 = parto
  2433. gloo.Part1 = parti
  2434. gloo.Parent = paren
  2435. end
  2436. function maketouchy(parent, limb, cframe)
  2437. local pr = Instance.new("Part")
  2438. pr.Name = "touchy"
  2439. pr.Size = Vector3.new(1 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
  2440. pr.Transparency = 1
  2441. pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5)
  2442. pr.CanCollide = true
  2443. pr.Anchored = false
  2444. pr.Parent = parent
  2445. local w = Instance.new("Weld")
  2446. w.Part0 = pr
  2447. w.Part1 = limb
  2448. w.C0 = cframe
  2449. w.Parent = pr
  2450. end
  2451. --[[ function swait(num)
  2452. if num == 0 or num == nil then
  2453. Heartbeat.Event:wait()
  2454. else
  2455. for i = 1, num do
  2456. Heartbeat.Event:wait()
  2457. end
  2458. end
  2459. end
  2460. --]]
  2461. modz = Instance.new("Model")
  2462. modz.Name = "efx"
  2463. modz.Parent = Character
  2464.  
  2465. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2466. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2467. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2468. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2469. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2470. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2471. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2472. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2473. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2474. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2475. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2476. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2477. local nscale = Instance.new("NumberValue")
  2478. nscale.Value = 1
  2479. nscale.Parent = nil
  2480. RightShoulderC0 = CFrame.new(1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2481. RightShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2482. LeftShoulderC0 = CFrame.new(-1.5 * nscale.Value, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2483. LeftShoulderC1 = CFrame.new(0, 0.5 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2484. RightHipC0 = CFrame.new(0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2485. RightHipC1 = CFrame.new(0, 1 * nscale.Value, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2486. LeftHipC0 = CFrame.new(-0.5 * nscale.Value, -1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2487. LeftHipC1 = CFrame.new(0 * nscale.Value, 1 * nscale.Value, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2488. RootJointC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2489. RootJointC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2490. NeckC0 = CFrame.new(0, 1 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2491. NeckC1 = CFrame.new(0, -0.5 * nscale.Value, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2492.  
  2493.  
  2494.  
  2495.  
  2496.  
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505. sWaiting=false
  2506. wait3=false
  2507. shotval = 0
  2508.  
  2509. npcname = ""..Character.Name.."'s Combine"
  2510.  
  2511.  
  2512. Character.ChildAdded:connect(function(object)
  2513. if object.Name == npcname then
  2514. hiveMind:add(object, object:WaitForChild("Humanoid"),
  2515. object:WaitForChild("Torso"))
  2516. end
  2517. end)
  2518. game:GetService("RunService").Stepped:connect(function()
  2519. hiveMind:update()
  2520. end)
  2521.  
  2522. function makenoob(cfrem, scalo, rags)
  2523. nscale.Value = scalo
  2524. local md = Instance.new("Model")
  2525. md.Name = ""..Character.Name.."'s Combine"
  2526. md.Parent = Character
  2527. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=", md, 1, 1)
  2528. wait(.5)
  2529. local hu = Instance.new("Humanoid")
  2530. hu.RigType = "R6"
  2531. hu.MaxHealth = 150 * scalo
  2532. hu.Health = 150 * scalo
  2533. hu.Parent = md
  2534. hu.DisplayDistanceType="Viewer"
  2535. hu.HealthDisplayDistance=0
  2536. hu.NameDisplayDistance=0
  2537. hu.NameOcclusion="EnemyOcclusion"
  2538. local anm = Instance.new("Animator")
  2539. anm.Parent = hu
  2540. local forthisnpcanim = npcanim:Clone()
  2541. forthisnpcanim.Parent = md
  2542. hu.PlatformStand = true
  2543. local light = function(part)
  2544. part.CustomPhysicalProperties = PhysicalProperties.new(0.35, 0.3, 0.5)
  2545. end
  2546. local hd = Instance.new("Part")
  2547. hd.Name = "Head"
  2548. hd.Size = Vector3.new(2 * nscale.Value, 1 * nscale.Value, 1 * nscale.Value)
  2549. hd.TopSurface = "Smooth"
  2550. hd.BottomSurface = "Inlet"
  2551. hd.Locked = true
  2552. hd.BrickColor = BrickColor.new("Pastel brown")
  2553. hd.CanCollide = true
  2554. hd.Anchored = false
  2555. hd.Transparency = 1
  2556. light(hd)
  2557. hd.Parent = md
  2558. local hm = Instance.new("SpecialMesh")
  2559. hm.MeshType = "Head"
  2560. hm.Scale = Vector3.new(1.25, 1.25, 1.25)
  2561. hm.Parent = hd
  2562.  
  2563.  
  2564.  
  2565. shirt = Instance.new("Shirt", md)
  2566. shirt.Name = "Shirt"
  2567. pants = Instance.new("Pants", md)
  2568. pants.Name = "Pants"
  2569. md.Shirt.ShirtTemplate = "rbxassetid://"
  2570. md.Pants.PantsTemplate = "rbxassetid://"
  2571. function loada(anim)
  2572. local loaded = md.Humanoid:LoadAnimation(anim)
  2573. return loaded
  2574. end
  2575. IdleA = New("Animation",md,"Idle",{AnimationId = "rbxassetid://243282565"})
  2576. IdleAnim = loada(IdleA)
  2577.  
  2578. local hf = Instance.new("Decal")
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  
  2585.  
  2586. FaceId = FaceIdList[math.random(1,#FaceIdList)]
  2587.  
  2588.  
  2589.  
  2590.  
  2591.  
  2592. hf.Texture = "rbxassetid://"
  2593.  
  2594. hf.Face = "Front"
  2595. hf.Parent = hd
  2596. local hrpa = Instance.new("Part")
  2597. hrpa.Name = "HumanoidRootPart"
  2598. hrpa.TopSurface, hrpa.BottomSurface = 0, 0
  2599. hrpa.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  2600. hrpa.Transparency = 1
  2601. hrpa.CanCollide = false
  2602. hrpa.Locked = true
  2603. light(hrpa)
  2604. hrpa.Parent = md
  2605. local tagbomb = Instance.new("BoolValue")
  2606. tagbomb.Name = "tagbomb"
  2607. tagbomb.Value = false
  2608. tagbomb.Parent = hrpa
  2609. local learm = Instance.new("Part")
  2610. learm.Name = "Left Arm"
  2611. learm.BrickColor = BrickColor.new("Pastel brown")
  2612. learm.CanCollide = false
  2613. learm.Locked = true
  2614. learm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  2615. learm.Transparency = 1
  2616. light(learm)
  2617. learm.Parent = md
  2618. local riarm = Instance.new("Part")
  2619. riarm.Name = "Right Arm"
  2620. riarm.BrickColor = BrickColor.new("Pastel brown")
  2621. riarm.CanCollide = false
  2622. riarm.Locked = true
  2623. riarm.Transparency = 1
  2624. light(riarm)
  2625. riarm.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  2626. riarm.Parent = md
  2627. local leleg = Instance.new("Part")
  2628. leleg.Name = "Left Leg"
  2629. leleg.BrickColor = BrickColor.new("Navy blue")
  2630. leleg.CanCollide = false
  2631. leleg.Locked = true
  2632. leleg.Transparency = 1
  2633. light(leleg)
  2634. leleg.BottomSurface = 0
  2635. leleg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  2636. leleg.Parent = md
  2637. local rileg = Instance.new("Part")
  2638. rileg.Name = "Right Leg"
  2639. rileg.BrickColor = BrickColor.new("Navy blue")
  2640. rileg.CanCollide = false
  2641. rileg.Locked = true
  2642. rileg.Transparency = 1
  2643. light(rileg)
  2644. rileg.BottomSurface = 0
  2645. rileg.Size = Vector3.new(1 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  2646. rileg.Parent = md
  2647. local tor = Instance.new("Part")
  2648. tor.Name = "Torso"
  2649. tor.BrickColor = BrickColor.new("Cyan")
  2650. tor.Locked = true
  2651. tor.Transparency = 1
  2652. light(tor)
  2653. tor.Size = Vector3.new(2 * nscale.Value, 2 * nscale.Value, 1 * nscale.Value)
  2654. tor.LeftSurface, tor.RightSurface = "Weld", "Weld"
  2655. tor.Parent = md
  2656. md.PrimaryPart = hrpa
  2657. md:SetPrimaryPartCFrame(cfrem)
  2658. md:makeJoints()
  2659. makejoint(hrpa, RootJointC0, RootJointC1, hrpa, tor, "RootJoint")
  2660. makejoint(tor, NeckC0, NeckC1, tor, hd, "Neck")
  2661.  
  2662. if rags == true then
  2663. makegloo(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
  2664. makegloo(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
  2665. makegloo(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
  2666. makegloo(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
  2667. maketouchy(riarm, riarm, CFrame.new(0, 0.5 * nscale.Value, 0))
  2668. maketouchy(learm, learm, CFrame.new(0, 0.5 * nscale.Value, 0))
  2669. maketouchy(leleg, leleg, CFrame.new(0, 0.5 * nscale.Value, 0))
  2670. maketouchy(rileg, rileg, CFrame.new(0, 0.5 * nscale.Value, 0))
  2671. elseif rags == false then
  2672. makejoint(tor, RightShoulderC0, RightShoulderC1, tor, riarm, "Right Shoulder")
  2673. makejoint(tor, LeftShoulderC0, LeftShoulderC1, tor, learm, "Left Shoulder")
  2674. makejoint(tor, RightHipC0, RightHipC1, tor, rileg, "Right Hip")
  2675. makejoint(tor, LeftHipC0, LeftHipC1, tor, leleg, "Left Hip")
  2676. hu.PlatformStand = false
  2677.  
  2678. end
  2679.  
  2680.  
  2681. local Solhat = Instance.new("Accessory")
  2682. Solhat.AttachmentPos = Vector3.new(0, .3, 0)
  2683. local SHH = Instance.new("Part",Solhat)
  2684. SHH.Name = "Handle"
  2685. SHH.CanCollide=false
  2686. local SHHMesh = Instance.new("SpecialMesh",SHH)
  2687. SHHMesh.Parent = SHH
  2688. SHHMesh.MeshId = "rbxassetid://"
  2689. SHHMesh.TextureId = "rbxassetid://"
  2690. SHHMesh.Scale = Vector3.new(1, 1, 1)
  2691. SHHMesh.VertexColor = Vector3.new(1, 1, 1)
  2692.  
  2693.  
  2694.  
  2695. nscale.Value = 1
  2696.  
  2697. wait()
  2698. Solhat.Parent = md
  2699. Thegun = Instance.new("Part",riarm)
  2700. Thegun.CanCollide=false
  2701. Thegun.Size = Vector3.new(1,1,1)
  2702. ThegunW = Instance.new("Weld")
  2703. ThegunW.Name = "GuW"
  2704. ThegunW.Part0 = riarm
  2705. ThegunW.C0 = cn(-.5, -2.4, -.4)*angles(0,0,3.2)
  2706. ThegunW.C1 = cn(0, 0, 0)
  2707. ThegunW.Part1 = Thegun
  2708. ThegunW.Parent = riarm
  2709. local ThegunMesh = Instance.new("SpecialMesh",Thegun)
  2710. ThegunMesh.Parent = Thegun
  2711. ThegunMesh.MeshId = "rbxassetid://445757526"
  2712. ThegunMesh.TextureId = "rbxassetid://445757530"
  2713. ThegunMesh.Scale = Vector3.new(0.9, 0.9, 0.9)
  2714. ThegunMesh.VertexColor = Vector3.new(1, 1, 1)
  2715. Thegun2 = Instance.new("Part",md)
  2716. Thegun2.CanCollide=false
  2717. Thegun2.Size = Vector3.new(.1,.1,.1)
  2718. Thegun2.Name = "Shoot"
  2719. Thegun2.Transparency = 1
  2720. ThegunW2 = Instance.new("Weld")
  2721. ThegunW2.Name = "GuW"
  2722. ThegunW2.Part0 = riarm
  2723. ThegunW2.C0 = cn(-0.4,-4.6,-.45)*angles(0,0,0)
  2724. ThegunW2.C1 = cn(0, 0, 0)
  2725. ThegunW2.Part1 = Thegun2
  2726. ThegunW2.Parent = riarm
  2727. BlockEffect(BrickColor.new("White"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
  2728. BlockEffect(BrickColor.new("White"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
  2729.  
  2730. BlockEffect(BrickColor.new("Lime green"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
  2731. BlockEffect(BrickColor.new("Lily white"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
  2732. wait(0.5)
  2733. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=", tor, 1, 1)
  2734. IdleAnim:Play()
  2735. wait(2.5)
  2736. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=", tor, 2, 1)
  2737. game:GetService("RunService"):BindToRenderStep("ew", 0, function()
  2738. if md ~= nil and hu.Health > 0 and sentrymode == false then
  2739. if md ~= nil and hu.Health > 0 and sentrymode == false then
  2740.  
  2741. if killcom==true or sentrymode == true and sWaiting==false then
  2742.  
  2743. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=", Torso, .5, 1)
  2744.  
  2745.  
  2746.  
  2747. BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
  2748. BlockEffect(BrickColor.new("Really black"), tor.CFrame, 160, 160, 160, -5, -5, -5, 0.04)
  2749.  
  2750. BlockEffect(BrickColor.new("Cyan"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
  2751. BlockEffect(BrickColor.new("Cyan"), tor.CFrame, 160, 160, 160, -14, -14, -14, 0.06)
  2752.  
  2753.  
  2754.  
  2755. hu.Health = 0
  2756. game:service'Debris':AddItem(md, .0);
  2757. end
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763. hu.WalkSpeed = 16.5
  2764. local target2 = findNearestTorso(hrpa.Position,60)
  2765. if target2 ~= nil then
  2766. hu:MoveTo(target2.Position, target2)
  2767.  
  2768. end
  2769.  
  2770. local target3 = findNearestTorso(hrpa.Position,45)
  2771.  
  2772. if target3 ~= nil then
  2773. hu.WalkSpeed = 0
  2774. tor.CFrame = CFrame.new(tor.Position, target3.Position) * CFrame.Angles(0,math.rad(0),0) * CFrame.new(0,0,(dir2.s))
  2775. end
  2776.  
  2777. if target3 ~= nil and wait3==false and sentrymode == false then
  2778. wait3=true
  2779.  
  2780. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=135362176", LaPart, 3, 1)
  2781. shoottraildd2(target3.Position, Thegun2, 1)
  2782. local PointLight = Instance.new("PointLight", Thegun2);
  2783. PointLight.Color = Color3.new(1,0,0)
  2784. PointLight.Brightness = 50;
  2785. PointLight.Range = 10
  2786. game:service'Debris':AddItem(PointLight, .02);
  2787. wait(2.2)
  2788. wait3=false
  2789.  
  2790.  
  2791.  
  2792. --Torso.CFrame = CFrame.new(Torso.Position, mouse.Hit.p) * CFrame.Angles(0,math.rad(0),0) * CFrame.new(0,0,(dir.s))
  2793.  
  2794.  
  2795. end
  2796.  
  2797. end
  2798.  
  2799. for i,v in pairs(Character:GetChildren()) do
  2800. if ""..Character.Name.."'s Combine" then
  2801.  
  2802.  
  2803.  
  2804. if hu.Health == 0 and md ~= nil and killcom==false and sWaiting==false then
  2805. CFuncs.Sound.Create("http://www.roblox.com/asset/?id=160622487", Torso, .6, 1)
  2806.  
  2807.  
  2808. game:service'Debris':AddItem(md, 3);
  2809.  
  2810. end
  2811. end
  2812. return md
  2813.  
  2814. end
  2815. end
  2816. end)
  2817.  
  2818.  
  2819.  
  2820. end
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836. function makecircle(cfrem, scalo)
  2837. local mcir1 = Instance.new("Part")
  2838. mcir1.Anchored = true
  2839. mcir1.CanCollide = false
  2840. mcir1.Size = Vector3.new(0.2, 0.2, 0.2)
  2841. mcir1.Transparency = 1
  2842. mcir1.CFrame = cfrem
  2843. mcir1.Parent = modz
  2844. game.Debris:AddItem(mcir1, 8)
  2845. local d1 = Instance.new("Decal")
  2846. d1.Texture = "rbxassetid://0"
  2847. d1.Face = "Front"
  2848. d1.Parent = mcir1
  2849. local d2 = Instance.new("Decal")
  2850. d2.Texture = "rbxassetid://0"
  2851. d2.Face = "Back"
  2852. d2.Parent = mcir1
  2853. local bme = Instance.new("BlockMesh")
  2854. bme.Parent = mcir1
  2855. for _ = 1, 9 do
  2856. swait()
  2857. bme.Scale = bme.Scale:lerp(Vector3.new(35 * scalo, 35 * scalo, 0), 0.3)
  2858. end
  2859. coroutine.resume(coroutine.create(function()
  2860. swait(15)
  2861. for _ = 1, 12 do
  2862. swait()
  2863. d1.Transparency = d1.Transparency + 0.08
  2864. d2.Transparency = d2.Transparency + 0.08
  2865. end
  2866. mcir1:Destroy()
  2867. end))
  2868. return mcir1
  2869. end
  2870. function spawnnoob(circlecf, noobcf, scalez, ragd)
  2871. local aearae = makecircle(circlecf, scalez)
  2872. local nananb
  2873.  
  2874. nananb = makenoob(aearae.CFrame * noobcf, scalez, false)
  2875.  
  2876. return nananb
  2877. end
  2878. mouse.KeyDown:connect(function(k)
  2879. if k == "c" and attack == false and sentrymode == false then
  2880. if killcom==false then
  2881. killcom=true
  2882. else
  2883. killcom=false
  2884. spawnnoob(RootPart.CFrame * cn((math.random(-5,5)), 10, (math.random(-0,5))) * angles(mr(90), 0, 0), cn(0, 0, 0) * angles(mr(-90), 0, 0), 1, false)
  2885.  
  2886. end
  2887.  
  2888.  
  2889. end
  2890. end)
  2891.  
  2892. --[[
  2893. BlockEffect(BrickColor.new("Royal purple"), Firepart1.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
  2894. BlockEffect(BrickColor.new("Eggplant"), Firepart1.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.06)
  2895. BlockEffect(BrickColor.new("Royal purple"), Firepart2.CFrame, 1, 1, 1, 3, 3, 3, 0.06)
  2896. BlockEffect(BrickColor.new("Eggplant"), Firepart2.CFrame, 1, 1, 1, 2.8, 2.8, 2.8, 0.06)
  2897. --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement