I have this code to redirect users to another server but it comes up with the error bad server address even though the IP is clearly valid.
Here is the code (note this is not my code before everyone here roasts me):
hook.Add( "PlayerSay", "Server Redirecter", function(ply, text)
if (string.lower(text) == "!newserver" ) then
ply:SendLua([[RunConsoleCommand("connect", "IP.ADRESS.GOES.HERE")]])
return ""
end
end)