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: Changing current camera in a module script not working?

Previous Thread :: Next Thread 
Zx5rc_Alt is not online. Zx5rc_Alt
Joined: 06 Apr 2016
Total Posts: 8
07 Apr 2016 07:52 PM
In a module script, I tried running "game.Workspace.CurrentCamera.CameraSubject = ClndChar.Torso" In test, It seems to work perfectly, however, when I test in Start Server or via the play button, the camera will stay focused on the current player. Is there anything I'm doing wrong?


#code Do I really have to bump this?
Report Abuse
Zx5rc_Alt is not online. Zx5rc_Alt
Joined: 06 Apr 2016
Total Posts: 8
07 Apr 2016 07:53 PM
Forgot to remove the signature from my main. Sorry.


Report Abuse
Zx5rc_Alt is not online. Zx5rc_Alt
Joined: 06 Apr 2016
Total Posts: 8
07 Apr 2016 08:23 PM
Bump.


Report Abuse
Zx5rc_Alt is not online. Zx5rc_Alt
Joined: 06 Apr 2016
Total Posts: 8
08 Apr 2016 03:33 AM
print(Bump[2])


Report Abuse
HexaDecival is not online. HexaDecival
Joined: 13 Dec 2015
Total Posts: 144
08 Apr 2016 03:37 AM
Current Camera is a local thing, only accessible on clients via localscript, sadly they are not replicated to server or other clients
Report Abuse
HexaDecival is not online. HexaDecival
Joined: 13 Dec 2015
Total Posts: 144
08 Apr 2016 03:48 AM
It works in test because in test because ur client and server run on the same instance, however start server and online are not
Report Abuse
HexaDecival is not online. HexaDecival
Joined: 13 Dec 2015
Total Posts: 144
08 Apr 2016 03:49 AM
My phone is high, ignore recursion in my reply
Report Abuse
WoolHat is not online. WoolHat
Joined: 19 May 2013
Total Posts: 1873
08 Apr 2016 05:34 AM
Make sure a localscript is requiring the module script.
Report Abuse
Zx5rc_Alt is not online. Zx5rc_Alt
Joined: 06 Apr 2016
Total Posts: 8
08 Apr 2016 08:41 AM
Woolhat, "in test, It seems to work perfectly" I already run require anyway.


Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
08 Apr 2016 09:10 AM
He's saying make sure you require it with a LOCAL script.
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