|
| 27 Aug 2015 03:11 PM |
local face = head:FindFirstChild("Face") if face then face.Transparency = 1 face:Destroy() end |
|
|
| Report Abuse |
|
|
FiveCakes
|
  |
| Joined: 15 Feb 2012 |
| Total Posts: 5604 |
|
|
| 27 Aug 2015 03:11 PM |
| It would be local face = head:FindFirstChild("Decal") |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2015 03:12 PM |
| no the name of the decal is "face" |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2015 03:12 PM |
| The face is probably called "face" (no quotes), also, why would change the Transparency to one if you're just gonna delete it anyway? |
|
|
| Report Abuse |
|
|
FiveCakes
|
  |
| Joined: 15 Feb 2012 |
| Total Posts: 5604 |
|
|
| 27 Aug 2015 03:13 PM |
| If it is called 'face' then why did you capilize the F? |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2015 03:19 PM |
| @FiveCakes thanks didn't realize that! |
|
|
| Report Abuse |
|
|
FiveCakes
|
  |
| Joined: 15 Feb 2012 |
| Total Posts: 5604 |
|
| |
|
XYuy
|
  |
| Joined: 24 Dec 2010 |
| Total Posts: 5628 |
|
|
| 28 Aug 2015 03:49 PM |
@Ceaseless
When using :FindFirstChild() you use "" to find an object, just as you would with
brickCount = 0
for i,v in pairs(game.Workspace:GetChildren()) do if v:IsA("Part") then -- This is the bit I was talking about. brickCount = i end end
print(brickCount)
how many threads can a threadchuck chuck if a threadchuck can chuck threads |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 28 Aug 2015 03:55 PM |
@XY
He knows that, he's just saying that in case someone puts something like
workspace:FindFirstChild('"face"') |
|
|
| Report Abuse |
|
|
FiveCakes
|
  |
| Joined: 15 Feb 2012 |
| Total Posts: 5604 |
|
|
| 28 Aug 2015 03:55 PM |
| We already solved the problem. |
|
|
| Report Abuse |
|
|
XYuy
|
  |
| Joined: 24 Dec 2010 |
| Total Posts: 5628 |
|
|
| 28 Aug 2015 03:56 PM |
@rayk
Ok.
how many threads can a threadchuck chuck if a threadchuck can chuck threads |
|
|
| Report Abuse |
|
|
FiveCakes
|
  |
| Joined: 15 Feb 2012 |
| Total Posts: 5604 |
|
|
| 28 Aug 2015 03:56 PM |
Wouldn't you also use ClassName="Decal" To find the face? You could. Surely. |
|
|
| Report Abuse |
|
|
XYuy
|
  |
| Joined: 24 Dec 2010 |
| Total Posts: 5628 |
|
|
| 28 Aug 2015 03:57 PM |
@FiveCakes
:FindFirstChild() is easier
how many threads can a threadchuck chuck if a threadchuck can chuck threads |
|
|
| Report Abuse |
|
|
FiveCakes
|
  |
| Joined: 15 Feb 2012 |
| Total Posts: 5604 |
|
| |
|