So, I'm trying to make an alarm that will be pasted throughout the facility I'm making, I have the modeling done but I'm not sure how to do the CFrame. I have so far just a check saying while the alarm active value is equal to true then I would put the CFrame. How would I just straight up spin the alarm. Inside of the model, there is a union called Motor, which I want to spin on its axis. It contains the light inside of it which I know how to toggle through script.
COMMUNITY QUESTION
How do I use CFrame to make an Alarm?
1 answer
Here is a good link : https://developer.roblox.com/en-us/api-reference/datatype/CFrame
I am not going to give the full script but here is what you need to understand:
part = INSERT THE PATH TO THE PART
part.Orientation = CFrame.new( INSERT YOUR CFRAME HERE)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I tried motor.Orientation = motor.Orientation * CFrame.Angles(0,math.rad(10),0) but the alarm is staying stationary.