I just came up with this script on the free models, yet it only says it can only have 2 maps
This is how it looks like:
01 | -- Read Instructions for help |
02 | print ( "Change Map Script Loaded" ) |
03 | while true do |
04 | wait( 1 ) |
05 | game.Lighting.field 1 :clone().Parent = game.Workspace -- Put the maps in the lighting, and name then field1 and field 2 |
06 | wait( 500 ) -- You can edit this, this is how long you wan't the field to be on. This is currently on 5 Minutes. |
07 | local msg = Instance.new( "Message" ) |
08 | msg.Parent = game.Workspace |
09 | msg.Text = ( "message here" ) |
10 | wait( 4 ) -- How long you want the text to stay on your screen (editable) |
11 | msg:remove() |
12 | game.Workspace.field 1 :remove() |
13 | wait( 2 ) -- How long you want to wait for it to go away (editable) (I wouldnt edit it though) |
14 |
15 | game.Lighting.field 2 :clone().Parent = game.Workspace -- this is the second map loading up, copy it un tix its at wait (1) and you will be able to make another map, so far there are 2 maps that can be loaded up field1 and firled 1 |
If I wanted to add a THIRD map, would this work?
(THE FIRST PART OF THE SCRIPT)
1 | print ( "Change Map Script Loaded" ) |
2 | while true do |
3 | wait( 1 ) |
4 | game.Lighting.field 1 :clone().Parent = game.Workspace -- Put the maps in the lighting, and name then field1, field2 and field3 |
I replaced Field1 and Field2 into Field1, Field2 and Field3
And this is the code for the third map (Under the Second Map script)
1 | game.Lighting.field 3 :clone().Parent = game.Workspace -- this is the second map loading up, copy it un tix its at wait (1) and you will be able to make another map, so far there are 3 maps that can be loaded up field1 and firled 1 |
2 | wait( 500 ) -- How long you want field3 to be up. |
3 | msg.Parent = game.Workspace |
4 | msg.Text = ( "message here" ) |
5 | wait( 4 ) -- How long you want the text to stay on your screen (editable) |
6 | msg:remove() |
7 | game.Workspace.field 2 :remove() |
8 | wait( 1 ) --How long you want to wait for it to go away (editable) (I wouldnt edit it though) |
At the beginning, I replaced field2 into field3
Depending if in the lighting section, the maps names are correct for the script, could it work?
Look at lines 5-13 and 15-22 on the first code block you posted. The only difference between those blocks is the number after field
on lines 5 and 12, and 15 and 21.
Simply copy that code block, paste between lines 23 and 24, and edit the two numbers after field
to 3
. You can do that as many times as you like, for as many maps as you want.
I think that is possible as I took a glimpse it dosen't seem too big though it may say 2 maps it could overload. Long scripts glitch and mess up at times due to roblox updates. I tested some long message scripts by removing messages and placing more due to a wait() time. I think It is possible but it could also overload. Dragon539195 here look me up if you want to be friends :D