Skip to content

TweenService

The TweenService library is used as a way to reduce server stress by moving tweens to the client and only performing a property change in the server.
Scripting using this library is the same as scripting with the regular TweenService. In fact, if you use Delta.TweenService in your code, you can modify DeltaServer to reference this library instead and no code changes would be required beyond that.


Variables

  • Cache: table used to cache tween states

Functions

Replicate(Id, State | bool)

Replicates a state change in the tween with the specified id.

Create(Object | Instance, Info | TweenInfo, Properties | table)

Creates a Tween on the specified object with the specified info and target properties.

TweenService:Create(workspace, TweenInfo.new(5), { Gravity = 100 }):Play()
Back to top