How would i make a moving spot light?

Hello!

I wanna make a spotlight with a bit more action. Something like this, but smoother:

spotlight

I heard about EulerAngles and stuff like that, but i don’t know how it works. Is there a better way to do this? Thanks!

1 Like

You should make use of the TweenService. CFrame.Angles to move the PrimaryPart of the Model.

For Example:

local tween = TweenService:Create(Part, tweenInfo, {CFrame = Part.CFrame*CFrame.Angles(math.rad(20),math.rad(20),math.rad(20))
1 Like

This is what i was looking for, thanks!

1 Like

The best way I know is to use tween service.

1 Like