script.Parent.CanCollide = false
script.Parent.Touched:Connect(function(hit)
script.Parent.Transparency = 1
script.Parent.Parent.PushedStandButton.Transparency = 0
wait(0.1)
end)
script.Parent.TouchEnded:Connect(function(hit)
script.Parent.Transparency = 0
script.Parent.Parent.PushedStandButton.Transparency = 1
wait(0.1)
end)
The thing I try to do is to make a platform that when you touch it, it gets transparent and when you do not touch it anymore the platform is visible again.
The script works kind of, it is just that the script is buggy when you touch the platform, when you move around on it changes from transparent to visible all the time.
Does anyone know how to fix this? I have tried a lot of things but nothing has worked for me.
Thanks, Xsodar
