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 » Scripters
Home Search
 

Re: How would i enable light shadows in this script?

Previous Thread :: Next Thread 
RedRelic is not online. RedRelic
Joined: 27 Mar 2011
Total Posts: 465
12 Dec 2015 10:21 PM
Script Below


local repPart = Instance.new("Part")
repPart.Position = tool.Barrel.Position
local light = tool.Handle.Lampy:clone()
light.Enabled = true
light.Range = 8
light.Parent = repPart
light.Brightness = 4000
repPart.FormFactor = "Custom"
repPart.Size = Vector3.new(0.2,0.2,0.2)
repPart.Transparency = 0
repPart.Anchored = true
repPart.CanCollide = false


Would it be
light.shadow = true
Report Abuse
QuintinityZero is not online. QuintinityZero
Joined: 01 Oct 2008
Total Posts: 10618
12 Dec 2015 10:22 PM
light.Shadows = true

http://wiki.roblox.com/index.php?title=API:Class/Light/Shadows
Report Abuse
RedRelic is not online. RedRelic
Joined: 27 Mar 2011
Total Posts: 465
12 Dec 2015 10:22 PM
Thanks
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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