Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I get a model to disappear and reappear using scripts?

How do I get a model to disappear and reappear using scripts? I've been to training centers and I've seen people say "load/obby1" or "end/obby1." I was just wondering how you would script that.

2 answers

✓ Accepted answer

If I were you I wouldn't choose making everything in the model transparent and can collide false. Reparenting would be the best option in my opinion.

Example

local Maps = game.ServerStorage.Maps

local function HideMap(MapName)
	if Workspace:FindFirstChild(MapName) then
		Workspace[MapName].Parent = Maps
	end
end

local function LoadMap(MapName)
	if Workspace:FindFirstChild(MapName) == nil then
		Maps[MapName].Parent = Workspace
	end
end

run a loop to get all the things inside a model for each small increment and get all the parts and lower the transparency, im not making the script for u, but telling u how to do it

This discussion is preserved as it was. New answers, comments, and votes are closed.