im trying to reference all the parts in a model but i cant figure out how

it doesnt get created but it gets destroyed?


local function onTouched(otherPart)

local character = otherPart.Parent

if character then
	local player = game.Players:GetPlayerFromCharacter(character)
	if player then 


		game.Workspace.ItsSafariDreams:Clone()
		wait(1)
		game.Workspace.ItsSafariDreams:Destroy()
	end
end

end

10 comments

0

it says it isnt a part of the workspace?

0

are you trying do delete the things inside the model?

0

and what do you mean by :Create()

0

i meant clone

0

also, it destroys it but doesnt clone it

0

i cant make it transparent either

0

im trying to clone the model but it says its not part of the work space

0

what is otherPart?

0

local function onTouched(otherPart) is on top

0

its the thing that touched the part of the touch event