Coulior
(Coulior)
June 12, 2023, 1:04am
#1
Hi Guys, I’ve encountered a small problem in my script. I am trying to clone one of my Maps into workspace. I haven’t got a output error so I’m a bit stuck, here is the code
local ClonedMap = ChosenMap:Clone()
ClonedMap = game.Workspace:FindFirstChild()
Do I have to reference where the maps are in?
1 Like
If you’re just loading the map into workspace, then just set the parent to workspace
local ClonedMap = ChosenMap:Clone()
ClonedMap.Parent = workspace
By default, cloned Instances are parented to nil
1 Like
Coulior
(Coulior)
June 12, 2023, 1:12am
#3
thanks for that, that seemed like a pretty easy fix lol. I guess that happens when you are a new scripter which I am. Appreciate the help.