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: Whats wrong with this script??

Previous Thread :: Next Thread 
DominusPrimus is not online. DominusPrimus
Joined: 24 Oct 2013
Total Posts: 878
26 Jul 2014 12:23 PM
OnPlayerEntered()
wait(1)
game.Lighting.FogEnd = 200
print("Happy go larry")
game.Lighting.FogStart = 1
print("Happy go harry")
game.Lighting.TimeOfDay = 03
print("Happy go marry")
game.Lighting.FogColor = 225, 255, 255
game.Players.CameraMode = LockedFirstPerson

Nothing works. Please use your SH magwick. Thanks!
[:TDP:] Add 1.9k to my post count
Report Abuse
GiraffeRaging is not online. GiraffeRaging
Joined: 12 Sep 2010
Total Posts: 1861
26 Jul 2014 12:29 PM
game.Players.PlayersAdded:connect(function()
wait(1)
game.Lighting.FogEnd = 200
print("Happy go larry")
game.Lighting.FogStart = 1
print("Happy go harry")
game.Lighting.TimeOfDay = 03
print("Happy go marry")
game.Lighting.FogColor = 225, 255, 255
game.Players.CameraMode = LockedFirstPerson
end)

Try that?
Report Abuse
DominusPrimus is not online. DominusPrimus
Joined: 24 Oct 2013
Total Posts: 878
26 Jul 2014 12:33 PM
No, doesn't work.
[:TDP:] Add 1.9k to my post count
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
26 Jul 2014 12:36 PM
game.Players.PlayerAdded:connect(function(p)
wait(1)
game.Lighting.FogEnd = 200
print("Happy go larry")
game.Lighting.FogStart = 1
print("Happy go harry")
game.Lighting.TimeOfDay = 03
print("Happy go marry")
game.Lighting.FogColor = Color3.new(225, 255, 255)
p.CameraMode = "LockedFirstPerson"
end)
Report Abuse
DominusPrimus is not online. DominusPrimus
Joined: 24 Oct 2013
Total Posts: 878
26 Jul 2014 12:45 PM
Mkay. The first person still doesn't work, but it the rest of it does.
Also, and soon as I do go First person, the fog glitches and it all goes white!
Report Abuse
filiptibell is not online. filiptibell
Joined: 10 Mar 2013
Total Posts: 2362
26 Jul 2014 12:46 PM
game.Players.PlayerAdded:connect(function(p)
wait(1)
game.Lighting.FogEnd = 200
print("Happy go larry")
game.Lighting.FogStart = 1
print("Happy go harry")
game.Lighting.TimeOfDay = 03
print("Happy go marry")
game.Lighting.FogColor = Color3.new(225, 255, 255)
p.CameraMode = Enum.CameraMode.LockFirstPerson
end)

~The herp lerped a derp~
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
26 Jul 2014 12:48 PM
It goes white because you set the fog to white...
Report Abuse
DominusPrimus is not online. DominusPrimus
Joined: 24 Oct 2013
Total Posts: 878
26 Jul 2014 12:49 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