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

Why can I not make something clone and go into currentcamera and not access it?

Here is the script:

if game.Lighting:FindFirstChild("Map") then
	local map = game.Lighting.Map:Clone()
	map.Parent = Workspace.CurrentCamera
	map.Name = plr.Name .. "map"

and the part where I access it:

if game.Workspace.CurrentCamera:FindFirstChild(game.Players.LocalPlayer.Name .. "map") then
local ww  = game.Workspace.CurrentCamera:FindFirstChild(game.Players.LocalPlayer.Name .. "map")

1 answer

✓ Accepted answer

What kind of instance is your map? The first thing you would want to do here is make sure that your map is actually creating itself.

1 comment

0

The instance is a model and its in current camera. x.x BUT IT ISN'T ACCESSIBLE.

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