Trying to move a model with TweenService but this script doesn't work. I don't want to do an action for every object in the model since there are a lot of them. how do i just make my model move from its position to the position of the other model "islandend"
local Prox = script.Parent
local TweenService = game:GetService("TweenService")
local Tweeninfo = TweenInfo.new(5, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out)
local TweenToEnd = TweenService:Create(game.Workspace.Island, Tweeninfo, {Position = game.Workspace.Islandend.Position})
local TweenToEnd2 = TweenService:Create(game.Workspace.Island, Tweeninfo, {Orientation = game.Workspace.Islandend.Orientation})
Prox.Triggered:Connect(function()
TweenToEnd:Play()
TweenToEnd2:Play()
end)
note that this script works for individual parts, but not for models