|
| 02 Jul 2015 08:00 PM |
Why does this keep outputting 1? Can you please post a fixed version of this? Thanks!
local children = script.Parent:GetChildren() while wait(.5) do for i = 1,10 do local CurrFrame = script.Parent:FindFirstChild("Frame"..i) local PrevFrame = script.Parent:FindFirstChild("Frame"..i-1) if not CurrFrame == script.Parent.Frame1 then --*Transparency stuff (not important)* print(i) elseif CurrFrame == script.Parent.Frame1 then --*Again more transparency stuff (not important)* print(i) end end end
-inception101 (Trade,Development,Design) |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2015 08:05 PM |
bump
-inception101 (Trade,Development,Design) |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2015 08:06 PM |
bumpp
-inception101 (Trade,Development,Design) |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2015 08:07 PM |
bumppp
-inception101 (Trade,Development,Design) |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2015 08:08 PM |
bumpppp
-inception101 (Trade,Development,Design) |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2015 08:57 PM |
| How many times does it print 1? One time? Ten times? |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2015 09:39 PM |
bumppppp
-inception101 (Trade,Development,Design) |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2015 09:42 PM |
if not CurrFrame == script.Parent.Frame1 then
shoudl be
if not (CurrFrame == script.Parent.Frame1) then
I think it is saying
if (not true) == (true) then
instead of
if not (true == false) then
|
|
|
| Report Abuse |
|
|