Advertisement
StarzoZero

Roblox FE NTF Heavy Unit Script

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