of     1   

SjorsApenWorst1
#228192625Tuesday, November 28, 2017 4:58 PM GMT

Hello! I am new to scripting and i am using the ROBLOX official scripting tutorials. The guy is making an game a where balls fall out of the air and explode. i got everything working until the refresh/reload map part. when i spawn in for some reason my map dissapears, and no balls fall. My script: local explosionpart = game.ServerStorage.ExplosionPart local explosionPartDropHeight = 100 local gameRoundLengtInSeconds = 10 local intermissionLengthInSeconds = 5 l#c######n##############cal map = game.Workspace.Map local function initialize() local mapCopy = map:Clone() #a############ "MapCopy" mapCopy.Parent = game.Workspace roundStartTime = tick() end local function createExplosionPartCopy() local explosionPartCopy = explosionpart:Clone() ex######################## game.Workspace local xPosition = math.random(-90, 10) local zPosition = math.random(-40, 50) ex##############y#Position = Vector3.new(xPosition, explosionPartDropHeight, zPosition) end local function cleanup() game.Workspace.MapCopy:Destroy() end map.Parent = game.ServerStorage while true do initialize() repeat local currentTime = tick() local timeSinceGameStarted = currentTime - roundStartTime createExplosionPartCopy() wait(0.25) until timeSinceGameStarted > gameRoundLengtInSeconds cleanup() wait (intermissionLengthInSeconds) end I checked multiple times and as far i have seen nothing is wrong. Please help -SjorsApenWorst1

    of     1