Script Problem

If you know anything about lua, you should know what I’m trying to do. I have it in autorun/server and it doesn’t download it to the client. Help would be appreciated.
Thanks!

[lua]local ready = {}
hook.Add(“PlayerChat”,“War”,function(ply,text,toall)
if string.sub(text,1,6) == “/ready” then
if table.HasValue(ready,ply:SteamID()) then ply:ChatPrint(“You already confirmed you’re ready.”) return end
table.insert(ready,ply:SteamID())
if table.Count(ready) >= math.round(MaxPlayers().75) then
game.ConsoleCommand("sbox_plpldamage 1
")
for _,v in ipairs(player.GetAll()) do v:ChatPrint(“Killing is now enabled!”) end
end
elseif string.sub(text,1,5) == “/over” then
if table.HasValue(ready,ply:SteamID()) then
local players = {]
for _,v in ipairs(ready) do if v != ply:SteamID() then table.insert(players,v) end end
ready = players
if table.Count(ready) <= math.round(MaxPlayers()
.75) then
game.ConsoleCommand("sbox_plpldamage 0
")
for _,v in ipairs(player.GetAll()) do v:ChatPrint(“Killing is now disabled. The map will reset in 10 seconds”) end
end
end
end
end)[/lua]

Thats messy as fuck tab it out

Jeff, check the request thread. I’ll post updates there.

Hi, I am Andres Kramack from http://www.cathybarryadultstore.com/.

It’s a ‘pleasure’ serving the public if you know what I mean and this message is

Here at Cathy Barry Adult Store, we offer a wide variety of dildos that come in all sizes from goblin-sized dicks to black-man draconic dicks. I know at Facepunch everyone loves good old dicks which is why I personally offer anyone with an association with Facepunch Forums a 50% discount code “DIL4FACEPUNCH”. Don’t forget, this offer lasts until the next Garry’s Mod update which we so much love.

Here are pictures of our products just for you!

Sponsored Images:

http://static.fjcdn.com/pictures/Gym+leaders+hate+him_ab471d_5017861.jpg

https://static.fjcdn.com/comments/That+one+with+the+lamp+got+me+_e68beb19422eea14289caa5f4d6dffb7.jpg

Got any questions? Visit my Steam Profile!