#Trying to make intro scene for menu but im getting error

19 messages · Page 1 of 1 (latest)

ashen scarab
#

Code:

local nc = game.Workspace.CurrentCamera
local mc = game.Workspace.mc
local player = game.Players.LocalPlayer

game.Players.PlayerAdded:Connect(function()

repeat
    nc.CameraType = Enum.CameraType.Scriptable
until nc.CameraType == Enum.CameraType.Scriptable

nc.CFrame = mc.CFrame

end)

Error: mc is not valid member of Workspace "Workspace"

#

even tho its in workspace

crystal scroll
#

send a screenshot of mc and its location

sacred dagger
ashen scarab
ashen scarab
crystal scroll
#

use waitforchild

#

local mc = game.Workspace:WaitForChild("mc")

ashen scarab
#

doesnt send error but does not change player camera to parts

ashen scarab
hidden troutBOT
#

studio** You are now Level 1! **studio

ashen scarab
crystal scroll
# ashen scarab

could you again show the script and the location of menucamera

#

cuz i dont see whyd there be an issue

ashen scarab
sacred dagger
#

Why the fuck is PlayerAdded in a local script?

#

The script doesn’t run before a player is added

ashen scarab
#

kk

#

@sacred dagger works now