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: Why won't this work?

Previous Thread :: Next Thread 
bojigglesmister2 is not online. bojigglesmister2
Joined: 26 Jun 2011
Total Posts: 1421
27 Aug 2015 03:11 PM
local face = head:FindFirstChild("Face")
if face then
face.Transparency = 1
face:Destroy()
end
Report Abuse
FiveCakes is not online. FiveCakes
Joined: 15 Feb 2012
Total Posts: 5604
27 Aug 2015 03:11 PM
It would be local face = head:FindFirstChild("Decal")
Report Abuse
bojigglesmister2 is not online. bojigglesmister2
Joined: 26 Jun 2011
Total Posts: 1421
27 Aug 2015 03:12 PM
no the name of the decal is "face"
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
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 is not online. 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
bojigglesmister2 is not online. bojigglesmister2
Joined: 26 Jun 2011
Total Posts: 1421
27 Aug 2015 03:19 PM
@FiveCakes thanks didn't realize that!
Report Abuse
FiveCakes is not online. FiveCakes
Joined: 15 Feb 2012
Total Posts: 5604
27 Aug 2015 03:20 PM
Lol no problem.
Report Abuse
XYuy is not online. 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 is not online. 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 is not online. FiveCakes
Joined: 15 Feb 2012
Total Posts: 5604
28 Aug 2015 03:55 PM
We already solved the problem.
Report Abuse
XYuy is not online. 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 is not online. 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 is not online. 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 is not online. FiveCakes
Joined: 15 Feb 2012
Total Posts: 5604
28 Aug 2015 04:08 PM
I know, just saying ^
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