|
| 12 Aug 2014 01:20 AM |
So, I found a script of what I need to make something disappear/reappear part = script.Parent
while true do part.Transparency = 0 wait(0.1) part.Transparency = 0.1 wait(0.1) part.Transparency = 0.2 wait(0.1) part.Transparency = 0.3 wait(0.1) part.Transparency = 0.4 wait(0.1) part.Transparency = 0.5
yada yada yada, it goes on and then makes the thing appear again. All I need to know is how I could use this script and make it start when a player walks over a brick other then the ones disappearing? I've tried and I've looked through what people did on the free modeled ones but I still do not understand. Any help? I know this is probably the easiest thing ever but I've never done much with scripting before and I'm trying to find a place to start! Thanks |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2014 01:35 AM |
Put this in the part you want to walk on to activate this:
function OnTouched() part = (PUT THE LOCATION OF PART HERE)
for l = 1, 10 do part.Transparency = part.Transparency + 0.1 wait(0.1) end end
script.Parent.Touched:connect(OnTouched)
This *SHOULD* work. |
|
|
| Report Abuse |
|
|
| |
|