How to implement a tween here?

Hello,

i want to implement a tween to that dropperscript.
The part shouldn’t just appear, he should tween to the conveyor and bounce there (EasingStyle Bounce ig)
But I have no idea on how to implement that to the current script.

wait(2)
workspace:WaitForChild("PartStorage")



meshDrop = true
--------------------
-- Mesh Settings: -- [If you want a mesh drop, set meshDrop to true up on top.]
-- Look at the mesh properties and change the inside of the quotes below to the appropriate
-- full link or the rbxasset:// style, doesnt matter which one you see in the mesh you want

meshID = "rbxassetid://8967322861"  
textureID = "http://www.roblox.com/asset/?id=6948954192"
--------------------
local Owner = script.Parent.Parent.Parent.Owner

repeat wait() until Owner.Value


while true do
    local Player = game:GetService("Players"):FindFirstChild(Owner.Value.Name)
    local RebirthMultiplier1 = Player.leaderstats.Rebirths.Value * 0.25
    local RebirthMultiplier = 5 * RebirthMultiplier1
    wait(1.4) -- How long in between drops
    local part = Instance.new("Part",workspace.PartStorage)
    --part.BrickColor=script.Parent.Parent.Parent.DropColor.Value
    --part.Material=script.Parent.Parent.Parent.MaterialValue.Value
    local cash = Instance.new("IntValue",part)
    cash.Name = "Cash"
    if RebirthMultiplier <0.25 then cash.Value = 5 else cash.Value = 5 + RebirthMultiplier end
    part.CFrame = script.Parent.Drop.CFrame - Vector3.new(0,5,0)
    part.FormFactor = "Custom"
    part.Size=Vector3.new(1.79, 3.536, 1.804) -- Size of the drops
    if meshDrop == true then
        local m = Instance.new("SpecialMesh",part)
        m.MeshId = meshID
        m.TextureId = textureID
    end
    part.TopSurface = "Smooth"
    part.BottomSurface = "Smooth"
    part.CollisionGroupId = 1
    game.Debris:AddItem(part,20) -- How long until the drops expire
end
1 Like

Hello :wave:,
are you still having problem(s) with this?
Could you describe (better) what you wanna‘ reach?
Thanks