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

Why arent the models spawning?

Asked by 6 years ago

How is this wrong? The models aren't spawning.

local Maps = game.ServerStorage.Maps:GetChildren()
local function MapSelect()
    local Choose = Maps[math.random(1, #Maps)]
    local Copy = Choose:Clone()
    local x = 81.6
    local y = -10.1
    local z = -52
    Copy.MoveTo(x, y, z)
end

while true do
wait(10)
    MapSelect()
end

Answer this question