Basically I'm making a forcefield type of thing for a weapon I'm making. This forcefield is supposed to delete any projectiles that touch it. The problem is if the forcefield is moved, the .Touched event would fire, but only as some weird invisible field at the location it first spawned in.
function AddFeatures(Sphere, Range) while Sphere and Sphere.Parent and Sphere.CFrame do Sphere.Touched:connect(function() for i, v in pairs(Sphere:GetTouchingParts()) do if v and v.Parent then HandleDeflect(Sphere, v) end end end) wait() end end
Nothing with my code was wrong. I just realized that Roblox's move tool in testing mode is client-sided and moving it with F3X works.