So like the title says i need to tween something in a certain direction, which is upwards in this case. The size does tween properly as i need it to but i have no idea how to make it go upwards only, instead of that it goes both upwards and downwards so the hand of the character which should be at the bottom of the enlarged object is actually in the middle. Here's the script, first tween is the one i need to go in a certain direction.
wait()
script.Parent.OnServerEvent:Connect(function(player,tool)
local sword = tool.SwordMesh
local handle = tool.Handle
local blade = tool.Blade
local weld = handle.Weld
local TweenService = game:GetService("TweenService")
local TweenInform1 = TweenInfo.new(
1.5,
Enum.EasingStyle.Quad,
Enum.EasingDirection.Out,
0,
false,
0
)
local properties = {
Size = Vector3.new(56,75,9);
Transparency = 0;
}
local Tween = TweenService:Create(sword,TweenInform1,properties)
Tween:Play()
local TweenInform3 = TweenInfo.new(
1.5,
Enum.EasingStyle.Quad,
Enum.EasingDirection.Out,
0,
false,
0
)
local properties3 = {
Size = Vector3.new(100,10,10.6);
Transparency = 1;
}
local Tween3 = TweenService:Create(blade,TweenInform3,properties3)
Tween3:Play()
end)

1 comment
I was too slow :)