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: Question

Previous Thread :: Next Thread 
EarthKingIV is not online. EarthKingIV
Joined: 02 Apr 2011
Total Posts: 2376
26 Dec 2016 11:20 AM
Why do you need the print(part.Name) in this script, I tried with and without and both have same results, so why does wiki tell me to have it

function hi (part)
print(part.Name)
sparkles = Instance.new("Sparkles")
sparkles.Parent = part

end
sparkPart = game.workspace.spark
sparkPart.Touched:connect(hi)


and

function hi (part)
sparkles = Instance.new("Sparkles")
sparkles.Parent = part

end
sparkPart = game.workspace.spark
sparkPart.Touched:connect(hi)


Report Abuse
GGGGG14 is not online. GGGGG14
Joined: 29 Jan 2012
Total Posts: 25344
26 Dec 2016 11:21 AM
It's a method of determining bugs in code. You use prints to see if something exists or to verify that something is ready to be interactable.
Report Abuse
EarthKingIV is not online. EarthKingIV
Joined: 02 Apr 2011
Total Posts: 2376
26 Dec 2016 11:47 AM
thanks
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