brick = script.Parent
function turnGhostly() brick.Transparency = 0.5 end
brick.Touched:connect (turnGhostly)
brick = script.Parent
function turnGhostly() brick.Transparency = 0.5 end
brick.Touched:connect (turnGhostly)
Alright I am rescripting that Entirely.
function onTouched(hit)
brick = script.Parent
brick.Transparency = ("0.6")
wait(3.0)
brick.Transparency = ("0.20")
wait(3.0)
brick.Transparency = ("0.40")
wait(3.0)
brick.Transparency = ("0.80")
wait(3.0)
brick.Transparency = ("1.0")
wait(3.0)
end
script.Parent.touched:connect(onTouched)
After 3 seconds it continues to go invisible Making it Ghost Like than It ends and Restarts. ( Have to insert this into a Brick )
-- I'm not too sure if this'll work
brick = script.Parent
debounce = true
function turnGhostly()
if debounce then
decounce = false
brick.Transparency = 0.5
wait(2)
brick.Transparency = 0
debounce = true
end
end
brick.Touched:connect (turnGhostly)
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Thanks! This totally works! P.S
No Problem