function onTouched(hit) local h = hit.Parent:findFirstChild("Humanoid") if h ~= nil then local b = Instance.new("BodyPosition") b.position = script.Parent.PointA.Position b.p = 10 b.maxForce = Vector3.new(500000000, 500000000, 500000000) b.Parent = hit.Parent.Torso wait(3) b.Parent = nil end end script.Parent.Touched:connect(onTouched)
This is what I have so far and i'm really confused why the console says "p is not a valid member of 'BodyPosition'". Can someone help?
Use a capital "P" instead of a lowercawse "p".
Make sure P's value is high. If it's too low, it will show little to no effect.