Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.06 KB | None | 0 0
  1. local admin = {"nate3dsmaster","yankee027","iToureVI","happyabdul12345","GoldenTamed"}
  2.  
  3. --[[
  4. -- Commands --
  5. !loadball : adds a ball to the center
  6. !removeball : removes a random ball
  7. !jailball: adds jail block to center ball
  8. !unjailball : removes jail block from center
  9. !crossers : adds practice crossers onto field
  10. !nocrossers : removes crossers
  11. !awaypk : adds ball on away pk spot
  12. !homepk : adds ball on home pk spot
  13. !awaygk : adds ball for away gk
  14. !homegk : adds ball for home gk
  15. !nogk : removes ball from !gk commands
  16. !nopk : removes ball from !pk commands
  17. !open/close : opens/closes pitch block
  18.  
  19. -------------------
  20. -- Main Script --]]
  21.  
  22. -- Don't edit --
  23.  
  24. --[[game.Players.PlayerAdded:connect(function(nP)
  25. for _,v in pairs(admin) do
  26. if nP.Name == v then
  27. nP.Chatted:connect(function(msg)
  28. if msg == "!admins" then
  29. x = game.Lighting.admins:Clone()
  30. x.Parent = v.PlayerGui
  31. wait(3)
  32. end
  33. end)
  34. end
  35. end
  36. end)]]
  37.  
  38. game.Players.PlayerAdded:connect(function(nP)
  39. for _,v in pairs(admin) do
  40. if nP.Name == v then
  41. nP.Chatted:connect(function(msg)
  42. if msg == "!noc" then
  43. M = Instance.new("Message")
  44. M.Parent = game.Workspace
  45. game.Workspace.crossers:Remove()
  46. M:remove()
  47. wait(0.0000000000000000000000000000000000000000000001)
  48. end
  49. end)
  50. end
  51. end
  52. end)
  53.  
  54. game.Players.PlayerAdded:connect(function(nP)
  55. for _,v in pairs(admin) do
  56. if nP.Name == v then
  57. nP.Chatted:connect(function(msg)
  58. if msg == "!nogk" then
  59. M = Instance.new("Message")
  60. M.Parent = game.Workspace
  61. game.Workspace.homegk:Remove()
  62. M:remove()
  63. wait(0.0000000000000000000000000000000000000000000001)
  64. end
  65. end)
  66. end
  67. end
  68. end)
  69.  
  70. game.Players.PlayerAdded:connect(function(nP)
  71. for _,v in pairs(admin) do
  72. if nP.Name == v then
  73. nP.Chatted:connect(function(msg)
  74. if msg == "!nogk" then
  75. M = Instance.new("Message")
  76. M.Parent = game.Workspace
  77. game.Workspace.awaygk:Remove()
  78. M:remove()
  79. wait(0.0000000000000000000000000000000000000000000001)
  80. end
  81. end)
  82. end
  83. end
  84. end)
  85.  
  86. game.Players.PlayerAdded:connect(function(nP)
  87. for _,v in pairs(admin) do
  88. if nP.Name == v then
  89. nP.Chatted:connect(function(msg)
  90. if msg == "!nopk" then
  91. M = Instance.new("Message")
  92. M.Parent = game.Workspace
  93. game.Workspace.awaypk:Remove()
  94. M:remove()
  95. wait(0.000000000000000000000000000000000000000000000001)
  96. end
  97. end)
  98. end
  99. end
  100. end)
  101.  
  102. game.Players.PlayerAdded:connect(function(nP)
  103. for _,v in pairs(admin) do
  104. if nP.Name == v then
  105. nP.Chatted:connect(function(msg)
  106. if msg == "!nopk" then
  107. M = Instance.new("Message")
  108. M.Parent = game.Workspace
  109. game.Workspace.homepk:Remove()
  110. M:remove()
  111. wait(0.0000000000000000000000000000000000000000000001)
  112. end
  113. end)
  114. end
  115. end
  116. end)
  117.  
  118. game.Players.PlayerAdded:connect(function(nP)
  119. for _,v in pairs(admin) do
  120. if nP.Name == v then
  121. nP.Chatted:connect(function(msg)
  122. if msg == "!unjail" then
  123. M = Instance.new("Message")
  124. M.Parent = game.Workspace
  125. game.Workspace.jail:Remove()
  126. M:remove()
  127. wait(0.00000000000000000000000000000000001)
  128. end
  129. end)
  130. end
  131. end
  132. end)
  133.  
  134. game.Players.PlayerAdded:connect(function(nP)
  135. for _,v in pairs(admin) do
  136. if nP.Name == v then
  137. nP.Chatted:connect(function(msg)
  138. if msg == "!jail" then
  139. x = game.Lighting.jail:Clone()
  140. x.Parent = game.Workspace
  141. wait(3)
  142. end
  143. end)
  144. end
  145. end
  146. end)
  147.  
  148. game.Players.PlayerAdded:connect(function(nP)
  149. for _,v in pairs(admin) do
  150. if nP.Name == v then
  151. nP.Chatted:connect(function(msg)
  152. if msg == "!lball" then
  153. x = game.Lighting.TPS:Clone()
  154. x.Parent = game.Workspace
  155. wait(3)
  156. end
  157. end)
  158. end
  159. end
  160. end)
  161.  
  162. game.Players.PlayerAdded:connect(function(nP)
  163. for _,v in pairs(admin) do
  164. if nP.Name == v then
  165. nP.Chatted:connect(function(msg)
  166. if msg == "!apk" then
  167. x = game.Lighting.awaypk:Clone()
  168. x.Parent = game.Workspace
  169. wait(3)
  170. end
  171. end)
  172. end
  173. end
  174. end)
  175.  
  176. game.Players.PlayerAdded:connect(function(nP)
  177. for _,v in pairs(admin) do
  178. if nP.Name == v then
  179. nP.Chatted:connect(function(msg)
  180. if msg == "!hpk" then
  181. x = game.Lighting.homepk:Clone()
  182. x.Parent = game.Workspace
  183. wait(3)
  184. end
  185. end)
  186. end
  187. end
  188. end)
  189.  
  190. game.Players.PlayerAdded:connect(function(nP)
  191. for _,v in pairs(admin) do
  192. if nP.Name == v then
  193. nP.Chatted:connect(function(msg)
  194. if msg == "!c" then
  195. x = game.Lighting.crossers:Clone()
  196. x.Parent = game.Workspace
  197. wait(3)
  198. end
  199. end)
  200. end
  201. end
  202. end)
  203.  
  204. game.Players.PlayerAdded:connect(function(nP)
  205. for _,v in pairs(admin) do
  206. if nP.Name == v then
  207. nP.Chatted:connect(function(msg)
  208. if msg == "!agk" then
  209. x = game.Lighting.awaygk:Clone()
  210. x.Parent = game.Workspace
  211. wait(3)
  212. end
  213. end)
  214. end
  215. end
  216. end)
  217.  
  218. game.Players.PlayerAdded:connect(function(nP)
  219. for _,v in pairs(admin) do
  220. if nP.Name == v then
  221. nP.Chatted:connect(function(msg)
  222. if msg == "!hgk" then
  223. x = game.Lighting.homegk:Clone()
  224. x.Parent = game.Workspace
  225. wait(3)
  226. end
  227. end)
  228. end
  229. end
  230. end)
  231.  
  232. local door=script.Parent.FieldDoor
  233. game.Players.PlayerAdded:connect(function(nP)
  234. for _,v in pairs(admin) do
  235. if nP.Name == v then
  236. nP.Chatted:connect(function(msg)
  237. if msg=="!open" then
  238. door.CanCollide=false
  239. door.Transparency =1
  240. elseif msg=="!close" then
  241. door.CanCollide=true
  242. door.Transparency=.8
  243. end
  244. end)
  245. end
  246. end
  247. end)
  248. game.Players.PlayerAdded:connect(function(nP)
  249. for _,v in pairs(admin) do
  250. if nP.Name == v then
  251. nP.Chatted:connect(function(msg)
  252. if msg == "!hcl" then
  253. x = game.Lighting.homecl:Clone()
  254. x.Parent = game.Workspace
  255. wait(3)
  256. end
  257. end)
  258. end
  259. end
  260. end)
  261.  
  262. game.Players.PlayerAdded:connect(function(nP)
  263. for _,v in pairs(admin) do
  264. if nP.Name == v then
  265. nP.Chatted:connect(function(msg)
  266. if msg == "!hcr" then
  267. x = game.Lighting.homecr:Clone()
  268. x.Parent = game.Workspace
  269. wait(3)
  270. end
  271. end)
  272. end
  273. end
  274. end)
  275.  
  276. game.Players.PlayerAdded:connect(function(nP)
  277. for _,v in pairs(admin) do
  278. if nP.Name == v then
  279. nP.Chatted:connect(function(msg)
  280. if msg == "!acl" then
  281. x = game.Lighting.awaycl:Clone()
  282. x.Parent = game.Workspace
  283. wait(3)
  284. end
  285. end)
  286. end
  287. end
  288. end)
  289.  
  290. game.Players.PlayerAdded:connect(function(nP)
  291. for _,v in pairs(admin) do
  292. if nP.Name == v then
  293. nP.Chatted:connect(function(msg)
  294. if msg == "!acr" then
  295. x = game.Lighting.awaycr:Clone()
  296. x.Parent = game.Workspace
  297. wait(3)
  298. end
  299. end)
  300. end
  301. end
  302. end)
  303.  
  304. game.Players.PlayerAdded:connect(function(nP)
  305. for _,v in pairs(admin) do
  306. if nP.Name == v then
  307. nP.Chatted:connect(function(msg)
  308. if msg == "!rall" then
  309. repeat
  310. game.Workspace.TPS:Remove()
  311. until false
  312. end
  313. end)
  314. end
  315. end
  316. end)
  317.  
  318. game.Players.PlayerAdded:connect(function(nP)
  319. for _,v in pairs(admin) do
  320. if nP.Name == v then
  321. nP.Chatted:connect(function(msg)
  322. if msg == "!rall" then
  323. repeat
  324. game.Workspace.homepk:Remove()
  325. until false
  326. end
  327. end)
  328. end
  329. end
  330. end)
  331.  
  332. game.Players.PlayerAdded:connect(function(nP)
  333. for _,v in pairs(admin) do
  334. if nP.Name == v then
  335. nP.Chatted:connect(function(msg)
  336. if msg == "!rall" then
  337. repeat
  338. game.Workspace.awaypk:Remove()
  339. until false
  340. end
  341. end)
  342. end
  343. end
  344. end)
  345.  
  346. game.Players.PlayerAdded:connect(function(nP)
  347. for _,v in pairs(admin) do
  348. if nP.Name == v then
  349. nP.Chatted:connect(function(msg)
  350. if msg == "!rall" then
  351. repeat
  352. game.Workspace.awaygk:Remove()
  353. until false
  354. end
  355. end)
  356. end
  357. end
  358. end)
  359.  
  360. game.Players.PlayerAdded:connect(function(nP)
  361. for _,v in pairs(admin) do
  362. if nP.Name == v then
  363. nP.Chatted:connect(function(msg)
  364. if msg == "!rall" then
  365. repeat
  366. game.Workspace.homegk:Remove()
  367. until false
  368. end
  369. end)
  370. end
  371. end
  372. end)
  373.  
  374. game.Players.PlayerAdded:connect(function(nP)
  375. for _,v in pairs(admin) do
  376. if nP.Name == v then
  377. nP.Chatted:connect(function(msg)
  378. if msg == "!rall" then
  379. repeat
  380. game.Workspace.awaycl:Remove()
  381. until false
  382. end
  383. end)
  384. end
  385. end
  386. end)
  387.  
  388. game.Players.PlayerAdded:connect(function(nP)
  389. for _,v in pairs(admin) do
  390. if nP.Name == v then
  391. nP.Chatted:connect(function(msg)
  392. if msg == "!rall" then
  393. repeat
  394. game.Workspace.awaycr:Remove()
  395. until false
  396. end
  397. end)
  398. end
  399. end
  400. end)
  401.  
  402. game.Players.PlayerAdded:connect(function(nP)
  403. for _,v in pairs(admin) do
  404. if nP.Name == v then
  405. nP.Chatted:connect(function(msg)
  406. if msg == "!rall" then
  407. repeat
  408. game.Workspace.homecl:Remove()
  409. until false
  410. end
  411. end)
  412. end
  413. end
  414. end)
  415.  
  416. game.Players.PlayerAdded:connect(function(nP)
  417. for _,v in pairs(admin) do
  418. if nP.Name == v then
  419. nP.Chatted:connect(function(msg)
  420. if msg == "!rall" then
  421. repeat
  422. game.Workspace.homecr:Remove()
  423. until false
  424. end
  425. end)
  426. end
  427. end
  428. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement