{"id":"xyphurrbx/replicatedtweening","name":"replicatedtweening","scope":"xyphurrbx","platform":"roblox","description":"Run client-sided tweens from the server","version":"1.0.3","latest":"1.0.3","versions":["1.0.0","1.0.1","1.0.2","1.0.3"],"license":"GPL-3.0","licenseRating":"unsafe","licenseCaveats":["Strong copyleft: shipping this in your game plausibly requires releasing your game's entire source under GPL-3.0. Not recommended for closed-source projects."],"licenseVerified":true,"dependencies":{},"integrity":"4e46736b12b2fc57966a0f02fec603ecaed751bf43e1b366c7ab2c91a1976da4","likes":0,"downloads":0,"install":"forest install xyphurrbx/replicatedtweening","url":"https://forest.dev/p/roblox/xyphurrbx/replicatedtweening","files":"https://api.forest.dev/ai/package/roblox/xyphurrbx/replicatedtweening/files","readme":"# TweenServiceV2\r\nTweenService V2 efficiently replicates movement between server and client using TweenService\r\nby running the tweens clientside, and then doing a single update server side.\r\n\r\n## Module:GetTweenObject(instance [Instance], TweenInfo [TweenInfo Object], PropertyTable [Table]) [Tween]\r\nParameters are exactly the same as TweenService:Create(), it returns a fake Tween object with Play,\r\nPause and Stop functions.\r\n\r\n### Tween:QueuePlay(Yield [Boolean, optional], Player [Player Object, optional])\r\n\r\nAdd the tween to a tween queue which will start playing the queue automatically immediately after the previous tween on that instance completes. Behaves exactly the same way as Tween:Play() once started, except the initial firing of the tween is managed on the client. For this reason, best practice is to fire this event as close to when you would like it to be played on the client to maintain alignment between tweens. If fired multiple times in a short time frame, this may result in clients becoming out of sync over time.\r\n\r\n## Tween:Play(Yield [Boolean, optional], Player [Player Object, optional])\r\nRuns the tween. The player parameter will only play the tween for that specific player.\r\nThe Yield parameter specifies whether the function should yield until the tween has completed or not.\r\n\r\n### Tween:Stop(Player [Player Object, optional])\r\nStops the tween. The player parameter will only stop the tween for that specific player.\r\n\r\n### Tween:Pause(Player [Player Object, optional])\r\nPauses the tween. The player parameter will only pause the tween for that specific player.\r\n","readmeBorrowedFrom":{"version":"1.0.0","source":"wally"},"readmeTruncated":false}