Hi I’m making a region and I need it to follow the player but it’s way too slow, does anyone know how I can make it stick to the player and not be late? it’s supposed to be in front of the player
I also vizualized it so you can see what it does
here it is
wait(.05)
local regionsize = -1.5
while RunService.Stepped:Wait() and Anim1.IsPlaying or Anim2.IsPlaying or Anim3.IsPlaying or Anim4.IsPlaying or Anim5.IsPlaying do
Region = Region3.new(c.HumanoidRootPart.CFrame*CFrame.new(0,0,regionsize).p - Vector3.new(2,2,2), c.HumanoidRootPart.CFrame*CFrame.new(0,0,regionsize).p + Vector3.new(2,2,2))
RTable = workspace:FindPartsInRegion3(Region, nil, 20)
visualizePart.Size = Region.Size
visualizePart.CFrame = Region.CFrame
end