|
| 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 |
|
|
| 27 Apr 2014 12:03 AM |
| scripters != scripting helpers |
|
|
| Report Abuse |
|
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 |
|