Alright, Before you say, Oh its easy, just type in command bar, I'm Trying to teleport the player (Note this is a 1 player lobby place) To the place once they click play (This is a guibutton!), Heres what ive tried (I'll explain more after)
local tps = game:GetService("TeleportService")
script.Parent.MouseButton1Down:connect(function() -- New function
tps:Teleport(8473728, game.Players:GetChildren()) --This is just a example, it does not teleport to the place i want it to yet
end) --Ends the function (Note that the connect is at the beginning.)
Alright, Assigning tps just makes game:GetService("TeleportService"):Teleport(8473728, game.Players.LocalPlayer) shorter Now the :connect, connects the function once the button is pressed, Uh okay, Please answer, (I am not a real noob in roblox, im just using my alt) I've tried the script alot, it wont work for some strange reason. ServerScript Log:
PlayerError: LocalPlayer Is not parent of game.Players (Note that i shortened that to make you understand it easier)

12 comments
Oh, Well then, Thanks :D
If your question is solved, please edit the title. If it's not, please tell me and I'll try to help some more.
Well still currently not solved, Cause i cannot get it to work even using :GetChildren() Since its a 1 player server.
What do you mean? Update your question with the updated script, please.
Oh Okay, But you can help me with localscripts since im still using a localscript
Correcton for im still using above: A Server script
This is in a GUI, right? Then you can just use a LocalScript. See my edited answer.
Okay! Yes its a gui
Try that.
It Works! (Note: I'm Using place universes :3)
Great! Happy to help.
I