The code (server script):
local TweenService = game:GetService("TweenService") local PickupTweenInfo = TweenInfo.new( .3, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0, false, 0) local FinishingLocation = char.HumanoidRootPart local Tween = TweenService:Create(item, PickupTweenInfo, { Transparency == 1,Size == Vector3.new(0,0,0),CFrame = FinishingLocation }) Tween:Play()
Can somebody explain and solve this for me?
HumanoidRootPart must add .CFrame Changed :
local Tween = TweenService:Create(item, PickupTweenInfo, { Transparency == 1,Size == Vector3.new(0,0,0),CFrame = FinishingLocation.CFrame }) Tween:Play()