The code doesn't work when it tries to put in a vector3 value, though I don't know why. Client Script
script.Parent.Equipped:Connect(function(Mouse)
script.Parent.Activated:Connect(function()
local MousePos = Mouse.Hit.p
game.ReplicatedStorage.RemoteEvent:FireServer(MousePos, script.Parent.Handle.position)
end)
end)
server script
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(Plr,MousePos,GunPos)
local CloneBullet = game.ServerStorage.Bullet:Clone()
print(MousePos)
CloneBullet.Position = GunPos
CloneBullet.BodyPosition.Position = Vector3.new(MousePos)
CloneBullet.Parent = game.Workspace
end)
The bullet is just a sphere with a body position object in it.

2 comments
mouse.Hit.Position returns the x,y and z position of it, so its pointless
ok man, you can just negatively comment but it's not gonna help anyone.