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 » Scripters
Home Search
 

Re: Script Fix

Previous Thread :: Next Thread 
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
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
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
02 Jul 2015 08:05 PM
bump


-inception101 (Trade,Development,Design)
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
02 Jul 2015 08:06 PM
bumpp


-inception101 (Trade,Development,Design)
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
02 Jul 2015 08:07 PM
bumppp


-inception101 (Trade,Development,Design)
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
02 Jul 2015 08:08 PM
bumpppp


-inception101 (Trade,Development,Design)
Report Abuse
BreaktheSilence is not online. BreaktheSilence
Joined: 13 Jan 2011
Total Posts: 599
02 Jul 2015 08:57 PM
How many times does it print 1? One time? Ten times?
Report Abuse
inception101 is not online. inception101
Joined: 19 Dec 2010
Total Posts: 738
02 Jul 2015 09:39 PM
bumppppp


-inception101 (Trade,Development,Design)
Report Abuse
cody123454321 is not online. cody123454321
Joined: 21 Nov 2009
Total Posts: 5408
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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