Intended purpose of script:
When part collides with player, typically the holder they can now jump.
IF the part collides with something other than the player the part should become transparent & non-collidable (Simulated Deletion)
My Script:
local block = script.Parent
block.Touched:Connect(function(hit)
if hit.Parent:WaitForChild("Humanoid") then
local Humanoid = hit.Parent:WaitForChild("Humanoid")
Humanoid.JumpHeight = 1
else
hit.CanCollide = false
hit.Transparency = 0.5
wait(1.5)
hit.Transparency = 1
end
end)
