niggerfaggggggot

Untitled

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