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

Making sure the position isn't inside a brick?

Asked by 7 years ago
Edited 7 years ago

So, I'm trying to make a spawn location that spawns a player in an area around the spawn. I have an idea on how to do this but there's a problem. There is a chance that the player might spawn inside a brick and probably glitch out. Is there a way to check if a position is inside a brick?

Update Note: Using CFrame seems to work for players. But if I use it in Bots, they will just get stuck in the ground. So this question is half answered.

1 answer

Log in to vote
0
Answered by 7 years ago

If you CFrame the player who will glitch if you position him he will go ontop of the part.

0
This will work for players. But I'm also using Bots, in which this will be a problem. DragonOfWar900 397 — 7y
Ad

Answer this question