I really need help with a script i am working on. It is supposed to allow players to teleport to different places on roblox. I need one that teleports a player to a place that is not part of a game.
This is the current code i have.
function teleport()
player = script.Parent.Parent.Parent.Parent.Parent.Character
game:GetService("TeleportService"):Teleport(place id here, player)
end
script.Parent.MouseButton1Click:connect (teleport)
I need help to let players to teleport to a place that is not part of a game.
Please help. |