--THIS WORKS--
This script works if the parent of the script is an individual part, not within a model!
~~~~~~~~
local fFall = script.Parent
hHit = false
fFall.Touched:connect(function(hit)
if hHit == true then return end
hHit = true
local hum = hit.Parent:FindFirstChild("Humanoid")
if hum then
wait(.5)
fFall.Transparency = .5
wait(.3)
fFall.Transparency = 1
wait(.5)
fFall.CanCollide = false
wait(.5)
fFall.Anchored = false
end
hHit = false
end)
~~~~~~~~
It can be kinda glitchy though.
|