Code broken need help

Hello, I am making an entity where the player will press e and it will give him a random gun or a chat message saying " I found nothing " so I tried to find a way to this and found table random. I have produced the following code but cant understand what is wrong with it.


include("shared.lua")
FindNothing =
{
chat.AddText( Color(224,64,251),  "You did not find anything. ")
}
FindAK =
{
net.Start("RandomAK")
net.SendToServer()
chat.AddText( Color(224,64,251),  "You found an ak-47. ")
}
FindCrowbar =
{
net.Start("RandomCrowBar")
net.SendToServer()
chat.AddText( Color(224,64,251),  "You found a crowbar. ")
}
FindPistol =
{
net.Start("RandomPistol")
net.SendToServer()
chat.AddText( Color(224,64,251),  "You found a pistol. ")
}


net.Receive("SayInChatAndGiveRandom", function()

timer.Simple(5,function()

table.Random( FindNothing, FindAK, FindCrowbar, FindPistol  )

end)

end)



the error im getting is

[ERROR] addons/rubble/lua/entities/rubble/cl_init.lua:9: ‘}’ expected (to close ‘{’ at line 7) near ‘net’

  1. unknown - addons/rubble/lua/entities/rubble/cl_init.lua:0

[editline]22nd March 2016[/editline]

nevermind made it all sever side and figured it out