I'm trying to get my Region3 to appear directly in front of the player, but nothing seems to work.

local P1 = player.Character.Torso.Position-Vector3.new(-2,2,-2)
	local P2 = player.Character.Torso.Position+Vector3.new(-3,4,5)
	local region = Region3.new(P1,P2)
	local part = Instance.new("Part", workspace)
	part.Size = region.Size
	part.CFrame = region.CFrame

4 comments

0

Give more context other than a generic "it doesn't work"

0

I have no idea what Region3 is;/

0

player is undefined

0

please show ALL of your code so we don't assume that your variables are undefined