Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

New to filtering enabled: No player collisions?

Asked by
ItsMeKlc 235 Moderation Voter
7 years ago

Hello, I'm new to using FE, I'm trying to turn player collisions off, is it as simple as making other character's parts CanCollide false in a LocalScript? Are there any issues that would arise with this?

1 answer

Log in to vote
1
Answered by
cabbler 1942 Moderation Voter
7 years ago

Yes it is that simple. It has to be local. It also has to use Stepped.

char = workspace:WaitForChild('Player1')
game:service("RunService").Stepped:connect(function()
    for _,v in pairs(char:GetChildren()) do
        if v:IsA('BasePart') then
            v.CanCollide=false
        end
    end
end)

Clients' positions and hit detection completely bypass filtering to make them run faster. There shouldn't be a problem as HipHeight keeps you level.

Ad

Answer this question