The mapsinserverstorage section isn't working, please help! (There is a folder in the Workspace with the name of "mapstorage"
--Made by TheLionLiar
local repilcatedstorage = game:GetService('ReplicatedStorage')
local status = repilcatedstorage:WaitForChild('InfoValue')
local club = game.ServerStorage.club
local mapstorage = game.Workspace:WaitForChild('mapstorage')
while true do
while game.Players.NumPlayers < 3 do
status.Value = 'There needs to be 3 or more players to begin'
repeat wait(2) until game.Players.NumPlayers >- 3
end
for i = 30,0, - 1 do
status.Value = 'Match starting in '..i
wait(1)
end
end
wait (30)
wait (1)
local mapsinserverstorage = game:GetService('ServerStorage'):GetChildren()
local chosenmap = mapsinserverstorage[math.random(1, #mapsinserverstorage)]
chosenmap:Clone().Parent = mapstorage
wait (2)
local spawns = club.Spawns:GetChildren()
for i, v in pairs(game.Players:GetPlayers()) do
local name = v.Name
local check = game.Workspace:FindFirstChild(name)
local humanoid = check:FindFirstChild("Torso")
if check then
print ("check is working")
else error "Torso not found"
if humanoid then
print ("teleport works")
else error "humanoid not found"
check:MoveTo(spawns[i].Position)
status.Value = 'Teleporting...'
wait(1)
game.StarterGui.Backflip.Frame.LocalScript.Disabled = false
wait(1)
game.StarterGui.GameTimer.Frame.LocalScript.Disabled = false
end
end
end

3 comments
Please, put your code in a code block so we can help you better. It looks like a jumbled mess right now.
how do i do that
there we go