Can the .Touched event be overflowed? (no FilteringEnabled)
Asked by
7 years ago Edited 7 years ago
I intend to use the .Touched event in order to delete players that fall behind and get consumed by a part, but whenever they touch 2 or more parts, they don't end up getting destroyed and stay. The intended outcome still occurs with players that touch less than 2 parts. I tested different functions that influence parts that are hit, yet the problem still persists.
3 | script.Parent.Touched:Connect( function (h) |
4 | if h.Name = "destroyer" then |
5 | script.Parent:Destroy() |
3 | local rs = game:GetService( "RunService" ) |
5 | rs.RenderStepped:Connect( function () |
6 | script.Parent.CFrame = script.Parent.CFrame * CFrame.new( 0 , - 0.25 , 0 ) |
As one script; still doesn't work:
03 | local rs = game:GetService( "RunService" ) |
05 | rs.RenderStepped:Connect( function () |
06 | script.Parent.CFrame = script.Parent.CFrame * CFrame.new( 0 , - 0.25 , 0 ) |
11 | script.Parent.Touched:Connect( function (h) |
12 | if h.ClassName = = "UnionOperation" then |