Advertisement
Hermaxs

Untitled

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