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

How to spawn a map from lighting then delete it?

Asked by
Rurith 10
10 years ago

Like:

game.Lighting.LoadMap:"The Town"

and how do I delete this map later?

1 answer

Log in to vote
0
Answered by 10 years ago

Don't use lighting as a storage, it is out-dated. Use Server Storage instead and simply clone the model into the workspace:

game.ServerStorage["MapName"]:Clone().Position = CFrame.new(0,0,0);
0
Did you really have to -1? Rurith 10 — 10y
Ad

Answer this question