Bugslack
|
  |
| Joined: 19 Nov 2011 |
| Total Posts: 22 |
|
|
| 26 Jan 2013 09:23 AM |
So far I got this, but in the output it says I need an eof at line 31. I added parenthesis, still nothing. Here's my original:
function Click(mouse) player = script.Parent.Parent.Parent.Parent if player.Character ~= nil then local char = player.Character local c = player.Character:GetChildren() for i =1,#c do if c.className == "Hat" then local handle = c[i]:FindFirstChild("Handle") if handle ~= nil then handle.Transparency = 1 end end if c.className == "Part" then c.Transparency = 1 if c.Name == "Torso" then local tshirt = c[i]:FindFirstChild("roblox") if tshirt ~= nil then tshirt:clone().Parent = char tshirt:remove() end end if c.Name == "Head" then local face = c[i]:FindFirstChild("face") if face ~= nil then gface = face:clone() face:remove() end end end end end end end end
script.Parent.MouseButton1Down:connect(Click) |
|
|
| Report Abuse |
|
|
Bugslack
|
  |
| Joined: 19 Nov 2011 |
| Total Posts: 22 |
|
|
| 26 Jan 2013 09:24 AM |
| Note, not my entire script, but I've edited it a lot. |
|
|
| Report Abuse |
|
|
Bugslack
|
  |
| Joined: 19 Nov 2011 |
| Total Posts: 22 |
|
|
| 26 Jan 2013 09:25 AM |
| ...*entire implying: "fully mine" |
|
|
| Report Abuse |
|
|
|
| 26 Jan 2013 09:25 AM |
eof = End Of Line
Must mean you have too many 'end's
~One must risk everything to find the truth. Even if the truth isn't what you want it to be, it is better than living a lie.~ |
|
|
| Report Abuse |
|
|
Bugslack
|
  |
| Joined: 19 Nov 2011 |
| Total Posts: 22 |
|
|
| 26 Jan 2013 09:28 AM |
That's what was wrong with it? Well, I'm not getting an output error anymore, but it's still not working. |
|
|
| Report Abuse |
|
|
Bugslack
|
  |
| Joined: 19 Nov 2011 |
| Total Posts: 22 |
|
| |
|