how to fix this tweenservice laggy?
https://gyazo.com/49b7ecc6cab3fdd21239a077c50339fc
local tweenInfos = TweenInfo.new(
0.4,
Enum.EasingStyle.Quint,
Enum.EasingDirection.In,
0,
false,
0
)
local goals = {CFrame = rootpart.CFrame * CFrame.new(0,1.5,-2.5)}
local tweens = tweenservice:Create(standrootpart, tweenInfos, goals)
tweens:Play()
KeeganwBLK
(KeeganwBLK)
2
Might be because of the tweenInfo table.
local tweenInfos = TweenInfo.new(
0.4,
)
local goals = {CFrame = rootpart.CFrame * CFrame.new(0,1.5,-2.5)}
local tweens = tweenservice:Create(standrootpart, tweenInfos, goals)
tweens:Play()
kalabgs
(FartFella)
3
is the rootpart anchored? make sure it is
If the problem is the actual performance, then I suggest you make it clientsided, with a localscript handling the actual tweening.
2 Likes