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
 

I cant find anything wrong with this?

Previous Thread :: Next Thread 
unlimitedknives is not online. unlimitedknives
Joined: 26 Dec 2012
Total Posts: 284
16 Apr 2013 07:32 PM
Output: 20:31:23.933 - Workspace.Part.Script:6: attempt to index global 'part' (a nil value)
20:31:23.934 - Script "Workspace.Part.Script", Line 6
20:31:23.935 - stack end

Script:

while true do


part.Transparency = 1
wait(5)
part.Anchored = true
wait(3)
part.Transparency = 0
print("I did it!")
end
Report Abuse
chaoticregandpledge is not online. chaoticregandpledge
Joined: 04 Dec 2009
Total Posts: 2894
16 Apr 2013 07:35 PM
"Part" is nil because it was never declared as a variable.

http://www.roblox.com/Innocent-place?id=56780928 ~ Innocence
Report Abuse
unlimitedknives is not online. unlimitedknives
Joined: 26 Dec 2012
Total Posts: 284
16 Apr 2013 07:38 PM
Oh, thanks! :D I'll try that now!
Report Abuse
unlimitedknives is not online. unlimitedknives
Joined: 26 Dec 2012
Total Posts: 284
16 Apr 2013 07:40 PM
That is epic! Thank you! I didnt even see the script work, I wasent looking, but I know it works cuz it says in the output: I did it!
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