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