Ok, the error: Map is not a valid eber of model.
Goal: get the position of script.Parent.BoxTP.teleporter1b to the position of the chosen map - 10y
yes, there is a TOP in every map.
Map,num, with that I tried to combine "Map" and the random choosen number by math.random(1,5), there are 5 maps.
maps are called like this: Map1, Map2, etc.
script.Parent.BoxTP.teleporter1b.Position = Workspace.Maps.(Map,num).TOP.Position - Vector3.new(0,10,0)
Please help becose I really dont know what the heck is wrong with it. |