You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want to make the orientation rotate on the Y axis so it rotates to this side ← -
What is the issue? Include screenshots / videos if possible!
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tried reading the devforum and tried using cframe.toangles it didn’t work but instead moved the position.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
function onClicked()
local tweenservice = game:GetService("TweenService")
local tweenspeed = 2 --Tweening speed
local tweeninfo = TweenInfo.new(tweenspeed,Enum.EasingStyle.Linear,Enum.EasingDirection.In)
local tweengoal = {Orientation = Vector3.new(0, 30, 0)} --Your position goes here
for i = 1, 10 do
local tweenpart = game.Workspace.MainStudio.FastestFingers["Cont" .. i].Part
local tween = tweenservice:Create(tweenpart,tweeninfo,tweengoal)
tween:Play()
end
end