I want to make a cinema to make a light follow a person is it possible and how would you do it?
1 Like
You want to insert a SpotLight instance into a part (your ceiling light) and write a script where the part looks at a specific characters PrimaryPart as an example. You can make a part face another by doing the following:
local part1 = game.Workspace:FindFirstChild("Part1")
local part2 = game.Workspace:FindFirstChild("Part2")
if part1 and part2 then
part1.CFrame = CFrame.new(part1.Position, part2.Position)
end