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: SCRIPT WONT WORK HELP

Previous Thread :: Next Thread 
Firescrew is not online. Firescrew
Joined: 03 Aug 2012
Total Posts: 1484
22 Dec 2013 10:56 PM
Light = Instance.new("PointLight", Torso)
Light.Shadows = true
Light.Range = 0

RunService.Stepped:connect(function()
end)

Mouse.KeyDown:connect(function(key)
if key:lower() == "f" then
if Flashlight == false then
Flashlight = true
Light.Range = 16
script.FlashlightClick:Play()
elseif Flashlight == true then
Flashlight = false
Light.Range = 0
script.FlashlightClick:Play()
end
end
Report Abuse
TheEliteDonphan is not online. TheEliteDonphan
Joined: 16 Jun 2013
Total Posts: 2647
22 Dec 2013 10:57 PM
Mouse.KeyDown:connect(function(key)
if key:lower() == "f" then
if Flashlight == false then
Flashlight = true
Light.Range = 16
script.FlashlightClick:Play()
elseif Flashlight == true then
Flashlight = false
Light.Range = 0
script.FlashlightClick:Play()
end)
end
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
22 Dec 2013 10:57 PM
Plus RunService is nil
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
22 Dec 2013 10:58 PM
[ Content Deleted ]
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
22 Dec 2013 10:59 PM
Missing end) at end of script.
Report Abuse
Firescrew is not online. Firescrew
Joined: 03 Aug 2012
Total Posts: 1484
22 Dec 2013 11:00 PM
STILL DOESNT WORK>..
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
22 Dec 2013 11:02 PM
[ Content Deleted ]
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
22 Dec 2013 11:02 PM
Mouse isnt defined lol

script.Parent.Equipped:connect(function(Mouse) --code end)
Report Abuse
ninjasamuraiux is not online. ninjasamuraiux
Joined: 23 Aug 2011
Total Posts: 5405
22 Dec 2013 11:05 PM
noob remove SWT from your defeated list you never beat them
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
22 Dec 2013 11:06 PM
[ Content Deleted ]
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