wamandnj

Untitled

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