What im trying to do is to make this model spin RIGHT, but for some reason its saying CFrame is not a valid member of Gear1 (or says in error, model)

So heres the code... 1 SpinSpeed = .5 2 3 while true do 4 script.Parent.CFrame = script.Parent.CFrame * CFrame.new (0, 0, 5) * CFrame.fromEulerAnglesXYZ (0, ""..SpinSpeed.."", 0) --it says here that CFrame is not a valid member of Model 5 wait (.1) 6 end

3 comments

0

Well first off, you don't need the quotes and concatenation around SpinSpeed since it's a numerical value. Secondly, you can't access CFrame through a model. Are you sure that the path leads to a part, not a model?

0

Please put your code in a code block to make it easier to read.