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
 

Help with this script?

Previous Thread :: Next Thread 
JoBruin is not online. JoBruin
Joined: 19 Feb 2012
Total Posts: 5092
09 Mar 2014 08:22 PM
Its a first person script. Im not skilled with scripts to. When I spawn I spawn in 3rd person.

local Player = game.Players.LocalPlayer

wait()
Player.CameraMode = "Classic"
wait()
Player.CameraMode = "LockFirstPerson"
Report Abuse
thered28 is not online. thered28
Joined: 25 Aug 2009
Total Posts: 123
09 Mar 2014 08:32 PM
Not very familiar with this but i believe it would be like this:

local Player = game.Players.LocalPlayer

while true do

wait()
Player.CameraMode = "Classic"
wait()
Player.CameraMode = "LockFirstPerson"
end
Report Abuse
Drybones3363 is not online. Drybones3363
Joined: 16 Aug 2013
Total Posts: 1547
09 Mar 2014 08:45 PM
Add a wait
U don't want a loop w/o a wait
Report Abuse
dave2011 is not online. dave2011
Joined: 02 Oct 2010
Total Posts: 10581
09 Mar 2014 08:48 PM
there is a wait @drybones...
Report Abuse
Drybones3363 is not online. Drybones3363
Joined: 16 Aug 2013
Total Posts: 1547
09 Mar 2014 08:49 PM
A wait without a time yes
U need to wait a time
Report Abuse
ayub32 is not online. ayub32
Joined: 27 Dec 2009
Total Posts: 485
09 Mar 2014 08:51 PM
Maybe it's


local Player = game.Players.LocalPlayer

wait()
Player.CameraMode = Enum.Classic
wait()
Player.CameraMode = Enum.LockFirstPerson
Report Abuse
NotsoPenguin is not online. NotsoPenguin
Joined: 26 Jan 2014
Total Posts: 37
09 Mar 2014 08:51 PM
wait() does wait...It defaults to 0.029999999999999999 seconds/one frame.
Report Abuse
Drybones3363 is not online. Drybones3363
Joined: 16 Aug 2013
Total Posts: 1547
09 Mar 2014 08:51 PM
I didn't know that
Whoops
Report Abuse
JoBruin is not online. JoBruin
Joined: 19 Feb 2012
Total Posts: 5092
09 Mar 2014 08:58 PM
No workie.
Report Abuse
JoBruin is not online. JoBruin
Joined: 19 Feb 2012
Total Posts: 5092
09 Mar 2014 09:15 PM
Help??
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