Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.52 KB | None | 0 0
  1. ----[[ Game Objects ]]----
  2.  
  3. local Workspace = game:GetService('Workspace')
  4. local Players = game:GetService('Players')
  5. local Lighting = game:GetService('Lighting')
  6. local ReplicatedFirst = game:GetService('ReplicatedFirst')
  7. local ReplicatedStorage = game:GetService('ReplicatedStorage')
  8. local ServerScriptService = game:GetService('ServerScriptService')
  9. local ServerStorage = game:GetService('ServerStorage')
  10. local Teams = game:GetService('Teams')
  11. local HttpService = game:GetService('HttpService')
  12. PlayersInGame = {}
  13.  
  14. ----[[ Player Objects ]]----
  15.  
  16. local Client = Players.LocalPlayer
  17. local Mouse = Client:GetMouse()
  18. local PlayerScripts = Client:WaitForChild('PlayerScripts')
  19.  
  20. local Character = Client.Character
  21. local HumanoidRootPart = Character:WaitForChild('HumanoidRootPart')
  22.  
  23. ----[[ Shild Config ]]----
  24.  
  25. local Transparency = 1
  26. local spin = 10
  27. local Killer = false
  28. local ShildSpeed = 100
  29.  
  30.  
  31.  
  32.  
  33. function SetUp ()
  34. script.Parent = PlayerScripts
  35. INF = math.huge
  36. cors = {}
  37. mas = Instance.new("Model",game:GetService("Lighting"))
  38. mas.Name = "CompiledModel"
  39. o1 = Instance.new("Model")
  40. o2 = Instance.new("Folder")
  41. o3 = Instance.new("Part")
  42. o4 = Instance.new("Part")
  43. o5 = Instance.new("Part")
  44. o6 = Instance.new("Part")
  45. o7 = Instance.new("Part")
  46. o8 = Instance.new("Part")
  47. o9 = Instance.new("Part")
  48. o10 = Instance.new("Part")
  49. o11 = Instance.new("Part")
  50. o12 = Instance.new("Part")
  51. o13 = Instance.new("Part")
  52. o14 = Instance.new("Part")
  53. o15 = Instance.new("Part")
  54. o16 = Instance.new("Part")
  55. o17 = Instance.new("Part")
  56. o18 = Instance.new("Part")
  57. o19 = Instance.new("Part")
  58. o20 = Instance.new("Part")
  59. o21 = Instance.new("Part")
  60. o22 = Instance.new("Part")
  61. o23 = Instance.new("Part")
  62. o24 = Instance.new("Part")
  63. o25 = Instance.new("Part")
  64. o26 = Instance.new("Part")
  65. o27 = Instance.new("Part")
  66. o28 = Instance.new("Part")
  67. o29 = Instance.new("Part")
  68. o30 = Instance.new("Part")
  69. o31 = Instance.new("Part")
  70. o32 = Instance.new("Part")
  71. o33 = Instance.new("Part")
  72. o34 = Instance.new("Part")
  73. o35 = Instance.new("Part")
  74. o36 = Instance.new("Folder")
  75. o37 = Instance.new("Part")
  76. o38 = Instance.new("Weld")
  77. o39 = Instance.new("Weld")
  78. o40 = Instance.new("Weld")
  79. o41 = Instance.new("Weld")
  80. o42 = Instance.new("Weld")
  81. o43 = Instance.new("Weld")
  82. o44 = Instance.new("Weld")
  83. o45 = Instance.new("Weld")
  84. o46 = Instance.new("Weld")
  85. o47 = Instance.new("Weld")
  86. o48 = Instance.new("Weld")
  87. o49 = Instance.new("Weld")
  88. o50 = Instance.new("Weld")
  89. o51 = Instance.new("Weld")
  90. o52 = Instance.new("Weld")
  91. o53 = Instance.new("Weld")
  92. o54 = Instance.new("Weld")
  93. o55 = Instance.new("Weld")
  94. o56 = Instance.new("Weld")
  95. o57 = Instance.new("Weld")
  96. o58 = Instance.new("Weld")
  97. o59 = Instance.new("Weld")
  98. o60 = Instance.new("Weld")
  99. o61 = Instance.new("Weld")
  100. o62 = Instance.new("Weld")
  101. o63 = Instance.new("Weld")
  102. o64 = Instance.new("Weld")
  103. o65 = Instance.new("Weld")
  104. o66 = Instance.new("Weld")
  105. o67 = Instance.new("Weld")
  106. o68 = Instance.new("Weld")
  107. o69 = Instance.new("Weld")
  108. o70 = Instance.new("Weld")
  109. o71 = Instance.new("Weld")
  110. o72 = Instance.new("BodyGyro")
  111. o73 = Instance.new("BodyPosition")
  112. o1.Name = "Box Shield "..Client.Name
  113. o1.Parent = mas
  114. o1.PrimaryPart = o37
  115. o2.Name = "KillParts"
  116. o2.Parent = o1
  117. wait()
  118. o3.Parent = o2
  119. o3.Transparency = Transparency
  120. o3.Position = Vector3.new(2.92748594, 5.25, 5.99455738)
  121. o3.Rotation = Vector3.new(0, 90, 0)
  122. o3.CanCollide = false
  123. o3.Locked = true
  124. o3.Size = Vector3.new(0.0500000007, 10.5, 12)
  125. o3.CFrame = CFrame.new(2.92748594, 5.25, 5.99455738, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)
  126. o3.Position = Vector3.new(2.92748594, 5.25, 5.99455738)
  127. o3.Orientation = Vector3.new(0, 90, 0)
  128. o4.Parent = o2
  129. o4.Transparency = Transparency
  130. o4.Position = Vector3.new(2.97748518, 5.25, -6.00544214)
  131. o4.Rotation = Vector3.new(0, -90, 0)
  132. o4.CanCollide = false
  133. o4.Locked = true
  134. o4.Size = Vector3.new(0.0500000007, 10.5, 12)
  135. o4.CFrame = CFrame.new(2.97748518, 5.25, -6.00544214, 1.31134158e-07, 0, -1, 0, 1, 0, 1, 0, 1.31134158e-07)
  136. o4.Position = Vector3.new(2.97748518, 5.25, -6.00544214)
  137. o4.Orientation = Vector3.new(0, -90, 0)
  138. o5.Parent = o2
  139. o5.Transparency = Transparency
  140. o5.Position = Vector3.new(-3.01336432, 10.7024517, -0.0304422379)
  141. o5.Rotation = Vector3.new(0, 0, -30)
  142. o5.CanCollide = false
  143. o5.Locked = true
  144. o5.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  145. o5.CFrame = CFrame.new(-3.01336432, 10.7024517, -0.0304422379, 0.866025388, 0.5, 0, -0.5, 0.866025388, 0, 0, 0, 1)
  146. o5.Position = Vector3.new(-3.01336432, 10.7024517, -0.0304422379)
  147. o5.Orientation = Vector3.new(0, 0, -30)
  148. o6.Parent = o2
  149. o6.Transparency = Transparency
  150. o6.Position = Vector3.new(3.01248527, 10.7024517, -5.97129011)
  151. o6.Rotation = Vector3.new(30, -90, 0)
  152. o6.CanCollide = false
  153. o6.Locked = true
  154. o6.Size = Vector3.new(0.0500000007, 0.149999976, 11.9299994)
  155. o6.CFrame = CFrame.new(3.01248527, 10.7024517, -5.97129011, 1.13565513e-07, 6.55670789e-08, -1, -0.5, 0.866025388, 0, 0.866025388, 0.5, 1.31134158e-07)
  156. o6.Position = Vector3.new(3.01248527, 10.7024517, -5.97129011)
  157. o6.Orientation = Vector3.new(0, -90, -30)
  158. o7.Parent = o2
  159. o7.Transparency = Transparency
  160. o7.Position = Vector3.new(2.92748594, 10.7024517, 5.96040726)
  161. o7.Rotation = Vector3.new(-30, 90, 0)
  162. o7.CanCollide = false
  163. o7.Locked = true
  164. o7.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  165. o7.CFrame = CFrame.new(2.92748594, 10.7024517, 5.96040726, -3.78551732e-08, -2.18556941e-08, 1, -0.5, 0.866025388, 0, -0.866025388, -0.5, -4.37113883e-08)
  166. o7.Position = Vector3.new(2.92748594, 10.7024517, 5.96040726)
  167. o7.Orientation = Vector3.new(0, 90, -30)
  168. o8.Parent = o2
  169. o8.Transparency = Transparency
  170. o8.Position = Vector3.new(3.06248522, 10.7024517, -5.52978468)
  171. o8.Rotation = Vector3.new(150, -90, 0)
  172. o8.CanCollide = false
  173. o8.Locked = true
  174. o8.Size = Vector3.new(0.0500000007, 0.149999976, 11.8299999)
  175. o8.CFrame = CFrame.new(3.06248522, 10.7024517, -5.52978468, -1.13565513e-07, 6.55670789e-08, -1, -0.5, -0.866025388, 0, -0.866025388, 0.5, 1.31134158e-07)
  176. o8.Position = Vector3.new(3.06248522, 10.7024517, -5.52978468)
  177. o8.Orientation = Vector3.new(0, -90, -150)
  178. o9.Parent = o2
  179. o9.Transparency = Transparency
  180. o9.Position = Vector3.new(-3.04751444, 10.5750008, -0.0304422379)
  181. o9.CanCollide = false
  182. o9.Locked = true
  183. o9.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  184. o9.CFrame = CFrame.new(-3.04751444, 10.5750008, -0.0304422379, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  185. o9.Position = Vector3.new(-3.04751444, 10.5750008, -0.0304422379)
  186. o10.Parent = o2
  187. o10.Transparency = Transparency
  188. o10.Position = Vector3.new(2.92748594, 10.5750008, 5.99455738)
  189. o10.Rotation = Vector3.new(0, 90, 0)
  190. o10.CanCollide = false
  191. o10.Locked = true
  192. o10.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  193. o10.CFrame = CFrame.new(2.92748594, 10.5750008, 5.99455738, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)
  194. o10.Position = Vector3.new(2.92748594, 10.5750008, 5.99455738)
  195. o10.Orientation = Vector3.new(0, 90, 0)
  196. o11.Parent = o2
  197. o11.Transparency = Transparency
  198. o11.Position = Vector3.new(8.69758224, 10.8299046, 0.0195570216)
  199. o11.Rotation = Vector3.new(180, 0, 90)
  200. o11.CanCollide = false
  201. o11.Locked = true
  202. o11.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  203. o11.CFrame = CFrame.new(8.69758224, 10.8299046, 0.0195570216, -9.92821463e-15, -1, -8.74227837e-08, -1, -9.92821039e-15, -4.52333348e-14, -4.926202e-14, 8.74227624e-08, -1)
  204. o11.Position = Vector3.new(8.69758224, 10.8299046, 0.0195570216)
  205. o11.Orientation = Vector3.new(0, -180, -90)
  206. o12.Parent = o2
  207. o12.Transparency = Transparency
  208. o12.Position = Vector3.new(8.82503319, 10.7957535, 0.0195570104)
  209. o12.Rotation = Vector3.new(180, 0, 120)
  210. o12.CanCollide = false
  211. o12.Locked = true
  212. o12.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  213. o12.CFrame = CFrame.new(8.82503319, 10.7957535, 0.0195570104, -0.5, -0.866025388, -8.74227766e-08, -0.866025388, 0.5, -3.07674024e-15, 4.37113812e-08, 7.57103464e-08, -1)
  214. o12.Position = Vector3.new(8.82503319, 10.7957535, 0.0195570104)
  215. o12.Orientation = Vector3.new(0, -180, -60)
  216. o13.Parent = o2
  217. o13.Transparency = Transparency
  218. o13.Position = Vector3.new(8.95248604, 10.5750008, 0.0195569992)
  219. o13.Rotation = Vector3.new(-180, 0, -180)
  220. o13.CanCollide = false
  221. o13.Locked = true
  222. o13.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  223. o13.CFrame = CFrame.new(8.95248604, 10.5750008, 0.0195569992, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1)
  224. o13.Position = Vector3.new(8.95248604, 10.5750008, 0.0195569992)
  225. o13.Orientation = Vector3.new(0, -180, 0)
  226. o14.Parent = o2
  227. o14.Transparency = Transparency
  228. o14.Position = Vector3.new(2.96248531, 10.5750008, -6.00544214)
  229. o14.Rotation = Vector3.new(0, -90, 0)
  230. o14.CanCollide = false
  231. o14.Locked = true
  232. o14.Size = Vector3.new(0.0500000007, 0.149999976, 12.0299997)
  233. o14.CFrame = CFrame.new(2.96248531, 10.5750008, -6.00544214, 1.31134158e-07, 0, -1, 0, 1, 0, 1, 0, 1.31134158e-07)
  234. o14.Position = Vector3.new(2.96248531, 10.5750008, -6.00544214)
  235. o14.Orientation = Vector3.new(0, -90, 0)
  236. o15.Parent = o2
  237. o15.Transparency = Transparency
  238. o15.Position = Vector3.new(-3.04751444, 5.25, -0.0304422379)
  239. o15.CanCollide = false
  240. o15.Locked = true
  241. o15.Size = Vector3.new(0.0500000007, 10.5, 12)
  242. o15.CFrame = CFrame.new(-3.04751444, 5.25, -0.0304422379, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  243. o15.Position = Vector3.new(-3.04751444, 5.25, -0.0304422379)
  244. o16.Parent = o2
  245. o16.Transparency = Transparency
  246. o16.Position = Vector3.new(-2.53770685, 10.5750008, -0.0304422379)
  247. o16.Rotation = Vector3.new(0, 0, -180)
  248. o16.CanCollide = false
  249. o16.Locked = true
  250. o16.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  251. o16.CFrame = CFrame.new(-2.53770685, 10.5750008, -0.0304422379, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  252. o16.Position = Vector3.new(-2.53770685, 10.5750008, -0.0304422379)
  253. o16.Orientation = Vector3.new(0, 0, 180)
  254. o17.Parent = o2
  255. o17.Transparency = Transparency
  256. o17.Position = Vector3.new(2.92748594, 10.5750008, 5.48474979)
  257. o17.Rotation = Vector3.new(-180, 90, 0)
  258. o17.CanCollide = false
  259. o17.Locked = true
  260. o17.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  261. o17.CFrame = CFrame.new(2.92748594, 10.5750008, 5.48474979, 4.37234604e-08, 1.06748915e-11, 1, -7.10242736e-20, -1, -1.06756557e-11, 1, -3.24624085e-19, -4.36993091e-08)
  262. o17.Position = Vector3.new(2.92748594, 10.5750008, 5.48474979)
  263. o17.Orientation = Vector3.new(0, 90, -180)
  264. o18.Parent = o2
  265. o18.Transparency = Transparency
  266. o18.Position = Vector3.new(3.06248522, 10.5750008, -5.49563456)
  267. o18.Rotation = Vector3.new(-180, -90, 0)
  268. o18.CanCollide = false
  269. o18.Locked = true
  270. o18.Size = Vector3.new(0.0500000007, 0.149999976, 11.8299999)
  271. o18.CFrame = CFrame.new(3.06248522, 10.5750008, -5.49563456, -1.31134158e-07, 0, -1, 0, -1, 0, -1, 0, 1.31134158e-07)
  272. o18.Position = Vector3.new(3.06248522, 10.5750008, -5.49563456)
  273. o18.Orientation = Vector3.new(0, -90, 180)
  274. o19.Parent = o2
  275. o19.Transparency = Transparency
  276. o19.Position = Vector3.new(8.44267845, 10.5750008, 0.0195570439)
  277. o19.Rotation = Vector3.new(180, 0, 0)
  278. o19.CanCollide = false
  279. o19.Locked = true
  280. o19.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  281. o19.CFrame = CFrame.new(8.44267845, 10.5750008, 0.0195570439, 1, -9.92948348e-15, -8.73986181e-08, 9.92790038e-15, -1, -2.13513113e-11, -8.74469208e-08, -2.13497831e-11, -1)
  282. o19.Position = Vector3.new(8.44267845, 10.5750008, 0.0195570439)
  283. o19.Orientation = Vector3.new(0, -180, 180)
  284. o20.Parent = o2
  285. o20.Transparency = Transparency
  286. o20.Position = Vector3.new(8.95248604, 5.25, 0.0195569992)
  287. o20.Rotation = Vector3.new(-180, 0, -180)
  288. o20.CanCollide = false
  289. o20.Locked = true
  290. o20.Size = Vector3.new(0.0500000007, 10.5, 12)
  291. o20.CFrame = CFrame.new(8.95248604, 5.25, 0.0195569992, -1, 0, -8.74227766e-08, 0, 1, 0, 8.74227766e-08, 0, -1)
  292. o20.Position = Vector3.new(8.95248604, 5.25, 0.0195569992)
  293. o20.Orientation = Vector3.new(0, -180, 0)
  294. o21.Parent = o2
  295. o21.Transparency = Transparency
  296. o21.Position = Vector3.new(-2.79261065, 10.8299046, -0.0304422379)
  297. o21.Rotation = Vector3.new(0, 0, -90)
  298. o21.CanCollide = false
  299. o21.Locked = true
  300. o21.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  301. o21.CFrame = CFrame.new(-2.79261065, 10.8299046, -0.0304422379, 0, 1, 0, -1, 0, 0, 0, 0, 1)
  302. o21.Position = Vector3.new(-2.79261065, 10.8299046, -0.0304422379)
  303. o21.Orientation = Vector3.new(0, 0, -90)
  304. o22.Parent = o2
  305. o22.Transparency = Transparency
  306. o22.Position = Vector3.new(-2.57185698, 10.7024517, -0.0304422379)
  307. o22.Rotation = Vector3.new(0, 0, -150)
  308. o22.CanCollide = false
  309. o22.Locked = true
  310. o22.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  311. o22.CFrame = CFrame.new(-2.57185698, 10.7024517, -0.0304422379, -0.866025388, 0.5, 0, -0.5, -0.866025388, 0, 0, 0, 1)
  312. o22.Position = Vector3.new(-2.57185698, 10.7024517, -0.0304422379)
  313. o22.Orientation = Vector3.new(0, 0, -150)
  314. o23.Parent = o2
  315. o23.Transparency = Transparency
  316. o23.Position = Vector3.new(8.47682953, 10.7024517, 0.0195570402)
  317. o23.Rotation = Vector3.new(180, 0, 30)
  318. o23.CanCollide = false
  319. o23.Locked = true
  320. o23.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  321. o23.CFrame = CFrame.new(8.47682953, 10.7024517, 0.0195570402, 0.866025388, -0.5, -8.74210144e-08, -0.5, -0.866025388, -3.24870773e-12, -7.5713487e-08, 4.37094521e-08, -1)
  322. o23.Position = Vector3.new(8.47682953, 10.7024517, 0.0195570402)
  323. o23.Orientation = Vector3.new(0, -180, -150)
  324. o24.Parent = o2
  325. o24.Transparency = Transparency
  326. o24.Position = Vector3.new(2.92748594, 10.7957535, 5.86710548)
  327. o24.Rotation = Vector3.new(-60, 90, 0)
  328. o24.CanCollide = false
  329. o24.Locked = true
  330. o24.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  331. o24.CFrame = CFrame.new(2.92748594, 10.7957535, 5.86710548, -2.18556906e-08, -3.78551732e-08, 1, -0.866025388, 0.5, -1.53837012e-15, -0.5, -0.866025388, -4.37113883e-08)
  332. o24.Position = Vector3.new(2.92748594, 10.7957535, 5.86710548)
  333. o24.Orientation = Vector3.new(0, 90, -60)
  334. o25.Parent = o2
  335. o25.Transparency = Transparency
  336. o25.Position = Vector3.new(3.06248522, 10.8299046, -5.75053835)
  337. o25.Rotation = Vector3.new(90, -90, 0)
  338. o25.CanCollide = false
  339. o25.Locked = true
  340. o25.Size = Vector3.new(0.0500000007, 0.149999976, 11.8299999)
  341. o25.CFrame = CFrame.new(3.06248522, 10.8299046, -5.75053835, 0, 1.31134158e-07, -1, -1, 0, 0, 0, 1, 1.31134158e-07)
  342. o25.Position = Vector3.new(3.06248522, 10.8299046, -5.75053835)
  343. o25.Orientation = Vector3.new(0, -90, -90)
  344. o26.Parent = o2
  345. o26.Transparency = Transparency
  346. o26.Position = Vector3.new(-2.92006254, 10.7957535, -0.0304422379)
  347. o26.Rotation = Vector3.new(0, 0, -60)
  348. o26.CanCollide = false
  349. o26.Locked = true
  350. o26.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  351. o26.CFrame = CFrame.new(-2.92006254, 10.7957535, -0.0304422379, 0.5, 0.866025388, 0, -0.866025388, 0.5, 0, 0, 0, 1)
  352. o26.Position = Vector3.new(-2.92006254, 10.7957535, -0.0304422379)
  353. o26.Orientation = Vector3.new(0, 0, -60)
  354. o27.Parent = o2
  355. o27.Transparency = Transparency
  356. o27.Position = Vector3.new(3.06248522, 10.7957535, -5.87799025)
  357. o27.Rotation = Vector3.new(60, -90, 0)
  358. o27.CanCollide = false
  359. o27.Locked = true
  360. o27.Size = Vector3.new(0.0500000007, 0.149999976, 11.8299999)
  361. o27.CFrame = CFrame.new(3.06248522, 10.7957535, -5.87799025, 6.55670789e-08, 1.13565513e-07, -1, -0.866025388, 0.5, 0, 0.5, 0.866025388, 1.31134158e-07)
  362. o27.Position = Vector3.new(3.06248522, 10.7957535, -5.87799025)
  363. o27.Orientation = Vector3.new(0, -90, -60)
  364. o28.Parent = o2
  365. o28.Transparency = Transparency
  366. o28.Position = Vector3.new(2.92748594, 10.8299046, 5.73965359)
  367. o28.Rotation = Vector3.new(-90, 90, 0)
  368. o28.CanCollide = false
  369. o28.Locked = true
  370. o28.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  371. o28.CFrame = CFrame.new(2.92748594, 10.8299046, 5.73965359, 2.463101e-14, -4.37113812e-08, 1, -1, 1.55293997e-22, -2.26166674e-14, -7.66067546e-22, -1, -4.37113918e-08)
  372. o28.Position = Vector3.new(2.92748594, 10.8299046, 5.73965359)
  373. o28.Orientation = Vector3.new(0, 90, -90)
  374. o29.Parent = o2
  375. o29.Transparency = Transparency
  376. o29.Position = Vector3.new(2.92748594, 10.7024517, 5.51889992)
  377. o29.Rotation = Vector3.new(-150, 90, 0)
  378. o29.CanCollide = false
  379. o29.Locked = true
  380. o29.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  381. o29.CFrame = CFrame.new(2.92748594, 10.7024517, 5.51889992, 3.78567435e-08, -2.1854726e-08, 1, -0.5, -0.866025388, -1.62435386e-12, 0.866025388, -0.5, -4.37105072e-08)
  382. o29.Position = Vector3.new(2.92748594, 10.7024517, 5.51889992)
  383. o29.Orientation = Vector3.new(0, 90, -150)
  384. o30.Parent = o2
  385. o30.Transparency = Transparency
  386. o30.Position = Vector3.new(2.9524858, 10.7000008, -0.0304422379)
  387. o30.Rotation = Vector3.new(0, 0, -90)
  388. o30.CanCollide = false
  389. o30.Locked = true
  390. o30.Size = Vector3.new(0.0500000007, 11.5999994, 11.3999996)
  391. o30.CFrame = CFrame.new(2.9524858, 10.7000008, -0.0304422379, 1.19248806e-08, 1, 0, -1, 1.19248806e-08, 0, 0, 0, 1)
  392. o30.Position = Vector3.new(2.9524858, 10.7000008, -0.0304422379)
  393. o30.Orientation = Vector3.new(0, 0, -90)
  394. o31.Parent = o2
  395. o31.Transparency = Transparency
  396. o31.Position = Vector3.new(8.91833401, 10.7024517, 0.0195570029)
  397. o31.Rotation = Vector3.new(-180, 0, 150)
  398. o31.CanCollide = false
  399. o31.Locked = true
  400. o31.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  401. o31.CFrame = CFrame.new(8.91833401, 10.7024517, 0.0195570029, -0.866025388, -0.5, -8.74227766e-08, -0.5, 0.866025388, 0, 7.57103464e-08, 4.37113883e-08, -1)
  402. o31.Position = Vector3.new(8.91833401, 10.7024517, 0.0195570029)
  403. o31.Orientation = Vector3.new(0, -180, -30)
  404. o32.Parent = o2
  405. o32.Transparency = Transparency
  406. o32.Position = Vector3.new(-2.66515923, 10.7957516, -0.0304422379)
  407. o32.Rotation = Vector3.new(0, 0, -120)
  408. o32.CanCollide = false
  409. o32.Locked = true
  410. o32.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  411. o32.CFrame = CFrame.new(-2.66515923, 10.7957516, -0.0304422379, -0.5, 0.866025388, 0, -0.866025388, -0.5, 0, 0, 0, 1)
  412. o32.Position = Vector3.new(-2.66515923, 10.7957516, -0.0304422379)
  413. o32.Orientation = Vector3.new(0, 0, -120)
  414. o33.Parent = o2
  415. o33.Transparency = Transparency
  416. o33.Position = Vector3.new(2.92748594, 10.7957516, 5.61220121)
  417. o33.Rotation = Vector3.new(-120, 90, 0)
  418. o33.CanCollide = false
  419. o33.Locked = true
  420. o33.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  421. o33.CFrame = CFrame.new(2.92748594, 10.7957516, 5.61220121, 2.18558913e-08, -3.78550915e-08, 1, -0.866025388, -0.5, -2.09348164e-13, 0.5, -0.866025388, -4.37113563e-08)
  422. o33.Position = Vector3.new(2.92748594, 10.7957516, 5.61220121)
  423. o33.Orientation = Vector3.new(0, 90, -120)
  424. o34.Parent = o2
  425. o34.Transparency = Transparency
  426. o34.Position = Vector3.new(3.06248522, 10.7957516, -5.62308741)
  427. o34.Rotation = Vector3.new(120, -90, 0)
  428. o34.CanCollide = false
  429. o34.Locked = true
  430. o34.Size = Vector3.new(0.0500000007, 0.149999976, 11.8299999)
  431. o34.CFrame = CFrame.new(3.06248522, 10.7957516, -5.62308741, -6.55670789e-08, 1.13565513e-07, -1, -0.866025388, -0.5, 0, -0.5, 0.866025388, 1.31134158e-07)
  432. o34.Position = Vector3.new(3.06248522, 10.7957516, -5.62308741)
  433. o34.Orientation = Vector3.new(0, -90, -120)
  434. o35.Parent = o2
  435. o35.Transparency = Transparency
  436. o35.Position = Vector3.new(8.57012939, 10.7957516, 0.0195570327)
  437. o35.Rotation = Vector3.new(180, 0, 60)
  438. o35.CanCollide = false
  439. o35.Locked = true
  440. o35.Size = Vector3.new(0.0500000007, 0.149999976, 12)
  441. o35.CFrame = CFrame.new(8.57012939, 10.7957516, 0.0195570327, 0.5, -0.866025388, -8.74227126e-08, -0.866025388, -0.5, -4.18696328e-13, -4.37117826e-08, 7.5710183e-08, -1)
  442. o35.Position = Vector3.new(8.57012939, 10.7957516, 0.0195570327)
  443. o35.Orientation = Vector3.new(0, -180, -120)
  444. o36.Name = "CenterPart"
  445. o36.Parent = o1
  446. o37.Name = "Center"
  447. o37.Parent = o36
  448. o37.BrickColor = BrickColor.new("Fossil")
  449. o37.Transparency = Transparency
  450. o37.Position = Vector3.new(2.94999933, 2.3499999, 0)
  451. o37.CanCollide = false
  452. o37.Locked = true
  453. o37.Size = Vector3.new(2, 2, 1)
  454. o37.CFrame = CFrame.new(2.94999933, 2.3499999, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  455. o37.Color = Color3.new(0.623529, 0.631373, 0.67451)
  456. o37.Position = Vector3.new(2.94999933, 2.3499999, 0)
  457. o37.Color = Color3.new(0.623529, 0.631373, 0.67451)
  458. o38.Parent = o37
  459. o38.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  460. o38.C1 = CFrame.new(3.04751444, -5.25, 0.0304422379, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  461. o38.Part0 = o37
  462. o38.Part1 = o15
  463. o39.Parent = o37
  464. o39.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  465. o39.C1 = CFrame.new(5.99455738, -5.25, -2.9274857, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)
  466. o39.Part0 = o37
  467. o39.Part1 = o3
  468. o40.Parent = o37
  469. o40.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  470. o40.C1 = CFrame.new(8.95248604, -5.25, 0.0195577815, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1)
  471. o40.Part0 = o37
  472. o40.Part1 = o20
  473. o41.Parent = o37
  474. o41.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  475. o41.C1 = CFrame.new(6.00544167, -5.25, 2.9774859, 1.31134158e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134158e-07)
  476. o41.Part0 = o37
  477. o41.Part1 = o4
  478. o42.Parent = o37
  479. o42.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  480. o42.C1 = CFrame.new(3.04751444, -10.5750008, 0.0304422379, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  481. o42.Part0 = o37
  482. o42.Part1 = o9
  483. o43.Parent = o37
  484. o43.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  485. o43.C1 = CFrame.new(5.99455738, -10.5750008, -2.9274857, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)
  486. o43.Part0 = o37
  487. o43.Part1 = o10
  488. o44.Parent = o37
  489. o44.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  490. o44.C1 = CFrame.new(8.95248604, -10.5750008, 0.0195577815, -1, 0, 8.74227766e-08, 0, 1, 0, -8.74227766e-08, 0, -1)
  491. o44.Part0 = o37
  492. o44.Part1 = o13
  493. o45.Parent = o37
  494. o45.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  495. o45.C1 = CFrame.new(6.00544167, -10.5750008, 2.96248603, 1.31134158e-07, 0, 1, 0, 1, 0, -1, 0, 1.31134158e-07)
  496. o45.Part0 = o37
  497. o45.Part1 = o14
  498. o46.Parent = o37
  499. o46.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  500. o46.C1 = CFrame.new(10.5225143, -6.28294945, 3.01248598, 1.13565513e-07, -0.5, 0.866025388, 6.55670789e-08, 0.866025388, 0.5, -1, 0, 1.31134158e-07)
  501. o46.Part0 = o37
  502. o46.Part1 = o6
  503. o47.Parent = o37
  504. o47.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  505. o47.C1 = CFrame.new(10.5130901, -6.28839111, -2.9274857, -3.78551732e-08, -0.5, -0.866025388, -2.18556941e-08, 0.866025388, -0.5, 1, 0, -4.37113883e-08)
  506. o47.Part0 = o37
  507. o47.Part1 = o7
  508. o48.Parent = o37
  509. o48.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  510. o48.C1 = CFrame.new(7.96087551, -7.76191235, 0.0304422379, 0.866025388, -0.5, 0, 0.5, 0.866025388, 0, 0, 0, 1)
  511. o48.Part0 = o37
  512. o48.Part1 = o5
  513. o49.Parent = o37
  514. o49.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  515. o49.C1 = CFrame.new(13.0747299, -4.80942774, 0.0195577834, -0.866025388, -0.5, 7.57103464e-08, -0.5, 0.866025388, 4.37113883e-08, -8.74227766e-08, 0, -1)
  516. o49.Part0 = o37
  517. o49.Part1 = o31
  518. o50.Parent = o37
  519. o50.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  520. o50.C1 = CFrame.new(10.8094282, -2.86902833, 0.0304422379, 0.5, -0.866025388, 0, 0.866025388, 0.5, 0, 0, 0, 1)
  521. o50.Part0 = o37
  522. o50.Part1 = o26
  523. o51.Parent = o37
  524. o51.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  525. o51.C1 = CFrame.new(12.2829494, -0.316814423, -2.9274857, -2.18556906e-08, -0.866025388, -0.5, -3.78551732e-08, 0.5, -0.866025388, 1, -1.53837012e-15, -4.37113883e-08)
  526. o51.Part0 = o37
  527. o51.Part1 = o24
  528. o52.Parent = o37
  529. o52.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  530. o52.C1 = CFrame.new(12.2883921, -0.307388306, 3.06248593, 6.55670789e-08, -0.866025388, 0.5, 1.13565513e-07, 0.5, 0.866025388, -1, 0, 1.31134158e-07)
  531. o52.Part0 = o37
  532. o52.Part1 = o27
  533. o53.Parent = o37
  534. o53.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  535. o53.C1 = CFrame.new(13.7619133, 2.24482679, 0.0195577815, -0.5, -0.866025388, 4.37113812e-08, -0.866025388, 0.5, 7.57103464e-08, -8.74227766e-08, -3.07674024e-15, -1)
  536. o53.Part0 = o37
  537. o53.Part1 = o12
  538. o54.Parent = o37
  539. o54.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  540. o54.C1 = CFrame.new(10.8299046, 5.73965359, -2.9274857, 2.463101e-14, -1, -7.66067546e-22, -4.37113812e-08, 1.55293997e-22, -1, 1, -2.26166674e-14, -4.37113918e-08)
  541. o54.Part0 = o37
  542. o54.Part1 = o28
  543. o55.Parent = o37
  544. o55.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  545. o55.C1 = CFrame.new(10.8299046, 2.79261065, 0.0304422379, 0, -1, 0, 1, 0, 0, 0, 0, 1)
  546. o55.Part0 = o37
  547. o55.Part1 = o21
  548. o56.Parent = o37
  549. o56.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  550. o56.C1 = CFrame.new(10.8299046, 5.75053787, 3.06248593, 0, -1, 0, 1.31134158e-07, 0, 1, -1, 0, 1.31134158e-07)
  551. o56.Part0 = o37
  552. o56.Part1 = o25
  553. o57.Parent = o37
  554. o57.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  555. o57.C1 = CFrame.new(10.8299046, 8.69758224, 0.0195577815, -9.92821463e-15, -1, -4.926202e-14, -1, -9.92821039e-15, 8.74227624e-08, -8.74227837e-08, -4.52333348e-14, -1)
  556. o57.Part0 = o37
  557. o57.Part1 = o11
  558. o58.Parent = o37
  559. o58.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  560. o58.C1 = CFrame.new(8.01681519, 7.70597124, 0.0304422379, -0.5, -0.866025388, 0, 0.866025388, -0.5, 0, 0, 0, 1)
  561. o58.Part0 = o37
  562. o58.Part1 = o32
  563. o59.Parent = o37
  564. o59.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  565. o59.C1 = CFrame.new(6.54329395, 10.2581844, -2.9274857, 2.18558913e-08, -0.866025388, 0.5, -3.78550915e-08, -0.5, -0.866025388, 1, -2.09348164e-13, -4.37113563e-08)
  566. o59.Part0 = o37
  567. o59.Part1 = o33
  568. o60.Parent = o37
  569. o60.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  570. o60.C1 = CFrame.new(6.53785133, 10.2676115, 3.06248593, -6.55670789e-08, -0.866025388, -0.5, 1.13565513e-07, -0.5, 0.866025388, -1, 0, 1.31134158e-07)
  571. o60.Part0 = o37
  572. o60.Part1 = o34
  573. o61.Parent = o37
  574. o61.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  575. o61.C1 = CFrame.new(5.0643301, 12.8198261, 0.0195577815, 0.5, -0.866025388, -4.37117826e-08, -0.866025388, -0.5, 7.5710183e-08, -8.74227126e-08, -4.18696328e-13, -1)
  576. o61.Part0 = o37
  577. o61.Part1 = o35
  578. o62.Parent = o37
  579. o62.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  580. o62.C1 = CFrame.new(0.562292576, 12.0334873, 3.06248593, -1.13565513e-07, -0.5, -0.866025388, 6.55670789e-08, -0.866025388, 0.5, -1, 0, 1.31134158e-07)
  581. o62.Part0 = o37
  582. o62.Part1 = o8
  583. o63.Parent = o37
  584. o63.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  585. o63.C1 = CFrame.new(0.571718216, 12.0280447, -2.9274857, 3.78567435e-08, -0.5, 0.866025388, -2.1854726e-08, -0.866025388, -0.5, 1, -1.62435386e-12, -4.37105072e-08)
  586. o63.Part0 = o37
  587. o63.Part1 = o29
  588. o64.Parent = o37
  589. o64.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  590. o64.C1 = CFrame.new(3.12393236, 10.5545235, 0.0304422379, -0.866025388, -0.5, 0, 0.5, -0.866025388, 0, 0, 0, 1)
  591. o64.Part0 = o37
  592. o64.Part1 = o22
  593. o65.Parent = o37
  594. o65.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  595. o65.C1 = CFrame.new(-1.98992395, 13.5070095, 0.0195577815, 0.866025388, -0.5, -7.5713487e-08, -0.5, -0.866025388, 4.37094521e-08, -8.74210144e-08, -3.24870773e-12, -1)
  596. o65.Part0 = o37
  597. o65.Part1 = o23
  598. o66.Parent = o37
  599. o66.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  600. o66.C1 = CFrame.new(-5.48474979, 10.5750008, -2.9274857, 4.37234604e-08, -7.10242736e-20, 1, 1.06748915e-11, -1, -3.24624085e-19, 1, -1.06756557e-11, -4.36993091e-08)
  601. o66.Part0 = o37
  602. o66.Part1 = o17
  603. o67.Parent = o37
  604. o67.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  605. o67.C1 = CFrame.new(-5.49563408, 10.5750008, 3.06248593, -1.31134158e-07, 0, -1, 0, -1, 0, -1, 0, 1.31134158e-07)
  606. o67.Part0 = o37
  607. o67.Part1 = o18
  608. o68.Parent = o37
  609. o68.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  610. o68.C1 = CFrame.new(-2.53770685, 10.5750008, 0.0304422379, -1, 0, 0, 0, -1, 0, 0, 0, 1)
  611. o68.Part0 = o37
  612. o68.Part1 = o16
  613. o69.Parent = o37
  614. o69.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  615. o69.C1 = CFrame.new(-8.44267845, 10.5750008, 0.0195577815, 1, 9.92790038e-15, -8.74469208e-08, -9.92948348e-15, -1, -2.13497831e-11, -8.73986181e-08, -2.13513113e-11, -1)
  616. o69.Part0 = o37
  617. o69.Part1 = o19
  618. o70.Parent = o37
  619. o70.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  620. o70.C1 = CFrame.new(10.7000008, -2.95248604, 0.0304422379, 1.19248806e-08, -1, 0, 1, 1.19248806e-08, 0, 0, 0, 1)
  621. o70.Part0 = o37
  622. o70.Part1 = o30
  623. o71.Parent = o37
  624. o71.C0 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  625. o71.C1 = CFrame.new(-2.94999933, -2.3499999, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  626. o71.Part0 = o37
  627. o71.Part1 = o37
  628. o72.Parent = o37
  629. o72.maxTorque = Vector3.new(INF, 0, INF)
  630. o72.MaxTorque = Vector3.new(INF, 0, INF)
  631. o73.Parent = o37
  632. o73.MaxForce = Vector3.new(ShildSpeed*10000, ShildSpeed*10000, ShildSpeed*10000)
  633. o73.P = 1000000.000
  634. for X,Part in pairs(o2:GetChildren()) do
  635. Part.Anchored = true
  636. end
  637.  
  638. for X,Part in pairs(o36:GetChildren()) do
  639. Part.Anchored = true
  640. end
  641.  
  642. mas.Parent = workspace
  643. mas:MakeJoints()
  644. local mas1 = mas:GetChildren()
  645. for i=1,#mas1 do
  646. mas1[i].Parent = workspace
  647. ypcall(function() mas1[i]:MakeJoints() end)
  648. end
  649. mas:Destroy()
  650. for i=1,#cors do
  651. coroutine.resume(cors[i])
  652. end
  653.  
  654. local Shield = Workspace:FindFirstChild("Box Shield "..Client.Name)
  655. local CenterPart = Shield:WaitForChild('CenterPart')
  656. local KillParts = Shield:WaitForChild('KillParts')
  657. local Center = CenterPart:WaitForChild('Center')
  658. local BodyPosition = Center:WaitForChild('BodyPosition')
  659.  
  660.  
  661. BodyPosition.Position = HumanoidRootPart.Position
  662. o1:MoveTo(HumanoidRootPart.Position)
  663.  
  664. for X,Part in pairs(o2:GetChildren()) do
  665. Part.Anchored = false
  666. end
  667.  
  668. for X,Part in pairs(o36:GetChildren()) do
  669. Part.Anchored = false
  670. end
  671.  
  672. end
  673.  
  674. function onKeyDown(key)
  675.  
  676. key:lower()
  677.  
  678. if key == "k" then
  679. if Killer then
  680.  
  681. Killer = false
  682.  
  683. else
  684. for Index,Player in pairs(PlayersInGame) do next(PlayersInGame, tonumber(Index))
  685.  
  686. table.remove(PlayersInGame,tonumber(Index))
  687. end
  688.  
  689. for Index,Player in pairs(Players:GetChildren()) do wait()
  690. print('Players ',tonumber(Index))
  691. table.insert(PlayersInGame,Player.Character:WaitForChild('HumanoidRootPart'))
  692. end
  693.  
  694. Killer = true
  695.  
  696. end
  697.  
  698. end
  699. end
  700.  
  701. function Rotator()
  702. repeat wait()
  703.  
  704. if Workspace:FindFirstChild("Box Shield "..Client.Name) then
  705.  
  706. local Shield = Workspace:FindFirstChild("Box Shield "..Client.Name)
  707. local CenterPart = Shield:WaitForChild('CenterPart')
  708. local KillParts = Shield:WaitForChild('KillParts')
  709. local Center = CenterPart:WaitForChild('Center')
  710. local BodyPosition = Center:WaitForChild('BodyPosition')
  711.  
  712. Shield:SetPrimaryPartCFrame(Shield.PrimaryPart.CFrame * CFrame.Angles(0, math.rad(spin), 0))
  713.  
  714.  
  715.  
  716. else
  717. repeat wait()
  718.  
  719. until Workspace:FindFirstChild("Box Shield "..Client.Name)
  720. end
  721.  
  722. until not Character
  723.  
  724. end
  725.  
  726. function FollowPlayer()
  727.  
  728.  
  729.  
  730. repeat wait()
  731.  
  732. if Workspace:FindFirstChild("Box Shield "..Client.Name) then
  733.  
  734. local Shield = Workspace:FindFirstChild("Box Shield "..Client.Name)
  735. local CenterPart = Shield:WaitForChild('CenterPart')
  736. local KillParts = Shield:WaitForChild('KillParts')
  737. local Center = CenterPart:WaitForChild('Center')
  738. local BodyPosition = Center:WaitForChild('BodyPosition')
  739.  
  740. if Killer == true then
  741.  
  742. for Index,HumanoidRoot in pairs(PlayersInGame) do next(PlayersInGame, tonumber(Index))
  743.  
  744. if HumanoidRoot.Parent.Name == Client.Name then
  745. if tonumber(Index) == #PlayersInGame then
  746. BodyPosition.Position = HumanoidRoot.Position
  747. Killer = false
  748. print('Killed All')
  749. end
  750. pcall(function()
  751. if PlayersInGame{tonumber(Index)+1} then
  752. next(PlayersInGame, tonumber(Index)+1)
  753. else
  754. Killer = false
  755. print('Killed All')
  756. end
  757. end)
  758.  
  759.  
  760.  
  761. else
  762. print('Going After '..HumanoidRoot.Parent.Name)
  763. BodyPosition.Position = HumanoidRoot.Position
  764. repeat wait()
  765. BodyPosition.Position = HumanoidRoot.Position
  766. until HumanoidRoot.Parent:FindFirstChildOfClass('Humanoid').Health == 0
  767.  
  768. end
  769. end
  770.  
  771.  
  772.  
  773. else
  774. BodyPosition.Position = HumanoidRootPart.Position
  775. for Index,KillPart in pairs(KillParts:GetChildren()) do next(KillParts:GetChildren(), tonumber(Index))
  776. KillPart.Touched:connect(function(Part)
  777. if Part.Parent:FindFirstChildOfClass('Humanoid') and Part.Parent.Name ~= Client.Name then
  778. Part.Parent:FindFirstChildOfClass('Humanoid').Health = 0
  779. end
  780. end)
  781. end
  782.  
  783. end
  784.  
  785.  
  786.  
  787. else
  788.  
  789. SetUp ()
  790. repeat wait()
  791.  
  792. until Workspace:FindFirstChild("Box Shield "..Client.Name)
  793. end
  794.  
  795. until not Character
  796. end
  797.  
  798. spawn(function()
  799. Rotator()
  800. end)
  801.  
  802. spawn(function()
  803. FollowPlayer()
  804. end)
  805.  
  806.  
  807.  
  808.  
  809.  
  810. Mouse.KeyDown:connect(onKeyDown)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement