So I wanted to make an appearing platform effect similar to this(Game is called Super Check Point, made by magic277)
However, when I tried to do so, when my platforms appears, usually the players will fall straight down, or be stuck with the platforms
I tried lowering the platform but it still give the same results, unless it is lowered by a high distance.
This is the script I wrote
local debounce=false
script.Parent.Touched:Connect(function(Hit)
if Hit.Parent:FindFirstChild("Humanoid") and debounce==false then
debounce=true
script.Parent.Parent.Platform.Transparency=0
script.Parent.Parent.Platform.CanCollide=true
for i=1,100 do
script.Parent.Parent.Platform.Transparency=script.Parent.Parent.Platform.Transparency+0.01
wait(0.01)
end
debounce=false
script.Parent.Parent.Platform.Transparency=1
script.Parent.Parent.Platform.CanCollide=false
end
end)
Does anybody knows how to deal with this problem?