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

Can't remove map from workspace using script. Any solutions?

Asked by 5 years ago

script below while true do game.ServerStorage.MAPS.ONE:clone().Parent = (workspace) ---------------------------------------------------------------------- game.Lighting.Sky.SkyboxBk = 'http://www.roblox.com/asset/?id=15436783' game.Lighting.Sky.SkyboxDn = 'http://www.roblox.com/asset/?id=15436796' game.Lighting.Sky.SkyboxFt = 'http://www.roblox.com/asset/?id=15436831' game.Lighting.Sky.SkyboxLf = 'http://www.roblox.com/asset/?id=15437157' game.Lighting.Sky.SkyboxRt = 'http://www.roblox.com/asset/?id=15437166' game.Lighting.Sky.SkyboxUp = 'http://www.roblox.com/asset/?id=15437184' ----------------------------------------------------------------------- game.ServerStorage.MUSIC["ACCF 4PM"]:play() game.ServerStorage.MUSIC["ACCF 4PM"].looped = false wait(5) game.workspace.ONE:remove() <-----problem

end

0
well then just use game:Destroy() TheTrainsThingyIsOk 0 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago
t = game.ServerStorage.MAPS.ONE:clone(workspace) --give it a value
t:remove() -- remove said value
Ad

Answer this question