|
| 23 Jan 2013 04:31 PM |
How do I change top surface of part
function h(hit) if game.Workspace.Base.Locked == true then game.Workspace.Base.Surface.TopSurface.Smooth = true end end script.Parent.Touched:connect(h)
wait(5)
game.Workspace.Base.Reflectance = 0 |
|
|
| Report Abuse |
|
|
|
| 23 Jan 2013 04:44 PM |
function h(hit) if Workspace.Base.Locked then Workspace.Base.TopSurface = "Smooth" end end script.Parent.Touchec:connect(h)
I do not know what you're doing with the ending, so I've left it out. Your issue was on the third line since "Smooth" isn't a bool value, etc and you there's no 'sub sections' (If you get what I mean. Reference to the "Base.Surface." bit.) |
|
|
| Report Abuse |
|
|
|
| 23 Jan 2013 04:45 PM |
| Eurgh, I mistyped ".Touched" |
|
|
| Report Abuse |
|
|