Im mostly new to overlap params
Code:
local LobbyFolder = workspace.Lobby
local TutorialFolder = LobbyFolder.Tutorial
local MapsFolder = LobbyFolder.Maps
local EnterParts = {
['Tutorial'] = TutorialFolder.Enter,
}
local OverlapParam = OverlapParams.new()
OverlapParam.FilterType = Enum.RaycastFilterType.Blacklist
OverlapParam.FilterDescendantsInstances = {}
local Hitbox = workspace:GetPartBoundsInBox(EnterParts.Tutorial.CFrame, EnterParts.Tutorial.Size, OverlapParam)
while task.wait() do
for _, v in pairs(Hitbox) do
if v.Parent:FindFirstChild('Humanoid') then
print('be')
end
end
end