Server Chooser Derma Help

Im making a server chooser on my server so you can go on a menu and chose the server you want to be on. I keep getting a problem where it will disconnect from the server but not join the other server. Please Help

Are you using something like this to join?
Button.DoClick = function()
LocalPlayer():ConCommand(“connect ip”)

thanks before it wasnt working but i got it thanks :slight_smile: