Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

How do you script a map change?

Asked by 10 years ago

(Like a holo, I want to do this for basketball arena) Basically i am trying to figure this out any answers are greatly appreciated. I know you have to go into game.workspace.lighting but what after?

1 answer

Log in to vote
1
Answered by
Necrorave 560 Moderation Voter
10 years ago

Create a model that you would make into a map.

Once that is done, set it into game.ServerStorage.

Whenever you want the map to load, clone the map and set the .Parent of the clone to game.Workspacein your script.

(If you have a map in game.Workspace already, Destroy() it!)

Keep in mind!

When you clone the "map" or model you created, the position of the parts will stay the same. So try to keep a template of which you build your maps.

Also, don't forget to do MakeJoints() in the script you write! (If you have any joints)

0
Thanks, but how do I make it appear in a certain space? mcflasher 0 — 10y
Ad

Answer this question