Zootopia
|
  |
| Joined: 29 Apr 2009 |
| Total Posts: 1383 |
|
|
| 20 Jan 2014 03:43 AM |
function onTouched(part)
script.Parent.____ = __ wait(0.5) script.Parent.____ = __ wait()
end
script.Parent.Touched:connect(onTouched)
The ____s are where I need help. The first blank is what the name of the color property should be. The second blank is the integer (I don't know if I need to use example: "Really Red" or 24) |
|
|
| Report Abuse |
|
|
Zootopia
|
  |
| Joined: 29 Apr 2009 |
| Total Posts: 1383 |
|
|
| 20 Jan 2014 03:44 AM |
| Also, if you could help, i'd actually prefer if you told me the integers for Institutional White and Really Red. |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 20 Jan 2014 03:51 AM |
game.Workspace.Part.Touched:connect(function(onTouched) p = game.Workspace.Part if p:FindFirstChild("Humanoid") ~= nil then p.BrickColor = BrickColor.new("BrickColor1 Here") wait(.5) p.BrickColor = BrickColor.new("BrickColor2 Here") end end) |
|
|
| Report Abuse |
|
|
|
| 20 Jan 2014 04:03 AM |
function run()
a = script.Parent a.BrickColor = BrickColor3.new("Really red") end script.Parent.Touched:connect(run)
|
|
|
| Report Abuse |
|
|
|
| 20 Jan 2014 04:07 AM |
Acually there no 3 my bad function run() a = script.Parent a.BrickColor = BrickColor.new("Really red") end script.Parent.Touched:connect(run)
|
|
|
| Report Abuse |
|
|