Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there a parameter to override the TweenService:Create(), is there a way to make one?

Asked by 4 years ago
Edited 4 years ago

The title says it all, suppose someone made made a placement system to tween a model and wanted a smooth tween, they would use something like this to make it smooth at first...

local function tween(Part,Position)
    local TweenService = game:GetService("TweenService")
    local goal = {}
    goal.Position = Position
    local tweenInfo = TweenInfo.new(5)
    local tween = TweenService:Create(Part, tweenInfo, goal)
    return tween:Play()
end

but then every time they move their mouse, the model lags and tweens to the previous mouse position, is there a way I can override it?

0
Tween:Pause, Tween:Stop theking48989987 2147 — 4y

Answer this question