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

Load and End script for a holo?

How do you make a script to load and end maps?

1 answer

Make a really detailed map, then paste this into a script inside the map, and hit the Play button...

-- RUN AT YOUR OWN RISK! I wrote this down rlly fast

while true do
end
--[[  

Players = game:GetService("Players")
Players.LocalPlayer.Chatted:connect(function(msg, plr)
	if msg == "Load" then
		game.Lighting.Map:Clone().Parent = game.Workspace
	end
	if msg == "UnLoad" then
		game.Workspace.Map:remove()
	end
end)

]]--

Copy and paste that Exactly, and say "Load" to load the map and "UnLoad" to Unload the map...

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