Is there a script I can run on my server that will make all the people on that server connect to another server?
Use theJoinServer hook.
Last I checked, Menu functions are offlimits to Lua. Robot said he removed the other menu functions ( the ones to force load addons / games ), which was annoying to hear as it did fix some issues, which is why I think this one may be removed too…
Your question has many answers. The simple one is on the client use LocalPlayer( ):ConCommand( “connect 127.0.0.1:27015” ); ( could be run from server too, replace LocalPlayer( ) with the player entity reference ).
local ip = “198.852.526.238:26598”
if LocalPlayer():GetNWString(“usergroup”) == “eg. owner” then
for k, v in pairs(player.GetAll()) do
This would go in lua/autorun/server
Isn’t that a blocked command?