|
| 14 Feb 2016 11:32 AM |
How do I make this: while wait() do to RenderStepped? Or I think he said lerp too how do I do that? |
|
|
| Report Abuse |
|
|
| |
|
|
| 14 Feb 2016 01:16 PM |
game:GetService("RunService").RenderStepped:connect(function()
end) |
|
|
| Report Abuse |
|
|
|
| 14 Feb 2016 01:18 PM |
Or you can use heartbeat, which is 1/30 of a second
game:GetService("RunService").HeartBeat:connect(function()
end) |
|
|
| Report Abuse |
|
|
|
| 14 Feb 2016 02:19 PM |
while wait() do camera.CoordinateFrame = CFrame.new(target.Position) --Start at the position of the part * CFrame.Angles(-95, 0, 0) --Rotate by the angle * CFrame.new(0, 0, 25) --Move the camera backwards 5 units end
can you make the wait in that to RenderStepped? |
|
|
| Report Abuse |
|
|
|
| 14 Feb 2016 02:22 PM |
game:GetService('RunService').RenderStepped:connect(function() --code end)
|
|
|
| Report Abuse |
|
|
|
| 14 Feb 2016 02:22 PM |
game:GetService("RunService").RenderStepped:connect(function() camera.CoordinateFrame = CFrame.new(target.Position) --Start at the position of the part * CFrame.Angles(-95, 0, 0) --Rotate by the angle * CFrame.new(0, 0, 25) --Move the camera backwards 5 units end)
#Strikin' |
|
|
| Report Abuse |
|
|
|
| 14 Feb 2016 02:22 PM |
Just don't include the while wait() do
|
|
|
| Report Abuse |
|
|
|
| 14 Feb 2016 03:00 PM |
Sorry guys game:GetService("RunService").RenderStepped:wait() only works in local scripts last time I checked.
You're doing it wrong |
|
|
| Report Abuse |
|
|