This script isn't working. It was supposed to rotate a model but it did nothing. Can you help me? Here's the script:
1 | while true do |
2 | wait( 0.2 ) |
3 | game.Workspace.Mudkip:TranslateBy(Cframe.new( 0 , 0 , 0.5 )) |
4 | end |
You need to do it:
1 | while true do |
2 | wait( 0.2 ) |
3 | game.Workspace.Mudkip.CFrame = game.Workspace.Mudkip.CFrame * CFrame.fromEulerAnglesXYZ(Cframe.new( 0 , 0 , 0.5 ) |
4 | end |