server script:
local region = Region3.new(Vector3.new(240, 1.5, 14.425),Vector3.new(126.515, 128.431, 165.945))
local part = Instance.new("Part",game.Workspace)
local mountain = game.Workspace.mountain1
part.Anchored = true
part.Size = Vector3.new(mountain.Size)
part.CFrame = CFrame.new(mountain.Position)
part.CanCollide = true
part.Transparency = 0
while true do
wait()
local partsinregion = game.Workspace:FindPartsInRegion3(region,part,100)
for i,v in pairs(partsinregion) do
if v.Parent:FindFirstChild("Humanoid") then
game.Players:GetPlayerFromCharacter(v.Parent):Kick("Stop trying to cheat")
end
end
end
https://imgur.com/a/tzDqURN--video of where im not allowed to go in the video im walking through a part that my system should say is not allowed, i also created a part in workspace that should be in that position. Why is nothing there and why is not my region3 script detecting anything?
