#simple error or sum

2 messages · Page 1 of 1 (latest)

mellow sandal
#

i just got back into scripting and literally like the second thing i do isnt working

task.wait(3)
print("Starting")

local player = game.Players.LocalPlayer
local cam = workspace.CurrentCamera
local set = workspace:WaitForChild("Start")


if player and cam and set then
    print("check")
    local campart1 = set:WaitForChild("CamPart1")
    if campart1 then
        print("found")
    end
end

this just checks for a cutscene set in my game and it prints check but doesnt print campart1 even though there is a campart1 in the children

#

nvm foundt he issue