I'm trying to make a 2D game but I can't make the pointlight work. In studio I see the light where I put it, but then when I playtest, it's gone. What keeps happening? Here is the script I'm using for the camera.
local player = game.Players.LocalPlayer local camera = workspace.CurrentCamera player.CharacterAdded:Wait() player.Character:WaitForChild("HumanoidRootPart") camera.CameraSubject = player.Character.HumanoidRootPart camera.CameraType = Enum.CameraType.Attach camera.FieldOfView = 40 game:GetService('RunService').Stepped:Connect(function() camera.CFrame = CFrame.new(player.Character.HumanoidRootPart.Position) * CFrame.new(0,0,24) end)