Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Recent Roblox Update Removed Interpolate?

Asked by
Synth_o 136
5 years ago

I have checked on the dev website, and they said that they removed interpolate, and that broke the shop in one of my games, so what would I use as a substitute for interpolate?

1 answer

Log in to vote
2
Answered by 5 years ago
Edited 5 years ago

HEY!! ITS YOU AGAIN!!!!! Anyways, Interpolate isn't removed, instead it is edited to stop working its current code ever since new code was posted, (as said in a thread...) ANyWAYS!!! We could always use tween info and camera.CoordinateFrame or CFrame to fix this: Here are a couple of posts that might interest you / help you.

Oh by the way, I normally use lerp.

camera.CFrame = camera.CFrame:lerp(stuff)

You can also try this but it isn't a good example:

local a = 100
repeat wait(.1) a = a - 1  camera.CFrame = camera.CFrame + CFrame.new(0,0,1) until a < 1

Here is another method you can use:

Method 1 Method 2

Ad

Answer this question