How do you make a script to load and end maps?
COMMUNITY QUESTION
Load and End script for a holo?
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.
