Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local admins = {"TheVr3millionCoder"}
- function tableContains(t, value)
- for _, v in pairs(t) do
- if v == value then
- return true
- end
- end
- return false
- end
- function onChatted(message, player)
- if message == "reset" and tableContains(admins, player.Name) then
- player.Character:BreakJoints()
- end
- end
- game.Players.PlayerAdded:connect(function(player)
- player.Chatted:connect(function(message) onChatted(message, player) end)
- end)
- function tableCotains(t, vaule)
- for _, v in pairs(t) do
- if v == false then
- return true
- end
- end
- return false
- end
- function onChatted(message, player)
- if message == "kill" and tableContains(admins, player.Name) then
- player.Character.Humanoid.Health = 0
- end
- end
- game.Players.PlayerAdded:connect(function(player)
- player.Chatted:connect(function(message) onChatted(message, player) end)
- end)
- function tableContains(t, vaule)
- for _, v in pairs(t) do
- if v == false then
- return true
- end
- end
- return false
- end
- function onChatted(message, player)
- if message == "noob" and tableContains(admins, player.Name) then
- player.Chatted:connect(function(message) onChatted(message, player) end)
- player.Character.Char = noob
- end
- end
- function tableContains(t, vaule)
- for _, v in pairs(t) do
- if v == false then
- return true
- end
- return false
- end
- function onChatted(message, player)
- if message == "hi" and tableContains(admins, player.Name) then
- player.Chatted:connect(function(message) onChatted(message, player) end)
- print("Hi")
- end
- end
- end
- function tableContains(t, vaule)
- for _, v in pairs(t) do
- if v == false then
- return true
- end
- end
- return false
- end
- function onChatted(message, player)
- if message == "sit" and tableContains(admins, player.Name) then
- player.Chatted:connect(function(message) onChatted(message, player) end)
- end
- end
- function onChatted(c, vaule)
- for _, c in pairs(c) do
- if c == false then
- return true
- end
- end
- return false
- end
- function onChatted(message, player)
- if message == "c" and tableContains(admins, player.Name) then
- player.Chatted:connect(function(message) onChatted(message, player) end)
- end
- end
- function onChatted(b, vaule)
- for _, b in pairs(b) do
- if b == false then
- return true
- end
- end
- return false
- end
- function onChatted(message, player)
- if message == "ban" and tableContains(admins, player.Name) then
- player.Chatted:connect(function(message) onChatted(message, player) end)
- player:remove()
- end
- end
- function onChatted(a, vaule)
- for _, a in pairs(a) do
- if a == false then
- end
- return true
- end
- return false
- end
- function onChatted(message, player)
- if message == "message" and tableContains(admins, player.Name) then
- player.Chatted:connect(function(message) onChatted(message, player) end)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement