Advertisement
Guest User

Slav Elite by NewDevin7

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