Hi, this is a really simple script I made to test velocity on players.
It works perfectly fine in test mode on my player and on NPCs but when I try it in an actual game it doesn't work.
Any help is appreciated.
script.Parent.Touched:Connect(function(h) h.Velocity = h.Velocity + CFrame.new(h.Position,script.Parent.Position).lookVector * -1000 end)