Advertisement
DogeLiker

TEST

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