Babyfett1
|
  |
| Joined: 02 Apr 2011 |
| Total Posts: 141 |
|
|
| 13 May 2015 06:57 AM |
function viptouch(hum) local swiggity = hum.Parent:FindFirstChild("Shirt Graphic") if swiggity then if swiggity.Parent.Torso.roblox.Texture="http://www.roblox.com/asset/?id=54740988" for i=1,10 do local x=script.Parent.Transparency+.1 script.Parent.Transparency=x wait(.1) end end end end
script.Parent.Touched:connect(viptouch) |
|
|
| Report Abuse |
|
|
Hexabone
|
  |
| Joined: 14 Jan 2013 |
| Total Posts: 167 |
|
|
| 13 May 2015 06:59 AM |
| You've never referred to what hum is. |
|
|
| Report Abuse |
|
|
Babyfett1
|
  |
| Joined: 02 Apr 2011 |
| Total Posts: 141 |
|
|
| 13 May 2015 07:04 AM |
Sorry, I forgot to define the problem. The problem is checking the shirt decal. And, BTW hum is the thing that touched it. Hum, short for human (not really xD). Here's where the problem is:
if swiggity.Parent.Torso.roblox.Texture="http://www.roblox.com/asset/?id=54740988" ------- The = comes up as an error. I hover over it w/ my mouse and: Expected 'then', got '='
進撃の巨人 |
|
|
| Report Abuse |
|
|
| |
|
Babyfett1
|
  |
| Joined: 02 Apr 2011 |
| Total Posts: 141 |
|
|
| 13 May 2015 07:10 AM |
| I've never done a bump before until now |
|
|
| Report Abuse |
|
|