mouse.Hit.p is returning as an instance. I want a Vector3, how do you fix this?

LocalScript:


ServerScript:

Output:
image

the first paramater of the OnServerEvent will always be the player. add it before the mousehit.

script.Parent.BuildEvent.OnServerEvent:Connect(function(plr, mousehit)
3 Likes