|
| 11 Feb 2013 06:16 PM |
local char = script.Parent.Parent -- Parent to the chracter
for _,v in pairs(char:GetChildren()) do if v:IsA("Hat) then v:Destroy() end end
The output prints nothing. |
|
|
| Report Abuse |
|
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 11 Feb 2013 06:18 PM |
| Not a complete string at your if statement. |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2013 06:21 PM |
local char = script.Parent.Parent -- Parent to the chracter
for _,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v:Destroy() end end
Its still not working |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2013 06:24 PM |
That's my script :0
anyways output? |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2013 06:24 PM |
| It is not printing nothing |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2013 06:25 PM |
| i don't want to help someone who steals places |
|
|
| Report Abuse |
|
|
| |
|
|
| 11 Feb 2013 06:27 PM |
| Then don't even reply to the thread? Simple as that.. |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2013 06:27 PM |
this works fine in the command bar:
char = Workspace.Player1 for _,v in pairs(char:GetChildren()) do if v:IsA("Hat") then v:Destroy() end end |
|
|
| Report Abuse |
|
|
Clant
|
  |
| Joined: 20 Mar 2009 |
| Total Posts: 193 |
|
|
| 11 Feb 2013 06:27 PM |
@pokemon771 Then why comment on the thread? Are you stupid or something? |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2013 06:28 PM |
"Then don't even reply to the thread? Simple as that.."
i don't see how you find stealing games good.
|
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 11 Feb 2013 06:29 PM |
| That script would work fine, your just not implementing it correctly, though that may be since you have yet to make anything youself. |
|
|
| Report Abuse |
|
|
Clant
|
  |
| Joined: 20 Mar 2009 |
| Total Posts: 193 |
|
|
| 11 Feb 2013 06:29 PM |
@pokemon771 I don't steal games. I take games that I find uncopylocked and use them.
Stealing is taking someones work without there perversion. And it only effects me not you the only way it would effect you is if you are jealous or envy that I am making money off it. |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2013 06:32 PM |
"I don't steal games. I take games that I find uncopylocked and use them.
Stealing is taking someones work without there perversion. And it only effects me not you the only way it would effect you is if you are jealous or envy that I am making money off it."
i wasn't talking to you smart one.
|
|
|
| Report Abuse |
|
|
Clant
|
  |
| Joined: 20 Mar 2009 |
| Total Posts: 193 |
|
|
| 11 Feb 2013 06:33 PM |
| Well I am saying it twoards jared |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 11 Feb 2013 06:33 PM |
| Tell that to daxter and his paintball game. Also it is permission* though you do pervert their work so good job on using the word. |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2013 06:33 PM |
Well, I agree with poke and the people who said don't post. I hate jared and people who don't give credit nor even try to make their own place. Just like you, Clant.
Got a problem with me? Take it up with my butt because it's the only one that gives a crap. |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2013 06:35 PM |
| omg you guys need to get a life -_- its just a game if you dont like what he does then IGNORE him. |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2013 06:36 PM |
Kick funny thing, uh, well... If you're not dead you have a life, halfwit.
Got a problem with me? Take it up with my butt because it's the only one that gives a crap. |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2013 06:39 PM |
| Don't like jared copying? GET A LIFE. Foreal -_- |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2013 06:40 PM |
Are you stupid or just can't read?
Got a problem with me? Take it up with my butt because it's the only one that gives a crap. |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 11 Feb 2013 06:40 PM |
| Odd that you would say the buttey when your also trolling because of jared. |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2013 06:54 PM |
Same with you my friend. I've seen the last thread, XD.
Got a problem with me? Take it up with my butt because it's the only one that gives a crap. |
|
|
| Report Abuse |
|
|
spookyBen
|
  |
| Joined: 13 Dec 2009 |
| Total Posts: 6581 |
|
|
| 11 Feb 2013 08:14 PM |
I'm assuming it might just be that either the error was a logic mistake or something like that, or you just think theres an error.
If there is a error, I'm assuming its with how you defined char, meaning, it wasn't defined correctly, or, not detailed enough. My other guess is that even though its purpose is to get rid of characters hats, it might just be Workspace, not absolutely sure though.
Hope this helped. :) |
|
|
| Report Abuse |
|
|