Excuse any lag, I don’t have the best pc.
Can you send me the script you used?
local goal1 = {}
goal1.Position = Vector3.new(0,3,0)
local goal2 = {}
goal2.Position = Vector3.new(50,50,50)
while wait(10) do
script.Parent.Position = goal1.Position
wait(5)
script.Parent.Position = goal2.Position
end
Thank you let me try it out real quick. Ill update you
1 Like
You’re not inserting an object, which is root
in this case (or the BodyGyro), as the first parameter. Instead, you did root1
, which is a CFrame of a BodyGyro.
I tried it out and again doesnt seem to work.
I don’t know if this will fix it, but I usually use this simple function that makes tweening a lot easier:
local function Tween(Object, Time, Customization, style, dir)
game:GetService("TweenService"):Create(Object, TweenInfo.new(Time,style,dir), Customization, true):Play()
end
so using this would look like
Tween(part,1,{Position = Vector3.new(0,0,0)},Enum.EasingStyle.Linear,Enum.EasingDirection.Out)
(Example, you’d have to change to work for your situation)