hyrumcoop
|
  |
| Joined: 21 Mar 2009 |
| Total Posts: 618 |
|
|
| 29 Jun 2011 07:31 AM |
I'm making a plant script, and I think everything is fine with it, but it is not working! The only thing that shows in the output is that the script is running. I changed the value of Plant and Water in a test run, but it still doesn't work! Here is the code:
wait(1) print("Running") script.Parent.Plant.Changed:connect(function() print(1, 1) if script.Parent.Plant.Value == true then print(1, 2) script.Parent.Transparency = 0 end end)
script.Parent.Water.Changed:connect(function() print(2, 1) if script.Parent.Water.Value == true then print(2, 2) local FirstPos = script.Parent.Position script.Parent.Material = Enum.Material.Grass for Int = 2, 3, 1 do print(2, 3) wait(script.Parent.Parent.Parent.WaitTime.Value) script.Parent.Size = Vector3.new(Int, Int, Int) script.Parent.BrickColor = BrickColor.new("Bright green") end script.Parent.Finished.Value = true end end)
All of the values are in place. |
|
|
| Report Abuse |
|
hyrumcoop
|
  |
| Joined: 21 Mar 2009 |
| Total Posts: 618 |
|
|
| 29 Jun 2011 07:48 AM |
| Oops. Let this post die out, I noticed I didn't post it in scripting helpers. |
|
|
| Report Abuse |
|