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
 

Works in solo, but not multiplayer.

Previous Thread :: Next Thread 
Truste135 is not online. Truste135
Joined: 26 Oct 2010
Total Posts: 741
19 Nov 2013 10:44 AM
Hi, I built a first person script, but it wont work in multiplayer.

for i, player in ipairs(game.Players:GetPlayers()) do
if player.Character then
local hum = player.Character:FindFirstChild('Humanoid')
if hum then
game.Players[player.Name].CameraMode = "LockFirstPerson"
end
end
end
Report Abuse
breuning is not online. breuning
Joined: 30 Oct 2008
Total Posts: 4268
19 Nov 2013 10:46 AM
the script probably runs before there are any players in the game
Report Abuse
Truste135 is not online. Truste135
Joined: 26 Oct 2010
Total Posts: 741
19 Nov 2013 10:48 AM
ohhhh
ohhhhhhhhh
ohhhhhhhhhhhhhhhhhhhhhhhh
OHHHHHHHHHHHHHHHHHHHHH

know i know how to fix this
Report Abuse
Scriptural is not online. Scriptural
Joined: 06 Sep 2013
Total Posts: 2979
19 Nov 2013 10:53 AM
You can't edit the camera in a non lock script
Report Abuse
DaMrNelson is not online. DaMrNelson
Joined: 27 Jul 2009
Total Posts: 4405
19 Nov 2013 11:24 AM
You have to change CameraMode in a LocalScript.

Wiki Profile: http://wiki.roblox.com/index.php/User:Nelson
Report Abuse
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
19 Nov 2013 11:32 AM
@OP Can you send me a message of your working script? Mine only works for solo mode as well :/
Report Abuse
REM25 is not online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
19 Nov 2013 06:00 PM
Someone help me to make the fps lock work for online mode!
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