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
 

Need help with a SIMPLE 7 line script

Previous Thread :: Next Thread 
Tuffguy247 is not online. Tuffguy247
Joined: 24 Apr 2014
Total Posts: 22
26 Apr 2014 08:26 PM
In the game I made this campfire model and I added an invisible Part to the model. This script is attached to that part. Inside the part is a fire effect. I want to make it so when the player touches the fire it goes out. This script is not working. The output is printed, but the fire is always visible. Could someone help me?



print 'CampFire Script Start'

local spawnPoint = script.Parent;

function onTouch(spawnPoint)
script.Parent.Fire.Enabled = false;
print("I touched the fire");
end


script.Parent.Touched:connect(onTouch)
Report Abuse
coolmama50544 is not online. coolmama50544
Joined: 06 Aug 2009
Total Posts: 4565
27 Apr 2014 12:03 AM
scripters != scripting helpers
Report Abuse
ajmhm1111 is not online. ajmhm1111
Joined: 22 Jun 2013
Total Posts: 164
27 Apr 2014 01:45 PM
^
nuh

scripters ~= scripting helpers

This is lua boi

--ajmhm1111
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