I have this simple script, what could go wrong right? Well for some reason it works in Studio mode when testing, but it doesn't work in an actual game server any idea why?
function x(hit) if hit.Parent:findFirstChild("Humanoid") then hit.Velocity = script.Parent.CFrame.lookVector * 50 + Vector3.new(0,45,0) end script.Parent.Touched:connect(x)