LocalScript:
the first paramater of the OnServerEvent will always be the player. add it before the mousehit.
script.Parent.BuildEvent.OnServerEvent:Connect(function(plr, mousehit)