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

How to make changing maps?

Asked by 10 years ago
Rust = game.Lighting.Map1
Nuketown = game.Lighting.Map2

function Start()
    --How would I make Rust load when the server is started, and after 260 seconds, load Nuketown? 
end

1 answer

Log in to vote
0
Answered by 10 years ago
Rust = game.Lighting.Map1:Clone()
Rust.Parent = Workspace
Rust:MakeJoints()
wait(260)
Rust:Destroy()
Nuketown = game.Lighting.Map2:Clone()
Nuketown.Parent = Workspace
Nuketown:MakeJoints()
wait(260)
Nuketown:Destroy()
Ad

Answer this question