It doesn’t detect the players humanoid to damage it (I need Region3 due to if the player doesn’t move .Touched wont register.
DevHub, and much more DevForum posts with no luck of help.
I am using a ServerScript and I am kind of making my own type of UTG Monster. (I am not making a UTG) but it doesn’t seem to be print the players Character (Can also be a dummy so I can’t do :GetPlayerFromCharacter)
-- The REGION
local Region = Region3.new(Vector3.new(6,0,6),Vector3.new(12,6,12))
local part = Instance.new("Part",workspace)
part.Anchored = true
part.Size = Region.Size
part.CanCollide = false
part.Position = MainMover.Position
-- The DAMAGING EVENT
while true do
local parts = workspace:FindPartsInRegion3(Region, part, 2000)
if ending == true then
for i,v in pairs(parts) do
if v.Parent:FindFirstChild("Humanoid") ~= nil then
local char = v.Parent
char.Humanoid.Health = 0
Also sorry for the code formatting Google broke it.