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 » Scripting Helpers
Home Search
 

Re: Camera white screen help!

Previous Thread :: Next Thread 
tehepicford is not online. tehepicford
Joined: 26 Aug 2011
Total Posts: 1486
29 Feb 2012 04:12 PM
yVal = Char.Head.Position.y
xVal = Char.Head.Position.x
zVal = Char.Head.Position.z
for pos=0, 2, .01 do -- First Position and figure
Cam.Focus = CFrame.new(xVal,yVal,zVal)
Cam.CoordinateFrame = CFrame.new(xVal,yVal,zVal)
wait(0.002) -- We add this so the animation is smooth and does not finish instantly.
end

Char is game.Players.LocalPlayer.Character

But I just get a white screen!
Report Abuse
Ronnie124 is not online. Ronnie124
Joined: 26 Nov 2009
Total Posts: 694
29 Feb 2012 04:16 PM
Usually when you get a white screen, it can be the cause of either too much force on your player, causing the camera to break.

Make sure it is in a LocalScript and I would change the Vals to the CFrame, not the position because you use CFrame on the CoordinateFrame.

The wait() only supports a number as low as (0.01) so using "wait()" is the default low, so just use that.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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