Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local admin = {"nate3dsmaster","yankee027","iToureVI","happyabdul12345","GoldenTamed"}
- --[[
- -- Commands --
- !loadball : adds a ball to the center
- !removeball : removes a random ball
- !jailball: adds jail block to center ball
- !unjailball : removes jail block from center
- !crossers : adds practice crossers onto field
- !nocrossers : removes crossers
- !awaypk : adds ball on away pk spot
- !homepk : adds ball on home pk spot
- !awaygk : adds ball for away gk
- !homegk : adds ball for home gk
- !nogk : removes ball from !gk commands
- !nopk : removes ball from !pk commands
- !open/close : opens/closes pitch block
- -------------------
- -- Main Script --]]
- -- Don't edit --
- --[[game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!admins" then
- x = game.Lighting.admins:Clone()
- x.Parent = v.PlayerGui
- wait(3)
- end
- end)
- end
- end
- end)]]
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!noc" then
- M = Instance.new("Message")
- M.Parent = game.Workspace
- game.Workspace.crossers:Remove()
- M:remove()
- wait(0.0000000000000000000000000000000000000000000001)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!nogk" then
- M = Instance.new("Message")
- M.Parent = game.Workspace
- game.Workspace.homegk:Remove()
- M:remove()
- wait(0.0000000000000000000000000000000000000000000001)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!nogk" then
- M = Instance.new("Message")
- M.Parent = game.Workspace
- game.Workspace.awaygk:Remove()
- M:remove()
- wait(0.0000000000000000000000000000000000000000000001)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!nopk" then
- M = Instance.new("Message")
- M.Parent = game.Workspace
- game.Workspace.awaypk:Remove()
- M:remove()
- wait(0.000000000000000000000000000000000000000000000001)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!nopk" then
- M = Instance.new("Message")
- M.Parent = game.Workspace
- game.Workspace.homepk:Remove()
- M:remove()
- wait(0.0000000000000000000000000000000000000000000001)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!unjail" then
- M = Instance.new("Message")
- M.Parent = game.Workspace
- game.Workspace.jail:Remove()
- M:remove()
- wait(0.00000000000000000000000000000000001)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!jail" then
- x = game.Lighting.jail:Clone()
- x.Parent = game.Workspace
- wait(3)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!lball" then
- x = game.Lighting.TPS:Clone()
- x.Parent = game.Workspace
- wait(3)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!apk" then
- x = game.Lighting.awaypk:Clone()
- x.Parent = game.Workspace
- wait(3)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!hpk" then
- x = game.Lighting.homepk:Clone()
- x.Parent = game.Workspace
- wait(3)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!c" then
- x = game.Lighting.crossers:Clone()
- x.Parent = game.Workspace
- wait(3)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!agk" then
- x = game.Lighting.awaygk:Clone()
- x.Parent = game.Workspace
- wait(3)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!hgk" then
- x = game.Lighting.homegk:Clone()
- x.Parent = game.Workspace
- wait(3)
- end
- end)
- end
- end
- end)
- local door=script.Parent.FieldDoor
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg=="!open" then
- door.CanCollide=false
- door.Transparency =1
- elseif msg=="!close" then
- door.CanCollide=true
- door.Transparency=.8
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!hcl" then
- x = game.Lighting.homecl:Clone()
- x.Parent = game.Workspace
- wait(3)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!hcr" then
- x = game.Lighting.homecr:Clone()
- x.Parent = game.Workspace
- wait(3)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!acl" then
- x = game.Lighting.awaycl:Clone()
- x.Parent = game.Workspace
- wait(3)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!acr" then
- x = game.Lighting.awaycr:Clone()
- x.Parent = game.Workspace
- wait(3)
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!rall" then
- repeat
- game.Workspace.TPS:Remove()
- until false
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!rall" then
- repeat
- game.Workspace.homepk:Remove()
- until false
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!rall" then
- repeat
- game.Workspace.awaypk:Remove()
- until false
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!rall" then
- repeat
- game.Workspace.awaygk:Remove()
- until false
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!rall" then
- repeat
- game.Workspace.homegk:Remove()
- until false
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!rall" then
- repeat
- game.Workspace.awaycl:Remove()
- until false
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!rall" then
- repeat
- game.Workspace.awaycr:Remove()
- until false
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!rall" then
- repeat
- game.Workspace.homecl:Remove()
- until false
- end
- end)
- end
- end
- end)
- game.Players.PlayerAdded:connect(function(nP)
- for _,v in pairs(admin) do
- if nP.Name == v then
- nP.Chatted:connect(function(msg)
- if msg == "!rall" then
- repeat
- game.Workspace.homecr:Remove()
- until false
- end
- end)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement