Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 165.45 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. CV="White"
  88.  
  89. p = owner
  90. char = p.Character
  91. local txt = Instance.new("BillboardGui", char)
  92. txt.Adornee = char .Head
  93. txt.Name = "_status"
  94. txt.Size = UDim2.new(2, 0, 1.2, 0)
  95. txt.StudsOffset = Vector3.new(-9, 6, 0)
  96. local text = Instance.new("TextLabel", txt)
  97. text.Size = UDim2.new(10, 0, 7, 0)
  98. text.FontSize = "Size24"
  99. text.TextScaled = true
  100. text.TextTransparency = 0
  101. text.BackgroundTransparency = 1
  102. text.TextTransparency = 0
  103. text.TextStrokeTransparency = 1
  104. text.Font = "Code"
  105. text.TextStrokeColor3 = Color3.new(40,0,0)
  106.  
  107. v=Instance.new("Part")
  108. v.Name = "ColorBrick"
  109. v.Parent=p.Character
  110. v.FormFactor="Symmetric"
  111. v.Anchored=true
  112. v.CanCollide=false
  113. v.BottomSurface="Smooth"
  114. v.TopSurface="Smooth"
  115. v.Size=Vector3.new(10,5,3)
  116. v.Transparency=1
  117. v.CFrame=char.Torso.CFrame
  118. v.BrickColor=BrickColor.new(CV)
  119. v.Transparency=1
  120. text.TextColor3 = Color3.fromRGB(255,140,0)
  121. v.Shape="Block"
  122. text.Text = "Nine Tailed Fox Heavy Unit"
  123. coroutine.wrap(function()
  124. while wait() do
  125. wait(3)
  126. text.Text = "Kill"
  127. wait()
  128. text.Text = "Nine Tailed Fox Heavy Unit";
  129. wait(2)
  130. local str = ""
  131. for i = 1, math.random(3,25) do
  132. str = str..string.char(math.random(65,122))
  133. end
  134. text.Text = str
  135. wait()
  136. str = ""
  137. for i = 1, math.random(12,25) do
  138. str = str..string.char(math.random(48,122))
  139. end
  140. wait()
  141. text.Text = str
  142. wait()
  143. text.Text = "Nine Tailed Fox Heavy Unit";
  144. wait(1)
  145. text.Text = "THE PAIN"
  146. wait()
  147. text.Text = "What do you want?"
  148. wait()
  149. text.Text = "Nine Tailed Fox Heavy Unit";
  150. wait(2)
  151. text.Text = "You made me do this.";
  152. wait()
  153. text.Text = "Kill";
  154. wait()
  155. for i = 1, math.random(12,25) do
  156. str = str..string.char(math.random(48,57))
  157. end
  158. text.Text = str
  159. wait()
  160. text.Text = "Nine Tailed Fox Heavy Unit";
  161. wait(2)
  162. end
  163. end)()
  164. local Player = owner
  165. local Character = Player.Character
  166. local Torso = Character.Torso
  167. local hum = Character.Humanoid
  168. hum.MaxHealth = 1000
  169. wait(0.1)
  170. hum.Health = 1000
  171.  
  172. local Music = Instance.new("Sound")
  173.  
  174. Music.Name = "Sound"
  175. Music.SoundId = "http://roblox.com/asset/?id=714974960"
  176. Music.Volume = 4
  177. Music.Looped = false
  178. Music.Parent = Character
  179. Music:play()
  180.  
  181. GasMask = true
  182.  
  183. if GasMask == true then
  184. o1 = Instance.new("Model")
  185. o2 = Instance.new("Part")
  186. o3 = Instance.new("SpecialMesh")
  187. o4 = Instance.new("Part")
  188. o5 = Instance.new("Part")
  189. o6 = Instance.new("Part")
  190. o7 = Instance.new("SpecialMesh")
  191. o8 = Instance.new("Part")
  192. o9 = Instance.new("Part")
  193. o10 = Instance.new("SpecialMesh")
  194. o11 = Instance.new("Part")
  195. o12 = Instance.new("Part")
  196. o13 = Instance.new("SpecialMesh")
  197. o14 = Instance.new("Part")
  198. o15 = Instance.new("Part")
  199. o16 = Instance.new("Part")
  200. o17 = Instance.new("Part")
  201. o1.Name = "MODEL"
  202. o2.Name = "Middle"
  203. o2.Parent = o1
  204. o2.BrickColor = BrickColor.new("Pastel brown")
  205. o2.Transparency = 1
  206. o2.Position = Vector3.new(-13.5356159, 3.71991396, 50.2649117)
  207. o2.Rotation = Vector3.new(-5.66336393, -89.7626114, -5.66246414)
  208. o2.Anchored = true
  209. o2.FormFactor = Enum.FormFactor.Custom
  210. o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  211. 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)
  212. o2.BottomSurface = Enum.SurfaceType.Smooth
  213. o2.TopSurface = Enum.SurfaceType.Smooth
  214. o2.Color = Color3.new(1, 0.8, 0.6)
  215. o3.Parent = o2
  216. o3.Scale = Vector3.new(6.25, 6.25, 6.25)
  217. o3.MeshType = Enum.MeshType.FileMesh
  218. o4.Name = "Lense 1"
  219. o4.Parent = o1
  220. o4.Material = Enum.Material.Metal
  221. o4.Transparency = 0.050000011920929
  222. o4.Position = Vector3.new(-12.900528, 3.77991295, 50.5080605)
  223. o4.Rotation = Vector3.new(-180, 20.6807137, -179.999985)
  224. o4.Anchored = true
  225. o4.CanCollide = false
  226. o4.FormFactor = Enum.FormFactor.Custom
  227. o4.Shape = Enum.PartType.Cylinder
  228. o4.Size = Vector3.new(0.200000003, 0.320000023, 0.939999998)
  229. 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)
  230. o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  231. o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  232. o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  233. o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  234. o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  235. o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  236. o5.Name = "Lense2"
  237. o5.Parent = o1
  238. o5.Material = Enum.Material.Metal
  239. o5.Transparency = 0.050000011920929
  240. o5.Position = Vector3.new(-12.8961124, 3.77492094, 50.0302277)
  241. o5.Rotation = Vector3.new(-180, -23.8323021, -179.999985)
  242. o5.Anchored = true
  243. o5.CanCollide = false
  244. o5.FormFactor = Enum.FormFactor.Custom
  245. o5.Shape = Enum.PartType.Cylinder
  246. o5.Size = Vector3.new(0.200000003, 0.330000043, 0.99000001)
  247. 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)
  248. o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  249. o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  250. o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  251. o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  252. o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  253. o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  254. o6.Name = "Handle"
  255. o6.Parent = o1
  256. o6.Material = Enum.Material.Metal
  257. o6.BrickColor = BrickColor.new("Really black")
  258. o6.Position = Vector3.new(-12.8799381, 3.69992495, 50.2599869)
  259. o6.Rotation = Vector3.new(-90, 9.97842108e-006, -89.9999008)
  260. o6.Anchored = true
  261. o6.CanCollide = false
  262. o6.FormFactor = Enum.FormFactor.Plate
  263. o6.Size = Vector3.new(1, 0.400000006, 1)
  264. 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)
  265. o6.BottomSurface = Enum.SurfaceType.Weld
  266. o6.TopSurface = Enum.SurfaceType.Smooth
  267. o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  268. o7.Parent = o6
  269. o7.MeshId = "http://www.roblox.com/asset/?id=5158270"
  270. o7.Scale = Vector3.new(0.140000001, 0.170000002, 0.100000001)
  271. o7.MeshType = Enum.MeshType.FileMesh
  272. o8.Name = "Straps"
  273. o8.Parent = o1
  274. o8.Material = Enum.Material.Fabric
  275. o8.BrickColor = BrickColor.new("Really black")
  276. o8.Position = Vector3.new(-13.5199518, 3.48991394, 50.2599869)
  277. o8.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  278. o8.Anchored = true
  279. o8.CanCollide = false
  280. o8.FormFactor = Enum.FormFactor.Custom
  281. o8.Shape = Enum.PartType.Cylinder
  282. o8.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  283. 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)
  284. o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  285. o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  286. o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  287. o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  288. o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  289. o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  290. o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  291. o9.Name = "Ring2"
  292. o9.Parent = o1
  293. o9.BrickColor = BrickColor.new("Dark stone grey")
  294. o9.Position = Vector3.new(-12.8061161, 3.77991295, 49.9993477)
  295. o9.Rotation = Vector3.new(-1.48261315e-005, -66.1664276, -2.4695395e-005)
  296. o9.Anchored = true
  297. o9.CanCollide = false
  298. o9.FormFactor = Enum.FormFactor.Custom
  299. o9.Size = Vector3.new(0.600000024, 0.200000003, 1)
  300. 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)
  301. o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  302. o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  303. o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  304. o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  305. o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  306. o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  307. o9.Color = Color3.new(0.388235, 0.372549, 0.384314)
  308. o10.Parent = o9
  309. o10.MeshId = "http://www.roblox.com/asset/?id=3270017"
  310. o10.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  311. o10.MeshType = Enum.MeshType.FileMesh
  312. o11.Name = "Straps"
  313. o11.Parent = o1
  314. o11.Material = Enum.Material.Fabric
  315. o11.BrickColor = BrickColor.new("Really black")
  316. o11.Position = Vector3.new(-13.5199518, 4.00991392, 50.2599869)
  317. o11.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924)
  318. o11.Anchored = true
  319. o11.CanCollide = false
  320. o11.FormFactor = Enum.FormFactor.Custom
  321. o11.Shape = Enum.PartType.Cylinder
  322. o11.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999)
  323. 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)
  324. o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  325. o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  326. o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  327. o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  328. o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  329. o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  330. o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  331. o12.Name = "Ring1"
  332. o12.Parent = o1
  333. o12.BrickColor = BrickColor.new("Dark stone grey")
  334. o12.Position = Vector3.new(-12.7999144, 3.76992106, 50.5299988)
  335. o12.Rotation = Vector3.new(-179.999969, -69.3177338, -179.999985)
  336. o12.Anchored = true
  337. o12.CanCollide = false
  338. o12.FormFactor = Enum.FormFactor.Custom
  339. o12.Size = Vector3.new(0.600000024, 0.200000003, 1)
  340. 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)
  341. o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  342. o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  343. o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  344. o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  345. o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  346. o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  347. o12.Color = Color3.new(0.388235, 0.372549, 0.384314)
  348. o13.Parent = o12
  349. o13.MeshId = "http://www.roblox.com/asset/?id=3270017"
  350. o13.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012)
  351. o13.MeshType = Enum.MeshType.FileMesh
  352. o14.Name = "Breather"
  353. o14.Parent = o1
  354. o14.Material = Enum.Material.Metal
  355. o14.BrickColor = BrickColor.new("Really black")
  356. o14.Position = Vector3.new(-12.7419596, 3.69627094, 50.2550011)
  357. o14.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  358. o14.Anchored = true
  359. o14.CanCollide = false
  360. o14.FormFactor = Enum.FormFactor.Custom
  361. o14.Shape = Enum.PartType.Cylinder
  362. o14.Size = Vector3.new(0.600000024, 0.340000093, 0.25000003)
  363. 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)
  364. o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  365. o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  366. o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  367. o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  368. o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  369. o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  370. o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  371. o15.Name = "Breather"
  372. o15.Parent = o1
  373. o15.Material = Enum.Material.Metal
  374. o15.BrickColor = BrickColor.new("Really black")
  375. o15.Position = Vector3.new(-12.5337915, 3.51434994, 50.2550011)
  376. o15.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521)
  377. o15.Anchored = true
  378. o15.CanCollide = false
  379. o15.FormFactor = Enum.FormFactor.Custom
  380. o15.Shape = Enum.PartType.Cylinder
  381. o15.Size = Vector3.new(0.200000003, 0.340000093, 0.350000024)
  382. 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)
  383. o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  384. o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  385. o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  386. o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  387. o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  388. o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  389. o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  390. o16.Name = "Breather"
  391. o16.Parent = o1
  392. o16.Material = Enum.Material.Metal
  393. o16.BrickColor = BrickColor.new("Really black")
  394. o16.Position = Vector3.new(-12.7920103, 3.39220095, 49.784256)
  395. o16.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  396. o16.Anchored = true
  397. o16.CanCollide = false
  398. o16.FormFactor = Enum.FormFactor.Custom
  399. o16.Shape = Enum.PartType.Cylinder
  400. o16.Size = Vector3.new(0.230000019, 0.540000081, 0.75)
  401. 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)
  402. o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  403. o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  404. o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  405. o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  406. o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  407. o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  408. o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  409. o17.Name = "Breather"
  410. o17.Parent = o1
  411. o17.Material = Enum.Material.Metal
  412. o17.BrickColor = BrickColor.new("Really black")
  413. o17.Position = Vector3.new(-12.8723783, 3.42192006, 49.8816109)
  414. o17.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548)
  415. o17.Anchored = true
  416. o17.CanCollide = false
  417. o17.FormFactor = Enum.FormFactor.Custom
  418. o17.Shape = Enum.PartType.Cylinder
  419. o17.Size = Vector3.new(0.370000005, 0.540000081, 0.310000002)
  420. 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)
  421. o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  422. o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  423. o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  424. o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  425. o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  426. o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  427. o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  428. function onTouched(hit)
  429. local d = hit.Parent:GetChildren()
  430. for i=1, #d do
  431. if (d[i].className == "Hat") then
  432. d[i]:remove()
  433. end
  434. end
  435. if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Face") == nil then
  436. local g = o1:clone()
  437. g.Parent = hit.Parent
  438. local C = g:GetChildren()
  439. for i=1, #C do
  440. if C[i].className == "Part" then
  441. local W = Instance.new("Weld")
  442. W.Part0 = g.Middle
  443. W.Part1 = C[i]
  444. local CJ = CFrame.new(g.Middle.Position)
  445. local C0 = g.Middle.CFrame:inverse()*CJ
  446. local C1 = C[i].CFrame:inverse()*CJ
  447. W.C0 = C0
  448. W.C1 = C1
  449. W.Parent = g.Middle
  450. g.Middle.Transparency = 1
  451. end
  452. local Y = Instance.new("Weld")
  453. Y.Part0 = hit.Parent.Head
  454. Y.Part1 = g.Middle
  455. Y.C0 = CFrame.new(0, 0, 0)
  456. Y.Parent = Y.Part0
  457. end
  458.  
  459. local h = g:GetChildren()
  460. for i = 1, # h do
  461. h[i].Anchored = false
  462. h[i].CanCollide = false
  463. end
  464.  
  465. end
  466. end
  467.  
  468. onTouched(game.Players.localplayer.Character.Head)
  469. end
  470. local Player = game:service'Players'.owner
  471. local chara = Player.Character
  472.  
  473. shirt= Instance.new("Shirt", Character)
  474. shirt.Name = "Shirt"
  475. pants = Instance.new("Pants", Character)
  476. pants.Name = "Pants"
  477. chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=245656735"
  478. chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=245656766"
  479.  
  480. local Player = game:service'Players'.owner
  481. local chara = Player.Character
  482. local Character = Player.Character
  483. torso = chara.Torso
  484.  
  485. New = function(Object, Parent, Name, Data)
  486. local Object = Instance.new(Object)
  487. for Index, Value in pairs(Data or {}) do
  488. Object[Index] = Value
  489. end
  490. Object.Parent = Parent
  491. Object.Name = Name
  492. return Object
  493. end
  494. local LoPa = game:GetService("Players").owner
  495. local C = LoPa.Character
  496.  
  497.  
  498. LaserMinigun = New("Model",C,"LaserMinigun",{})
  499. Gunpart = New("Model",LaserMinigun,"Gunpart",{})
  500. 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),})
  501. Mesh = New("CylinderMesh",FrontHandle,"Mesh",{})
  502. 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,})
  503. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  504. 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,})
  505. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  506. 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,})
  507. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  508. 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,})
  509. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  510. 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,})
  511. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  512. 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,})
  513. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  514. 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,})
  515. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  516. 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,})
  517. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  518. 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,})
  519. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  520. 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,})
  521. Mesh = New("CylinderMesh",FrontPart,"Mesh",{})
  522. 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,})
  523. Mesh = New("CylinderMesh",gun4,"Mesh",{})
  524. 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,})
  525. Mesh = New("CylinderMesh",gun1,"Mesh",{})
  526. 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,})
  527. Mesh = New("CylinderMesh",gun3,"Mesh",{})
  528. 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,})
  529. Mesh = New("CylinderMesh",gun2,"Mesh",{})
  530. PowerHolder = New("Model",LaserMinigun,"PowerHolder",{})
  531. 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,})
  532. Mesh = New("CylinderMesh",Part,"Mesh",{})
  533. Model = New("Model",Part,"Model",{})
  534. 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,})
  535. Mesh = New("CylinderMesh",Part,"Mesh",{})
  536. 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,})
  537. Mesh = New("CylinderMesh",Part,"Mesh",{})
  538. 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,})
  539. Mesh = New("CylinderMesh",Part,"Mesh",{})
  540. 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,})
  541. Mesh = New("CylinderMesh",Part,"Mesh",{})
  542. 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,})
  543. Mesh = New("CylinderMesh",Part,"Mesh",{})
  544. 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,})
  545. Mesh = New("CylinderMesh",Part,"Mesh",{})
  546. 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,})
  547. Mesh = New("CylinderMesh",Part,"Mesh",{})
  548. 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,})
  549. Mesh = New("CylinderMesh",Part,"Mesh",{})
  550. 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,})
  551. Mesh = New("CylinderMesh",Part,"Mesh",{})
  552. 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,})
  553. Mesh = New("CylinderMesh",Part,"Mesh",{})
  554. 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,})
  555. Mesh = New("CylinderMesh",Part,"Mesh",{})
  556. 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,})
  557. Mesh = New("CylinderMesh",Part,"Mesh",{})
  558. 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,})
  559. Mesh = New("CylinderMesh",Part,"Mesh",{})
  560. 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,})
  561. Mesh = New("CylinderMesh",Part,"Mesh",{})
  562. 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,})
  563. Mesh = New("CylinderMesh",Part,"Mesh",{})
  564. Model = New("Model",Part,"Model",{})
  565. 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,})
  566. Mesh = New("CylinderMesh",Part,"Mesh",{})
  567. 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,})
  568. Mesh = New("CylinderMesh",Part,"Mesh",{})
  569. 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,})
  570. Mesh = New("CylinderMesh",Part,"Mesh",{})
  571. 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,})
  572. Mesh = New("CylinderMesh",Part,"Mesh",{})
  573. 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,})
  574. Mesh = New("CylinderMesh",Part,"Mesh",{})
  575. 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,})
  576. Mesh = New("CylinderMesh",Part,"Mesh",{})
  577. 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,})
  578. Mesh = New("CylinderMesh",Part,"Mesh",{})
  579. 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,})
  580. Mesh = New("CylinderMesh",Part,"Mesh",{})
  581. 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,})
  582. Mesh = New("CylinderMesh",Part,"Mesh",{})
  583. 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,})
  584. Mesh = New("CylinderMesh",Part,"Mesh",{})
  585. 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,})
  586. Mesh = New("CylinderMesh",Part,"Mesh",{})
  587. 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,})
  588. Mesh = New("CylinderMesh",Part,"Mesh",{})
  589. 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,})
  590. Mesh = New("CylinderMesh",Part,"Mesh",{})
  591. Part = New("Part",Model,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.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,})
  592. Mesh = New("CylinderMesh",Part,"Mesh",{})
  593. 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,})
  594. Mesh = New("CylinderMesh",Part,"Mesh",{})
  595. 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),})
  596. Mesh = New("CylinderMesh",Part,"Mesh",{})
  597. 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),})
  598. Mesh = New("CylinderMesh",Part,"Mesh",{})
  599. 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),})
  600. Mesh = New("CylinderMesh",Part,"Mesh",{})
  601. 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),})
  602. Mesh = New("CylinderMesh",Part,"Mesh",{})
  603. 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),})
  604. Mesh = New("CylinderMesh",Part,"Mesh",{})
  605. 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),})
  606. Mesh = New("CylinderMesh",Part,"Mesh",{})
  607. 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),})
  608. Mesh = New("CylinderMesh",Part,"Mesh",{})
  609. 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),})
  610. Mesh = New("CylinderMesh",Part,"Mesh",{})
  611. 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,})
  612. Mesh = New("CylinderMesh",Part,"Mesh",{})
  613. 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,})
  614. Mesh = New("CylinderMesh",Part,"Mesh",{})
  615. 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,})
  616. Mesh = New("CylinderMesh",Part,"Mesh",{})
  617. 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),})
  618. Mesh = New("CylinderMesh",Part,"Mesh",{})
  619. 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,})
  620. Mesh = New("CylinderMesh",Part,"Mesh",{})
  621. 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,})
  622. Mesh = New("CylinderMesh",Part,"Mesh",{})
  623. 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,})
  624. 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,})
  625. Mesh = New("CylinderMesh",Part,"Mesh",{})
  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.500002861, 0.866023839, 0, 0.866023839, -0.500002861, 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.86602217, 0.500005305, 0, 0.500005305, -0.86602217, 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.965924263, 0.258825034, 0, 0.258825064, -0.965924263, 0),Anchored = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  629. 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,})
  630. 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,})
  631. 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,})
  632. Mesh = New("CylinderMesh",Part,"Mesh",{})
  633. 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,})
  634. Mesh = New("CylinderMesh",Part,"Mesh",{})
  635. 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,})
  636. Mesh = New("CylinderMesh",Part,"Mesh",{})
  637. 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,})
  638. 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,})
  639. 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),})
  640. 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,})
  641. 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,})
  642. 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),})
  643. Mesh = New("CylinderMesh",Part,"Mesh",{})
  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, -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,})
  645. 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,})
  646. 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,})
  647. Mesh = New("CylinderMesh",Part,"Mesh",{})
  648. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.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,})
  649. Mesh = New("CylinderMesh",Part,"Mesh",{})
  650. 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,})
  651. Mesh = New("CylinderMesh",Part,"Mesh",{})
  652. 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,})
  653. Mesh = New("CylinderMesh",Part,"Mesh",{})
  654. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.111365512, 0.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),})
  655. Mesh = New("CylinderMesh",Part,"Mesh",{})
  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, 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,})
  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.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,})
  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, 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,})
  659. 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,})
  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, 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,})
  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.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,})
  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, 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,})
  663. 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,})
  664. 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,})
  665. Mesh = New("CylinderMesh",Part,"Mesh",{})
  666. Part = New("Part",PowerHolder,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.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,})
  667. Mesh = New("CylinderMesh",Part,"Mesh",{})
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679. 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,})
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692. MiniDroid = New("Model",C,"MiniDroid",{})
  693. armor = New("Model",MiniDroid,"armor",{})
  694. Main = New("Model",armor,"Main",{})
  695. 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),})
  696. 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),})
  697. Mesh = New("SpecialMesh",Part,"Mesh",{})
  698. 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),})
  699. Mesh = New("SpecialMesh",Part,"Mesh",{})
  700. 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),})
  701. Mesh = New("SpecialMesh",Part,"Mesh",{})
  702. Neon = New("Model",MiniDroid,"Neon",{})
  703. 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,})
  704. 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,})
  705. 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),})
  706.  
  707.  
  708.  
  709.  
  710.  
  711. Glow1 = Color3.fromRGB(174,198,207)
  712. Glow2 = Color3.fromRGB(119,158,203)
  713.  
  714. GlowParticle = Instance.new("ParticleEmitter",FirePart)
  715. GlowParticle.LightEmission = 1
  716. GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
  717. GlowParticle.Size = NumberSequence.new(0,20)
  718. GlowParticle.Texture = "http://www.roblox.com/asset/?id=52620985"
  719. GlowParticle.Transparency = NumberSequence.new(0,1)
  720. GlowParticle.LockedToPart = true
  721. GlowParticle.Lifetime = NumberRange.new(1)
  722. GlowParticle.Rate= 1
  723. GlowParticle.Speed =NumberRange.new(0)
  724. GlowParticle.Enabled = false
  725.  
  726.  
  727.  
  728.  
  729. GlowParticle2 = Instance.new("ParticleEmitter",FirePart)
  730. GlowParticle2.LightEmission = .7
  731. GlowParticle2.Color = ColorSequence.new(Glow1,Glow2)
  732. GlowParticle2.Size = NumberSequence.new(0,1)
  733. GlowParticle2.Texture = "http://www.roblox.com/asset/?id=589325350"
  734. GlowParticle2.Transparency = NumberSequence.new(0,1)
  735. GlowParticle2.LockedToPart = false
  736. GlowParticle2.Lifetime = NumberRange.new(0.2)
  737. GlowParticle2.Rate= 150
  738. GlowParticle2.Speed =NumberRange.new(3)
  739. GlowParticle2.Acceleration = Vector3.new(0, -10.5, 0)
  740.  
  741.  
  742.  
  743.  
  744.  
  745. local all,last = {}
  746. function scan(p)
  747. for _,v in pairs(p:GetChildren()) do
  748. if (v:IsA("BasePart")) then
  749. if (last) then
  750. local w = Instance.new("Weld")
  751. w.Part0,w.Part1 = last,v
  752. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  753. w.Parent = last
  754. end
  755. table.insert(all,v)
  756. last = v
  757. end
  758. scan(v)
  759. end
  760. end
  761. scan(LaserMinigun)
  762.  
  763. scan(MiniDroid)
  764. for _,v in pairs(all) do v.Anchored = false v.CanCollide = false end
  765. MiniDroid.Parent = C
  766. LaserMinigun.Parent = C
  767.  
  768.  
  769. Main:Destroy()
  770.  
  771. Effects = { }
  772. Rapid = false
  773. local Player = owner
  774. local Character = Player.Character
  775. local Humanoid = Character.Humanoid
  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").localplyer, 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").owner
  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.owner.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. --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement