Hi i wanted to do a script that teleports you to position. that was not a problem but i used local part for the teleport script to get the part Position but it game a error and i have no idea why.
script:
local teleportPart = workspace.MAP.["Stone Portal"].MAINPART.WinnerPart
game.Players.LocalPlayer.Character:MoveTo(teleportPart.Position)
Error: :1: Expected identifier got '['

4 comments
write workspace.MAP["Stone Portal"] instead of workspace.MAP.["Stone Portal"] (see no dot between MAP and ["Stone Portal"])
this time it shows this error: Stone Portal is not a valid member of folder MAP
make sure Stone Portal is in the MAP, but if it is, where is this script located and do you want to teleport the player to the portal after spawn or somewhere after touch of a button?
it was not in MAP and one more folder i forgot its fixed.