local BP = script.Parent:WaitForChild('SpiderTorso').BodyPosition local Distance = script.Parent:WaitForChild('Stats').Distance while wait() do for _, player in pairs(game.Players:GetPlayers()) do print('Players') if (BP.Position - player.Character.HumanoidRootPart.Position).magnitude <= Distance.Value then print('In Distance') wait() BP.Position = player.Character.HumanoidRootPart.Position + Vector3.new(0, 10, 0) print('Chasing Player') end end end
No errors, printed everything doesn't work though
Here the properties for the BodyForce
D = 500
Max Force = 100, 100 , 100
P = 10000
Someone please give me a fix or tell me how to fix.