local admin = {"Roboy5857"}
local banland = {"xMegs"}
local nonadmins = game.Workspace.Players-admin
local player = game.Players.LocalPlayer
local banland={"xMegs"}
player.Chatted:connect(function(msg)
if admin.msg.Text == "dead all" then
local hum=game.Workspace.Players:FindFirstChild("Humanoid")
if hum then
player.Humanoid.Health=0
end
if admin.msg.Text=="dead rob" then
local rob = game.Workspace:FindFirstChild("Roboy5857")
if rob then
rob.Humanoid.Health=0
end
end
if admin.msg.Text=="sword rob" then
local hi = game.Workspace:FindFirstChild("Roboy5857")
if hi then
game.Workspace.Lighting.LinkedSword:Clone(Roboy5857.StarterPack)
end
if admin.msg.Text=="special sword rob" then
local ss = game.Workspace:FindFirstChild("Roboy5857")
if ss then
game.Workspace.Lighting.Darkheart:Clone(Roboy5857.StarterPack)
end
if admin.msg.Text=="speed all" then
local v = game.Workspace.Players+admin
v.Humanoid.WalkSpeed=50
end
if amdin.msg.Text=="speed others" then
local c = game.Workspace.Players-admin
c.Humanoid.WalkSpeed=50
end
if admin.msg.Text=="m line up" then
game.Workspace.Message.Text="Line up"
wait(5)
end
if admin.msg.Text=="health all" then
local h = game.Workspace.Players+admin
h.Humanoid.MaxHealth=150
end
if admin.msg.Text=="play themesong" then
game.Workspace.Sound:Play()
game.Workspace.Sound.Looped=true
end
if admin.msg.Text=="stop themesong" then
game.Workspace.Sound:Stop()
end
if admin.msg.Text=="gun rob" then
local gun = game.Workspace:FindFirstChild("Roboy5857")
if gun then
game.Workspace.Lighting.AssaultRifle:Clone(Roboy5857.StarterPack)
end
if admin.msg.Text=="gun other" then
local o = game.Workspace.Players-admin
if o then
game.Workspace.Lighting.AssaultRifle:Clone(o.StarterPack)
end
end
end
end
end
end
end)
game.Players.PlayerAdded:connect(function(newPlayer)
if newPlayer.Name==banland then
newPlayer:Kick()
end
end)
It won't work!! D: Why?

2 comments
wtf is line 3
Line 3 is nonadmins... Can you read?