generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: how u werk?

Previous Thread :: Next Thread 
2sp00ky4y0u is not online. 2sp00ky4y0u
Joined: 23 Jul 2014
Total Posts: 97
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
2sp00ky4y0u is not online. 2sp00ky4y0u
Joined: 23 Jul 2014
Total Posts: 97
14 Feb 2016 01:02 PM
anyone?
Report Abuse
super10099 is not online. super10099
Joined: 30 Jan 2010
Total Posts: 1102
14 Feb 2016 01:16 PM
game:GetService("RunService").RenderStepped:connect(function()


end)
Report Abuse
super10099 is not online. super10099
Joined: 30 Jan 2010
Total Posts: 1102
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
2sp00ky4y0u is not online. 2sp00ky4y0u
Joined: 23 Jul 2014
Total Posts: 97
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
cheesecake123456 is not online. cheesecake123456
Joined: 01 Jun 2009
Total Posts: 1529
14 Feb 2016 02:22 PM
game:GetService('RunService').RenderStepped:connect(function()
--code
end)


Report Abuse
ElectoStriking is not online. ElectoStriking
Joined: 10 May 2014
Total Posts: 1547
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
cheesecake123456 is not online. cheesecake123456
Joined: 01 Jun 2009
Total Posts: 1529
14 Feb 2016 02:22 PM
Just don't include the while wait() do


Report Abuse
Protoduction is not online. Protoduction
Joined: 27 Jul 2012
Total Posts: 1054
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image