yes i did play it, and when i try changing the Position to CFrame i get the error as stated in the title. ` MoveDist1 = MovePosition.Position
local Goal1 = {}
Goal1.CFrame = MoveDist1
local MoveGoalTweenInfo = TweenInfo.new(
8,
Enum.EasingStyle.Sine,
Enum.EasingDirection.In,
0,
false,
0
)
local MoveTween = TweenService:Create(Puddle, MoveGoalTweenInfo, Goal1)`
MoveDist1 = MovePosition.Position
local Goal1 = {}
Goal1.Position = MoveDist1
local MoveGoalTweenInfo = TweenInfo.new(
8,
Enum.EasingStyle.Sine,
Enum.EasingDirection.In,
0,
false,
0
)
local MoveTween = TweenService:Create(Puddle, MoveGoalTweenInfo, Goal1)`
alright so i already typed that already, also in fact im trying to make it CFrame to hopes for fixing another problem im having.
What is the other problem you are having?
mind if i share the script im having a problem with.
Note: it doesn’t have any errors
the other problem is that this script did work for keeping them connected but messed up the positions the puddle tweens to like being offset or going further than the actual position,
anyway here is the script local Fin = script.Parent.Parent.SharkFin local Puddle = script.Parent while wait(0) do Fin.CFrame = CFrame.new(Puddle.Position) + Vector3.new(0,1,0) Fin.Orientation = Puddle.Orientation end
so do you know any solutions to the code i sent rn?
It seems that the goal you’re setting to the CFrame is a Vector3, not a CFrame.
Could you please share a larger portion of your code? Specifically where you define Goal1?
there isn’t an exact problem, its basically that if you seen my last two replies to the other person it should explain the actual problem
My apologies, I did not see you added the code before (since it was not formatted)
That is the issue. You try to set the CFrame to MoveDist1, which is a Vector3.
Position is a Vector3, not CFrame.
You should do:
MoveDist1 = MovePosition.CFrame
local Goal1 = {}
Goal1.CFrame = MoveDist1