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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: why wont this work?

Previous Thread :: Next Thread 
Interactivity is not online. Interactivity
Joined: 03 Dec 2011
Total Posts: 23738
20 Jul 2014 01:56 PM
attempt of a first person lock script
was made a localscript and put into startergui
why wont it work ingame and only in play solo?

local plr = game.Players.LocalPlayer
local cam = game.Workspace.CurrentCamera
local chr = nil


chr = character
plr.CameraMode = "LockFirstPerson"

while false do
wait()
cam.CameraType = 0
cam.CoordinateFrame = CFrame.new (200,10,0)
cam.Focus = CFrame.new (200,7,500)
cam.FieldOfView = 20

end






i've tried several models from the catalog and duplicated the instructions perfectly and it has the same result:
only works in test mode as opposed to it not working ingame
is there a new property for camera or something?
Report Abuse
Interactivity is not online. Interactivity
Joined: 03 Dec 2011
Total Posts: 23738
20 Jul 2014 02:13 PM
bump

get the shotgun, i'll handle this
Report Abuse
mistaLangston is not online. mistaLangston
Joined: 09 May 2012
Total Posts: 228
20 Jul 2014 02:29 PM
Hmm
Report Abuse
mew903 is not online. mew903
Joined: 03 Aug 2008
Total Posts: 22071
20 Jul 2014 02:32 PM
Several things work in play solo that aren't supposed to online.
It might be a network issue, or maybe the objects in the server didn't load as fast as the objects on your local network when you run play solo.

Also, you might need to set the CameraType to Scriptable in order for this to work. I've never went too in-depth with camera manipulation but every time I've tried I remember needing to do that.
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