Why this happened?

There are some interruptions in the Tween Animation and I feel that there is a lag, but everything is fine. I tried to check how many times the script is sent, and only once, meaning there is no resistance in the Tween animation

look at the ping:

Code:

self.Janitor:Add(Button.MouseEnter:Connect(function()
	if self:IsFreeze() then
		return
	end
	
	TweenUtility.PlayTween(Main, Effect, 
		{
			Position = MainPosition + UDim2.fromScale(0, -.2),
			Rotation = math.random(-10, 10)
		})
end))
	
self.Janitor:Add(Button.MouseLeave:Connect(function()
	TweenUtility.PlayTween(Main, Effect, 
		{
			Position = MainPosition,
			Rotation = 0
		})
end))

Note: i’m using tween in server-side

1 Like

u kind of just, answered this already somehow lol

it’s the nature of model boundary, basically when u let the server do it’s job with visuals, it’ll move based on latency of the network and the resources it had available, from what i see here comes from tick rate of the server which feels like it’s throttling, server shouldn’t do this so instead of using server, you’ll have to tween that on client, server isn’t rlly designed to handle visuals like this at all

1 Like

No i get it

There is an VFX that falls over the head that causes lag because it is very close to the camera, and this is why it causes lag.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.