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: Player light?

Previous Thread :: Next Thread 
MidnightMigrane is not online. MidnightMigrane
Joined: 11 Dec 2013
Total Posts: 184
23 May 2014 01:09 PM
A script that makes the player have light when he walks around.
Report Abuse
MidnightMigrane is not online. MidnightMigrane
Joined: 11 Dec 2013
Total Posts: 184
23 May 2014 01:44 PM
Bump
Report Abuse
Kingmouli is not online. Kingmouli
Joined: 28 Sep 2012
Total Posts: 1292
23 May 2014 01:50 PM
Please give more informations
Report Abuse
DarkheartSkillz is not online. DarkheartSkillz
Joined: 30 Sep 2011
Total Posts: 5125
23 May 2014 01:52 PM
Use a local script that's inserted in the player..

Instance.new("PointLight", game.Players.LocalPlayer)
Report Abuse
DarkheartSkillz is not online. DarkheartSkillz
Joined: 30 Sep 2011
Total Posts: 5125
23 May 2014 01:53 PM
Sorry, I meant..


Instance.new("PointLight", game.Players.LocalPlayer.Character)
Report Abuse
Nyxis is not online. Nyxis
Joined: 15 Nov 2012
Total Posts: 3374
23 May 2014 01:53 PM
a PointLight wouldn't be visible inside a Player. >_>

It has to be inside a brick.. as far as I know.
Report Abuse
Nyxis is not online. Nyxis
Joined: 15 Nov 2012
Total Posts: 3374
23 May 2014 01:54 PM
oh ok.. lol
Report Abuse
DarkheartSkillz is not online. DarkheartSkillz
Joined: 30 Sep 2011
Total Posts: 5125
23 May 2014 01:54 PM
Instance.new("PointLight", game.Players.LocalPlayer.Character.Head)


happy?
Report Abuse
Nyxis is not online. Nyxis
Joined: 15 Nov 2012
Total Posts: 3374
23 May 2014 01:54 PM
ya
Report Abuse
Kingmouli is not online. Kingmouli
Joined: 28 Sep 2012
Total Posts: 1292
23 May 2014 01:55 PM
In a script

game.Players.PlayerAdded:connect(function(p)
p.CharacterAdded:connect(function(c)
p = Instance.new("Point Light", c.Torso)
end)
end)
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