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: ROBLOX isn't letting me lock first person.

Previous Thread :: Next Thread 
Dralian is not online. Dralian
Joined: 21 Mar 2013
Total Posts: 7624
05 Oct 2014 06:11 PM
Or am I doing it wrong?
Report Abuse
ImperialValor is not online. ImperialValor
Joined: 30 Aug 2014
Total Posts: 2323
05 Oct 2014 06:11 PM
Most likely doing it wrong.
Report Abuse
Dralian is not online. Dralian
Joined: 21 Mar 2013
Total Posts: 7624
05 Oct 2014 06:12 PM
Probably, I don't usually play around with the camera.

Report Abuse
cooldude999921 is not online. cooldude999921
Joined: 13 Aug 2011
Total Posts: 3702
05 Oct 2014 06:12 PM
-- localscript


repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character.Parent == workspace

game.Workspace.Camera.CameraType = "LockFirstPerson"
Report Abuse
cooldude999921 is not online. cooldude999921
Joined: 13 Aug 2011
Total Posts: 3702
05 Oct 2014 06:13 PM
-- localscript in starterGui srry
Report Abuse
Dralian is not online. Dralian
Joined: 21 Mar 2013
Total Posts: 7624
05 Oct 2014 06:14 PM
thought I did that, ffs.

danke.
Report Abuse
Dralian is not online. Dralian
Joined: 21 Mar 2013
Total Posts: 7624
05 Oct 2014 06:19 PM
Didn't work.

Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
05 Oct 2014 06:20 PM
local script needs to be in the startergui/startergear
Report Abuse
Dralian is not online. Dralian
Joined: 21 Mar 2013
Total Posts: 7624
05 Oct 2014 06:22 PM
I did do that.
Report Abuse
Subete is not online. Subete
Joined: 10 Jul 2011
Total Posts: 917
05 Oct 2014 06:23 PM
Just use mine..

LocalScript in StarterGui

wait(3)
local plr = game.Players.LocalPlayer
plr.CameraMode = 0
wait(.1)
plr.CameraMode = 1
wait(.1)
script:Destroy()
Report Abuse
Accomplishable is not online. Accomplishable
Joined: 13 Aug 2009
Total Posts: 6207
05 Oct 2014 06:25 PM
@cool lol'd



"game.Workspace.Camera.CameraType = "LockFirstPerson"


did u have a brain fart?
Report Abuse
Dralian is not online. Dralian
Joined: 21 Mar 2013
Total Posts: 7624
05 Oct 2014 06:25 PM
Thanks.
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