What do you want to achieve? Keep it simple and clear!
So i can’t understand how do i tween and rotate a model
What is the issue? Include screenshots / videos if possible!
No idea how to do that
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I tryed to look for solutions, but didn’t understand a lot
My tweening code:
local RoadObject = game.Workspace.RoadButton.Model.Road
local Grass = game.Workspace.RoadButton.Road.Grass
local TweenService = game:GetService("TweenService")
local TweenInfo1 = TweenInfo.new(
4,
Enum.EasingStyle.Linear,
Enum.EasingDirection.Out,
-1,
true,
0
)
local tween = TweenService:Create(RoadObject,TweenInfo1, {Position = Vector3.new(-177.506, 2.4, 362.461)})
tween:Play()
Rotate Script:
local RoadObject = game.Workspace.RoadButton.Model.Road
local rotate = 180
while true do
rotate = rotate + 1
RoadObject.Orientation = Vector3.new(0,rotate,0)
wait(0.05)
end