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

Why my map changer dosent work? [closed]

Asked by 6 years ago

im trying to make a map changer that changes a map then teleports a player to it. i made this code but its broken

01local time_between_each_map = 43
02local time = 1
03local w = game.Workspace:GetChildren()
04for i = 1, #w do
05if w[i].ClassName == "Message" or w[i].ClassName == "Hint" then
06w[i]:Remove()
07end
08end
09 
10while true do
11local h = Instance.new("Hint")
12local m = Instance.new("Message")
13local maps = game.Lighting.Big:GetChildren()
14h.Parent = workspace
15repeat h.Text = time.. " seconds left before new map."
View all 65 lines...

whats wrong with it?

0
format the code plz INOOBE_YT 387 — 6y
0
Don't post free models. Just yesterday you requested a script for a map. You can tell this is a free model nonetheless. https://scriptinghelpers.org/questions/69182/help-how-to-make-a-map-changer-that-does User#19524 175 — 6y

Closed as Not Constructive by User#19524

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?