You spawn in, your cam attaches to a block, you hit play, and then the cam goes back to you! It works just fine in Studio, but not online? Why is that?
wait(1) repeat --player = workspace:findFirstChild(script.Parent.Parent.Parent.Parent) wait(1) if workspace:findFirstChild(script.Parent.Parent.Parent.Parent.Name) then print (workspace:findFirstChild(script.Parent.Parent.Parent.Parent.Name)) if script.Parent.Value == 1 and script.Parent.Parent.CamValue.Value == 1 then Workspace.CurrentCamera.CameraSubject = Workspace.CameraFocus1 Workspace.CurrentCamera.CameraType = "Attach" wait(0.75) script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(Workspace.Spawners.WhiteSpawn.Position + Vector3.new(0, 2, 0)) elseif script.Parent.Value == 2 and script.Parent.Parent.CamValue.Value == 1 then Workspace.CurrentCamera.CameraSubject = Workspace.CameraFocus2 wait(0.75) script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(Workspace.Spawners.GraySpawn.Position + Vector3.new(0, 2, 0)) elseif script.Parent.Value == 3 and script.Parent.Parent.CamValue.Value == 1 then Workspace.CurrentCamera.CameraSubject = Workspace.CameraFocus3 wait(0.75) script.Parent.Parent.Parent.Parent.Character.Torso.CFrame = CFrame.new(Workspace.Spawners.BlackSpawn.Position + Vector3.new(0, 2, 0)) end end until script.Parent.Parent.CamValue.Value == 0
P.S this is in a local script--- Please help!!! Thank you!